How to import third-party scripts into NextJS
Three different ways to do it
Published in
2 min readFeb 25, 2023
NextJS is a fantastic framework for developing ReactJS applications and websites. Recently at work, I needed to import a third-party script into our application and found the documentation lacking. In this article, we will explain the different ways you can import scripts into a NextJS application.