@genesislcap/pbc-documents-ui
v14.390.1
Published
Genesis Document Management UI
Downloads
8,322
Readme
Client (Web)
:hammer_and_wrench: Development
- Do the npm link between the projects:
- On genesis-file-server:
npm iandnpm link - On client app:
npm iandnpm 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
/srcwith the nameglobal.d.tswith this line insidedeclare module '@genesislcap/pbc-documents-ui'; - :warning: Always do a
git rollbackon thepackage.jsonbefore 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 buildon genesis-file-server - Do a
npm run buildon client app - A
distfolder 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
