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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user