Open dosstx opened 2 years ago
When you set width
, height
, and hasSpacer
, it should insert a wrapper around your image with padding-bottom
set to save the space that your image will load into. If you inspect the original image are you seeing that div
? If not I'll have to look into whether using it in combination with Nuxt is causing unexpected issues.
Hi, loving this plugin.
However, I'm a newbie to responsive images in general and I'm having some trouble understanding how I can improve the lighthouse score for the Performance/Cumulative Layout Shift (CLS) section.
With the following code, I get a lighthouse score of
84
due to CLS:Whereas, with the following code like so, I get a score of
100
:Does anyone have any tips on how I can improve the CLS score when using the vue inner image zoom library in Vue2 (I am actually using NuxtJS, but that should be the same)?
Thanks!