CroudTech / vue-fullcalendar

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

Jquery dependency was not found #186

Open AlejandraAAO opened 5 years ago

AlejandraAAO commented 5 years ago

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

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

BrockReece commented 5 years ago

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.

DiegoAyalaE commented 5 years ago

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.

BrockReece commented 5 years ago

@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.

DarranFan commented 5 years ago

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?

DiegoAyalaE commented 5 years ago

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