starfe-cli

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i starfe-cli

Homepage

github.com

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

4.59 kB

Total Files

6

Last publish

Collaborators

  • starfd