module.exports = { // publicPath: '/child_pc/', publicPath: '/pc', assetsDir:"static", outputDir: 'child', indexPath:"index.html", filenameHashing:"true", productionSourceMap: false, lintOnSave: false, devServer: { host:'0.0.0.0', port: 8086, // 端口号 hot:true, disableHostCheck:true,//热更新不生效 可以打开此属性 // https: false, // https:{type:Boolean} open: true, //配置自动启动浏览器 proxy: { '/chat': { // target: process.env.VUE_APP_TARGET, // "http://43.143.198.30:8089"; target: 'http://43.143.198.30:8089', // ws: true, changeOrigin: true, pathRewrite: { '^/chat': '' //代理的路径 } }, } }, }