13 lines
521 B
Ruby
13 lines
521 B
Ruby
# frozen_string_literal: true
|
|
|
|
# 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'
|