Files
risuai/src/main.ts
2025-04-14 15:28:14 +09:00

20 lines
519 B
TypeScript

import "./ts/polyfill";
import "core-js/actual"
import "./ts/storage/database.svelte"
import {declareTest} from "./test/runTest"
import App from "./App.svelte";
import { loadData } from "./ts/globalApi.svelte";
import { initHotkey } from "./ts/hotkey";
import { preLoadCheck } from "./preload";
import { mount } from "svelte";
preLoadCheck()
let app = mount(App, {
target: document.getElementById("app"),
});
loadData()
initHotkey()
declareTest()
document.getElementById('preloading').remove()
export default app;