vue-router-pitfalls
Web FrontendDiagnosis and fix patterns for Vue Router 4 in Vue 3 single-page apps — which guards run for a given navigation, return-based guard decisions, awaiting async access checks with fail-closed handling when a check cannot finish, stopping redirect loops, reloading data when only route params change, the pre-creation beforeRouteEnter guard, hash routing built by hand, and a production router scaffold. Use when writing or debugging navigation guards, when a view shows stale data after a param-only URL change, when chasing an infinite-redirection warning, or when wiring routing into a Vue 3 app. Not for React Router, Vue Router 3, or server-side routing.
- Version
- v1.0.0
- Size
- 21 KB
- Updated
- 2026-10-06
$ skilvault read --manual vue-router-pitfallsYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.