diff --git a/lib/install/examples/vue/hello_vue.js b/lib/install/examples/vue/hello_vue.js index 7999974..cc7a1e0 100644 --- a/lib/install/examples/vue/hello_vue.js +++ b/lib/install/examples/vue/hello_vue.js @@ -9,11 +9,10 @@ import Vue from 'vue' import App from '../app.vue' document.addEventListener('DOMContentLoaded', () => { - const el = document.body.appendChild(document.createElement('hello')) const app = new Vue({ - el, render: h => h(App) - }) + }).$mount() + document.body.appendChild(app.$el) console.log(app) })