on-internet
← Community

How to export static images on Nextjs?

Stack Overflow ·

when I want to export my nextjs app, it says that I cannot export my images on static websites. Error: Image Optimization using Next.js' default loader is not compatible with next export. Possible solutions: - Use next start to run a server, which includes the Image Optimization API. - Use any provider which supports Image Optimization (like Vercel). - Configure a third-party loader in next.config.js. - Use the loader prop for next/image. How can I make it so that it does ? Is there a way for me to simply tell it to render images statically ? I dont want to go throught other onlines images loa

Comments

Sign in or sign up to comment and upvote.

No comments yet.