mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
* chore: refresh Router and Start dependencies * chore: centralize shared dependencies * chore: keep examples self-contained * chore: sync catalog versions into examples * test(start-plugin-core): refresh hydration snapshots and portable fixtures |
History
|
|
|---|---|---|
| .. | ||
| .devcontainer | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.js | ||
TanStack Router - Kitchen Sink File-Based Example
A comprehensive file-based routing example demonstrating many TanStack Router features.
Start a new project based on this example
To start a new project based on this example, run:
npx gitpick TanStack/router/tree/main/examples/react/kitchen-sink-file-based kitchen-sink-file-based
Getting Started
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build
Build for production:
pnpm build
About This Example
This "kitchen sink" example with file-based routing demonstrates:
- File-based route generation
- Advanced routing patterns
- Nested routes
- Route parameters and search params
- Data loading
- Error handling
- Route guards
- Type-safe file-based routes