vant/docs/site/entry.js
2021-08-12 23:58:54 +08:00

12 lines
201 B
JavaScript

import { initDemoLocale } from './demo-locale';
import Lazyload from '../../src/lazyload';
initDemoLocale();
const { app } = window;
if (app) {
app.use(Lazyload, {
lazyComponent: true,
});
}