Routing
Work with static, dynamic, and catch-all routes.
Updated: 2026-02-23
Route patterns
Use static files for static routes and bracket syntax for params.
- index.tsx -> /
- [slug].tsx -> /:slug
- [...all].tsx -> /*
- layout.tsx -> nested layout boundary
Work with static, dynamic, and catch-all routes.
Updated: 2026-02-23
Use static files for static routes and bracket syntax for params.