module.exports = { // 配置路径别名 configureWebpack: { devServer: { disableHostCheck: true, // proxy: { // '/epidemicapp': { // target: 'https://wx.hw.hongweisoft.com', //这里后台的地址模拟的;应该填写你们真实的后台接口 // secure:false, // changOrigin: true, //允许跨域 // pathRewrite: { // '^/epidemicapp': '' // } // }, // }, // disableHostCheck: true } } }