Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.02 KB

File metadata and controls

22 lines (16 loc) · 1.02 KB

react.cli

About Repository

react.cli is ReactJS command line interface. Using this cli you can generate modules and components very easily. This cli was created for React-Redux-Boilerplate. If your project does not have a similar architecture, you can not use this tool.

Quick start

  1. Run npm install react.cli -g to install react.cli.
  2. Run react to enter react mode.
  3. Run react$ init to initialize project.
  4. Run react$ make module orders to create module.
  5. Run react$ make component Button to create component.
  • Add -s option for stateless component. react$ make -s component Button
  1. Run react$ remove module orders to remove module.
  2. Run react$ remove component Button to remove component.
  3. Run react$ exit to exit react mode.