Scrum / vue-2-breadcrumbs

Vue breadcrumbs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple parents

kaspervm opened this issue · comments

I cant seem to be able to create the breadcrum like so:

Home/About/Consulting

Instead it renders:

Home/Consulting

Am i doing something wrong?

These are the routes
{
path: '/home',
name: 'home',
component: home,
meta: {
breadcrumb: {
label: 'Home'
}
},
},
{
path: '/about',
name: 'about',
component: about,
meta: {
breadcrumb: {
label: 'About',
parent: 'home'
}
},
},
{
path: '/it-consulting',
name: 'itconsulting',
component: itconsulting,
meta: {
breadcrumb: {
label: 'Consulting',
parent: 'about'
}
},
},

Im sorry i found out im suppose to nest the routes.