Created
August 29, 2017 12:32
-
-
Save canabady/fa90903d0f86429a5fdbf84cb2842614 to your computer and use it in GitHub Desktop.
ng-bootstrap for Various components including ngbDropdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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