module.exports = { // 配置路径别名 configureWebpack: { devServer: { port: '8890', disableHostCheck: true, https: false, proxy: { '/api': { target: 'https://wx.hw.hongweisoft.com/parking/', changeOrigin: true, pathRewrite: { '^/api': '' } } } } } };