init
This commit is contained in:
15
vue.config.js
Normal file
15
vue.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
devServer: {
|
||||
proxy: {
|
||||
'/chargingapi': {
|
||||
target: 'https://www.cqaijing.top', // 对应自己的接口
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/chargingapi': '',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
publicPath: './',
|
||||
}
|
||||
Reference in New Issue
Block a user