1.0.9 • Published 1 month ago

@amxchange/grid-view-web-client v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

AMX GRID VIEW FRAMEWORK - WEB CLIENT

Local Installation

  • Entities involved
    1. Host app ( HA )
    2. 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

  1. add watcher to file changes and rebuild the project ( local )
  2. automate local installation - scripts/dev.linking-with-ha.sh
  3. create non bundled version of dist if local for debugging purpose

References

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 )