配置了环境变量和输出的相对路径
Showing
.env.stage
0 → 100644
Vue.config.js
0 → 100644
... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
"scripts": { | "scripts": { | ||
"serve": "vue-cli-service serve", | "serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | "build": "vue-cli-service build", | ||
"build-test": "vue-cli-service build --mode stage", | |||
"lint": "vue-cli-service lint" | "lint": "vue-cli-service lint" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
... | @@ -18,6 +19,7 @@ | ... | @@ -18,6 +19,7 @@ |
"@vue/cli-plugin-eslint": "^3.11.0", | "@vue/cli-plugin-eslint": "^3.11.0", | ||
"@vue/cli-service": "^3.11.0", | "@vue/cli-service": "^3.11.0", | ||
"babel-eslint": "^10.0.1", | "babel-eslint": "^10.0.1", | ||
"cross-env": "^6.0.0", | |||
"eslint": "^5.16.0", | "eslint": "^5.16.0", | ||
"eslint-plugin-vue": "^5.0.0", | "eslint-plugin-vue": "^5.0.0", | ||
"less": "^3.0.4", | "less": "^3.0.4", | ||
... | ... |
Please
register
or
sign in
to comment