Lazy load images in Vue
· ☕ 1 min read
Lazy load images to improve perceived performance.
If you have a view that has lot of images, you may observe high initial page load time and stuttering. Vue has to get the comparably larger payload to paint the UI, and this takes time.
The easiest way of lazy loading images is by using an package called vue-lazyload.