Sha256: 40f4095753960ee12224935b3758977774cc5cb4d6bb4570e9a979f841990c4a

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

say "Appending Turbo setup code to #{Webpacker.config.source_entry_path}/application.js"
append_to_file "#{Webpacker.config.source_entry_path}/application.js", %(\nimport "@hotwired/turbo-rails"\n)

say "Install Turbo"
run "yarn add @hotwired/turbo-rails"

say "Run turbo:install:redis to switch on Redis and use it in development for turbo streams"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
turbo-rails-0.7.9 lib/install/turbo_with_webpacker.rb
turbo-rails-0.7.8 lib/install/turbo_with_webpacker.rb
turbo-rails-0.7.7 lib/install/turbo_with_webpacker.rb
turbo-rails-0.7.6 lib/install/turbo_with_webpacker.rb
turbo-rails-0.7.5 lib/install/turbo_with_webpacker.rb