How to use bootstrap 4 in angular 2?

后端 未结 11 2554
有刺的猬
有刺的猬 2020-11-30 18:54

I\'m building an angular 2 app written in typescript. It would use the bootstrap 4 framework in combination with some custom theming, is this possible?

The \"ng2-boo

11条回答
  •  暖寄归人
    2020-11-30 19:31

    ng add has been introduced with Angular 6. To install Bootstrap 4 (ng-bootstrap 2.0.0)

    ng add @ng-bootstrap/schematics
    

    Don't forget to restart your app with ng serve.

提交回复
热议问题