Mastering Static Assets in Next.js
Having Troubles to Access Some Assets or Want to Setup a Favicon with Next.js?
Published in
3 min readMay 6, 2024
At the root of your Next.js project lies the public folder. This directory is used for all your static files, including favicons, images, stylesheets, and even robots.txt. Unlike other assets that are bundled and optimized during the build process, the files within the…