VUE项目启动后,登录,发现报错:
Proxy error: Could not proxy request /user/login from localhost:8089 to http://***。**。**:8081/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ENOTFOUND).
报错很明显,代理不过去,需要修改代理配置:
找到vue.config.js ,其中有配置代理的部分,改成正确的后端地址即可:
参考:
转载:https://blog.csdn.net/sinat_40770656/article/details/109121241
查看评论