2024-07-08 21:39:00 +02:00
|
|
|
// This file is auto-generated by Tuono
|
|
|
|
|
|
2025-01-16 12:34:06 +01:00
|
|
|
import { createRoute, __tuono__internal__lazyLoadRoute } from 'tuono'
|
2024-07-08 21:39:00 +02:00
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
import RootLayoutImport from './routes/__layout'
|
2024-07-08 21:39:00 +02:00
|
|
|
|
2025-01-16 12:34:06 +01:00
|
|
|
const AboutImport = __tuono__internal__lazyLoadRoute(
|
|
|
|
|
() => import('./routes/about'),
|
|
|
|
|
)
|
|
|
|
|
const IndexImport = __tuono__internal__lazyLoadRoute(
|
|
|
|
|
() => import('./routes/index'),
|
|
|
|
|
)
|
|
|
|
|
const PostsMyPostImport = __tuono__internal__lazyLoadRoute(
|
|
|
|
|
() => import('./routes/posts/my-post'),
|
|
|
|
|
)
|
2024-07-08 21:39:00 +02:00
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
const rootRoute = createRoute({ isRoot: true, component: RootLayoutImport })
|
2024-07-08 21:39:00 +02:00
|
|
|
|
|
|
|
|
const About = createRoute({ component: AboutImport })
|
|
|
|
|
const Index = createRoute({ component: IndexImport })
|
|
|
|
|
const PostsMyPost = createRoute({ component: PostsMyPostImport })
|
|
|
|
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
|
|
|
|
const AboutRoute = About.update({
|
|
|
|
|
path: '/about',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
2025-05-11 19:11:30 +02:00
|
|
|
filePath: '/about',
|
2024-07-08 21:39:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const IndexRoute = Index.update({
|
|
|
|
|
path: '/',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
2025-05-11 19:11:30 +02:00
|
|
|
filePath: '/',
|
2024-07-08 21:39:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const PostsMyPostRoute = PostsMyPost.update({
|
|
|
|
|
path: '/posts/my-post',
|
|
|
|
|
getParentRoute: () => rootRoute,
|
2025-05-11 19:11:30 +02:00
|
|
|
filePath: '/posts/my-post',
|
2024-07-08 21:39:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// Create and export the route tree
|
|
|
|
|
|
|
|
|
|
export const routeTree = rootRoute.addChildren([
|
|
|
|
|
IndexRoute,
|
|
|
|
|
AboutRoute,
|
|
|
|
|
PostsMyPostRoute,
|
|
|
|
|
])
|