Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the purpose of the 'public' directory in Next.js.
Answer: The 'public' directory in Next.js is used for serving static assets like images, fonts, and other files. Contents of this directory are served at the root level of the application.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook