vue-cli3.0解决跨域问题(超简单)

在根目录新建文件:vue.config.js 在文件新增内容: module.exports = { publicPath: '/', outputDir: 'dist', devServer: { open: true, host: 'localhost', port: '8081', proxy: {
相关文章
相关标签/搜索