]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix template explorer mounting
authorEvan You <yyx990803@gmail.com>
Wed, 29 Jan 2020 16:28:18 +0000 (11:28 -0500)
committerEvan You <yyx990803@gmail.com>
Wed, 29 Jan 2020 16:28:18 +0000 (11:28 -0500)
packages/template-explorer/src/options.ts

index 0e637dffc0dac14b367037373c55c70cdadf589b..867903d7cc5dfc8f6d770aa894cf8c80667369ac 100644 (file)
@@ -112,5 +112,5 @@ const App = {
 }
 
 export function initOptions() {
-  createApp().mount(App, document.getElementById('header')!)
+  createApp(App).mount(document.getElementById('header')!)
 }