config/index.js
proxyTable: {
'/api': {
target: 'http://localhost:8080',
pathRewrite: {
'^/api': '/static/mock'
}
}
}
config/index.js
proxyTable: {
'/api': {
target: 'http://localhost:8080',
pathRewrite: {
'^/api': '/static/mock'
}
}
}
本文标题:webpack proxyTable 设置 实际地址指向 moc
本文链接:https://www.haomeiwen.com/subject/qtastltx.html
网友评论