Hotwire Webpacker
This template is to include Hotwire using webpacker.
Used 28 times
C
Curtis Ovard
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/X6ksP9"
Template Source
Review the code before running this template on your machine.
run "bundle add Hotwire-rails"
run "bundle install"
rails_command "webpacker:install:stimulus"
rails_command "turbo:install"