chore: initial commit
This commit is contained in:
11
src/router.tsx
Normal file
11
src/router.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { createRouter } from '@tanstack/react-router'
|
||||
import { routeTree } from '@/routeTree.gen'
|
||||
|
||||
export function getRouter() {
|
||||
const router = createRouter({
|
||||
routeTree,
|
||||
scrollRestoration: true
|
||||
})
|
||||
|
||||
return router
|
||||
}
|
||||
Reference in New Issue
Block a user