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

README.md

45 lines802 Bytes

1# TanStack Router - Webpack File-Based Quickstart
2​
3A quickstart example using Webpack as the bundler with file-based routing.
4​
5- [TanStack Router Docs](https://tanstack.com/router)
6- [Webpack Documentation](https://webpack.js.org/)
7​
8## Start a new project based on this example
9​
10To start a new project based on this example, run:
11​
12```sh
13npx gitpick TanStack/router/tree/main/examples/react/quickstart-webpack-file-based quickstart-webpack-file-based
14```
15​
16## Getting Started
17​
18Install dependencies:
19​
20```sh
21pnpm install
22```
23​
24Start the development server:
25​
26```sh
27pnpm dev
28```
29​
30## Build
31​
32Build for production:
33​
34```sh
35pnpm build
36```
37​
38## About This Example
39​
40This example demonstrates:
41​
42- Webpack bundler integration
43- File-based routing
44- Traditional bundler setup
45- Webpack configuration for TanStack Router