Start
npm install react-cli-rc -g
react-cli-rc overview
include init, generate, server, build
- init 创建项目
- generate 生成组件, store, service等
- server 启动服务
- build 生成打包后的项目
Use cli
order | param | explanation | demo |
---|---|---|---|
init | 生成一个react项目(简写 rc i) | rc init | |
generate | [name] | 生成component、store、service | rc generate component test |
start | 启动项目 | rc start | |
build | 构建项目 | rc build |
example
Issues
If you find some problems, please mention the issue
Author
My email : heartgoodtired@163.com
If you have any questions, please feel free to contact me. I also hope other partners can join me, and perfect it.