Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

README.md

44 lines714 Bytes

1# TanStack Router - Virtual File-Based Routing Example
2​
3An example demonstrating virtual file-based routing.
4​
5- [TanStack Router Docs](https://tanstack.com/router)
6​
7## Start a new project based on this example
8​
9To start a new project based on this example, run:
10​
11```sh
12npx gitpick TanStack/router/tree/main/examples/react/basic-virtual-file-based basic-virtual-file-based
13```
14​
15## Getting Started
16​
17Install dependencies:
18​
19```sh
20pnpm install
21```
22​
23Start the development server:
24​
25```sh
26pnpm dev
27```
28​
29## Build
30​
31Build for production:
32​
33```sh
34pnpm build
35```
36​
37## About This Example
38​
39This example demonstrates:
40​
41- Virtual file-based routing
42- Dynamic route generation
43- Programmatic route creation
44- Type-safe virtual routes