diagram-gost/main.ts

13 lines
No EOL
289 B
TypeScript

import { mount } from 'svelte'
import App from './App.svelte';
const target = document.getElementById('app');
if (!target) {
throw new Error("Target element with ID 'app' not found in DOM.");
}
const app = mount(App, {
target: document.getElementById('app')!,
})
export default app;