我想绕着我的头转.我习惯于这样实例化Vue...
vm = new Vue({
el : '#vueRoot',
data : { msg : 'hello' }
...
})
现在I'm being asked to个实例将其通过路由...
vm = new Vue({
router
}).$mount('#vueRoot');
My question is where do I put my 100 or 101, or whatever other Vue properties I would normally use?我发现我的根Vue可以有标记,包含router-link
个元素.我是否明白,一旦我使用路由,所有东西都应该是组件?