10 lines
217 B
TypeScript
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 });
|