Assets
Next.js can serve static files, like images, under the top-level public
directory. Files inside public
can be referenced from the root of the application similar to pages
.
/public/vercel.svg
This next/image
component uses browser native lazy loading, w
Src must be statically imported o absolute external URL, or an internal loader prop.
When using an external URL, you must add it to remotePatterns in next.config.js
.
Custom Loader
Last updated