KonnorRogers / mrujs

UJS for modern javascript.
https://mrujs.netlify.app
MIT License
164 stars 16 forks source link

mrujs with importmap #215

Open juna-nb opened 7 months ago

juna-nb commented 7 months ago

(Hello, I'm sorry if this is covered somewhere else but I wasn't able to find it anywhere so far.)

Does mrujs work with Rail's importmap and if so are there any docs to how it is done?

I see that there is a mrujs_rails Gem on RubyGems that links here, so I presume it is associated, but it hasn't been updated for a while and I haven't found any information about it's use nor if it works with Rails 7.1.

Thanks!

KonnorRogers commented 7 months ago

Its not covered anywhere unfortunately, this is like the 4th or 5th library I have that I have to investigate importmaps with so bear with me.

v2.x of importmaps essentially broke every package that used exportmaps in some way, or had something more than an index.js

https://github.com/rails/importmap-rails/pull/217

juna-nb commented 7 months ago

Oh no, that sounds rough. Thanks for following up so quickly and sorry to hear about that.