vuejs / router

🚦 The official router for Vue.js

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-router release candidate test

  • This is the repository for Vue Router 4 (for Vue 3)
  • For Vue Router 3 (for Vue 2) see vuejs/vue-router.

Supporting Vue Router

Vue Router is part of the Vue Ecosystem and is an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:

Gold Sponsors


Silver Sponsors

VueMastery Prefect

Bronze Sponsors

Stanislas Ormières Antony Konstantinidis Storyblok NuxtJS

Get started with the documentation.


  • Via CDN: <script src=""></script>

  • In-browser playground on CodeSandbox

  • Add it to an existing Vue Project:

    npm install vue-router@4

Changes from Vue Router 3

Please consult the Migration Guide.


See Contributing Guide.

Special Thanks

BrowserStack Logo

Special thanks to BrowserStack for letting the maintainers use their service to debug browser specific issues.


🚦 The official router for Vue.js

License:MIT License


Language:TypeScript 84.0%Language:JavaScript 10.7%Language:Vue 3.7%Language:HTML 1.2%Language:CSS 0.2%Language:Stylus 0.1%Language:Shell 0.1%