DEV Community

Discussion on: Rails 7, Bootstrap 5 and importmaps without nodejs

Collapse
 
eliblocks profile image
Eli Block • Edited

Thanks for the guide! I believe it should be

pin "@popperjs/core", to: 'popper.js', preload: true
Enter fullscreen mode Exit fullscreen mode
Collapse
 
jmschp profile image
Miguel Hargreaves Pimenta

Actually it's not. The bootstrap gem dependes on the popper_js gem

Bootstrap tooltips and popovers depend on popper.js for positioning. The bootstrap gem already depends on the popper_js gem.