next-app-boilerplate/pages/_document.tsx

18 lines
315 B
TypeScript

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