mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
[Doc] update install guide (#4083)
This commit is contained in:
@@ -105,8 +105,8 @@ Vue.use(Vant);
|
||||
var Vue = window.Vue;
|
||||
var vant = window.vant;
|
||||
|
||||
// Register components
|
||||
Vue.use(vant);
|
||||
// Register Lazyload component
|
||||
Vue.use(vant.Lazyload);
|
||||
|
||||
// Call function components
|
||||
vant.Toast('message');
|
||||
|
Reference in New Issue
Block a user