How do I implement jQuery UI into Sage9?
I tried to download jQuery-ui with the components I need and enqueue the scripts, project wouldn’t build.
I tried to install it through Yarn and imported the scripts in main.js and
I tried to enqueue the scripts from a CDN, multiple different ways, neither worked.
Error: “jQuery(…).draggable is not a function”.
It works fine if I put the jQuery cdn script tag in the head, which I don’t believe is best practice.
What is the best way to implement this? webpack, enqueue, cdn?
Thanks in advanced.