Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedding react-boilerplate in Rails 5.1

Has anyone tried integrating react-boilerplate into a Ruby on Rails 5.1 app? It looks like the 5.1 approach to embedding React components in views is fairly simple. Rails 5.1 is using webpacker which has its approach to mixing Ruby configuration with Webpack. It doesn't seem very straightforward, but does anyone have any techniques for accomplishing this?

like image 619
Reed G. Law Avatar asked Sep 13 '25 14:09

Reed G. Law


1 Answers

Take a look at rails-react-boilerplate. The README.md should have all the info you need to get up and running. You should be able to easily find it on github.

like image 128
Billy Ferguson Avatar answered Sep 15 '25 04:09

Billy Ferguson