Skip to content
Advertisement

Tag: import-maps

Bootstrap JS not working with Rails Importmap

I have a Rails 7 App that I’m using Importmap with. I’m loading the Bootstrap JS via the gem and docs so my config/importmap.rb has: config/initializers/assets.rb application.js Stuff like dropdowns activated via data attributes work well but my custom JS gives the error: Uncaught TypeError: bootstrap.Popover is not a constructor Answer How to initialize Popper (tooltips) with importmaps You’re very

Advertisement