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 | ||
| tsconfig.json | ||
| vite.config.ts | ||
TanStack Router - Virtual Inside File-Based Routing Example
An example demonstrating virtual routes within a file-based routing structure.
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-inside-file-based basic-virtual-inside-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:
- Combining virtual and file-based routing
- Hybrid routing approach
- Dynamic route generation within file-based structure
- Flexible route configuration