diff options
| author | Mark Otto <[email protected]> | 2015-09-12 12:41:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-09-12 12:41:22 -0700 |
| commit | 87308ba2f6960ba7b5d630cd3aaf19b304df6b5c (patch) | |
| tree | 2890298be5e3fd37dea1573d283d406dc7552639 /docs/getting-started | |
| parent | 339130c040582c44b9b13504c57205a5a3f0511b (diff) | |
| parent | 2c81a2eb0ff7e420b6150432f9885a820ce146b7 (diff) | |
| download | bootstrap-87308ba2f6960ba7b5d630cd3aaf19b304df6b5c.tar.xz bootstrap-87308ba2f6960ba7b5d630cd3aaf19b304df6b5c.zip | |
Merge pull request #17576 from zacechola/install_docs
Adds current version to packages.
Diffstat (limited to 'docs/getting-started')
| -rw-r--r-- | docs/getting-started/download.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md index 4e83b9994..eb5caa4bc 100644 --- a/docs/getting-started/download.md +++ b/docs/getting-started/download.md @@ -40,13 +40,13 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo Install and manage Bootstrap's Sass and JavaScript using [Bower](http://bower.io). -{% highlight bash %}$ bower install bootstrap{% endhighlight %} +{% highlight bash %}$ bower install bootstrap#v{{ site.current_version }}{% endhighlight %} ### npm Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap): -{% highlight bash %}$ npm install bootstrap{% endhighlight %} +{% highlight bash %}$ npm install bootstrap@{{ site.current_version }}{% 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. @@ -58,7 +58,7 @@ Bootstrap's `package.json` contains some additional metadata under the following ### Meteor {% highlight bash %} -$ meteor add twbs:bootstrap +$ meteor add twbs:bootstrap@={{ site.current_version }} {% endhighlight %} ### Composer @@ -101,3 +101,4 @@ Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag <a class="btn btn-bs btn-outline" href="#">Download</a> </div> </div> + |
