CroudTech / vue-fullcalendar

FullCalendar Wrapper for vue
MIT License
483 stars 100 forks source link

fullCalendar is not working #214

Open SevymolSebastian opened 4 years ago

SevymolSebastian commented 4 years ago

[Vue warn]: Error in mounted hook: "TypeError: cal.fullCalendar is not a function"

found in

---> at node_modules/vue-full-calendar/components/FullCalendar.vue

TypeError: cal.fullCalendar is not a function

version: 2.7.0

BrockReece commented 4 years ago

Hmm, I'll look into it.

BielHaard commented 4 years ago

Having the same problem here. Just installed the plugin following the doc but i got this error

BrockReece commented 4 years ago

@SevymolSebastian Has it ever worked for you?

BrockReece commented 4 years ago

I have just tested with my demo repo and it appears to be working for me, can you confirm which version of fullcalendar you are using?

https://github.com/BrockReece/vue-fullcalendar-example

Sandalf commented 4 years ago

I also had this error, I think version 3.10.2 of fullcalendar, which was released a few days ago, may have introduced some breaking changes.

I fixed it by explicitly setting fullcalendar to version 3.10.1 in my package.json.

BrockReece commented 4 years ago

@Sandalf thanks for this, I could update the dependencies to reflect this?

BrockReece commented 4 years ago

I have released vue-full-calendar@2.8.0 which explicitly sets fullcalendar v3.10.1 as the dependency.