flowbite: Rails 8 + Importmaps - missing backdrop

Describe the bug There are no backdrop in rails8 app using importmaps

To Reproduce

SCR-20241118-oknd

About this issue

Most upvoted comments

Agreed. If you know how to put a gem together, I’ll happily use it and help if I can.

For friends struggling with how to introduce Flowbite in Rails 8, you might want to try this approach and accept the trade-offs: https://discuss.rubyonrails.org/t/importmap-or-jsbundling-i-use-both/87647

Hi. Yep - there are some limitations because of tailwind. I wrote an article how to migrate from importmaps to esbuild, hope you’ll find it useful - https://alec-c4.com/posts/2024-12-15-migrate-from-importmap/

I’ve created an app with esbuild and backdrop works fine