- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in import method. (v4) #829
Comments
+1 |
Could you try this? import Image from 'next-export-optimize-images/image' |
Hey @dc7290, it works great actually! |
I ran into the same issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hello, thanks for the update for Next 14. It seems that a loader is mandatory.
For instance, when I try:
I have an error as: "Error: Image with src "[object Module]" is missing "loader" prop.
Read more: https://nextjs.org/docs/messages/next-image-missing-loader"
To solve it I can add a loader such as
loader={({ src }) => src}
.Thanks again.
The text was updated successfully, but these errors were encountered: