arshaw b0c1d6c612 RELEASING: Releasing 33 package(s) hai 1 mes
..
src 229b88d3e0 move globalLocales and globalPlugins to public (not internal). fixes #7057 %!s(int64=3) %!d(string=hai) anos
.eslintrc.cjs 613ab5765f Adjust pkg names to @fullcalenadar-tests/*, @fullcalenadar-scripts/*, and @fullcalenadar-monorepos/* hai 1 ano
README.md 4cf4f54d3f fixup more readmes %!s(int64=3) %!d(string=hai) anos
package.json b0c1d6c612 RELEASING: Releasing 33 package(s) hai 1 mes

README.md

FullCalendar iCalendar Plugin

Display events from a public iCalendar feed

Installation

First, ensure ical.js is installed:

npm install ical.js

Then, install the FullCalendar core package, the iCalendar plugin, and any other plugins (like daygrid):

npm install @fullcalendar/core @fullcalendar/icalendar @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugins and options:

import { Calendar } from '@fullcalendar/core'
import iCalendarPlugin from '@fullcalendar/icalendar'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    iCalendarPlugin,
    dayGridPlugin
  ],
  initialView: 'dayGridMonth',
  events: {
    url: 'https://mywebsite.com/icalendar-feed.ics',
    format: 'ics' // important!
  }
})

calendar.render()