Mercurial
view love/epi/src/router.tsx @ 68:70ca1d99f3fd
Mimicing what tsoding did for his video. Kinda cool.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 25 Dec 2025 20:03:51 -0800 |
| parents | cf9caa4abc3e |
| children |
line wrap: on
line source
import { createRouter } from '@tanstack/react-router'; import { routeTree } from './routeTree.gen'; export const router = createRouter({ routeTree, defaultPreload: 'intent', context: { }, // Add auth and what not });