1
Does the angular daughter route function serve only to render the daughter route component on the parent route component? Because I wanted to do the exact opposite. I would like when I go from the parent route to the daughter route, I would like to render on the screen only the daughter route template. There is how to do this?
{
path: 'my-curriculum', component: MyCurriculumComponent,
children: [
{ path: 'general-information', component: CurriculumFormComponent },
{ path: 'job', component: CurriculumFormComponent },
{ path: 'education', component: CurriculumFormComponent },
{ path: 'extracurricular-activity', component: CurriculumFormComponent }
]
}
The template of
my-curriculumIs it different from the daughter routes? If it is, Voce can make a loadChildren and within the route module of this component the exclusive template for daughter routes– adventistaam
Or Voce can do the
MyCurriculumComponentbe the main template from within the daughter route{path: '', component: SeuComponent}be the main route that would use the Mycurriculumcomponent template– adventistaam