在Vue构造函数时,需要配置一个el属性,如果没有没有el属性时,可以使用.$mount('#app')进行挂载。 配置了el属性:. new Vue({ el:"#app", router });.
確定! 回上一頁