摘要: #React配置代理异常 在使用create-react-app创建项目后,本地项目联调Server端项目,涉及到跨域问题;一般采用配置proxy方式; 参考官方文档 - 在开发环境中代理 API 请求 新建src/setupProxy.js ,并安装 npm install http-proxy- 阅读全文
posted @ 2020-11-13 19:24 真我时刻 阅读(280) 评论(0) 推荐(0)
hello world