An example demonstrating file-based routing with TanStack Router.
To start a new project based on this example, run:
npx gitpick TanStack/router/tree/main/examples/react/basic-file-based basic-file-basedInstall dependencies:
pnpm installStart the development server:
pnpm devBuild for production:
pnpm buildThis example demonstrates:
- File-based route generation
- Automatic route tree creation
- Route file conventions
- Type-safe routing with file-based routes