mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
13 lines
243 B
JavaScript
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,
|
|
});
|
|
}
|