vue router路由嵌套

export default new Router({
  routes: [{
    path: '/',
    name: 'HelloWorld',
    component: HelloWorld,
    children: [{
        path: '/Furong/:id',
        name: 'Furong',
        component: Furong
      },
      {
        path: '/Quange',
        name: 'Quange',
        component: Quange
      },
    ]
  }, ],
})
posted @ 2021-07-08 16:40  thomas_blog  阅读(30)  评论(0编辑  收藏  举报