title: Next.js viewport meta tags should not be used in _document.js's <Head>
body: <p>I want to use the viewport meta tag to disable the page zoom in the <code>_document.js</code> file in the Next.js.</p>
  <pre class="lang-js prettyprint-override"><code>&lt;Html&gt;
     &lt;Head&gt;
        &lt;link rel=&quot;icon&quot; href=&quot;/static/images/logo/favicon.png&quot; type=&quot;image/png&quot; sizes=&quot;16x16&quot; /&gt;
        &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0&quot; /&gt;
     &lt;/Head&gt;
  &lt;/Html&gt;
  </code></pre>
  <p>But it's not working and says viewport meta tags should not be used in <code>_document.js</code>'s <code>&lt;Head&gt;</code>.</p>
  <p>How can I fix it?</p>