Get the Most Out of Vue Router
summary
Covers concrete APIs and gotchas: dynamic routing can add routes at runtime but cannot remove them today; the private matcher ranks routes by scored sections to resolve conflicts; history uses push/replace/state and enables custom histories; URL query parsing prefers URLSearchParams but browser bugs force polyfills and inconsistent encoding across Safari/Firefox/Chrome. Vue-Router-Next is modular, adds composition APIs and navigation direction, and shrinks bundles from ~9 KB today to under 7 KB now with paths to drop below 5 KB.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 5:36Getting the most out of Vue Router
- 6:11Dynamic Routing
- 7:41Matcher
- 11:50History
- 16:01URLSEARCHPARAMS API
- 17:38URL Encoding
- 25:56Vue-Router-Next
related talks
01h 14mWhat's new in Vue 3 Routing
26mVue-router and its techniques
01h 00mHow does a frontend router work? Deep dive with Vue Router
35mExciting New Features for Routing in Vue3; Vue Router 4
33mStop writing your own routes
36mUnderstanding client side routing with Vue.js
07mA New Vue Router
32mVue, simple yet scalable
