Answers for "error NG8001: 'router-outlet' is not a known element"

0

error ng8001 'router-outlet' is not a known element

import { RouterModule } from '@angular/router';
Posted by: Guest on April-23-2021
1

If 'router-outlet' is an Angular component, then verify that it is part of this module.

@NgModule({
  imports: [
      BrowserModule,
      RouterModule
Posted by: Guest on July-22-2020
0

router-outlet' is not a known element angular

@NgModule({
  imports: [
      BrowserModule,
      RouterModule
    ],
  exports : [RouterModule]
Posted by: Guest on January-24-2021

Code answers related to "error NG8001: 'router-outlet' is not a known element"

Browse Popular Code Answers by Language