0.1.2 • Published 2 years ago

starfe-cli v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

star-my-cli NPM version Build Status Dependency Status Coverage percentage

this is a awesome cli!

Installation

$ npm install --save starfe-cli

Usage

const starMyCli = require("starfe-cli");

starMyCli("Rainbow");
  • 初始化 vue 项目
starfe-cli create demo

file

  • 创建一个组件
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

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago