CroudTech/vue-fullcalendar

Jquery dependency was not found

AlejandraAAO opened this issue · 5 comments

I'm using quasar framework with vuejs, and it asks me to install jquery.
I get:
This dependency was not found:

  • jquery in ./node_modules/fullcalendar/dist/fullcalendar.js, ./node_modules/babel-loader/lib?
    ? ref - 1-0! ./ node_modules / vue-loader / lib? vue-loader-options! ./ node_modules / vue-full-calendar / c
    omponents / FullCalendar.vue? vue & type = script & lang = js &

what should I do?
I thought it was not necessary to install jquery to render the calendar

I haven't tried using this component with Quasar. But fullcalendar's usual behaviour is to import jquery if it is not already imported, however if it isn't doing this for Quasar, you may need to import it manually.

Seems like fullcalendar moved jQuery as a devDependency, I just tried installing vue-fullcalendar with Vue and Vuetify and faced the same issue. Checking a project I created a couple of months ago, it does have jQuery as a dependency.

As a workaround you can try installing moment and jquery in case you don't have them installed.

@DiegoAyalaE yeah, installing manually should work.

I think fullcalendar's long term plan is to move away from jQuery all together. Maybe this is the start of that.

I'm using quasar framework with vuejs, and it asks me to install jquery.
I get:
This dependency was not found:

  • jquery in ./node_modules/fullcalendar/dist/fullcalendar.js, ./node_modules/babel-loader/lib?
    ? ref - 1-0! ./ node_modules / vue-loader / lib? vue-loader-options! ./ node_modules / vue-full-calendar / c
    omponents / FullCalendar.vue? vue & type = script & lang = js &

what should I do?
I thought it was not necessary to install jquery to render the calendar

I also met the same problem. Could you tell me if you solved it?

I'm using quasar framework with vuejs, and it asks me to install jquery.
I get:
This dependency was not found:

  • jquery in ./node_modules/fullcalendar/dist/fullcalendar.js, ./node_modules/babel-loader/lib?
    ? ref - 1-0! ./ node_modules / vue-loader / lib? vue-loader-options! ./ node_modules / vue-full-calendar / c
    omponents / FullCalendar.vue? vue & type = script & lang = js &

what should I do?
I thought it was not necessary to install jquery to render the calendar

I also met the same problem. Could you tell me if you solved it?

You can just run npm install jquery