NextJs – Where can we add a <script> code?

  html, javascript, next.js, reactjs

In NextJs application, I want to add <script> code but not getting where to add and how? I tried by adding it in .js file but didn’t recognise.

In react, we have index.html to add these things, what about in Nextjs app?

Source: Ask Javascript Questions

LEAVE A COMMENT