I embedded fullcalendar.min.js
to my project, but I get this error:
error log show "Cannot read property 'fn' of undefined"
See picture below.
I checked this issue, it's suggested to use jQuery 2.0.0+
, and for sure I use jQuery v3.3.1
, but it does not help to solve problem.
That's because you have to load moment.js before fullcalendar.js!
The documentation should include a reference to moment.js
https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js
then the fullcalendar.js references:
https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.js
https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.css
https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.print.css
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With