0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/quickstart-rspack-file-based
History 2026-06-17 00:12:54 +02:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
src chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
.gitignore chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
package.json ci: Version Packages (#7576) 2026-06-17 00:12:54 +02:00
postcss.config.mjs chore: bump tailwind from v3 to v4 with postcss (#5580) 2025-10-22 03:42:26 +02:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
rsbuild.config.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
tsconfig.json chore: add typescript to all examples, update tsconfig for one-click deploys 2024-11-22 13:18:52 -07:00

TanStack Router - Rspack File-Based Quickstart

A quickstart example using Rspack as the bundler with 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/quickstart-rspack-file-based quickstart-rspack-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:

  • Rspack bundler integration
  • File-based routing
  • Fast build times with Rust-based tooling
  • Webpack-compatible configuration