vant/docs/site/mobile.js
2020-11-30 19:05:28 +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,
});
}