Sha256: 2b5968f36dfba728a474acacb70af3f5d8e4a2304ad90632c18312bdea687421

Contents?: true

Size: 357 Bytes

Versions: 13

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

say "Installing Turbo...", :green

run("yarn add @hotwired/turbo")

say 'Adding Turbo to "frontend/javascript/index.js"...', :magenta

javascript_import do
  <<~JS
    import Turbo from "@hotwired/turbo"
  JS
end

say "Turbo successfully added", :green
say 'For further reading, check out "https://turbo.hotwire.dev/"', :blue

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bridgetown-core-0.21.5 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.4 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.3 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.2 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.1 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.0 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.20.0 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.19.3 lib/bridgetown-core/configurations/turbo.rb
bridgetown-core-0.19.2 lib/bridgetown-core/configurations/turbo.rb