vue-full-calendar is a Vue.js 2.x component designed to integrate the FullCalendar v3.x JavaScript calendar library into Vue applications. Its current latest version is 2.8.1-0. The package appears to be abandoned, with the last code updates occurring in early 2019, indicating no ongoing development, bug fixes, or compatibility updates for newer Vue or FullCalendar versions. It simplifies the setup of FullCalendar by providing a `<full-calendar>` component that accepts event data and various configuration options via props. A key differentiator is its handling of FullCalendar's underlying jQuery dependency, which it manages automatically if jQuery is not globally present. Since version 2.0, users are required to manually import FullCalendar's CSS and any desired locale files into their projects.
npm install vue-full-calendarVerified import paths — ran on the pinned version, not inferred.
Demonstrates global installation of `vue-full-calendar` for Vue 2, including manual CSS import, and basic usage with an array of events and custom calendar configuration.
Add `import 'fullcalendar/dist/fullcalendar.css';` to your main application entry file (e.g., `main.js` or a top-level component's style block).
Ensure all imports for `vue-full-calendar` use `import ... from 'vue-full-calendar'` syntax, not `const ... = require('vue-full-calendar')`.Verify your Vue.js version. For Vue 2.x, use `npm install --save vue-full-calendar`. For Vue 1.x, install `npm install --save vue-full-calendar@0.0.3`. For Vue 3.x, use `@fullcalendar/vue3` directly.
Ensure that if you're using a custom build process or advanced FullCalendar plugins, jQuery is either globally available or correctly handled by FullCalendar's internal loading, as `vue-full-calendar` acts as a wrapper.
If encountering unexpected behavior with FullCalendar features, consider explicitly pinning the `fullcalendar` dependency in your `package.json` to a known working minor version (e.g., `"fullcalendar": "3.4.0"`) to ensure stability.
For new projects or projects requiring ongoing maintenance, consider migrating to the official FullCalendar Vue component (`@fullcalendar/vue` for Vue 2 or `@fullcalendar/vue3` for Vue 3) or other actively maintained alternatives like `vue-cal`.
Ensure all imports for `vue-full-calendar` use `import FullCalendar from 'vue-full-calendar'` for global plugin registration or `import { FullCalendar } from 'vue-full-calendar'` for local component use. Verify your bundler configuration supports ES Modules.Add `import Vue from 'vue';` at the top of your `main.js` file and ensure Vue is correctly exposed in your build setup if not using a global script tag.
Add `import 'fullcalendar/dist/fullcalendar.css';` to your main application entry file (e.g., `main.js`) or within a `<style>` block in your root Vue component.
Ensure the `<full-calendar>` component has a `ref` attribute (e.g., `<full-calendar ref="calendar" />`) and call methods using `this.$refs.calendar.fireMethod('methodName', ...args)` after the component is mounted.For global usage, add `import FullCalendar from 'vue-full-calendar'; Vue.use(FullCalendar);` in your `main.js`. For local component registration, import `import { FullCalendar } from 'vue-full-calendar';` and include it in your component's `components: { FullCalendar }` option.