Vue component for showing loader while image loading

vue-load-image is 3KB minimalist Vue component that display loader during image loading, as well as by display alternate content when the image fails to load.
vue-image-loader

Install

Install component via NPM

npm install vue-load-image --save



HTML

here is sample template which shows loader while image loading.




JS

call the component and enable functionality.


See live demo and download source code.

DEMO | DOWNLOAD

This awesome plugin is developed by john015. Visit their official github repository for more information and follow for future updates.