Files
ComfyBox/src/main-mobile.ts
2023-05-16 12:42:49 -05:00

23 lines
635 B
TypeScript

import AppMobile from './AppMobile.svelte';
import Framework7 from 'framework7/lite-bundle';
import Framework7Svelte from 'framework7-svelte';
import { f7 } from 'framework7-svelte';
import ComfyApp from '$lib/components/ComfyApp';
import uiState from '$lib/stores/uiState';
import { LiteGraph } from '@litegraph-ts/core';
import ComfyGraph from '$lib/ComfyGraph';
import { configureLitegraph } from '$lib/init';
Framework7.use(Framework7Svelte);
configureLitegraph(true);
const comfyApp = new ComfyApp();
const app = new AppMobile({
target: document.getElementById('app'),
props: { app: comfyApp }
})
export default app;