mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
chore(Lazyload): improve dist
This commit is contained in:
@@ -10,4 +10,18 @@ yarn add @vant/lazyload
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user