09-12
This commit is contained in:
@@ -6,6 +6,7 @@ module.exports = defineConfig({
|
||||
|
||||
transpileDependencies: ['vuetify'],
|
||||
lintOnSave:false,//关闭语法检查
|
||||
productionSourceMap: false,//打包不生成map文件,减少文件大小
|
||||
devServer: {
|
||||
// hot: true, // 热更新
|
||||
// port: '8060',
|
||||
@@ -20,7 +21,7 @@ module.exports = defineConfig({
|
||||
// changeOrigin: true, //是否允许跨越
|
||||
// }
|
||||
'/api':{
|
||||
target:'http://18.167.251.121:5567',
|
||||
target:'http://192.168.1.9:5567',
|
||||
changeOrigin:true,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user