From 5adda1012b91b2555c43a43f940b34ba4a870a26 Mon Sep 17 00:00:00 2001 From: wxz Date: Mon, 18 Nov 2024 10:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=B0=E4=B8=9C=E7=8E=AF?= =?UTF-8?q?=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.taidong-prod | 6 ++++++ package.json | 1 + src/config/env.taidong-prod.js | 10 ++++++++++ 3 files changed, 17 insertions(+) create mode 100644 .env.taidong-prod create mode 100644 src/config/env.taidong-prod.js diff --git a/.env.taidong-prod b/.env.taidong-prod new file mode 100644 index 0000000..c69ffa4 --- /dev/null +++ b/.env.taidong-prod @@ -0,0 +1,6 @@ +NODE_ENV='taidong-prod' +# must start with VUE_APP_ +VUE_APP_ENV = 'taidong-prod' +outputDir = 'epmet-work-h5-taidong' + + \ No newline at end of file diff --git a/package.json b/package.json index bc34b8f..4d6174b 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "vue-cli-service build", "build:dev": "vue-cli-service build --mode development", "build:prod": "vue-cli-service build --mode production", + "build:taidong-prod": "vue-cli-service build --mode taidong-prod", "build:test": "vue-cli-service build --mode test", "build:stage": "vue-cli-service build --mode staging", "lint": "vue-cli-service lint", diff --git a/src/config/env.taidong-prod.js b/src/config/env.taidong-prod.js new file mode 100644 index 0000000..1db28b2 --- /dev/null +++ b/src/config/env.taidong-prod.js @@ -0,0 +1,10 @@ +// 本地环境配置 +module.exports = { + env: 'development', + title: 'e联社区', + baseUrl: 'http://192.168.76.61/', // 项目地址 + baseApi: 'http://192.168.76.61/api', // 本地api请求地址,注意:如果你使用了代理,请设置成'/' + // baseApi: 'http://219.146.91.110:30801/api', // 本地api请求地址,注意:如果你使用了代理,请设置成'/' + APPID: 'xxx', + APPSECRET: 'xxx', +}