0
I’m having trouble using Bootstrap with the Angular CLI. I am using ng-bootstrap and I am following all the recommendations of the site, but without success, someone knows how to use?
installation via npm:
npm install --save @ng-bootstrap/ng-bootstrap
importing into the main module, with the . forRoot():
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
@NgModule({
declarations: [AppComponent, ...],
imports: [NgbModule.forRoot(), ...],
bootstrap: [AppComponent]
})
export class AppModule {}
importing into the module with the component I am using:
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
@NgModule({
declarations: [OtherComponent, ...],
imports: [NgbModule, ...]
})
export class MeuModule {}
"but without success" ... Describe your problem! For someone else can make the test work.. So you are returning some error ?
– NoobSaibot
No error returns, just no Bootstrap CSS works. No style.
– LeAndrade