y-template-cli
v0.0.1
Published
A simple CLI for scaffolding front-end projects.
Downloads
2
Readme
y-template-cli
A simple CLI for scaffolding front-end projects implement by vue-cli.
Installation
Prerequisites: Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.
$ npm install -g y-template-cli
Usage
$ y-template init <template-name>#<branch-name> <project-name>
Example:
$ y-template init direct:https://github.com/vuejs-templates/webpack-simple.git my-project --clone
The above command pulls the template from vuejs-templates/webpack-simple, prompts for some information, and generates the project at ./my-project/
.
Writing Templates from Scratch
see vue-cli.