mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
lazyload
This commit is contained in:
@@ -10,6 +10,9 @@ import 'packages/zanui-css/src/index.css';
|
||||
import DemoList from './components/demo-list.vue';
|
||||
|
||||
Vue.use(ZanUI);
|
||||
Vue.use(ZanUI.Lazyload, {
|
||||
lazyComponent: true
|
||||
});
|
||||
Vue.use(VueRouter);
|
||||
|
||||
let routesConfig = routes(navConfig, true);
|
||||
|
Reference in New Issue
Block a user