main.ts: trying to remove HTML content from the target div
This commit is contained in:
parent
6cde72da73
commit
b7c1ffc1e9
1 changed files with 2 additions and 0 deletions
|
@ -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: { }
|
||||||
|
|
Reference in a new issue