1.0.0 • Published 3 years ago

react-cli-gen v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

react-cli

How to use

setup

  • clone the repo
  • Install the dependencies and link the cli tool.

    cd react-cli
    npm link

    change directory to your react app and link this cli tool

    npm link react

use

  • Generate the JSX
    react --jsx src/user
    react -j src/user
  • Generate the stylesheets
    react --css src/user
    react --c src/user
  • Generate the javascript
    react --js src/user
  • Generate multiple files
    react --jsx src/user --jsx src/employee src/student