Rails 7 - Nie działa dropdown w bootstrap 5

Nie działa mi navbar ani dropdown w rails 7.
application.js

import 'jquery-ui';
import 'jquery-ui-dist';
import 'jqtree';
import 'bootstrap';
import 'bootstrap-dropdown';
import '@popperjs/core'
import '@hotwired/turbo';
import '@hotwired/turbo-rails';

i importmap.rb:

pin "application", preload: true
pin "jquery", to: "https://code.jquery.com/jquery-3.6.0.min.js", preload: true
pin "jquery-ui", to: "https://ga.jspm.io/npm:jquery-ui@1.13.2/ui/widget.js", preload: true
pin "jquery-ui-dist", to: "https://ga.jspm.io/npm:jquery-ui-dist@1.13.1/jquery-ui.js", preload: true
pin "bootstrap", to: "https://ga.jspm.io/npm:bootstrap@5.1.3/dist/js/bootstrap.esm.js", preload: true
pin "@popperjs/core", to: "https://ga.jspm.io/npm:@popperjs/core@2.11.5/lib/index.js", preload: true
pin "jqtree", to: "https://ga.jspm.io/npm:jqtree@1.6.2/lib/tree.jquery.js"
pin "@hotwired/turbo-rails", to: "https://ga.jspm.io/npm:@hotwired/turbo-rails@7.1.3/app/javascript/turbo/index.js"
pin "@hotwired/turbo", to: "https://ga.jspm.io/npm:@hotwired/turbo@7.1.0/dist/turbo.es2017-esm.js"
pin "@rails/actioncable/src", to: "https://ga.jspm.io/npm:@rails/actioncable@7.0.3/src/index.js"

Wbij na kanał discord Miłośników Rubiego. Tam taki problem rozwiążesz od ręki: Miłośnicy Ruby
.