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-02-05 01:50:59 +00:00
..
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
src chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459) 2026-01-24 01:49:12 +01:00
.gitignore chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
package.json release: v1.158.1 2026-02-05 01:50:59 +00: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