devServer: { host: '127.0.0.1', port: 8010, //这个是前端访问的端口号 open: true, proxy: { '/loan': { target: 'http://localhost:8080', //这个配置的是 tomcat 里面 changeOrigin: true, pathRewrite: { '^/loan': '' } }, '/flow': { target: 'http://localhost:8068', changeOrigin: true, pathRewrite: { // '^/flow': '' } }, }
2018-9-11-webpack.config.js 里面配置启动参数
猜你喜欢
转载自blog.csdn.net/haodiaoer/article/details/82621268
今日推荐
周排行