Answers for "_document.js in nextjs"

1

_document.js in nextjs

import { Html, Head, Main, NextScript } from 'next/document'

export default function Document() {
  return (
    <Html>
      <Head />
      <body>
        <Main />
        <NextScript />
      </body>
    </Html>
  )
}
Posted by: Guest on May-01-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language