vue-router

The official router for Vue.js

README

vue-router


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



Get started with the documentation.

Quickstart


- Via CDN: ``
- In-browser playground on CodeSandbox
- Add it to an existing Vue Project:

  bash
  npm install vue-router@4
  

Changes from Vue Router 3


Please consult the Migration Guide.

Contributing



Special Thanks


BrowserStack Logo

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