Просмотр исходного кода

chore: fix template explorer mounting

Evan You 6 лет назад
Родитель
Сommit
93eba4347d
1 измененных файлов с 1 добавлено и 1 удалено
  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() {
 export function initOptions() {
-  createApp().mount(App, document.getElementById('header')!)
+  createApp(App).mount(document.getElementById('header')!)
 }
 }