Skip to content

Commit

Permalink
Add importmap-rails
Browse files Browse the repository at this point in the history
GitHub: rangubaGH-39

We add Importmap using `importmap-rails` gem which is the default in Rails.
- https://github.com/rails/importmap-rails

Modern Web browswers also support `<script type="importmap">`.
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap#browser_compatibility
  • Loading branch information
otegami committed Jul 23, 2024
1 parent ceb364d commit b1f81a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ else
gem "groonga-client-model"
end

gem "importmap-rails", "~> 2.0"

gem "kaminari-core"
gem "kaminari-actionview"

Expand Down

0 comments on commit b1f81a9

Please sign in to comment.