From a823afc5e26df57de617927f72c8e45104e99deb Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 10 Dec 2015 14:58:47 -0800 Subject: [PATCH] Docs: Include major version in `npm install bootstrap` commands; refs #18520 [ci skip] --- README.md | 2 +- docs/_includes/getting-started/download.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: