Sha256: 96b7ae11fac81c9e770f6638e9915fff4955e333059c91f1990415938c3ab754

Contents?: true

Size: 226 Bytes

Versions: 14

Compression:

Stored size: 226 Bytes

Contents

say "Import Turbo"
append_to_file "app/javascript/application.js", %(import "@hotwired/turbo-rails"\n)

say "Pin Turbo"
append_to_file "config/importmap.rb", %(pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true\n)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
turbo-rails-2.0.0.pre.beta.2 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.beta.1 lib/install/turbo_with_importmap.rb
turbo-rails-1.5.0 lib/install/turbo_with_importmap.rb
turbo-rails-1.4.0 lib/install/turbo_with_importmap.rb
turbo-rails-1.3.3 lib/install/turbo_with_importmap.rb
turbo-rails-1.3.2 lib/install/turbo_with_importmap.rb
turbo-rails-1.3.1 lib/install/turbo_with_importmap.rb
turbo-rails-1.3.0 lib/install/turbo_with_importmap.rb
turbo-rails-1.1.1 lib/install/turbo_with_importmap.rb
turbo-rails-1.1.0 lib/install/turbo_with_importmap.rb
turbo-rails-1.0.1 lib/install/turbo_with_importmap.rb
turbo-rails-1.0.0 lib/install/turbo_with_importmap.rb
turbo-rails-0.9.1 lib/install/turbo_with_importmap.rb
turbo-rails-0.9.0 lib/install/turbo_with_importmap.rb