1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

@vant/lazyload

This is a fork of vue-lazyload with Vue 3 support.

Install

yarn add @vant/lazyload

Usage

import { createApp } from 'vue';
import { LazyLoad } from '@vant/lazyload';

const app = createApp();
app.use(LazyLoad);

API

see: https://github.com/hilongjw/vue-lazyload

TODO

support TypeScript.