@morioh/v-lazy

1.0.1 • Public • Published

Lazy image loading directive for Vue.js

Install

npm install @morioh/v-lazy
import { 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">

/@morioh/v-lazy/

    Package Sidebar

    Install

    npm i @morioh/v-lazy

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • nasa8x
    • jotarox