mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
ci: changeset release Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
History
|
|
|---|---|---|
| .. | ||
| .devcontainer | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| routes.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||
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