main.ts: trying to remove HTML content from the target div

This commit is contained in:
Vašek Šraier 2020-11-30 00:44:34 +01:00
parent 6cde72da73
commit b7c1ffc1e9

View file

@ -1,5 +1,7 @@
import App from './App.svelte'; import App from './App.svelte';
document.getElementById("page").innerHTML = "";
const app = new App({ const app = new App({
target: document.getElementById("page")!, target: document.getElementById("page")!,
props: { } props: { }