Back to Router

TanStack Router - Quickstart Example

examples/react/quickstart/README.md

1.166.7682 B
Original Source

TanStack Router - Quickstart Example

A quickstart example to get started with TanStack Router quickly.

Start a new project based on this example

To start a new project based on this example, run:

sh
npx gitpick TanStack/router/tree/main/examples/react/quickstart quickstart

Getting Started

Install dependencies:

sh
pnpm install

Start the development server:

sh
pnpm dev

Build

Build for production:

sh
pnpm build

About This Example

A minimal example demonstrating:

  • Quick setup of TanStack Router
  • Basic routing configuration
  • Simple navigation
  • Getting started guide