1. Deploy the background code to your computer (install various jdk or environment software) - Trouble! If you change the code in the background, you have to find the background code
##2. Put the front-end code together with the server code - troublesome! If you change something on the front-end, you have to upload it once
#3. Use the convenient and fast nginx as a proxy (you only need to download nginx and configure it slightly, Avoid the above two shortcomings at once)
The above is the detailed content of How to solve cross-domain problems during front-end and back-end separation development and debugging. For more information, please follow other related articles on the PHP Chinese website!