Skip to content

Commit

Permalink
fix(create-app): the node in the svelte template is incorrectly mount…
Browse files Browse the repository at this point in the history
…ed (#2947)
  • Loading branch information
ruibaby authored Apr 12, 2021
1 parent cf27a08 commit 0825f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-app/template-svelte-ts/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import App from './App.svelte'

const app = new App({
target: document.body
target: document.getElementById('app')
})

export default app
2 changes: 1 addition & 1 deletion packages/create-app/template-svelte/src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import App from './App.svelte'

const app = new App({
target: document.body
target: document.getElementById('app')
})

export default app

0 comments on commit 0825f7e

Please sign in to comment.