1.常用直接使用选择器挂载
el:'#app'
2.使用HTML Element的方法挂载
el:document.getElementById('app')
3.使用$mount()方法挂载
vm.$mount("#app")
1.常用直接使用选择器挂载
el:'#app'
2.使用HTML Element的方法挂载
el:document.getElementById('app')
3.使用$mount()方法挂载
vm.$mount("#app")