import { Routes } from '@angular/router'; import { TaskboardComponent } from './taskboard/taskboard.component'; import { FullcalendarComponent } from './fullcalendar/fullcalendar.component'; export const AppsRoutes: Routes = [ { path: '', children: [ { path: 'taskboard', component: TaskboardComponent, data: { title: 'Taskboard', urls: [ { title: 'Dashboard', url: '/dashboard' }, { title: 'Taskboard' } ] } }, { path: 'fullcalendar', component: FullcalendarComponent, data: { title: 'Full-Calendar', urls: [ { title: 'Dashboard', url: '/dashboard' }, { title: 'Full-Calendar' } ] } } ] } ];