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 d612012 commit 7f4d4e5Copy full SHA for 7f4d4e5
example/webpack/main.js
@@ -1,5 +1,4 @@
1
+import { mount } from 'svelte';
2
import App from './App.svelte'
3
-new App({
4
- target: document.getElementById('app')
5
-})
+const app = mount(App, { target: document.getElementById("app") });
0 commit comments