From 6f1282471e5fd213443ac1f6dabfd3ef8b08c5c3 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 06 六月 2023 09:38:21 +0800
Subject: [PATCH] 修改前端页面

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

diff --git a/vue.config.js b/vue.config.js
index 5921df5..96259df 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,8 +1,18 @@
+var path = require("path")
 module.exports = {
     baseUrl: './',
+    configureWebpack: {
+        resolve: {
+            alias: {
+                '@': path.join(__dirname, 'src')
+            }
+        }
+    },
     assetsDir: 'static',
     productionSourceMap: false,
     devServer: {
+        sockHost: 'localhost',
+        disableHostCheck: true,
         proxy: {
             '/api':{
                 target:'http://183.196.93.178',

--
Gitblit v1.9.1