Skip to content

Commit 5858767

Browse files
committed
Fix flowbite import
1 parent fa63628 commit 5858767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/importmap.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
pin "@rails/ujs", to: "https://ga.jspm.io/npm:@rails/ujs@7.1.3/app/assets/javascripts/rails-ujs.esm.js"
1111

1212
# Flowbite - UI components (Carousel, Dropdown)
13-
# Using esm.sh for ES module compatibility with importmap
14-
pin "flowbite", to: "https://esm.sh/flowbite@2.5.2/dist/flowbite.es.js"
13+
# Using jsDelivr ESM build for v4.0.1 compatibility
14+
pin "flowbite", to: "https://cdn.jsdelivr.net/npm/flowbite@4.0.1/+esm"

0 commit comments

Comments
 (0)