Blame: web/src/main.ts
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 1 | import './app.css'; |
dffd63b58af4 | atagen | 2026-09-28 09:10 UTC | 2 | import { mount } from 'svelte'; |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 3 | import App from './App.svelte'; |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 4 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 5 | const target = document.getElementById('app'); |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 6 | if (!target) throw new Error('#app element missing'); |
dffd63b58af4 | atagen | 2026-09-28 09:10 UTC | 7 | const app = mount(App, { target }); |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 8 | |
973f8fbdaf80 | atagen | 2026-09-28 09:10 UTC | 9 | export default app; |