yarn add tiny-vue-img-lazyload
import Vue from 'vue'
import TinyVueImgLazyload from 'tiny-vue-img-lazyload'
Vue.use(TinyVueImgLazyload, {
onLoadClassName: 'loaded' // when image loaded, the className will be attach to the dom
})
then in your vue component
<img v-lazy-load:src="your-img-link" />
clone this repo and
yarn install
yarn run dev