2021-09-26 14:41:38 -07:00
|
|
|
# Use direct uploads for Active Storage (remember to import "@rails/activestorage" in your application.js)
|
|
|
|
|
# pin "@rails/activestorage", to: "activestorage.esm.js"
|
|
|
|
|
|
|
|
|
|
# Use node modules from a JavaScript CDN by running ./bin/importmap
|
|
|
|
|
|
2021-09-26 15:22:36 -07:00
|
|
|
pin "application"
|
2021-09-26 15:23:45 -07:00
|
|
|
pin "@hotwired/stimulus", to: "stimulus.js"
|
|
|
|
|
pin "@hotwired/stimulus-importmap-autoloader", to: "stimulus-importmap-autoloader.js"
|
|
|
|
|
pin_all_from "app/javascript/controllers", under: "controllers"
|
2021-09-26 15:25:27 -07:00
|
|
|
pin "@hotwired/turbo-rails", to: "turbo.js"
|