Open jaketig opened 2 weeks ago
index.vue:
<NuxtImg src="/img/logo.png" height="130" alt="Bee Line Parks" />
1.7.1 on Vercel in Production:
Generated HTML:
<img onerror="this.setAttribute('data-error', 1)" data-v-a22f9b78="" src="/_vercel/image?url=%2Fimg%2Flogo.png&w=2560&q=100">
Screenshot:
vs 1.7.0 on Vercel in Production
<img onerror="this.setAttribute('data-error', 1)" height="130" alt="Bee Line Parks" data-nuxt-img="" srcset="/_vercel/image?url=%2Fimg%2Flogo.png&w=2560&q=100 1x, /_vercel/image?url=%2Fimg%2Flogo.png&w=2560&q=100 2x" class="" src="/_vercel/image?url=%2Fimg%2Flogo.png&w=2560&q=100" data-v-a22f9b78="">
Facing the same issue, as you can see in your code, the alt attribute is also not generated.
alt
Edit: #1445 fixes this.
index.vue:
1.7.1 on Vercel in Production:
Generated HTML:
Screenshot:
vs 1.7.0 on Vercel in Production
Generated HTML:
Screenshot: