]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: Include major version in `npm install bootstrap` commands; refs #18520 18530/head
authorChris Rebert <code@chrisrebert.com>
Thu, 10 Dec 2015 22:58:47 +0000 (14:58 -0800)
committerChris Rebert <code@chrisrebert.com>
Thu, 10 Dec 2015 22:58:47 +0000 (14:58 -0800)
[ci skip]

README.md
docs/_includes/getting-started/download.html

index 6a86de120458595c9bb6f89f26a5f43870f58c5c..159d8be781c03dc5862012022dfb66fd8caaea3c 100644 (file)
--- 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`.
 
index 1fb3aab615f6d2cae9327e74f2ccac61a34752eb..7564fd3cb0e858b10c21adc11a512865a603c26d 100644 (file)
@@ -46,7 +46,7 @@
 
   <h2 id="download-npm">Install with npm</h2>
   <p>You can also install Bootstrap using <a href="https://www.npmjs.com">npm</a>:</p>
-  {% highlight bash %}$ npm install bootstrap{% endhighlight %}
+  {% highlight bash %}$ npm install bootstrap@3{% endhighlight %}
   <p><code>require('bootstrap')</code> will load all of Bootstrap's jQuery plugins onto the jQuery object. The <code>bootstrap</code> module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the <code>/js/*.js</code> files under the package's top-level directory.</p>
   <p>Bootstrap's <code>package.json</code> contains some additional metadata under the following keys:</p>
   <ul>