From e672be1324e2947185d7ba776a4373a1b88a9d0c Mon Sep 17 00:00:00 2001 From: wxz Date: Thu, 26 Sep 2024 09:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0localhost=E9=85=8D=E7=BD=AE,?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E8=87=AA=E5=B7=B1=E7=94=A8=E7=9A=84,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.localhost | 19 +++++++++++++++++++ package.json | 1 + 2 files changed, 20 insertions(+) create mode 100644 .env.localhost diff --git a/.env.localhost b/.env.localhost new file mode 100644 index 000000000..9c8490046 --- /dev/null +++ b/.env.localhost @@ -0,0 +1,19 @@ +NODE_ENV=development + +# VUE_APP_API_SERVER = https://epmet-preview.elinkservice.cn/api +# VUE_APP_API_SERVER = http://192.168.1.60:8080/api +VUE_APP_API_SERVER = http://localhost:8080/api +# VUE_APP_API_SERVER = http://219.146.91.110:30801/api219.146.91.110:30801 +# VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epdc-shibei.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api +# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api + +VUE_APP_BIPASS_API_SERVER = /linkdata/linkdata-gateway/route + +# VUE_APP_NODE_ENV=dev_sdtdt +VUE_APP_NODE_ENV=dev +#项目根路径 +VUE_APP_PUBLIC_PATH=epmet-oper diff --git a/package.json b/package.json index 1bb574cc2..5ce162d98 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "private": true, "scripts": { + "localhost": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve --mode localhost", "dev": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve", "serve": "vue-cli-service serve", "build": "vue-cli-service build",