update 优化 前后端多环境部署保持一致 删除无用环境文件

2.X
疯狂的狮子li 3 years ago
parent 04341b1d6a
commit f6d00e7da3

@ -1,13 +0,0 @@
# 页面标题
VUE_APP_TITLE = RuoYi-Cloud-Plus后台管理系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 若依管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'

@ -7,7 +7,6 @@
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build", "build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "lint": "eslint --ext .js,.vue src"
}, },

Loading…
Cancel
Save