Somewhat new to npm here..
I'd like to use jQuery-ui in my project. I'm used to importing both jQuery and jQuery-ui with a script tag in my HTML, but I would like to import both using npm install.
I got jQuery working with.
import $ from 'jquery'
But whenever I try to import jquery-ui
I get this error:
Uncaught ReferenceError: jQuery is not defined
There's a lot of posts about this error. But all of them seem to be centered around people just putting their script tags for jQuery and jQuery-ui in the wrong order.
I can't find anything on how to install both jQuery and jQuery-ui with npm install?
Any ideas?