module.exports = { lintOnSave: false, publicPath: "./", devServer: { proxy: { "/yssh": { target: "http://192.168.22.19:8080/yssh/", //接口域名 changeOrigin: true, //是否跨域 ws: true, //是否代理 websockets secure: false, //是否https接口 pathRewrite: { //路径重置 "^/yssh": "", }, }, }, }, };