mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
lazyload
This commit is contained in:
@@ -18,6 +18,9 @@ function isMobile() {
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(ZanUI);
|
||||
Vue.use(ZanUI.Lazyload, {
|
||||
lazyComponent: true
|
||||
});
|
||||
Vue.component('side-nav', SideNav);
|
||||
Vue.component('demo-block', DemoBlock);
|
||||
Vue.component('footer-nav', FooterNav);
|
||||
|
Reference in New Issue
Block a user