功能变化: 前端添加生产环境的配置文件

pull/64/head
李强 2022-06-13 22:56:14 +08:00
parent c016d4a903
commit c01634b0ed
2 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,4 @@
# 构建预览页面
# 预览环境
# 指定构建模式
NODE_ENV=production

15
web/.env.production Normal file
View File

@ -0,0 +1,15 @@
# 生产环境
# 指定构建模式
NODE_ENV=production
# 标记当前构建方式
VUE_APP_BUILD_MODE=PREVIEW
# 页面 title 前缀
VUE_APP_TITLE=企业级后台管理系统
# 显示源码按钮
VUE_APP_SCOURCE_LINK=FALSE
# 部署路径
VUE_APP_PUBLIC_PATH=/
# 启用权限管理
VUE_APP_PM_ENABLED = true