Vue-LazyImg
A tiny and stable lazyload plugin for Vue.
For Vue 1.x, please use npm install vue-lazyimg^0.1.0
to install vue-lazyimg.
For Vue 2.x, use npm install vue-lazying
.
Introduction.
<!-- Load image and set to 'src'. --> <!-- Load image and set to 'background-image'. -->
Vue const Root = el: 'body' data: image1: 'link-to-my-awesome-background-01.jpg' image2: 'link-to-my-awesome-background-02.jpg'
License.
© 2016 LancerComet. MIT License.