Home > front end >  The router in the vue - view and dynamic components
The router in the vue - view and dynamic components

Time:10-03

They use that is good, what, how to use, the performance is better, how to use the project recommend

CodePudding user response:

Vue - the router is vue. Js official routing plug-in, it and the vue. Js is deep integration, suitable for use in building a single page application,
Vue single-page applications is based on the routing and components, route is used to set up the access path (you can configure the permissions, you can also through the KeepAlive cache), and the paths and component mapping,
Traditional page application, is to use some links to realize the page switching and jump,
In the vue - the router single-page applications, is a path between the switch and also is the switching components,

Dynamic components like routing application scenarios are not
If it is a little big projects with dynamic component management, bad maintenance,
Dynamic routing nested pass and there will be a problem if multiple


  • Related