From 2ecadf32ba5b19215a0f8393896335fce6cea058 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期五, 11 八月 2023 10:44:08 +0800
Subject: [PATCH] Merge branch 'master' of ssh://139.186.142.91:29418/productDev/dmMes

---
 web_standard/vue.config.js |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/web_standard/vue.config.js b/web_standard/vue.config.js
new file mode 100644
index 0000000..f907a03
--- /dev/null
+++ b/web_standard/vue.config.js
@@ -0,0 +1,25 @@
+// 璇︾粏閰嶇疆璇峰弬鑰僪ttps://cli.vuejs.org/zh/config/#vue-config-js
+// const outputDir = process.env.VUE_APP_CONTEXT_PATH.substring(1, process.env.VUE_APP_CONTEXT_PATH.length - 1)
+module.exports = {
+  publicPath: process.env.VUE_APP_CONTEXT_PATH,
+  // publicPath: './',
+  outputDir: 'doumeeplant_web',
+  // outputDir: 'web',
+  assetsDir: 'static',
+  lintOnSave: false,
+  devServer: {
+    disableHostCheck: true,
+    host: '0.0.0.0',
+    port: 10086,
+    // port: 10086,
+    proxy: {
+      [process.env.VUE_APP_API_PREFIX]: {
+        target: process.env.VUE_APP_BASE_URL,
+        changeOrigin: true,
+        pathRewrite: {
+          [`^${[process.env.VUE_APP_API_PREFIX]}`]: ''
+        }
+      }
+    }
+  }
+}

--
Gitblit v1.9.3