Join GitHub today
'Uncaught ReferenceError: jQuery is not defined' when using webpack #322
I am writing an app using Angular 2, webpack and I am using the icheck front-end library.
I am requiring them in my component thusly:
I have also tried like this:
This builds successfully using the webpack server and npm, but I get an error in the browser:
I have used this plugin before in an Angular 2 component but I never had any problems like this. I have compared the current app with the working app and I can't see any differences; it should work!
I am really up against it now and have to get this prepared for Monday. Anyone have any problems like this?
I had the same problem with bootstrap-switch
and it now works without workarounds