Skip to content

Commit 7f4d4e5

Browse files
committed
chore: mount component
1 parent d612012 commit 7f4d4e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

example/webpack/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1+
import { mount } from 'svelte';
12
import App from './App.svelte'
23

3-
new App({
4-
target: document.getElementById('app')
5-
})
4+
const app = mount(App, { target: document.getElementById("app") });

0 commit comments

Comments
 (0)