Я использую
https://ng-bootstrap.github.io
в моем приложении, но когда я добавляю его в app.module
, веб-страница отображается без ошибок
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { TComponent } from './t/t.component';
import { PComponent } from './p/p.component';
@NgModule({
declarations: [
AppComponent,
TComponent,
PComponent
],
imports: [
BrowserModule,
AppRoutingModule,
NgbModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Любая причина или что я могу исправить?