Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

NuCivic/react-dash-boilerplate

Repository files navigation

Description

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

Requirements

  • nodejs
  • webpack

Instructions:

npm install
npm run setup
npm run dev

visit localhost:5000

Development

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!

Build

To compile your project, run:

npm run build

This will output two different files:

dist/build.min.css
dist/build.min.js

Deeper

Complete react-dash project documentation: http://react-dashboard.readthedocs.io/en/latest/

Contribute!

Questions? Issues? Bugs? Improvements? Contribute! https://github.com/NuCivic/react-dash