0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/router-plugin
History 2025-01-26 01:14:10 +00:00
..
src fix: do not minify during code splitting (#3189) 2025-01-18 08:55:48 +01:00
tests fix: do not minify during code splitting (#3189) 2025-01-18 08:55:48 +01:00
eslint.config.js chore: Migrate to ESLint flat config (#1846) 2024-06-28 11:59:39 +10:00
package.json release: v1.97.21 2025-01-26 01:14:10 +00:00
README.md fix(router-plugin): inline-config should be optional (#1783) 2024-06-19 17:53:55 +12:00
tsconfig.json feat: New Serialization Paradigm (#1824) 2024-06-28 09:45:01 -06:00
vite.config.ts feat(router-plugin): add esbuild plugin (#2578) 2024-10-22 13:21:07 +13:00

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(),
    // ...
  ],
})