You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am migrating from Rails 5.2 with the asset pipeline to Rails 6.1.3 with webpacker.
I want to use Bootstrap 5.0.0-beta2 and data-confirm-modal 1.6.2.
I believe I have the proper configuration according to the docs, but I keep getting this in my browser console:
data-confirm-modal.js:80 Uncaught Error: The bootstrap modal plugin does not appear to be loaded.
at data-confirm-modal.js:80
at Object.<anonymous> (data-confirm-modal.js:307)
at Object../node_modules/data-confirm-modal/vendor/assets/javascripts/data-confirm-modal.js (data-confirm-modal.js:307)
at __webpack_require__ (bootstrap:63)
at Module../app/javascript/packs/application.js (application.js:28)
at __webpack_require__ (bootstrap:63)
at Object.0 (log.js:56)
at __webpack_require__ (bootstrap:63)
at bootstrap:198
at bootstrap:198
But the modal plugin is available, because I can trigger modals. Any idea what is happening?
I am migrating from Rails 5.2 with the asset pipeline to Rails 6.1.3 with webpacker.
I want to use Bootstrap 5.0.0-beta2 and data-confirm-modal 1.6.2.
I believe I have the proper configuration according to the docs, but I keep getting this in my browser console:
But the modal plugin is available, because I can trigger modals. Any idea what is happening?
This is my configuration:
This Github issue may touch on the subject, but not sure.
The text was updated successfully, but these errors were encountered: