Many front-end frameworks are used for spa
applications. For example, backbone,angular,vue
they all have their own routing systems that manage each page switch in the front-end. If you want to understand the implementation of routing, the best way is to implement one manually.
There are two ways to implement front-end routing. One is launched by html5 historyapi
. We are talking about another hash
route, which is a common #
number. This method has better compatibility.
About front-end routing
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325280065&siteId=291194637
Recommended
Ranking