Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 1.73 KB

readme.md

File metadata and controls

63 lines (50 loc) · 1.73 KB

存在重大BUG,不再维护,请移步至optimize-vue-cli

#vue-multi-cli

NPM version NPM download NPM download npm

GitHub watchers GitHub stars GitHub forks GitHub issues GitHub last commit (branch)

Template

Source Code

##Install

npm i -g vue-multi-cli

##Create Project

vues create <project-name>
// eg: vues create demo

##Init Project

// Install vue-cli-3.0 at first.
npm install -g @vue/cli

// Open Project Dir
cd <project-name>

// Init
yarn install 

##Add Module ####Remark: Used in the project root directory.

vues add -m <module-title> -p <module-path>
// eg: vues add -m module1 -p /mobile/page/index
// Html-Title: module1
// Html-Url: localhost:port/mobile/page/index

##Add Component ####Remark: Used in the project root directory.

vues add -c <component-path>
// eg: vues add -c /home/index
// Import: import Component from '@/components/home/index'

github issues

e-mail: changeden520@gmail.com