badar_madeena/config/importmap.rb

14 lines
658 B
Ruby

# Pin npm packages by running ./bin/importmap
pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js"
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin "bootstrap", to: "https://ga.jspm.io/npm:bootstrap@5.3.2/dist/js/bootstrap.esm.js"
pin "@popperjs/core", to: "https://ga.jspm.io/npm:@popperjs/core@2.11.8/lib/index.js"
pin_all_from "app/javascript/controllers", under: "controllers"
pin "dropdown", to: "dropdown.js"
pin "flash_messages", to: "flash_messages.js"
pin "trix", to: "trix.js"
pin "@rails/actiontext", to: "actiontext.esm.js"