Async image loader plugin for Vue.js
npm install vue-image-loader --save
// Default timeout: 2 (optional)
Vue.use(require('vue-image-loader'),{
timeout:2
}); // or Vue.use(window.VueImageLoader)
<image-loader
src="myimage.gif"
alt="Awesome!">
</image-loader>
Check /examples for more
MIT © Eduardo Stuart