You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a SSG site with Nuxt and Nuxt Image, only the "placeholder" size image is generated and the full resolution image is skipped.
Example:
<NuxtImg
src="home/meeting.jpg"
width="600"
height="400"
format="webp"
class="max-w-full h-auto border border-solid border-zinc-400"
alt="Top-down view of people shaking hands around a wooden table"
:placeholder="[60,40]"
/>
This works fine with nuxi dev but when you run nuxi generate you can see that only the placeholder image is generated. The high-res, 600x400 image is never processed.
During the generate process you can see the following line where the placeholder is generated, but this is the only time the image gets processed.
When building a SSG site with Nuxt and Nuxt Image, only the "placeholder" size image is generated and the full resolution image is skipped.
Example:
This works fine with
nuxi dev
but when you runnuxi generate
you can see that only the placeholder image is generated. The high-res, 600x400 image is never processed.During the
generate
process you can see the following line where the placeholder is generated, but this is the only time the image gets processed.The text was updated successfully, but these errors were encountered: