@posva/vue router next

## Status: Alpha

Version: 4.0.0-alpha.0 Updated: 02/21/2020

By: posva License: MIT

Downloads Last 30 Days: 279

Install

npm i @posva/vue-router-next
yarn add @posva/vue-router-next

CDNs

bundle.run: https://bundle.run/@posva/vue-router-next

jsDelivr: https://cdn.jsdelivr.net/npm/@posva/vue-router-next

unpkg: https://unpkg.com/@posva/vue-router-next

vue-router-next CircleCI

Status: Alpha

The current codebase has most of the existing features on Vue Router v3.x and is usable. It supports all the merged RFCs.

Since the library is still unstable and because we want feedback on bugs and missing features, it will probably go through a few breaking changes.

Known issues

Breaking changes compared to vue-router@3.x

  • mode: 'history' -> history: createWebHistory()
  • Catch all routes (/*) must now be defined using a parameter with a custom regex: /:catchAll(.*)

Missing features

  • keep-alive is not yet supported
  • Partail support of per-component navigation guards. No beforeRouteEnter

Contributing

See Contributing Guide.

Categories: Vue js
Tags: