Skip to contentOpen History to see the last commit
router.tsx
12 lines261 Bytes
1import { createRouter } from '@tanstack/react-router' 2import { routeTree } from './routeTree.gen' 4export function getRouter() { 5 const router = createRouter({ 7 scrollRestoration: true, 8 defaultPreloadStaleTime: 0,