✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Le code suivant permet de définir des routes internes à une SPA Angular :
const appRoutes: Routes = [ {path: 'date', component: DateComponent}, {path: 'hello/:nom', component: HelloComponent}, {path: '', redirectTo: 'date', pathMatch: 'full'}, {path: '**', redirectTo: 'date'}];Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!