Ruby on Rails - react installation for rails using rails_react gem- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
react installation for rails using rails_react gem
Add react-rails to your Gemfile:
And install:
Next, run the installation script:
create a components.js manifest file and a app/assets/javascripts/components/ directory, where you will put your components place the following in your application.js: