Skip to content

Commit 0825f7e

Browse files
authored
fix(create-app): the node in the svelte template is incorrectly mounted (#2947)
1 parent cf27a08 commit 0825f7e

File tree

2 files changed

+2
-2
lines changed
  • packages/create-app

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import App from './App.svelte'
22

33
const app = new App({
4-
target: document.body
4+
target: document.getElementById('app')
55
})
66

77
export default app
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import App from './App.svelte'
22

33
const app = new App({
4-
target: document.body
4+
target: document.getElementById('app')
55
})
66

77
export default app

0 commit comments

Comments
 (0)