Vue FullCalendar Wrapper

2.8.1-0 · abandoned · verified Tue Apr 21

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.

Common errors

Warnings

Install

Imports

Quickstart

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.

import Vue from 'vue';
import FullCalendar from 'vue-full-calendar';
import 'fullcalendar/dist/fullcalendar.css';

Vue.use(FullCalendar);

new Vue({
  el: '#app',
  data() {
    return {
      events: [
        {
          title: 'All-Day Event',
          start: '2023-01-01'
        },
        {
          title: 'Long Event',
          start: '2023-01-07',
          end: '2023-01-10'
        },
        {
          groupId: 999,
          title: 'Repeating Event',
          start: '2023-01-09T16:00:00'
        },
        {
          title: 'Conference',
          start: '2023-01-11',
          end: '2023-01-13'
        }
      ],
      config: {
        header: {
          left: 'prev,next today',
          center: 'title',
          right: 'month,agendaWeek,agendaDay'
        },
        editable: true,
        droppable: true
      }
    };
  },
  template: `
    <div id="app">
      <full-calendar :events="events" :config="config"></full-calendar>
    </div>
  `,
});

view raw JSON →