Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

GlobalVue.use issue with fullcalendar

Hello,

I have a Laravel v8 app with VueJS v2.

I have added fullcalendar for VueJS 2.

When I add this to my component.

import { FullCalendar } from '@fullcalendar/vue'

It generates this error in the console.

Uncaught TypeError: GlobalVue.use is not a function
    at ./node_modules/@fullcalendar/vue/dist/main.js (app.js:10874:15)
    at __webpack_require__ (app.js:109799:42)
    at ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/schedule/ScheduleComponent.vue?vue&type=script&lang=js& (app.js:15319:75)
    at __webpack_require__ (app.js:109799:42)
    at ./resources/js/components/schedule/ScheduleComponent.vue?vue&type=script&lang=js& (app.js:80119:232)
    at __webpack_require__ (app.js:109799:42)
    at ./resources/js/components/schedule/ScheduleComponent.vue (app.js:78626:105)
    at __webpack_require__ (app.js:109799:42)
    at ./resources/js/app.js (app.js:18714:74)
    at __webpack_require__ (app.js:109799:42)

I have searched on the web, this error about GlobalVue.use is already mentioned, but I haven't found any solution.

Do you have already encountered this issue ? Do you have solved it ? How ?

Thanks for your help ;).

Vincent

0 likes
2 replies
vincent15000's avatar

@jlrdw You tell me about mix ... I don't added anything about fullcalendar in my webpack configuration file. Is it necessary ?

Please or to participate in this conversation.