Sha256: 4ff606887e2ff9b13b90fcd82c2ca4b7de1d088dacb03724d5fb7b56a22f9495

Contents?: true

Size: 207 Bytes

Versions: 8

Compression:

Stored size: 207 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.js"\n)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
turbo-rails-0.8.2 lib/install/turbo_with_importmap.rb
turbo-rails-0.8.1 lib/install/turbo_with_importmap.rb
turbo-rails-0.8.0 lib/install/turbo_with_importmap.rb
turbo-rails-0.7.15 lib/install/turbo_with_importmap.rb
turbo-rails-0.7.14 lib/install/turbo_with_importmap.rb
turbo-rails-0.7.13 lib/install/turbo_with_importmap.rb
turbo-rails-0.7.12 lib/install/turbo_with_importmap.rb
turbo-rails-0.7.11 lib/install/turbo_with_importmap.rb