Answers for "'router-outlet' is not a known element: 1. If 'router-outlet' is an Angular component, then verify that it is part of this module. 2. If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the"

0

router-outlet' is not a known element angular

@NgModule({
  imports: [
      BrowserModule,
      RouterModule
    ],
  exports : [RouterModule]
Posted by: Guest on January-24-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 "'router-outlet' is not a known element: 1. If 'router-outlet' is an Angular component, then verify that it is part of this module. 2. If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the"

Browse Popular Code Answers by Language