vue中webpack-simple解决跨域问题

1.打开webpack.config.js文件
2.找到devServer模块,在下面添加红框内的代码
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42750581/article/details/82862871