2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

Docs: Include major version in npm install bootstrap commands; refs #18520

[ci skip]
This commit is contained in:
Chris Rebert
2015-12-10 14:58:47 -08:00
parent 8f7535647d
commit a823afc5e2
2 changed files with 2 additions and 2 deletions
+1 -1
View 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>