{"library":"vue-router","type":"library","category":null,"description":"Vue Router is the official client-side routing library for Vue.js, providing robust and declarative navigation for single-page applications. The current stable version is 5.0.4, primarily designed for Vue 3 projects. It generally follows a regular release cadence, with minor bug fixes and experimental features being integrated frequently, and major versions released less often but incorporating significant architectural changes or merges. A key differentiator of Vue Router 5 is the integration of `unplugin-vue-router` into its core, enabling file-system based routing and simplifying route definition by convention. This merge aims to streamline development workflows, reducing boilerplate compared to earlier versions and offering a more integrated experience for large-scale applications. It also provides strong TypeScript support out of the box, ensuring type safety for route definitions and navigation guards.","language":"javascript","status":"active","version":"5.0.4","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-router","imports":["import { createRouter } from 'vue-router'","import { createWebHistory } from 'vue-router'","import { RouterView } from 'vue-router'","import { useRouter } from 'vue-router'","import type { RouteLocationRaw } from 'vue-router'"]},{"cmd":"yarn add vue-router","imports":[]},{"cmd":"pnpm add vue-router","imports":[]}],"homepage":"https://router.vuejs.org","github":"https://github.com/vuejs/router","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-router","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-router/compatibility"}}