Reputation: 903
I used shopify slate as a base theme to create my store. I have used slick.js on other shopify stores and never had a problem. For some reason I am getting this error on the console.
jQuery.Deferred exception: $(...).slick is not a function TypeError: $(...).slick is not a function
I first load jQuery, then slick-theme.scss, then slick.min.js and finally I add the slick script on the page I plan to use it.
Thanks
Upvotes: 1
Views: 1441
Reputation: 903
Found the answer by my own. I was calling jQuery 2 times. One on the theme.liquid and another one on vendor.js.
Upvotes: 1