shellphone.app/app/pages/_document.tsx

24 lines
518 B
TypeScript
Raw Normal View History

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 14:33:18 +00:00
}
}
export default MyDocument;