Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Bootstrap v4 alpha using bower? [duplicate]

The v4-alpha documentation states

Bootstrap v4.0.0-alpha is available for download in several ways, including some of your favorite package managers.

however, the mentioned

bower install bootstrap

installs the latest stable release 3.3.5 instead.

How to install v4 alpha using bower?

like image 732
Alexander Rechsteiner Avatar asked Oct 15 '15 18:10

Alexander Rechsteiner


2 Answers

To install a specific version, append the GitHub tag using #:

bower install bootstrap#4.0.0-alpha
like image 122
Alexander Rechsteiner Avatar answered Nov 20 '22 23:11

Alexander Rechsteiner


Adding "bootstrap": "4.0" to the bower.json file under dependencies and running bower install in the terminal did it for me. Naturally, if you're using Yeoman and opt-in for the Bootstrap option, you'll want to remove the bootstrap folder under the bower_components folder.

like image 31
Mr Bullets Avatar answered Nov 20 '22 23:11

Mr Bullets