Skip to main content

install_hotwire

⚙️ Install Hotwire in Rails

Begin by adding Hotwire to your Rails application. Hotwire is split into Turbo and Stimulus, and you can install both with a single command.

gem 'turbo-rails'
bundle install
rails turbo:install

This will add the necessary gems, JavaScript packages, and update your application layout to include Turbo.