Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2017-09-28 11:55:51 +0300
committerGitHub <noreply@github.com>2017-09-28 11:55:51 +0300
commit9766e0321371e091c8af8251750dc5e7606e0005 (patch)
tree607093f2b55357199077bcbba06ee540e5434afc
parent5d6b2ebba0c2a5885ce2f0e01e9218db3d3b5e47 (diff)
parent1ef34115ea7aee67463a906ba371e3b2ce1902cd (diff)
Merge pull request #1141 from ltfschoen/patch-1
Update README.md advising use of jquery-rails
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 685a7da5..f54f5edb 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,17 @@ Then, remove all the `*= require_self` and `*= require_tree .` statements from t
Do not use `*= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
+Bootstrap JavaScript depends on jQuery.
+If you're using Rails 5.1+, add the `jquery-rails` gem to your Gemfile:
+
+```ruby
+gem 'jquery-rails'
+```
+
+```console
+$ bundle install
+```
+
Require Bootstrap Javascripts in `app/assets/javascripts/application.js`:
```js