export default new Router({ linkActiveClass: 'active', routes: [ { path: '/hello', name: 'Hello', component: Hello }, { path: '/heade', name: 'heade', component: heade,
//info.vue和more.vue 会被渲染在 heade.vue 的 <router-view> 中 children:[ { path: '/info', name: 'info', component: info }, { path: '/more', name: 'more', component: more } ] }, ] })
vue 嵌套路由
此博客文章多为本姑娘学习笔记!有不对的地方还望指正!!!么么哒