Study Notes (07): Complete react latest tutorial from entry to the master package will package - [election] learn webpack-dev-server installation and configuration of proxy solve cross-domain issue ...

Learning immediately: https://edu.csdn.net/course/play/26744/339998?utm_source=blogtoedu

 

 The figure above the proxy cross-domain can be replaced api api, attention / not to end.

In the main entrance template (index.html) in the call ajax, only to / api instead of the cross-domain address can be spliced

Published 14 original articles · won praise 0 · Views 50

Guess you like

Origin blog.csdn.net/web_mengxin/article/details/104273703