From c01634b0ed848d2d5ee7f195770b46f4169a7353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Mon, 13 Jun 2022 22:56:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8F=98=E5=8C=96:=20?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=B7=BB=E5=8A=A0=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/.env.preview | 3 +-- web/.env.production | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 web/.env.production diff --git a/web/.env.preview b/web/.env.preview index 7bbf2aa..1855d20 100644 --- a/web/.env.preview +++ b/web/.env.preview @@ -1,5 +1,4 @@ -# 构建预览页面 - +# 预览环境 # 指定构建模式 NODE_ENV=production diff --git a/web/.env.production b/web/.env.production new file mode 100644 index 0000000..8b3fa56 --- /dev/null +++ b/web/.env.production @@ -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