Adding ui.bootstrap dependency with bower

前端 未结 3 1236
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 08:24

I m trying to add ui.bootstrap dependency to my angular project (I m using yeoman, bower). I did this :

  1. yo angular
  2. bower install angular-ui
  3. I th
3条回答
  •  别跟我提以往
    2021-01-31 08:45

    You are installing a wrong package from bower. The correct one to install is bower install angular-bootstrap as described here: https://github.com/angular-ui/bootstrap#installation

    Edit:

    As of February 2015, a Bower version of the library exists at https://github.com/angular-ui/bootstrap-bower.

    Unfortunately, it presently only contains AngularUI Bootstrap 0.12.0 which, as far as I can tell, isn't fully compatible with Angular >= 1.3. It looks like the maintainers intend AngularUI Bootstrap >= 0.13.0 to be compatible with Angular 1.3, <>but that version of the library seems not to have made its way to the Bower-compatible repo yet.
    No longer an issue, AngularUI Bootstrap 0.13.0 version is now provided and supported.

提交回复
热议问题