https://github.com/devinit/di-chart-boilerplate
https://github.com/devinit/di-chart-boilerplate
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devinit/di-chart-boilerplate
- Owner: devinit
- Created: 2021-04-19T05:59:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T22:58:56.000Z (11 months ago)
- Last Synced: 2025-04-10T23:32:19.581Z (11 months ago)
- Language: CSS
- Size: 26.9 MB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# DI Chart Boilerplate
A starting point for creating charts & maps (D3, Plotly, ECharts)
## Usage
### Pre-requisites
npm install -g nwb
npm install papaparse
You must also ensure that your node.js/npm directory is on PATH.
### Dev
npm start
This starts the dev environment, compiling the javascript and css. Changes to JS & CSS files trigger a page refresh in the browser
### Build
npm run build
Build files are copied into the `dist` folder. It is from these files that the contents of the assets folder are updated
To update the assets, copy the contents of the relevant files from the dist folder (`app.*.js`, `app.*.css`, `runtime.*.js`) into their
respective destinations in the assets folder
### Copy Bundled Assets
gulp
This copies the required assets from the generated dist folder to the assets folder