We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d9e76 commit a56b40fCopy full SHA for a56b40f
index.html
@@ -43,5 +43,7 @@
43
<script type="module" src="/src/main.ts"></script>
44
</head>
45
46
- <body style="overscroll-behavior-y: none; height: 100%"></body>
+ <body style="overscroll-behavior-y: none; height: 100%">
47
+ <div id="root" style="overscroll-behavior-y: none; height: 100%"></div>
48
+ </body>
49
</html>
src/main.ts
@@ -8,7 +8,7 @@ import App from './App.svelte';
8
import 'virtual:windi.css';
9
10
const app = new App({
11
- target: document.body,
+ target: document.getElementById('root')!,
12
});
13
14
export default app;
0 commit comments