module.exports = { proxy: { '/apis': { //将www.exaple.com印射为/apis target: 'http://106.52.105.247:7777/', // 接口域名 secure: false, // 如果是https接口,需要配置这个参数 changeOrigin: true, //是否跨域 pathRewrite: { } } } }