From 01c25c7e0f38e7f458d5dc97a70a9b7b8d4f7a6c Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期六, 07 十月 2023 23:30:45 +0800
Subject: [PATCH] 健康保健修改
---
ruoyi-ui/vue.config.js | 31 ++++++-------------------------
1 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index 767a3eb..0ba49d3 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -7,9 +7,9 @@
const CompressionPlugin = require('compression-webpack-plugin')
-const name = process.env.VUE_APP_TITLE || '寮犳皬APP' // 缃戦〉鏍囬
+const name = process.env.VUE_APP_TITLE || '鑻ヤ緷绠$悊绯荤粺' // 缃戦〉鏍囬
-const port = process.env.port || process.env.npm_config_port || 8088 // 绔彛
+const port = process.env.port || process.env.npm_config_port || 80 // 绔彛
// vue.config.js 閰嶇疆璇存槑
//瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions
@@ -35,8 +35,7 @@
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- // target: `http://localhost:8080`,
- target: `http://47.93.189.255:8080`,
+ target: `http://47.93.189.255:8080/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
@@ -47,15 +46,9 @@
},
css: {
loaderOptions: {
- // sass: {
- // sassOptions: { outputStyle: "expanded" }
- // }
- postcss:{
- plugins:[
- require('postcss-px2rem')({
- remUnit:192
- })
- ]
+ sass: {
+ sassOptions: { outputStyle: "expanded" },
+
}
}
},
@@ -97,17 +90,6 @@
symbolId: 'icon-[name]'
})
.end()
- //
- // config.module
- // .rule("css")
- // .test(/\.css$/)
- // .oneOf("vue")
- // .resourceQuery(/\?vue/)
- // .use("px2rem")
- // .loader("px2rem-loader")
- // .options({
- // remUnit: 192 // 璁捐绋垮ぇ灏忔瘮渚� / 10
- // });
config
.when(process.env.NODE_ENV !== 'development',
@@ -152,5 +134,4 @@
}
)
}
-
}
--
Gitblit v1.9.1