@genesislcap/pbc-documents-ui
v0.0.13
Published
Genesis Document Management UI
Downloads
267
Readme
Client (Web)
:hammer_and_wrench: Development
- Do the npm link between the projects:
- On genesis-file-server:
npm i
andnpm link
- On client app:
npm i
andnpm link @genesislcap/pbc-documents-ui
- On genesis-file-server:
- On package.json change the following lines:
"main": "dist/esm/index.js",
to"main": "src/index.ts",
"default": "./dist/esm/index.js"
to"default": "./src/index.ts"
- [OPTIONAL] if you want to use configure method to use a different design system, rather than zero as default, then change the following line :
"default": "./dist/esm/config/index.js"
to"default": "./src/config/index.ts"
- [OPTIONAL] On client app (blank-seed, position-seed, etc.), create a file in
/src
with the nameglobal.d.ts
with this line insidedeclare module '@genesislcap/pbc-documents-ui';
- :warning: Always do a
git rollback
on thepackage.json
before a commit or just don't commit it
:package: Build
- The recommended build command to be used is
genx build -b ts
- Undo the following lines on package.json:
"main": "src/index.ts",
to"main": "dist/esm/index.js",
"default": "./src/index.ts"
to"default": "./dist/esm/index.js"
- Do a
npm run build
on genesis-file-server - Do a
npm run build
on client app - A
dist
folder will be generated
License
Note: this project provides front end dependencies and uses licensed components listed in the next section, thus licenses for those components are required during development. Contact Genesis Global for more details.
Licensed components
Genesis low-code platform