mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 19:55:12 +00:00
upd: lazy load SkOneko on demand
This commit is contained in:
parent
132bf2d200
commit
2e0557c90c
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ import { useStream } from '@/stream.js';
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import { defaultStore } from '@/store.js';
|
import { defaultStore } from '@/store.js';
|
||||||
import { globalEvents } from '@/events.js';
|
import { globalEvents } from '@/events.js';
|
||||||
import SkOneko from '@/components/SkOneko.vue';
|
|
||||||
|
const SkOneko = defineAsyncComponent(() => import('@/components/SkOneko.vue'));
|
||||||
|
|
||||||
const XStreamIndicator = defineAsyncComponent(() => import('./stream-indicator.vue'));
|
const XStreamIndicator = defineAsyncComponent(() => import('./stream-indicator.vue'));
|
||||||
const XUpload = defineAsyncComponent(() => import('./upload.vue'));
|
const XUpload = defineAsyncComponent(() => import('./upload.vue'));
|
||||||
|
|
Loading…
Reference in a new issue