RevereCRE / relay-nextjs

⚡️ Relay integration for Next.js apps
https://reverecre.github.io/relay-nextjs/
MIT License
251 stars 30 forks source link

Missing configuration @ _document #71

Closed LeAlencar closed 1 year ago

LeAlencar commented 1 year ago

https://reverecre.github.io/relay-nextjs/docs/configuration#configuring-_document

Missing some tags that are needed in order to work with a custom _document.

return (
  <Html>
    <Head>
      <relayDocument.Script />
    </Head>
    <body>
      <Main />
      <NextScript />
    </body>
  </Html>
);
rrdelaney commented 1 year ago

The _document API had been removed as of 2.0 so this is no longer relevant.