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 want to use the Tempus Dominus DateTimePicker in a Bootstrap 5 project. TD requires PopperJS, and I was hoping to use the popperJS that's included in de the Bootstrap 5 Bundle.js file. Is this possible? Note that I'm using the bootstrap 5 webjar.
For reference: I have both the bootstrap.bundle.js and my own JavaScript included as a module, and I'm getting the below error when clicking on the Tempus Dominus button. This appears to be a problem with resolving the PopperJS library. Is this because the bootstrap 5 bundle doesn't expose PopperJS by default? And if so, is there a way to have the bundle expose it?
tempus-dominus.esm.js:3516
Uncaught (in promise) TypeError: Failed to resolve module specifier '@popperjs/core'
at Display.createPopup (tempus-dominus.esm.js:3516:38)
at Display.show (tempus-dominus.esm.js:3418:22)
at Display.toggle (tempus-dominus.esm.js:3662:53)
at TempusDominus.toggle (tempus-dominus.esm.js:4312:22)
at TempusDominus._toggleClickEvent (tempus-dominus.esm.js:4240:18)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to use the Tempus Dominus DateTimePicker in a Bootstrap 5 project. TD requires PopperJS, and I was hoping to use the popperJS that's included in de the Bootstrap 5 Bundle.js file. Is this possible? Note that I'm using the bootstrap 5 webjar.
For reference: I have both the bootstrap.bundle.js and my own JavaScript included as a module, and I'm getting the below error when clicking on the Tempus Dominus button. This appears to be a problem with resolving the PopperJS library. Is this because the bootstrap 5 bundle doesn't expose PopperJS by default? And if so, is there a way to have the bundle expose it?
Beta Was this translation helpful? Give feedback.
All reactions