Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 776 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 776 Bytes

ReactGrid Plugin and Demo

Plugin-source contains the source deployed on npm https://www.npmjs.com/package/@knd/react-grid.

my-demo contains demo project using @knd/react-grid

Deployment

To deploy my-demo for testing with local @knd/react-grid module (from Plugin-source/ReactGrid folder) run the following commands:

cd Plugin-source/ReactGrid
npm install
./node_modules/.bin/lerna bootstrap
npm run build

cd ../../my-demo
npm install

# now use 'npm link' to link to local '@knd/react-grid' package instead of loading from npmjs.
npm link ../Plugin-source/ReactGrid

If npm link fails with EPERM error, try executing it again (maybe 2 more times), or execute it with root/Adnimistrator.

Then run my-demo dev web server:

npm start