Add _document to be able to customize <html> and <body>

This commit is contained in:
Marcus Blättermann 2022-12-12 17:33:10 +01:00
parent a280729491
commit 75ab882bdb
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() {
return (
<Html>
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}