shellphone.app/app/pages/_document.tsx

24 lines
518 B
TypeScript

import { Document, Html, DocumentHead, Main, BlitzScript /*DocumentContext*/ } from "blitz";
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>
);
}
}
export default MyDocument;