Browse Source

chore: fix template explorer mounting

Evan You 6 years ago
parent
commit
93eba4347d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/template-explorer/src/options.ts

+ 1 - 1
packages/template-explorer/src/options.ts

@@ -112,5 +112,5 @@ const App = {
 }
 
 export function initOptions() {
-  createApp().mount(App, document.getElementById('header')!)
+  createApp(App).mount(document.getElementById('header')!)
 }