TurboReact::Rails
is a Ruby on Rails engine for including
TurboReact in a Rails application.
-
Add this line to your application's Gemfile:
gem 'turbo_react-rails'
-
Install the updated gems
$ bundle install
-
Require
turbo-react
in a JavaScript file like "application.js" after Turbolinks://= require turbolinks //= require turbo-react
To install this gem onto your local machine, run bundle exec rake install
. To
release a new version, update the version number in version.rb
, and then run
bundle exec rake release
to create a git tag for the version, push git commits
and tags, and push the .gem
file to rubygems.org.