<NuxtImg> is a drop-in replacement for the native <img> tag.
src to provider-optimized URLswidth and heightsizes option<img> attributesIn order to use <NuxtImg> you should install and enable the Nuxt Image module:
npx nuxt module add image
<NuxtImg> outputs a native img tag directly (without any wrapper around it). Use it like you would use the <img> tag:
<NuxtImg src="/nuxt-icon.png" />
Will result in:
<img src="/nuxt-icon.png" />