y-template-cli

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i y-template-cli

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nervouself
  • smadey