ng-bootstrap ngbDropdown not working Angular 4

后端 未结 3 1599
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-19 06:10

ng dropdowns are not working.

Note: I followed the answer here and upgraded bootstrap to 4-alpha, yet it\'s not working.

Below is my package.json file:

3条回答
  •  深忆病人
    2021-02-19 07:01

    add ngb modules you use, NgbModule has to be imported....

    @NgModule({
      imports: [
            ..,
            NgbModule.forRoot()
       ],
      ...
    

提交回复
热议问题