Vue multi application template, optimized from Vue CLI 3 typescript template.
yarn install
# mobile
yarn run serve-mobile
# pc
yarn run serve-pc
# mobile
yarn run build-mobile
# pc
yarn run build-pc
yarn run lint
"serve-pad": "vue-cli-service serve --mode pad-dev",
"build-pad": "vue-cli-service build --mode pad-prod",
"build": "npm run build-pc && npm run build-mobile && npm run build-pad"
-
.env.pad-dev
:NODE_ENV=development VUE_APP_PLATFORM=pad
-
.env.pad-prod
:NODE_ENV=development VUE_APP_PLATFORM=pad
npm run serve-pad
npm run build-pad
npm run build
Editor is VSCode, and install the following plugins: