next-app-boilerplate/pages/_document.tsx
2022-05-16 13:25:22 +01:00

18 lines
315 B
TypeScript

import Document, { Head, Html, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render(): JSX.Element {
return (
<Html lang='en'>
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}
}
export default MyDocument