Lines 8 - 10: Each route is its own object, the object must have path and component properties.The value of path will be the name of the route and the value for component is what component is mapped to that route.
Creating a Route Formula
{ path: <desired path> , component: < desired component >}
Stackblitz Demo
Route Order
One of the key things to know about routing configuration is that the order matters a lot. When the router receives an URL, it will start going through the routes array in order: starting with the first index of the configuration array. If it finds a match to the complete URL, it stops and instantiates