Skip to content
Source
Sign inSign up
TanStack/router

packages/router-plugin

ci: apply automated fixes
History
Contents of packages/router-plugin
NameLast commit messageLast commit date
..
src (directory)
tests (directory)
eslint.config.js
package.json
README.md
tsconfig.json
vite.config.ts

README.md

TanStack Router Plugin

See https://tanstack.com/router/latest/docs/framework/react/guide/file-based-routing

Installation

npm install -D @tanstack/router-plugin

Usage with vite

// vite.config.js
import { defineConfig } from 'vite'
import { TanStackRouterVite } from '@tanstack/router-plugin/vite'

export default defineConfig({
  plugins: [
    TanStackRouterVite(),
    // ...
  ],
})