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