Package Exports
- vue-router
- vue-router/dist/vue-router.cjs.js
- vue-router/dist/vue-router.esm-bundler
- vue-router/dist/vue-router.esm-bundler.js
- vue-router/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-router) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-router

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:
Platinum Sponsors
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

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