mirror of
https://github.com/sergeyyarkov/next-apollo-graphql-setup.git
synced 2026-10-11 02:09:23 +03:00
18 lines
311 B
JavaScript
18 lines
311 B
JavaScript
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
|
|
|
class CustomDocument extends Document {
|
|
render () {
|
|
return (
|
|
<Html lang='en'>
|
|
<Head />
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default CustomDocument
|