v-lazy fires twice

Author: m-kiss86Created Aug 2, 2019Updated Nov 28, 2023

I am using the v-lazy on the <img> element.

Lazy load works fine, however, the issue is the request fires twice?

import VueLazyload from 'vue-lazyload'; Vue.use(VueLazyload, { attempt: 1, preLoad: 1 }); <img v-lazy="'{{asset('/images/svg/personalise.svg')}}'" class="lazy" alt="Personalise Icon">

I am using this inside the Blade file in the Laravel project.

Screenshot 2019-08-02 at 13 23 42