1. npm install process
2. "serve": "vue-cli-service serve --mode local",
"serve-qalocal": "vue-cli-service serve --mode qalocal"
3. 新建如下两个文件:
.env.local
.env.qalocal
NODE_ENV=qa
VUE_APP_CAMPAIGN_URL = https://qacn.api.mps.ford.com.cn
4. 使用: process.env.VUE_APP_CAMPAIGN_URL