vue 嵌套路由

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 } ] }, ] })
此博客文章多为本姑娘学习笔记!有不对的地方还望指正!!!么么哒
原文地址:https://www.cnblogs.com/whyue/p/6738594.html