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

index.client.tsx

9 lines336 Bytes

1import { lazy } from '@tanstack/react-router';
2import { routeConfig as parentRouteConfig } from "../posts.client";
3const routeConfig = parentRouteConfig.createRoute({
4 path: "/",
5 component: lazy(() => import('./index-component').then(d => ({
6 default: d.component
7 })))
8});
9export { routeConfig, routeConfig as postsIndexRoute };