mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
e28f80cd99
commit
606d89c9f5
|
@ -411,7 +411,7 @@ Supported options:
|
|||
Pages in `Next.js` skip the definition of the surrounding document's markup. For example, you never include `<html>`, `<body>`, etc. But we still make it possible to override that:
|
||||
|
||||
```jsx
|
||||
import Document, { Head, Main, NextScript } from `next/document`
|
||||
import Document, { Head, Main, NextScript } from 'next/document'
|
||||
|
||||
export default class MyDocument extends Document {
|
||||
static async getInitialProps (ctx) {
|
||||
|
|
Loading…
Reference in a new issue