updated codegen, added client query generation, etc.
This commit is contained in:
parent
864f37a652
commit
9518787206
17 changed files with 5244 additions and 445 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Button, HStack, Stack } from "@chakra-ui/react";
|
||||
import { Button, Stack } from "@chakra-ui/react";
|
||||
import { createRootRoute, Link, Outlet } from "@tanstack/react-router";
|
||||
import React from "react";
|
||||
|
||||
|
|
@ -17,14 +17,20 @@ const TanStackRouterDevtools =
|
|||
export const Route = createRootRoute({
|
||||
component: () => (
|
||||
<Stack padding={3}>
|
||||
<HStack>
|
||||
<Stack flexDirection={"row"} justifyContent={"space-between"}>
|
||||
<Link to="/">
|
||||
<Button>Home</Button>
|
||||
</Link>
|
||||
<Link to="/about">
|
||||
<Button>About</Button>
|
||||
</Link>
|
||||
</HStack>
|
||||
|
||||
<Stack flexDirection={"row"}>
|
||||
<Link to="/login">
|
||||
<Button>Sign in</Button>
|
||||
</Link>
|
||||
<Link to="/register">
|
||||
<Button>Sign up</Button>
|
||||
</Link>
|
||||
</Stack>
|
||||
</Stack>
|
||||
<hr style={{ padding: "4px" }} />
|
||||
<Outlet />
|
||||
<TanStackRouterDevtools />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue