vant/docs/site/entry.js
2021-03-15 16:58:00 +08:00

13 lines
243 B
JavaScript

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