1.0.0 • Published 4 years ago
react-cli-gen v1.0.0
react-cli
How to use
setup
- clone the repo
Install the dependencies and link the cli tool.
cd react-cli npm linkchange directory to your react app and link this cli tool
npm link react
use
- Generate the JSX
react --jsx src/userreact -j src/user - Generate the stylesheets
react --css src/userreact --c src/user - Generate the javascript
react --js src/user - Generate multiple files
react --jsx src/user --jsx src/employee src/student
1.0.0
4 years ago