New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't use iziModal with webpack #145
Comments
you have to force iziModal to use ur jquery version by : |
Thanks for your response. I already fixed my issue loading iziModal from bower instead npm |
I am experiencing the same issues as I had to change the way jQuery was being loaded.
I've tried require('izimodal'), also storing the require to a variable. Anyone else have this issue? |
Ok, none of this worked for me, but what eventually did was:
|
@Designer023 this half helped. The error went from iziModal not being a function, to iziModal not being defined. But everything works if I just use a CDN, so I know my js works. What am I doing wrong? This is my js
Where am I supposed to put Any help would be greatly appreciated thanks! |
I hade also trouble geting iziModal work with webpack. Problem was, that iziModal was allways including it's own node_modules/jquery into the pack and then 2 Jqueries were included in output files: I solved it with an ugly workaround and told webpack to always use iziModal's jquery:
I suppose it's a problem in iziModal sources because other jQuery plugins works as expected without including it's own jquery |
+1 (double jquery is my bundle) |
When I try to load iziModal like a module with
require('izimodal')
I got an error:$(...).iziModal is not a function
I'm using
izimodal 1.5.1
andjquery 3
. Also I'm loading jquery with webpack ProvidePluginAny help? Cheers
The text was updated successfully, but these errors were encountered: