vue.config.js
文件中的配置如下,
// vue.config.js
module.exports = {
runtimeCompiler: true,
devServer: {
port: 8084,
proxy: {
'/oauth': {
target: 'http://10.180.37.105',
ws: true,
changeOrigin: true,
},
}
}
}
axios 请求url:http://10.100.1.121:8083/oauth/token
还是报跨域的错误。
请问是我的vue.config.js
文件中哪里配置的不对么?