@yanluo/x-cli

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i @yanluo/x-cli

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

17.7 kB

Total Files

15

Last publish

Collaborators

  • whu-luojian