npm i -g optimize-vue-cli
vues create <project-name>
// eg: vues create demo
// Install vue-cli-3.0 at first.
npm install -g @vue/cli
// Open Project Dir
cd <project-name>
// Init
yarn install
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
vues add -c <component-path>
// eg: vues add -c /home/index
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
See Cli Information