Skip to content

Commit

Permalink
Merge pull request twbs#1141 from ltfschoen/patch-1
Browse files Browse the repository at this point in the history
Update README.md advising use of jquery-rails
  • Loading branch information
glebm authored Sep 28, 2017
2 parents 5d6b2eb + 1ef3411 commit 9766e03
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9766e03

Please sign in to comment.