feat(l2): 添加多环境配置及国际化支持
- 新增klp和g30环境配置文件 - 添加vue-i18n实现中英文切换 - 更新package.json添加环境组相关脚本 - 修改vue.config.js支持多环境配置加载
This commit is contained in:
26
apps/l2/config/g30/.env.development
Normal file
26
apps/l2/config/g30/.env.development
Normal file
@@ -0,0 +1,26 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 'Galvanizing Line & Production Process Management System'
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 若依管理系统/开发环境
|
||||
VUE_APP_BASE_API = '/dev-api'
|
||||
|
||||
# 应用访问路径 例如使用前缀 /admin/
|
||||
VUE_APP_CONTEXT_PATH = '/'
|
||||
|
||||
# 监控地址
|
||||
VUE_APP_MONITRO_ADMIN = 'http://localhost:9090/admin/login'
|
||||
|
||||
# xxl-job 控制台地址
|
||||
VUE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
# L2业务后端地址
|
||||
VUE_APP_SERVICE_BASE_API = 'http://localhost:8089'
|
||||
|
||||
# 语言配置
|
||||
VUE_APP_I18N_LOCALE = 'en-US'
|
||||
Reference in New Issue
Block a user