aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/getting-started
diff options
context:
space:
mode:
authorRodrigo Prado <[email protected]>2015-03-20 16:41:48 -0300
committerChris Rebert <[email protected]>2015-03-20 18:42:03 -0700
commitfbe0836a8f90867b115a75a6444df8d8371386c0 (patch)
treeef45dc161580acafcf179d45e46751f74fc44953 /docs/_includes/getting-started
parentfb74d7276491b04949f97c736b064dd0c30cfc8b (diff)
downloadbootstrap-fbe0836a8f90867b115a75a6444df8d8371386c0.tar.xz
bootstrap-fbe0836a8f90867b115a75a6444df8d8371386c0.zip
Add docs on how to install Bootstrap via composer
Closes #16113 Closes #16114 [skip sauce]
Diffstat (limited to 'docs/_includes/getting-started')
-rw-r--r--docs/_includes/getting-started/download.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html
index 290731fae..5bfb67659 100644
--- a/docs/_includes/getting-started/download.html
+++ b/docs/_includes/getting-started/download.html
@@ -54,6 +54,10 @@
<li><code>style</code> - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)</li>
</ul>
+ <h2 id="download-composer">Install with Composer</h2>
+ <p>You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using <a href="https://getcomposer.org">Composer</a>:</p>
+ {% highlight bash %}$ composer require twbs/bootstrap{% endhighlight %}
+
<h2 id="download-autoprefixer">Autoprefixer required for Less/Sass</h2>
<p>Bootstrap uses <a href="https://github.com/postcss/autoprefixer">Autoprefixer</a> to deal with <a href="http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm">CSS vendor prefixes</a>. If you're compiling Bootstrap from its Less/Sass source and not using our Gruntfile, you'll need to integrate Autoprefixer into your build process yourself. If you're using precompiled Bootstrap or using our Gruntfile, you don't need to worry about this because Autoprefixer is already integrated into our Gruntfile.</p>
</div>