From c10e136ad6639bf29819e78f81c61390d99487a2 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期一, 16 十月 2023 09:10:15 +0800
Subject: [PATCH] web 羚羊
---
web_standard/package.json | 1 +
web_standard/.env.lingyan | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/web_standard/.env.lingyan b/web_standard/.env.lingyan
new file mode 100644
index 0000000..3243928
--- /dev/null
+++ b/web_standard/.env.lingyan
@@ -0,0 +1,16 @@
+# 鐢熶骇鐜閰嶇疆
+NODE_ENV = 'production'
+
+# 鍏抽棴DEBUG
+VUE_APP_DEBUG = 'off'
+
+# 璺敱鏂瑰紡
+VUE_APP_ROUTER_MODE = 'hash'
+
+# 椤圭洰涓婁笅鏂囪矾寰�
+VUE_APP_CONTEXT_PATH = '/web/'
+
+# 鎺ュ彛鍓嶇紑
+VUE_APP_API_PREFIX = '/doumeeplant/'
+
+VUE_APP_BASE_URL = 'https://127.0.0.1/doumeeplant'
diff --git a/web_standard/package.json b/web_standard/package.json
index 1703628..1c944ef 100644
--- a/web_standard/package.json
+++ b/web_standard/package.json
@@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build:pro": "vue-cli-service build",
+ "build:ly": "vue-cli-service build --mode lingyan",
"build:dev": "vue-cli-service build --mode staging",
"lint": "vue-cli-service lint",
"fix": "eslint --ext .js,.vue src --fix"
--
Gitblit v1.9.3