upd: lazy load SkOneko on demand

This commit is contained in:
ShittyKopper 2024-02-02 14:56:58 +03:00
parent 132bf2d200
commit 2e0557c90c

View file

@ -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'));