1.0.9 • Published 1 month ago
@amxchange/grid-view-web-client v1.0.9
AMX GRID VIEW FRAMEWORK - WEB CLIENT
Local Installation
- Entities involved
- Host app ( HA )
- Package app ( PA )
install PA as a local package in HA
- cd to HA
- npm install /path-to-PA or "@amxchange/grid-view-web-client": "file:../github-amxchange/grid-view-web-client"
link react & react-dom of HA to PA
- cd HA/node_modules/react
- yarn link
- cd PA
- yarn link react
- repeat same steps for react-dom or any other such library in future.
build command
- npm run build
TODO
- add watcher to file changes and rebuild the project ( local )
- automate local installation - scripts/dev.linking-with-ha.sh
- create non bundled version of dist if local for debugging purpose
References
- npm ls --link --global
- https://github.com/microsoft/fluentui/wiki/Using-local-(unpublished)-version-of-the-lib-with-a-local-React-app
Clarifications
- filterConfig={{ dbColumnName: { sx: {}, optionGenerator: (el) => { return { label: el.name, value: el.value } } } }}
- populate filterCondition ( is the key that will go as filter key in the data request )