π
File-Based Routing
Define routes by creating files. TanStack Router-style conventions with dynamic params, catch-all routes, and pathless layouts.
Build scalable Vue applications with file-based routing, layers, and auto-imports powered by Vue Router and TanStack Query
src/routes/
βββ __root.vue # Root layout
βββ index.vue # / (home page)
βββ about.vue # /about
βββ posts/
β βββ index.vue # /posts
β βββ $id.vue # /posts/:id (dynamic)
βββ $.vue # Catch-all routeEach file automatically becomes a route. No manual route configuration needed.