Closed getriebesand closed 7 years ago
I'm not sure if the $ definition is enough for fullcalendar to work as it is a jQuery plugin. See this codepen, the console ouput gives the following
Uncaught ReferenceError: jQuery is not defined
What do you have that defines $?
fullcalender imports jquery too. So we don't have to care about that.
But window.jQuery needs to be defined for jQuery to load plugins I think. So even if I am importing jQuery into the component.
import $ from 'jQuery'
We are still going to see
Uncaught ReferenceError: jQuery is not defined
Maybe I'm wrong?
Oh sorry, I see what you mean.
Ok, I'll commit something into a new branch and if you could test with your setup I will merge it in when we are ready.
Thank you. Now it works with my setup.
Perfect, I will merge it in. Thanks for your contribution
Please put
var $ = require('jquery')
in your FullCalendar.vue.
I don't need jquery but have another lib which defines $
And I think if your component depends on jquery, it should require it by it self.