vue-component-cli

0.2.0 • Public • Published

vue-component-cli (clone from vue-cli)

Simple CLI for scaffolding Vue.js component

Installation

$ npm install -g vue-component-cli

Usage

$ vue-c init <template-name> <project-name>

Example:

$ vue-c init vue-componnet-dev-template my-project

Official Template

The only template: vue-component-template

Custom Templates

$ vue-c init username/repo my-project

refer: download-git-repo

Local Templates

$ vue-c init ~/fs/path/to-custom-template my-project

参考文档

Node.js cli: https://github.com/tj/commander.js

Termail string styling: https://github.com/chalk/chalk

Github api: https://developer.github.com/v3/repos/#get (获取指定用户的指定仓库)

Interactive cli: https://github.com/SBoudrias/Inquirer.js (常用的交互式命令行用户界面的集合)

Readme

Keywords

Package Sidebar

Install

npm i vue-component-cli

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • savoygu