Open History to see the last commit
1# TanStack Router - File-Based Routing Example
2β
3An example demonstrating file-based routing with TanStack Router.
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-file-based basic-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- File-based route generation
42- Automatic route tree creation
43- Route file conventions
44- Type-safe routing with file-based routes