Put in order · Angular course · Module 4: Routing

Structure of a route with children

Order the lines of a parent route definition with children (top to bottom, as in the editor):

Items to put in order

  • path: 'dojo',
  • }
  • children: [ { path: 'training', component: TrainingComponent } ]
  • {
  • component: DojoLayoutComponent,

You can check the correct answer by solving this task in the CodeWorlds game.