Yeoman and Bower not adding Bootstrap CSS (AngularJS generator)

后端 未结 5 1279
半阙折子戏
半阙折子戏 2020-12-24 02:15

I am following along a codelab on the Yeoman webpage, and so far I\'ve managed to follow along (with a few major hiccups getting my development environment going, but now it

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 02:47

    It didn't work for me either. I got a solution from here: https://github.com/twbs/bootstrap/issues/16663

    We fixed this issue temporary by overriding our project bower.json. For us it works fine, but we are waiting for some solution from Bootstrap.

    "overrides":{
        "bootstrap" : {
             "main": [
                "less/bootstrap.less",
                "dist/css/bootstrap.css",
                "dist/js/bootstrap.js"
              ]
        }
      }
    

提交回复
热议问题