Vue make cli

vue-make-cli

Version: 2.3.0 Updated: 09/25/2018

By: Chooin License: ISC

Downloads Last 30 Days: 177

Install

npm i vue-make-cli
yarn add vue-make-cli

Repository: https://github.com/Chooin/vue-make-cli

CDNs

bundle.run: https://bundle.run/vue-make-cli

jsDelivr: https://cdn.jsdelivr.net/npm/vue-make-cli

unpkg: https://unpkg.com/vue-make-cli

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"
  }
}

Contributors



chooin
commits

DevDependencies


Categories: Vue js
Tags: