JSPM

  • Created
  • Published
  • Downloads 3324504
  • Score
    100M100P100Q225102F
  • License MIT

Package Exports

  • vue-router
  • vue-router/auto
  • vue-router/auto-routes
  • vue-router/dist/vue-router.cjs
  • vue-router/dist/vue-router.cjs.js
  • vue-router/dist/vue-router.cjs.prod.js
  • vue-router/dist/vue-router.d.ts
  • vue-router/dist/vue-router.esm-browser.js
  • vue-router/dist/vue-router.esm-bundler.js
  • vue-router/dist/vue-router.global.js
  • vue-router/dist/vue-router.global.prod.js
  • vue-router/dist/vue-router.mjs
  • vue-router/dist/vue-router.node.mjs
  • vue-router/dist/vue-router.prod.cjs
  • vue-router/package.json
  • vue-router/vetur/attributes.json
  • vue-router/vetur/tags.json

Readme

vue-router release candidate test

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

Silver Sponsors

VueMastery Prefect

Bronze Sponsors

Stanislas Ormières Antony Konstantinidis Storyblok Nuxt UI Pro Templates


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.