11 lines
490 B
Ruby
11 lines
490 B
Ruby
|
|
# 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
|
||
|
|
|
||
|
|
pin "application"
|
||
|
|
pin "@hotwired/turbo-rails", to: "turbo.js"
|
||
|
|
pin "@hotwired/stimulus", to: "stimulus.js"
|
||
|
|
pin "@hotwired/stimulus-importmap-autoloader", to: "stimulus-importmap-autoloader.js"
|
||
|
|
pin_all_from "app/javascript/controllers", under: "controllers"
|