1.0.2 • Published 5 years ago

quick-start-fe-generator v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Installation

# switch the registry of npm to http://registry.npm.pt.mi.com
$ npm install -g @mi/telecom-fe-generator

Quick Start

Create the project:

# project name is hello-world
$ telecom-fe-generator hello-world

Install dependencies:

$ cd hello-world
# the registry of mi is unnecessary
$ npm install

Dev

$ npm run dev

Build

$ npm run build

Command Line Options

This generator can also be further configured with the following command line flags.

-h, --help                   output usage information
    --version                output the version number
-c, --css <engine>           add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --no-git                 add .gitignore
    --no-lint                add .eslintrc
-f, --force                  force on non-empty directory
-F, --framework <framework>  add framework to project support (react) (defaults to pure js)