Adding ui.bootstrap dependency with bower

前端 未结 3 1157
隐瞒了意图╮
隐瞒了意图╮ 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:39

    install the bower version that depends on the angular version that your project uses.

    I first installed;

    bower install angular-ui-bootstrap-bower#0.13.4
    

    Then I added below to bower.json

    "angular-ui-bootstrap-bower": "0.13.4"
    

提交回复
热议问题