Ich habe folgende App Route Konfiguration:Angular 4.X: Initialisieren Kind Komponenten Router
const routes: Routes = [
{loadChildren: './modules/faq/faq.module', path: 'faq'},
{loadChildren: './modules/pagination/pagination.module', path: 'page'},
{loadChildren: './modules/appointmentAgreement/appointmentAgreement.module#AppointmentAgreementModule', path: 'terminvereinbarung'}
];
Und die appointmentAgreement Kind Module Wegekonfiguration
const appointmentAgreementRoutes: Routes = [{
path: '',
children: [
{path: 'thema', component: TopicSectionComponent},
{path: 'filiale', component: BranchSectionComponent},
{path: 'termin', component: DatetimeSectionComponent},
{path: 'daten', component: PersonalDataSectionComponent},
{path: 'bestaetigung', component: ConfirmationSectionComponent},
]
}];
Jetzt i die Anwendung wollen umleiten zu/terminvereinbarung/thema wenn seite/terminvereinbarung geöffnet ist.
Wie kann ich das erreichen?
Vielen Dank im adcance.
Awesome, tat dies der Trick. Dank! – user3507003