Next.js Function generateViewport
Next.js is a Javascript based framework to develop full-stack web applications. In some cases, we want to customize the initial viewports of the page getting rendered with some dynamic content. In this article, we will learn how to do so using generateViewport function in next.js We can set the view