A good starting place for react-dash standalone development.
See https://react-dashboard.readthedocs.io/en/latest/ for react-dash documentation.
NOTE If you are using DKAN - you probably want:
https://github.com/NuCivic/dkan_dash
https://github.com/NuCivic/custom_dash
- nodejs
- webpack
npm install
npm run setup
npm run dev
visit localhost:5000
npm run dev
Take a look in the /src
folder.
That's the sauce!
Try changing stuff in settings.js
.
Watch the wheels turn!
Delete the .git folder and create your own repository for your new react-dash project.
May the force be with you!
To compile your project, run:
npm run build
This will output two different files:
dist/build.min.css
dist/build.min.js
Complete react-dash project documentation: http://react-dashboard.readthedocs.io/en/latest/
Questions? Issues? Bugs? Improvements? Contribute! https://github.com/NuCivic/react-dash