Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchen2k committed Nov 30, 2023
1 parent d1c329c commit d4901c2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#运行环境
NODE_ENV = 'production'
# 服务端口
VUE_APP_PORT=8000
# 是否开启Mock true|false,development 环境有效
VUE_APP_MOCK = true

VUE_APP_API_SERVER = http:https://124.221.203.74:8085/api/v1
VUE_APP_API_AGENT = http:https://124.221.203.74:8086/api/v1
VUE_APP_API_STATIC =
VUE_HELP_URL = https://deeptest.com

################ 部署环境相关配置 start ################
VUE_APP_DEPLOY_ENV = 'deeptest'
VUE_APP_DEPLOY_ENV_TITLE= 'Deeptest'
# 乐研 loading logo 图片
VUE_APP_DEPLOY_ENV_LOADING_ICON= ''
VUE_APP_DEPLOY_ENV_COMPANY= 'deeptest.com'
VUE_APP_DEPLOY_ENV_COMPANY_COPYRIGHT= 'All Rights Reserved 苏ICP备2022024127号'
################ 部署环境相关配置 end ################
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"scripts": {
"serve": "sh init.project.sh && vue-cli-service --mode=dev serve",

"build": "sh init.project.sh && vue-cli-service build --mode=production",
"build:dev": "sh init.project.sh && vue-cli-service build --mode=dev",
"build:test": "sh init.project.sh && vue-cli-service build --mode=test",
"build:prod": "sh init.project.sh && vue-cli-service build --mode=prod",
"build:client": "sh init.project.sh && vue-cli-service build --mode=client",
"build:demo": "sh init.project.sh && vue-cli-service build --mode=demo",
"build:demo": "sh init.project.sh && vue-cli-service build --mode=prod",

"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint",
Expand Down

0 comments on commit d4901c2

Please sign in to comment.