Coding task · Angular course · Module 4: Routing

Practice: Routing configuration

The route array is described by a type from the @angular/router package. Each route is an object with an address (without a leading slash) and the component to display; an empty address '' is the home page.

Task

Complete the routing configuration with routes to HomeComponent and SamuraiComponent.