Blog-Post
Marrying Rails, Turbolinks and JavaScript Custom Elements
Rails 5.1 just arrived and brought with it a curated setup for webpack.
Think what you want about webpack, but it’s the new
default for JavaScript module loading and bundling in Rails and therefore
here to stay. So here’s a quick post on how to get the new
JavaScript goodness up and running with your existing Turbolinks setup.