Error: src/app/app.component.html:3:1 - error NG8001: 'router-outlet' is not a known element: code example
Example: error ng8001 'router-outlet' is not a known element
import { RouterModule } from '@angular/router';
import { RouterModule } from '@angular/router';