Error: src/app/app.component.html:2: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';