Package Exports
- @vant/lazyload
- @vant/lazyload/dist/esm/lazy.js
- @vant/lazyload/dist/esm/util.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vant/lazyload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@vant/lazyload
This is a fork of vue-lazyload with Vue 3 support.
Install
yarn add @vant/lazyloadUsage
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.