Skip to content

Commit

Permalink
Use version constant to download & install js
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Pasquale <[email protected]>
  • Loading branch information
megatux and JulianPasquale authored Nov 27, 2023
1 parent 3c02cda commit c084524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/htmx/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def add_to_manifest(manifest, text)
end

def setup_bun
run 'bun add htmx.org'
run "bun add htmx.org@#{Htmx::Rails::HTMX_VERSION}"

add_to_manifest(manifest('app/javascript'), IMPORTMAP_SETUP)
end
Expand Down

0 comments on commit c084524

Please sign in to comment.