1.0.3 • Published 4 years ago

@yanluo/x-cli v1.0.3

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

x-cli

A simple cli for scaffolding frontend projects.

Installation

$ npm install -g @yanluo/x-cli

Usage

$ x init <template-name> <project-name>

Example:

$ x init vue-component my-project

The above command pulls the template from template-vue-component, prompts for some information, and generates the project at ./my-project/.

Templates

You can run x list to see all available templates.

Current available templates include:

  • vue-component - A template for building a vue component based on vue and rollup.