RASMUS commited on
Commit
3f9e727
·
verified ·
1 Parent(s): df8ff4b

Upload webapp/src/main.ts with huggingface_hub

Browse files
Files changed (1) hide show
  1. webapp/src/main.ts +11 -0
webapp/src/main.ts ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import './style.css'
2
+
3
+ import { mountApp } from './app'
4
+
5
+ const root = document.querySelector<HTMLDivElement>('#app')
6
+
7
+ if (!root) {
8
+ throw new Error('App root element was not found.')
9
+ }
10
+
11
+ mountApp(root)