Build seamless Single Page Applications.
1The Router Outlet
Vue Router uses <router-view> as a placeholder where the matched component for the current URL will be rendered. You can think of it as a dynamic <slot> that the router controls.
3useRoute vs useRouter
In the Composition API, useRoute() gives you information about the CURRENT route (params, query strings, path). useRouter() gives you the router INSTANCE, which has methods like .push() and .replace() to change pages programmatically.
