nuthatch/web/src/main.ts
ms2k 84ccfdb445 Scaffold pinned Svelte frontend toolchain
Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
2026-07-17 22:53:39 +09:00

10 lines
217 B
TypeScript

import { mount } from 'svelte';
import App from './App.svelte';
const target = document.getElementById('app');
if (target === null) {
throw new Error('Missing application mount point');
}
mount(App, { target });