module.exports = { devServer: { open: true, proxy:{ '/shzl/api': { target: 'https://sjgl.wodcloud.com/shzl/api', // 接口域名 changeOrigin: true, // 是否跨域 rewrite: (path) => path.replace('/shzl/api', ''), }, } }, transpileDependencies: ['vue-echarts','resize-detector', 'crypto-js'], publicPath: "./", outputDir: "dist/zjhl", assetsDir:"static" }