Initial open-source release
This commit is contained in:
12
src/routes/home.tsx
Normal file
12
src/routes/home.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { createRoute } from "@tanstack/react-router";
|
||||
import { rootRoute } from "./root";
|
||||
import HomePage from "../pages/home";
|
||||
import { z } from "zod";
|
||||
export const homeRoute = createRoute({
|
||||
getParentRoute: () => rootRoute,
|
||||
path: "/",
|
||||
component: HomePage,
|
||||
validateSearch: z.object({
|
||||
appId: z.number().optional(),
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user