You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this issue. Is your code being run on server side? The code in question should fail safely if window.jQuery is not present. But if window is not present, then there might be an issue.
The code runs in the browser, through webpack. I thought it may be the timing, but even if I build my project, I still get the same error. And actually code doesn't even get to the initiation faze. But fails at the import.
No worries, I've taken out the colcade.js from node_modules, deleted the code in question, and put it in my vendor folder, and now I'm calling it from there, and everything works. So there is a workaround if someone is experiencing the same problem.
Hi,
I keep getting:
When trying to import colcade:
import Colcade from 'colcade'
It seems to me that the check for if jQuery is present is either not working correctly or is called at the wrong time, this part of the code here:
When I delete that whole function everything works as it's supposed to. I'm of course not using jQuery in my project, just to be clear.
Anyway, liking the plugin so far :) .
The text was updated successfully, but these errors were encountered: