export default class CustomDocument extends Document {
          return (
          your head content, meta tags, linkable stuff goes here
              <Main />
            <NextScript />

      Javascript language logo
      your recipe card header background
      Nextjs doument file class

      Nextjs with tailwind

      The code is creating a custom document. It has a render function that will return HTML. In the render function, it will start by creating a head element. Then it will put your head content, meta tags, and any linkable content in the head. It will also create a body element and put the Main content in the body. The NextScript element will be placed after the body.

      Shortcut: nextjs.documentClass


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.