-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
Support for @nuxt/image #624
Comments
It is planned :) |
Is there an update on this issue? |
No yet sorry, lot of work regarding the alpha of Nuxt 3 coming. |
I don't know if it's officially supported but it currently works with one little "hack". <!-- doesn't work -->
<nuxt-img
src="https://"
sizes="sm:100vw xl:728px"
width="728"
height="412"
loading="lazy"
/> But explicitly closing the tag works: <!-- works -->
<nuxt-img
src="https://"
sizes="sm:100vw xl:728px"
width="728"
height="412"
loading="lazy">
</nuxt-img> |
It's written in documentation that:
|
I didn't know that! |
Linking to nuxt/image#500 Once Nuxt Image supports Nuxt 3, we will be able to work on it for Content V2. |
@atinux nuxt/image compatibility with Nuxt 3 started a while ago, when do you think we can expect nuxt/content integration or should it just work right now by adding the module? |
If you can try on your project and give me back feedback on it it would be great @itpropro, don't have the time right now to check. Our main focus is 3.0 stable release before finishing our official modules |
The current version of Nuxt/Content (created wiht |
It works for me and in Sandbox: https://stackblitz.com/github/nuxt/starter/tree/content |
My mistake, I created for pnpm and was expecting to not need to specify |
Hi! |
see #390 (comment) |
see solution for current edge version (tested with |
Try this |
No it doesn't work. However this works: #390 (comment) |
Support for @nuxt/image
The text was updated successfully, but these errors were encountered: