FullCalendar TypeError: $(…).fullCalendar is not a function

前端 未结 6 1341
悲哀的现实
悲哀的现实 2020-12-06 04:48

I was trying to put FullCalendar 2.1.1 but it is not working:



        
6条回答
  •  时光说笑
    2020-12-06 05:18

    For anyone coming across this, there was only one solution working for me. I'm using webpack to compile my scripts and nothing was working for me, no matter what order I had require('fullcalendar') placed in my main.js file.

    I had to downgrade to version 3.4.0. It instantly solved the problem.

    npm install --save fullcalendar@3.4.0
    

提交回复
热议问题