Browse Source

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

vs-deploy-test-hack
Vašek Šraier 4 years ago
parent
commit
b7c1ffc1e9
  1. 2
      frontend/src/main.ts

2
frontend/src/main.ts

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