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",