From a6fd20248270daab943d373c0849ae9b90a69ec8 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 22 十月 2024 22:20:50 +0800
Subject: [PATCH] feat: 修改页面和菜单
---
vue.config.js | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 5921df5..6b16215 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,15 +1,26 @@
+var path = require("path")
module.exports = {
baseUrl: './',
+ configureWebpack: {
+ resolve: {
+ alias: {
+ '@': path.join(__dirname, 'src')
+ }
+ }
+ },
assetsDir: 'static',
productionSourceMap: false,
devServer: {
+ sockHost: 'localhost',
+ port: 8082,
+ disableHostCheck: true,
proxy: {
- '/api':{
- target:'http://183.196.93.178',
- //target:'http://127.0.0.1',
+ '/':{
+ //target:'http://183.196.93.178',
+ target:'http://127.0.0.1:8089',
changeOrigin:true,
pathRewrite:{
- '/api':''
+ '/':''
}
}
}
--
Gitblit v1.9.1