$ cnpm install @vant/lazyload
This is a fork of vue-lazyload with Vue 3 support.
yarn add @vant/lazyload
import { createApp } from 'vue';
import { LazyLoad } from '@vant/lazyload';
const app = createApp();
app.use(LazyLoad);
see: https://github.com/hilongjw/vue-lazyload
support TypeScript.
Copyright 2013 - present © cnpmjs.org | Home |