From: Chris Rebert Date: Thu, 10 Dec 2015 22:58:47 +0000 (-0800) Subject: Docs: Include major version in `npm install bootstrap` commands; refs #18520 X-Git-Tag: v3.3.7~157^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18530%2Fhead;p=thirdparty%2Fbootstrap.git Docs: Include major version in `npm install bootstrap` commands; refs #18520 [ci skip] --- diff --git a/README.md b/README.md index 6a86de1204..159d8be781 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Several quick start options are available: * [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.6.zip). * Clone the repo: `git clone https://github.com/twbs/bootstrap.git`. * Install with [Bower](http://bower.io): `bower install bootstrap`. -* Install with [npm](https://www.npmjs.com): `npm install bootstrap`. +* Install with [npm](https://www.npmjs.com): `npm install bootstrap@3`. * Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`. * Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`. diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index 1fb3aab615..7564fd3cb0 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -46,7 +46,7 @@

Install with npm

You can also install Bootstrap using npm:

- {% highlight bash %}$ npm install bootstrap{% endhighlight %} + {% highlight bash %}$ npm install bootstrap@3{% endhighlight %}

require('bootstrap') will load all of Bootstrap's jQuery plugins onto the jQuery object. The bootstrap module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the /js/*.js files under the package's top-level directory.

Bootstrap's package.json contains some additional metadata under the following keys: