Setting up the ng-bootstrap

In the Command Prompt or Terminal pointing at the application root folder, run the following command to install dependencies:

$ npm install --save @ng-bootstrap/ng-bootstrap

Or you can use this:

$ yarn add @ng-bootstrap/ng-bootstrap

Next, we need to import the NgbModule into our Angular application. Open clientappapp.module.ts and add the following import:

// SNIPP SNIPP
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
// SNIPP SNIPP

And then update imports as follows:

// SNIPP SNIPP
imports: [
BrowserModule,
RoutingModule,
SharedModule,
FormsModule,
HttpClientModule,
NgxEditorModule,
TagsInputModule.forRoot(),
NgbModule.forRoot()
],
// SNIPP SNIPP

This concludes setting up ng-bootstrap.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.82.21