Open History to see the last commit
TanStack Router - Virtual File-Based Routing Example#
An example demonstrating virtual file-based routing.
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/basic-virtual-file-based basic-virtual-file-based
Getting Started#
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build#
Build for production:
pnpm build
About This Example#
This example demonstrates:
- Virtual file-based routing
- Dynamic route generation
- Programmatic route creation
- Type-safe virtual routes