vue-router
> - This is the repository for Vue Router 4 (for Vue 3) > - For Vue Router 3 (for Vue 2) see [vuejs/vue-router](https://github.com/vuejs/vue-router).

vue-router downloads vue-router version vue-router license

vue-routerSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on vue-router's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of vue-router](https://npm-compare.com/img/npm-trend/THREE_YEARS/vue-router.png)](https://npm-compare.com/vue-router#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on vue-router's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of vue-router](https://npm-compare.com/img/github-trend/vue-router.png)](https://npm-compare.com/vue-router)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
vue-router4,162,9264,409670 kB4916 days agoMIT
README for vue-router

vue-router release candidate test codecov

  • 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

CodeRabbit

Silver Sponsors

VueMastery Prefect Controla SendCloud Route Optimizer and Route Planner Software

Bronze Sponsors

Storyblok NuxtLabs Stanislas Ormières


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

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