I cannot get the jQuery user interface needed when using Laravel Elixir with Webpack.
Here is my gulpfile.js, nothing unusual:
const elixir = require('laravel-elixir'); elixir.config.sourcemaps = false; elixir(mix => { mix.sass('app.scss') .webpack('app.js'); });
My app.js file is where I try to use both jQuery and jQuery. I tried a few things, but this is where I am:
window.$ = window.jQuery = require('jquery'); window.$ = $.extend(require('jquery-ui'));
No matter what I do, I cannot get the jQuery UI to work and work.
source share