|
2 | 2 |
|
3 | 3 | # config/importmap.rb |
4 | 4 |
|
5 | | -pin "application", preload: true |
6 | | -pin 'bootstrap', to: 'bootstrap.min.js', preload: true |
7 | | -pin 'stimulus-loading', to: 'stimulus-loading.js', preload: true |
8 | | -pin 'trix', preload: true |
9 | | -pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true |
10 | | -pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true |
| 5 | +pin '@hotwired/turbo-rails', to: 'turbo.js', preload: true |
| 6 | +pin '@hotwired/stimulus', to: 'stimulus.js', preload: true |
11 | 7 | pin '@popperjs/core', to: 'popper.js', preload: true |
| 8 | +pin '@rails/actioncable', to: 'actioncable.js', preload: true |
| 9 | +pin '@rails/activestorage', to: 'activestorage.js', preload: true |
12 | 10 | pin '@rails/actiontext', to: 'actiontext.js', preload: true |
13 | | -pin_all_from "app/javascript/controllers", under: "controllers" |
| 11 | + |
| 12 | +pin 'application', preload: true |
| 13 | +pin 'bootstrap', to: 'bootstrap.min.js', preload: true |
| 14 | +pin 'es-module-shims', to: 'https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js', preload: true |
| 15 | +pin 'stimulus-loading', to: 'stimulus-loading.js', preload: true |
| 16 | +pin 'trix', to: 'https://unpkg.com/[email protected]/dist/trix.umd.min.js', preload: true |
| 17 | + |
| 18 | +pin_all_from 'app/javascript/better_together/controllers', under: 'better_together/controllers' |
| 19 | +pin_all_from 'app/javascript/better_together/trix-extensions', under: 'better_together/trix-extensions' |
0 commit comments