- This is the repository for Vue Router 4 (for Vue 3)
- For Vue Router 3 (for Vue 2) see vuejs/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:
Get started with the documentation.
-
Via CDN:
<script src="https://unpkg.com/vue-router@4"></script>
-
In-browser playground on CodeSandbox
-
Add it to an existing Vue Project:
npm install vue-router@4
Please consult the Migration Guide.
See Contributing Guide.
Special thanks to BrowserStack for letting the maintainers use their service to debug browser specific issues.