Skip to content
Source
Sign inSign up
TanStack/router

examples/react/quickstart-rspack-file-based

lint
History
Contents of examples/react/quickstart-rspack-file-based
NameLast commit messageLast commit date
..
.vscode (directory)
src (directory)
.gitignore
package.json
postcss.config.mjs
README.md
rsbuild.config.ts
tsconfig.json

README.md

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