Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

routeConfig.client.ts

15 lines555 Bytes

1import type { __GeneratedRouteConfig } from './routeConfig'
2​
3import { routeConfig as rootRoute } from './__root.client'
4import { routeConfig as indexRoute } from './index.client'
5import { routeConfig as postsRoute } from './posts.client'
6import { routeConfig as postsIndexRoute } from './posts/index.client'
7import { routeConfig as postspostIdRoute } from './posts/$postId.client'
8​
9export const routeConfigClient = rootRoute.addChildren([
10 indexRoute,
11 postsRoute.addChildren([
12 postsIndexRoute,
13 postspostIdRoute
14 ])
15]) as __GeneratedRouteConfig