
Vue Router
The official router for Vue.js, with nested routes, navigation guards, typed routes and built-in file-based routing.
Vue Router is the official routing library for single page apps built with Vue. It maps URLs to components, supports nested and dynamic routes, and handles navigation through the RouterLink and RouterView components or the useRouter composable.
It includes navigation guards for things like auth checks, lazy loaded route components, scroll behavior control, and transitions. Recent versions also ship a built-in file-based routing plugin that generates routes and their TypeScript types from your page components.
Install it with npm install vue-router, create an instance with createRouter, and register it on your app with app.use(router).





