0.0.1 • Published 7 years ago
create-dash-component v0.0.1
create-dash-component
A CLI for creating Dash components from React components
Installing
- run
npm install create-dash-componentin your terminal, optionally you can add-gto install it globally.
How to use
cdinto the React project you want to convert- Make sure you've built the project - if it's a
create-react-appproject, you want to runnpm run build - Run
create-dash-component %path_to_components% %path_to_build_folder%i.e. for acreate-react-app, you should run:create-dash-component src/components build/static/js - create-dash-component will create a component suite with the name of the project, taken from
package.json. - You can install your newly created component suite using
python setup.py install! Now, you should be ableimportyour new suite in Dash!
0.0.1
7 years ago