DEV Community

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

Collapse
 
ignore_you profile image
Alex

For me lazysizes is like industry standard library, well documented, predictable and SEO-friendly. Also, it supports picture + source (probably, vue-lazyload too, but this behaviour is not described directly). I won't describe all pros about lazysizes, you can check it yourself.

Sadly I can't tell you about events handling, bc I never met a situation when I had to handle one. Though, lazysizes do support them AFAIK.

Collapse
 
kregenrek profile image
Kevin Regenrek

Hey! I totally agree on the predictable part. I tried also some lazyload libs with nuxt and your proposal was the only one which worked out of the box. I made some additions including lqip blur up and aspect ratio for images in this repository github.com/regenrek/nuxt-lazysizes...

Thread Thread
 
ignore_you profile image
Alex

Really great to see your job, hope it will save some time for next generations. Take my star :)
And I'm happy to know that it helped you!