0.0.1 • Published 4 years ago

cni-vue-app v0.0.1

Weekly downloads
84
License
ISC
Repository
-
Last release
4 years ago

cni-vue-app

A Node Command Line Tool to auto generate a vue-vuex-axios web structure.

Install

npm install cnf-vue-app -g

Usage

cnf-vue-app <project name>

Then

Project setup

yarn install

or

npm install

Compiles and hot-reloads for development

yarn serve

or

npm run serve

Compiles and mock

yarn mork

or

npm run serve

Compiles and minifies for production

yarn build

or

npm run build

Lints and fixes files

yarn lint

or

npm run lint

Options

  Usage: cnf-vue-app [options] <project name>

  Options:
    -c, --config                 config package.json
    -h, --help                   output usage information
    -V, --version                output the version number

Example

cnf-vue-app app
cd app
npm install
npm run mock