Import a library/dependency with Laravel Mix
问题 I have a small problem that took some time to find a solution. I'm trying to import this library to my project in Laravel. https://www.adchsm.com/slidebars/help/usage/initializing-slidebars/ I have installed the library with NPM. npm install slidebars --save-dev Then I'm trying to import this library to my app.js file which has the following structure: import jquery from 'jquery'; import popper from "popper.js"; try { window.$ = window.jQuery = jquery; window.Popper = popper.default; require(