Set Up Routing

Use when adding client-side routing to a frontend SPA — wires TanStack Router (typed, file-based, React) or Vue Router (Vue) with lazy route code-splitting, loaders that prefetch into the TanStack Query cache, per-route error + pending UI, and a guard pattern for protected routes.

VelimirMueller Updated

File contents

VelimirMueller/claude_development_skills/tree/main/skills/frontend/set-up-routing commit 54f86b71c0

Frequently asked questions

npx skillmds@latest add velimirmueller/set-up-routing