vant/packages/vant-lazyload
萤火之卫 1aa791bd6d
fix(util): remove unused [] (#8075)
fix(util): remove unused []
2021-02-04 09:18:14 +08:00
..
2021-02-04 09:18:14 +08:00
2020-11-30 19:05:28 +08:00
2020-11-30 20:30:40 +08:00
2020-11-30 20:20:39 +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.