packages/router-plugin
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
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(),
// ...
],
})