2024-12-10 19:30:35 +01:00
|
|
|
// This file is auto-generated by Tuono
|
|
|
|
|
|
2025-01-16 12:34:06 +01:00
|
|
|
import { createRoute, __tuono__internal__lazyLoadRoute } from 'tuono'
|
2024-12-10 19:30:35 +01:00
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
import RootLayoutImport from './routes/__layout'
|
2024-12-10 19:30:35 +01:00
|
|
|
|
2025-01-16 12:34:06 +01:00
|
|
|
const IndexImport = __tuono__internal__lazyLoadRoute(
|
|
|
|
|
() => import('./routes/index'),
|
|
|
|
|
)
|
|
|
|
|
const PostscatchallImport = __tuono__internal__lazyLoadRoute(
|
2024-12-10 19:30:35 +01:00
|
|
|
() => import('./routes/posts/[...catch_all]'),
|
|
|
|
|
)
|
|
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
const rootRoute = createRoute({ isRoot: true, component: RootLayoutImport })
|
2024-12-10 19:30:35 +01:00
|
|
|
|
|
|
|
|
const Index = createRoute({ component: IndexImport })
|
|
|
|
|
const Postscatchall = createRoute({ component: PostscatchallImport })
|
|
|
|
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
|
|
|
|
const IndexRoute = Index.update({
|
|
|
|
|
path: '/',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const PostscatchallRoute = Postscatchall.update({
|
|
|
|
|
path: '/posts/[...catch_all]',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
2025-01-04 12:07:20 +01:00
|
|
|
hasHandler: true,
|
2024-12-10 19:30:35 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// Create and export the route tree
|
|
|
|
|
|
|
|
|
|
export const routeTree = rootRoute.addChildren([IndexRoute, PostscatchallRoute])
|