Sunday, 1 February 2015

angularjs fullstack bower install missing bootstrap.js



If you use angularjs fullstack and have bootstrap set to your bower.json file, fullstack can't put your bootstrap link into index.html. you should manually link it.

The right place is put it below socket.io.js like this:

  <!-- endbower -->
  <script src="socket.io-client/socket.io.js"></script>
  <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>




No comments:

Post a comment