Name: reactochart
Owner: Spotify
Description: :chart_with_upwards_trend: React chart component library (unstable) - http://spotify.github.io/reactochart/docs/
Created: 2016-01-07 20:58:18.0
Updated: 2018-05-22 19:23:31.0
Pushed: 2018-05-22 19:23:31.0
Size: 40232
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Charting library for React
In order to use reactochart, import the base styles
rt 'reactochart/styles.css'
If you just want to run the examples locally:
cd
to the newly-created directorynpm run serve
in your terminal (note: if you're running Python in v3 or higher you'll need to run python -m http.server
)If you'd like to contribute to the development this project, first fork & clone this repo, and then follow these steps:
npm -v
to check if you already have it installed.
If you don't have it, NPM is packaged with Node.js - download and run the
install package located on nodejs.org to install.npm install --global babel
npm install --global webpack
npm install
in the project root directory. This will install all of the project dependencies into the
node_modules
directory.npm run dev
to run the development server (webpack-dev-server), which will serve a live development version of
the examples at localhost:9876src
directory, and/or changes to the examples in the examples/src
directory.npm run build
to generate a production build. (This transpiles the ES6
library code, and transpiles + bundles the examples).git commit
and git push
your changes to your forked version of the repo.lib
or examples/build
directories, as these directories are destroyed and
regenerated on each build.