vue-router
5.5.1 · 13 Nov 2026MIT13.4M / weekRepositoryHomepagenpmAtom feed
4.6.5 is the newest release of 4.x.
In short
1 new1 faster3 fixed
Release note
This release refactors the build to use tsup. Please report any issue you may find regarding to types or incorrectly unresolved exports
There is a new vue-router/experimental export which is used mainly by unplugin-vue-router with the new custom resolvers that bring a smaller router runtime, faster route matching, custom param types and matching on query parameters. There is still some work to do so the API is still experimental and may change in future releases. If you want to give it a try, check the experimental playground in unplugin-vue-router. If you use file based routing, this will be a transparent upgrade for you (in the future). Currently it still lacks a couple of features like alias and dynamic routing.
Features
A new experimental Custom resolvers features, meant to replace in the future the current implementation but partially introduced through
vue-router/experimental. Meant to be used in combination withunplugin-vue-routerfor the moment. Still lacking documentation
Bug Fixes
routerlink: allow event handlers under strictTemplates (fix #2484)
router: use pagehide for iOS navigation
types: missing options in RouteLocationGeneric
Performance Improvements
parseURL minor improvements
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.