-
Notifications
You must be signed in to change notification settings - Fork 0
react rails gem
JenDiamond edited this page Jul 7, 2017
·
3 revisions
gem 'react-rails'
bundle install
rails g react:install
- create a
components.js
manifest file - create an
app/assets/javascripts/components/
directory, where you will put your components - place the following in your
application.js
:
//= require react
//= require react_ujs
//= require components