Risuai 0.6.3 first commit

This commit is contained in:
kwaroran
2023-05-07 12:41:45 +09:00
parent 50e5e1d917
commit 2c5c7d2694
98 changed files with 15070 additions and 0 deletions

17
src/main.ts Normal file
View File

@@ -0,0 +1,17 @@
import "./styles.css";
import App from "./App.svelte";
import { loadData } from "./ts/globalApi";
import { Buffer as BufferPolyfill } from 'buffer'
import { initHotkey } from "./ts/hotkey";
declare var Buffer: typeof BufferPolyfill;
globalThis.Buffer = BufferPolyfill
const app = new App({
target: document.getElementById("app"),
});
loadData()
initHotkey()
export default app;