2023-07-27 14:31:52 +09:00
|
|
|
/*
|
2024-02-14 00:59:27 +09:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 14:31:52 +09:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2023-12-21 11:36:45 +09:00
|
|
|
import { createApp, defineAsyncComponent } from 'vue';
|
2023-09-19 16:37:43 +09:00
|
|
|
import { common } from './common.js';
|
2024-06-01 21:03:39 +09:00
|
|
|
import type { CommonBootOptions } from './common.js';
|
2023-05-15 19:08:46 +09:00
|
|
|
|
2024-06-01 21:03:39 +09:00
|
|
|
export async function subBoot(options?: CommonBootOptions) {
|
2023-05-15 19:08:46 +09:00
|
|
|
const { isClientUpdated } = await common(() => createApp(
|
|
|
|
defineAsyncComponent(() => import('@/ui/minimum.vue')),
|
2024-06-01 21:03:39 +09:00
|
|
|
), options);
|
2023-05-15 19:08:46 +09:00
|
|
|
}
|