An open API service indexing awesome lists of open source software.

https://github.com/devinit/di-chart-boilerplate


https://github.com/devinit/di-chart-boilerplate

Last synced: 11 months ago
JSON representation

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