-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
src/routeTree.gen.ts | ||
src/routeTree.gen.ts | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
import { FileRoute, lazyRouteComponent } from "@tanstack/react-router"; | ||
import { FileRoute, lazyRouteComponent } from '@tanstack/react-router' | ||
|
||
import { Route as rootRoute } from "./routes/__root"; | ||
import { Route as rootRoute } from './routes/__root' | ||
|
||
const IndexComponentImport = new FileRoute("/").createRoute(); | ||
const IndexComponentImport = new FileRoute('/').createRoute() | ||
|
||
const IndexComponentRoute = IndexComponentImport.update({ | ||
path: "/", | ||
path: '/', | ||
getParentRoute: () => rootRoute, | ||
} as any).update({ | ||
component: lazyRouteComponent( | ||
() => import("./routes/index.component"), | ||
"component", | ||
() => import('./routes/index.component'), | ||
'component', | ||
), | ||
}); | ||
declare module "@tanstack/react-router" { | ||
}) | ||
declare module '@tanstack/react-router' { | ||
interface FileRoutesByPath { | ||
"/": { | ||
preLoaderRoute: typeof IndexComponentImport; | ||
parentRoute: typeof rootRoute; | ||
}; | ||
'/': { | ||
preLoaderRoute: typeof IndexComponentImport | ||
parentRoute: typeof rootRoute | ||
} | ||
} | ||
} | ||
export const routeTree = rootRoute.addChildren([IndexComponentRoute]); | ||
export const routeTree = rootRoute.addChildren([IndexComponentRoute]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters