I think we have our import maps working now.

This commit is contained in:
2023-03-01 06:28:43 +00:00
parent 2f04f3fd55
commit 663a9030ab
4 changed files with 23 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
# Pin npm packages by running ./bin/importmap
pin "jquery", to: "https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.js"
pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin_all_from "app/javascript/controllers", under: "controllers"
pin "trix"
pin "@rails/actiontext", to: "actiontext.js"