diff options
Diffstat (limited to 'playground/src/main.ts')
| -rw-r--r-- | playground/src/main.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/playground/src/main.ts b/playground/src/main.ts new file mode 100644 index 0000000..bf39df9 --- /dev/null +++ b/playground/src/main.ts @@ -0,0 +1,9 @@ +import { mount } from "svelte"; +import App from "./App.svelte"; + +const target = document.getElementById("app"); + +if (!target) + throw new Error("missing #app target"); + +mount(App, { target }); |