@tanstack/router-plugin
v1.91.1
Published
Modern and scalable routing for React applications
Downloads
598,741
Readme
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(),
// ...
],
})