Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Bootstrap 4 alpha with NPM [closed]

How can I specifically install the Bootstrap 4 Alpha using NPM. Using npm install bootstrap only installs the current Version 3.3.5.

like image 609
DamirDiz Avatar asked Nov 01 '15 18:11

DamirDiz


People also ask

Can you install bootstrap with NPM?

Install with npmYou can manually load Bootstrap's jQuery plugins individually by loading the /js/*. js files under the package's top-level directory. Bootstrap's package.

What does NPM run Bootstrap do?

npm install bootstrap --save would download the latest version of bootstrap and add it to your dependencies in package. json file. npm install bootstrap would download the latest version of bootstrap but it would not add it in dependencies in package.


2 Answers

You can download bootstrap v4 alpha version using the git branch v4-dev

npm install [email protected] 

or

npm install git://github.com/twbs/bootstrap.git\#v4-dev 

or

npm install https://github.com/twbs/bootstrap.git\#v4-dev 

or

npm install twbs/bootstrap#v4-dev 
like image 143
Manoj H L Avatar answered Oct 04 '22 04:10

Manoj H L


Use this command

npm install [email protected] 
like image 22
jhoanna Avatar answered Oct 04 '22 04:10

jhoanna