From 4f1000d77242f3cd9e363da9db9021cb1a227e59 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 30 Dec 2014 18:33:40 -0800 Subject: Document that Autoprefixer is required Closes #14937 [skip sauce] --- docs/_includes/getting-started/download.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/_includes/getting-started/download.html') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index edc048df5..fd81a405b 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -43,4 +43,7 @@

Install with Bower

You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Bower:

{% highlight bash %}$ bower install bootstrap{% endhighlight %} + +

Autoprefixer required for Less/Sass

+

Bootstrap uses Autoprefixer to deal with CSS vendor prefixes. 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.

-- cgit v1.2.3 From ccc3eb5cc608b4642196581ab1678ecfdae812a4 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 14 Jan 2015 18:43:04 -0800 Subject: document usage of npm package; fixes #15127 [skip sauce] --- docs/_includes/getting-started/download.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/_includes/getting-started/download.html') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index fd81a405b..7059dc6d1 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -44,6 +44,16 @@

You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Bower:

{% highlight bash %}$ bower install bootstrap{% endhighlight %} +

Install with npm

+

You can also install Bootstrap using npm:

+ {% highlight bash %}$ npm install bootstrap{% 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.

+

Bootstrap's package.json contains some additional metadata under the following keys:

+ +

Autoprefixer required for Less/Sass

Bootstrap uses Autoprefixer to deal with CSS vendor prefixes. 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.

-- cgit v1.2.3 From f1cb639c3439d2cca006ebc28f05bc694c6c4ed2 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 15 Jan 2015 10:46:58 -0800 Subject: Docs: add missing "http://" --- docs/_includes/getting-started/download.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started/download.html') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index 7059dc6d1..13a56bebd 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -50,7 +50,7 @@

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.

Bootstrap's package.json contains some additional metadata under the following keys:

    -
  • less - path to Bootstrap's main Less source file
  • +
  • less - path to Bootstrap's main Less source file
  • style - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)
-- cgit v1.2.3