Подскажите как правильно организовать роут , у меня тут что-то не то))) если перехожу на новости, то компонент не подгружается
{
path: '/contragents',
name: 'contragents',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Contragents')
},
{
path: '/contragents/:id',
meta: {layout: 'main'},
props: true,
children: [
{
path: '/',
name: 'contragent',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Contragent'),
},
{
path: 'news',
name: 'contragent.news',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/News')
},
{
path: 'categories',
name: 'contragent.categories',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Category')
},
{
path: 'cargo',
name: 'contragent.cargo',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Cargo')
},
{
path: 'group',
name: 'contragent.group',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Group')
},
{
path: '/section',
name: 'contragent.section',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Section')
},
{
path: '/transport',
name: 'contragent.transport',
meta: {layout: 'main'},
component: () => import('./view/Farm/Contragents/Transport')
},
]
},