blob: 03a4c37e2152e6938cc17b3b6a38657abb56001a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*** IMPORT ------------------------------------------- ***/
import { mount } from "svelte";
/*** UTILITY ------------------------------------------ ***/
import App from "./App.svelte";
const target = document.getElementById("app");
/*** RUNTIME ------------------------------------------ ***/
if (!target)
throw new Error("missing #app target");
mount(App, { target });
|