docs(quickstart): add register Lazyload guide (#6110)

This commit is contained in:
neverland
2020-04-22 17:19:00 +08:00
committed by GitHub
parent 3d3ad38443
commit 8a1d52a6a3
3 changed files with 9 additions and 2 deletions

View File

@@ -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>
```