DEV Community

Discussion on: Minify, generate WebP and lazyload images in your Vue & Nuxt application

Collapse
 
ignore_you profile image
Alex • Edited

I don't work with Vue now, so unfortunately I can't reproduce and examine your code. Though, I have an opinion that adding suffix dynamically might be impossible due to nature of methods. Methods are client-side, they apply in runtime, so creation of webp images with specific size cannot be done, 'cause this is a server-side action.