dimanche 2 juillet 2023

Gem doesn't work when using js importmap tag but does work with js include tag. Is there a workaround?

I'm using the gritter gem and followed the documentation pretty much to the tee.

the gem works with: <%= javascript_include_tag 'application' %>

but doesn't work with:
<%= javascript_importmap_tags %>

Is it possible to make an older gem work with importmap_tags by importing it differently?

Aucun commentaire:

Enregistrer un commentaire