Skip to content

Instantly share code, notes, and snippets.

@canabady
Created August 29, 2017 12:32
Show Gist options
  • Save canabady/fa90903d0f86429a5fdbf84cb2842614 to your computer and use it in GitHub Desktop.
Save canabady/fa90903d0f86429a5fdbf84cb2842614 to your computer and use it in GitHub Desktop.
ng-bootstrap for Various components including ngbDropdown
The only required dependencies are:
Angular (requires Angular version 4 or higher, tested with 4.0.3)
Bootstrap CSS (tested with 4.0.0-beta)
Installation
After installing the above dependencies, install ng-bootstrap via:
npm install --save @ng-bootstrap/ng-bootstrap
Once installed you need to import our main module (i.e. in app.module.ts).
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
and add in imports: section
NgbModule.forRoot()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment