awesome-compose/rails-postgres/app/config/importmap.rb
Alex Koch bbad983a6e
Add sample rails + postgresql application
Signed-off-by: Alex Koch <alex@esparklearning.com>
2022-09-16 11:05:27 -05:00

8 lines
345 B
Ruby

# Pin npm packages by running ./bin/importmap
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"