This is the repository for Vue Router 4 (for Vue 3)
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
Bronze Sponsors
Get started with the documentation.
Quickstart
- 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
Changes from Vue Router 3
Please consult the Migration Guide.
Contributing
See Contributing Guide.
Special Thanks
![BrowserStack Logo BrowserStack Logo](https://github.com/vuejs/vue-router/raw/dev/assets/browserstack-logo-600x315.png?raw=true)
Special thanks to BrowserStack for letting the maintainers use their service to debug browser specific issues.