Open next.config.js and add it in the ”images” config
/** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: ['assets.example.com'], }, } module.exports = nextConfig
Learn how to configure next js image hosting and prevent invalid src prop error
Created on Feb 24, 2023
•1723 views
/** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: ['assets.example.com'], }, } module.exports = nextConfig
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to Configure Next.Js Image Hostname
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View Components2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
1 year ago