Sha256: 30a0aac54693808da1ebbebd75979e087d23c80299305ab4caa3d6eb80f57bcc

Contents?: true

Size: 211 Bytes

Versions: 18

Compression:

Stored size: 211 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"\n)

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
turbo-rails-2.0.11 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.10 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.9 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.8 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.7 lib/install/turbo_with_importmap.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/turbo-rails-2.0.5/lib/install/turbo_with_importmap.rb
turbo-rails-2.0.6 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.5 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.4 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.3 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.2 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.1 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.rc.3 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.rc.2 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.rc.1 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.beta.4 lib/install/turbo_with_importmap.rb
turbo-rails-2.0.0.pre.beta.3 lib/install/turbo_with_importmap.rb