vue-make-cli

2.3.0 • Public • Published

vue-make-cli

Build Status

Installation

yarn global add vue-make-cli
# or
npm install -g vue-make-cli

Usage

vue-make --help
Create a new page/view
# your page will be create in src/pages
vue-make page /product/index

# your view will be create in src/views
vue-make view /product/index

Config

vue-make.json

{
  "styleType": "css",
  "page": {
    "directory": "./src/pages",
    "targetDirectoryPrefix": "",
    "stylePrefix": "",
    "layout": false
  },
  "view": {
    "directory": "./src/views",
    "targetDirectoryPrefix": "",
    "stylePrefix": "",
    "layout": false
  },
  "component": {
    "directory": "./src/components",
    "targetDirectoryPrefix": "",
    "stylePrefix": ""
  },
  "directive": {
    "directory": "./src/directives"
  },
  "mixin": {
    "directory": "./src/mixins"
  },
  "store": {
    "directory": "./src/store"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i vue-make-cli

Weekly Downloads

1

Version

2.3.0

License

ISC

Unpacked Size

282 kB

Total Files

39

Last publish

Collaborators

  • chooin