From 3df06d7515db396b34ed1d088502556484df6527 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 11 七月 2024 10:55:01 +0800
Subject: [PATCH] 教师管理
---
vue.config.js | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 43e9f92..7978686 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,8 +1,8 @@
-'use strict'
-const path = require('path')
+'use strict';
+const path = require('path');
-function resolve (dir) {
- return path.join(__dirname, dir)
+function resolve(dir) {
+ return path.join(__dirname, dir);
}
module.exports = {
@@ -20,6 +20,7 @@
proxy: {
'/api': {
target: 'http://localhost:8000',
+ // target: 'http://192.168.3.64:8000',
changeOrigin: true
}
}
@@ -31,12 +32,12 @@
filename: 'index.html'
}
},
- chainWebpack (config) {
+ chainWebpack(config) {
// set svg-sprite-loader
config.module
.rule('svg')
.exclude.add(resolve('src/icons'))
- .end()
+ .end();
config.module
.rule('icons')
.test(/\.svg$/)
@@ -47,6 +48,6 @@
.options({
symbolId: 'icon-[name]'
})
- .end()
+ .end();
}
-}
+};
--
Gitblit v1.8.0