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 bcfe5e4 commit 9365e94Copy full SHA for 9365e94
components/Layout.js
pages/_app.js
@@ -0,0 +1,20 @@
1
+// import App from 'next/app'
2
+import "../styles/globals.css";
3
+
4
+function MyApp({ Component, pageProps }) {
5
+ return <Component {...pageProps} />;
6
+}
7
8
+// Only uncomment this method if you have blocking data requirements for
9
+// every single page in your application. This disables the ability to
10
+// perform automatic static optimization, causing every page in your app to
11
+// be server-side rendered.
12
+//
13
+// MyApp.getInitialProps = async (appContext) => {
14
+// // calls page's `getInitialProps` and fills `appProps.pageProps`
15
+// const appProps = await App.getInitialProps(appContext);
16
17
+// return { ...appProps }
18
+// }
19
20
+export default MyApp;
styles/Layout.module.css
styles/globals.css
0 commit comments