router
π¦ The official router for Vue.js
This repository is the official router for Vue.js, specifically version 4 of Vue Router which works with Vue 3. In web development, a router is the piece of software that decides what content to show when a user navigates to different parts of a website or app, for example moving from a home page to a profile page without the browser reloading the whole site.
Vue Router is an open-source project maintained under an MIT license, meaning anyone can use it freely. Its ongoing development is funded by sponsors rather than a company, and the README lists several gold, silver, and bronze sponsors who support the work financially.
If you want to add Vue Router to a project, the README points to three quick options: loading it directly via a CDN link in an HTML file, trying it in an online sandbox, or installing it through the npm package manager with a single command. Full documentation is hosted at router.vuejs.org.
If you previously used Vue Router 3 with Vue 2, there is a migration guide available on the documentation site explaining what changed. The older version is maintained in a separate repository. The README is short and focused, directing readers to external documentation for deeper detail rather than explaining everything in one place.