Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

router.tsx

5 lines192 Bytes

1import { createRouter } from '@tanstack/react-router'
2import { routeTree } from './routeTree.gen'
3export function getRouter() {
4 return createRouter({ routeTree, scrollRestoration: true })
5}