Initial commit
This commit is contained in:
commit
864f37a652
48 changed files with 45596 additions and 0 deletions
20
app/client/pages/book.lazy.tsx
Normal file
20
app/client/pages/book.lazy.tsx
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { createLazyFileRoute } from "@tanstack/react-router";
|
||||
import { gql, useQuery } from "@apollo/client";
|
||||
|
||||
export const Route = createLazyFileRoute("/book")({
|
||||
component: RouteComponent,
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
return <div>"/book"</div>;
|
||||
}
|
||||
|
||||
const getBookQuery = gql`
|
||||
query BookOne {
|
||||
booksMany {
|
||||
id
|
||||
author
|
||||
title
|
||||
}
|
||||
}
|
||||
`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue