Currently, I am attempting to implement dropdown menus in Bootstrap 5. According to my research, this feature requires Popper.js integration, but I am uncertain of the correct way to include it in my Laravel project that utilizes Laravel Mix.
I have made several attempts:
window.Popper = require(“@popperjs/core”)
import { createPopper } from '@popperjs/core'
import '@popperjs/core'
Despite trying these methods, none of them seem to activate the desired Bootstrap dropdown functionality. What could be causing this issue?