KinoOfficial / ReactCourse

0 stars 0 forks source link

跨域问题 #6

Open KinoOfficial opened 1 year ago

KinoOfficial commented 1 year ago

方法一:在package.json⽂件中配置

image
KinoOfficial commented 1 year ago

第⼆种⽅案 在src⽬录下新建⽂件 src/setupProxy.js ⽂件内容如下

image