5 ms·
There's always the sprockets-commonjs gem, but it requires sprockets ~> 2.0 (sprockets-es6 requires sprockets ~> 3.0).
by KurtMueller 11y ago
There's always the sprockets-commonjs gem, but it requires sprockets ~> 2.0 (sprockets-es6 requires sprockets ~> 3.0).
- kendallpark 11y agoYeah, I'm using the sprockets-es6 gem.
- KurtMueller 11y agohttps://github.com/justin808/react-webpack-rails-tutorial https://github.com/justin808/react-webpack-rails-tutorial Here's a tutorial on how somebody integrated webpack, react, and rails.