mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Docs: Include major version in `npm install bootstrap` commands; refs #18520
[ci skip]
This commit is contained in:
		
							parent
							
								
									8f7535647d
								
							
						
					
					
						commit
						a823afc5e2
					
				| 
						 | 
					@ -32,7 +32,7 @@ Several quick start options are available:
 | 
				
			||||||
* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.6.zip).
 | 
					* [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`.
 | 
					* Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
 | 
				
			||||||
* Install with [Bower](http://bower.io): `bower install bootstrap`.
 | 
					* 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 [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`.
 | 
				
			||||||
* Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
 | 
					* Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -46,7 +46,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2 id="download-npm">Install with npm</h2>
 | 
					  <h2 id="download-npm">Install with npm</h2>
 | 
				
			||||||
  <p>You can also install Bootstrap using <a href="https://www.npmjs.com">npm</a>:</p>
 | 
					  <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><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>
 | 
					  <p>Bootstrap's <code>package.json</code> contains some additional metadata under the following keys:</p>
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue