for SPA pages, the traditional multi-page application process is as follows: enter the URL, send the url corresponding to the url, to a different controller, through regular matching, and then return the data to the front end at the back end.
so for SPA, routing is written by the front end, how does the data given by the back end be sent to the front end? How does the front-end route load data? How to switch pages so quickly.