非nginx调试模式

This commit is contained in:
StarsL.cn
2022-07-17 23:14:29 +08:00
parent 0baa27bcd8
commit 70b8e62bf9
3 changed files with 14 additions and 0 deletions

View File

@@ -36,6 +36,15 @@ module.exports = {
warnings: false,
errors: true
},
// 非nginx调试使用代理后端模式。
// proxy:{
// 'api':{
// target:'http://192.168.1.120:2026',
// changeOrigin: true,
// }
// },
before: require('./mock/mock-server.js')
},
configureWebpack: {