Recommended way to include bootstrap library in Ember.JS ember-cli App

后端 未结 9 833
余生分开走
余生分开走 2020-11-28 21:18

I am trying to install properly Twitter Bootstrap in my current ember-cli project. I did install bootstrap with bower :

bower install --save bootstrap
         


        
9条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 21:25

    bower install --save bootstrap
    

    in your brocfile.js:

    app.import('bower_components/bootstrap/dist/js/bootstrap.js');
    app.import('bower_components/bootstrap/dist/css/bootstrap.css');
    

提交回复
热议问题