0.1.2 • Published 2 years ago
starfe-cli v0.1.2
star-my-cli
this is a awesome cli!
Installation
$ npm install --save starfe-cli
Usage
const starMyCli = require("starfe-cli");
starMyCli("Rainbow");
- 初始化 vue 项目
starfe-cli create demo
- 创建一个组件
starfe-cli addcpn componentTest # 创建组件
starfe-cli addcpn NavBar `-d ./src/pages/navbar` # 创建组件并指定目录
- 创建一个页面
starfe-cli addpage Profile # 创建页面
- 添加 store 用于实现状态管理
starfe-cli addstore profile # 添加store的子模块
License
MIT © sysu-star-king