mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
docs(quickstart): add register Lazyload guide (#6110)
This commit is contained in:
@@ -115,6 +115,9 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
|
||||
|
||||
// Call function component
|
||||
vant.Toast('Message');
|
||||
|
||||
// Register Lazyload directive
|
||||
Vue.use(vant.Lazyload);
|
||||
</script>
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user