mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Pin maps, remove ujs
This commit is contained in:
parent
d070eb40b9
commit
ab90180cbf
2 changed files with 1 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
|
||||
|
||||
import "@rails/ujs"
|
||||
import "@rails/actioncable"
|
||||
import "controllers"
|
||||
import "@hotwired/turbo-rails"
|
||||
|
|
@ -13,5 +12,3 @@ import "./channels"
|
|||
|
||||
import "trix"
|
||||
import "@rails/actiontext"
|
||||
|
||||
Rails.start()
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
# Pin npm packages by running ./bin/importmap
|
||||
|
||||
pin_all_from 'app/javascript/channels', under: 'channels'
|
||||
pin_all_from 'app/javascript/maps', under: 'maps'
|
||||
|
||||
pin 'application', preload: true
|
||||
pin '@rails/actioncable', to: 'actioncable.esm.js'
|
||||
|
|
|
|||
Loading…
Reference in a new issue