0.0.1 • Published 7 years ago

y-template-cli v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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.

License

MIT