Skip to content

Commit

Permalink
Merge pull request #29152 from djforth/master
Browse files Browse the repository at this point in the history
Update to Rails ujs readme
  • Loading branch information
rafaelfranca committed May 26, 2017
2 parents b0dc26f + b8d0a08 commit 51f912f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions actionview/app/assets/javascripts/README.md
Expand Up @@ -36,6 +36,16 @@ Require `rails-ujs` into your application.js manifest.
//= require rails-ujs
```

Usage with yarn
------------

When using with Webpacker gem or your preferred JavaScript bundler. Just add the following to your main JS file and compile.

```javascript
import Rails from 'rails-ujs';
Rails.start()
```

How to run tests
------------

Expand Down

0 comments on commit 51f912f

Please sign in to comment.