Answers for "error ng8001 'router-outlet' is not a known element angular 12"

0

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

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

router-outlet' is not a known element:

@NgModule({
  imports: [
      BrowserModule,
      RouterModule.forRoot(appRoutes),
      FormsModule               
  ],
  declarations: [
      AppComponent,  
      DashboardComponent      
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
Posted by: Guest on April-09-2021

Code answers related to "error ng8001 'router-outlet' is not a known element angular 12"

Browse Popular Code Answers by Language