错误原因 :路由中,不能使用components,修改为 component 之后运行正常(属于语法错误)
export default new VueRouter({
routes: [{
path: '/home',
components: home
}]
})
错误原因 :路由中,不能使用components,修改为 component 之后运行正常(属于语法错误)
export default new VueRouter({
routes: [{
path: '/home',
components: home
}]
})