quick-start-fe-generator

1.0.2 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i quick-start-fe-generator

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

40.7 kB

Total Files

33

Last publish

Collaborators

  • daluobo