module.exports = { lintOnSave: false, publicPath: "./", outputDir: process.env.outputDir, devServer: { //proxy: "http://192.168.20.70:8001/" // // 配置跨域-请求后端的代理接口 proxy: { "/JiangSu": { target: "http://localhost:8080/JiangSu", //对应自己的接口 changeOrigin: true, ws: true, pathRewrite: { "^/JiangSu": "", }, }, }, }, };