npm.io
1.0.4 • Published 8 years agoCLI

minisite-cli

Licence
MIT
Version
1.0.4
Deps
16
Vulns
0
Weekly
0

minisite-cli

A simple CLI for create minisite projects(webapp used by react or vue).

Installation

Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.

$ npm install -g minisite-cli

Usage

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

Example:

$ minisite init ms-m-antd my-project

The above command pulls the template from minisite-templates/ms-m-antd, prompts for some information, and generates the project at ./my-project/.

Templates

Current available templates include:

  • ms-m-antd - A minisite by react & antd-mobile.
License

MIT