router-plugin

Official

Automates route generation and code splitting.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Reduces manual effort by providing a bundler plugin that powers TanStack Router's file-based routing and automatic code splitting, ensuring consistent route generation across Vite, Webpack, Rspack, and esbuild.

Core Features & Use Cases

  • File-based routing that automatically generates route trees from your project structure and supports multiple bundlers.
  • Automatic code splitting to optimize load times and improve performance in large apps.
  • Guidance on correct plugin order and framework integrations (React, Solid, Vue) to avoid silent failures.
  • Use cases include rapid bootstrapping of routing, scalable project organization, and predictable builds across environments.

Quick Start

Install the router-plugin in your bundler config and enable file-based routing with automatic code splitting.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: router-plugin
Download link: https://github.com/TanStack/router/archive/main.zip#router-plugin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.