CVS-REACT-CLI Overview
include init, generate, server, build
- init 创建项目
- generate 生成组件, store, service等
- server 启动服务
- build 生成打包后的项目
Use cli
order | param | explanation | demo |
---|---|---|---|
init | 生成一个react项目(简写 cvs i) | cvs init | |
generate | [option]「component 、store、service」 [name] | 生成component、store、service | cvs generate component test |
start | 启动项目 | cvs start | |
build | 构建项目 | cvs build |
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.