Hotwire (Turbo, Stimulus, Strada)
Add Hotwire stack to your Rails app
Used 106 times
N
Nick Gorbikoff
Usage
As of Jan 2021 installs only Turbo & Stimulus, once Strada is released, it will be added automatically to the installation process by hotwire-rails gem. https://hotwire.dev/
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/VeKsjG"
Template Source
Review the code before running this template on your machine.
run "bundle add hotwire-rails"
run "bundle install"
rails_command "hotwire:install"