1.SPA: local updating by ajax, a browser that supports forward and backward
2.SPA Principle: hash URL based
3. distal route: displaying different according to a user event
4. The basic steps of
(1) introducing Router-VUE
(2) add the route link
(3) routing padding bits
(4) defines a routing component
(5) arranged to create routing rules and routing instance
(6) is routed to the mount Vue root example
5. route redirection: redirect relocation with a new page
6. fitted the routine: configured through Children
7. the dynamic routing
through the path after the path is added: id attribute, dynamic routing parameters, id variable
8.props parameter passing
available route transfer functions
9. named route
name
10. the navigation programming
push method : you can jump to other pages
go method: n is a positive, forward n the web page; n is negative, then the web page back n
Vuejs Learning (Five) front-end routing
Guess you like
Origin blog.csdn.net/zeshen123/article/details/103943938
Recommended
Ranking