[Vuejs]-Is it possible to optimize image that i get from backend with nuxt/image?

0👍

According to the documentation: https://image.nuxtjs.org/components/nuxt-img#format

So you can do something like this:

<nuxt-img src="imagePath" width="500" height="500" format="webp" />

This will take care of the format conversion and update the path accordingly.

Leave a comment