We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 812a455 commit 7f41a96Copy full SHA for 7f41a96
create-client/nextjs.md
@@ -62,6 +62,23 @@ You can also use an OpenAPI documentation with `-f openapi3`.
62
63
The code has been generated, and is ready to be executed!
64
65
+Add the layout to the app:
66
+
67
+```typescript
68
+import type { AppProps } from "next/app";
69
+import type { DehydratedState } from "react-query";
70
71
+import Layout from "../components/common/Layout";
72
73
+const App = ({ Component, pageProps }: AppProps<{dehydratedState: DehydratedState}>) => (
74
+ <Layout dehydratedState={pageProps.dehydratedState}>
75
+ <Component {...pageProps} />
76
+ </Layout>
77
+);
78
79
+export default App;
80
+```
81
82
## Starting the Project
83
84
You can launch the server with
0 commit comments