Home >Web Front-end >JS Tutorial >How to solve cross-domain problems during front-end and back-end separation development and debugging

How to solve cross-domain problems during front-end and back-end separation development and debugging

怪我咯
怪我咯Original
2017-06-26 11:55:001589browse
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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Basic use of vueNext article:Basic use of vue