1.0.1 • Published 4 years ago
@morioh/v-lazy v1.0.1
Lazy image loading directive for Vue.js
Install
npm install @morioh/v-lazyimport { createApp } from "vue";
import Lazy from '@morioh/v-lazy'
// global register
const app = createApp(App)
.use(store)
.use(router)
.use(Lazy)
.mount("#app");<img class="placeholder" v-lazy="https://unsplash.com/photos/al1bUu7EfAQ/download?force=true&w=1920">1.0.1
4 years ago