2024-05-01 19:30:45 +02:00
|
|
|
// This file is auto-generated by Tuono
|
|
|
|
|
|
2024-05-11 15:08:49 +02:00
|
|
|
import { createRoute } from 'tuono'
|
|
|
|
|
|
|
|
|
|
import RootImport from './routes/__root'
|
|
|
|
|
|
|
|
|
|
import AboutImport from './routes/about'
|
|
|
|
|
import IndexImport from './routes/index'
|
|
|
|
|
|
|
|
|
|
const rootRoute = createRoute({ isRoot: true, component: RootImport })
|
|
|
|
|
|
|
|
|
|
const About = createRoute({ component: AboutImport })
|
|
|
|
|
const Index = createRoute({ component: IndexImport })
|
2024-05-01 19:30:45 +02:00
|
|
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
2024-05-11 15:08:49 +02:00
|
|
|
const AboutRoute = About.update({
|
2024-05-01 19:30:45 +02:00
|
|
|
path: '/about',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
|
} as any)
|
|
|
|
|
|
2024-05-11 15:08:49 +02:00
|
|
|
const IndexRoute = Index.update({
|
2024-05-01 19:30:45 +02:00
|
|
|
path: '/',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
|
} as any)
|
|
|
|
|
|
|
|
|
|
// Create and export the route tree
|
|
|
|
|
|
|
|
|
|
export const routeTree = rootRoute.addChildren([IndexRoute, AboutRoute])
|