2021-07-31 15:57:43 +00:00
|
|
|
import { Document, Html, DocumentHead, Main, BlitzScript /*DocumentContext*/ } from "blitz";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
class MyDocument extends Document {
|
|
|
|
// Only uncomment if you need to customize this behaviour
|
|
|
|
// static async getInitialProps(ctx: DocumentContext) {
|
|
|
|
// const initialProps = await Document.getInitialProps(ctx)
|
|
|
|
// return {...initialProps}
|
|
|
|
// }
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Html lang="en">
|
|
|
|
<DocumentHead />
|
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<BlitzScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
2021-07-31 15:57:43 +00:00
|
|
|
);
|
2021-07-31 14:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
export default MyDocument;
|