arshaw 70fa10a67c RELEASING: Releasing 33 package(s) 1 tahun lalu
..
src 7c5e3b079d fix broken styling in vite 2 tahun lalu
.eslintrc.cjs 613ab5765f Adjust pkg names to @fullcalenadar-tests/*, @fullcalenadar-scripts/*, and @fullcalenadar-monorepos/* 1 tahun lalu
README.md 4cf4f54d3f fixup more readmes 3 tahun lalu
package.json 70fa10a67c RELEASING: Releasing 33 package(s) 1 tahun lalu

README.md

FullCalendar Bootstrap 5 Plugin

Bootstrap 5 theme for FullCalendar

Installation

First, ensure the necessary Bootstrap packages are installed:

npm install bootstrap@5 bootstrap-icons

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

npm install @fullcalendar/core @fullcalendar/bootstrap5 @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugins and options:

import { Calendar } from '@fullcalendar/core'
import bootstrap5Plugin from '@fullcalendar/bootstrap5'
import dayGridPlugin from '@fullcalendar/daygrid'

// import bootstrap stylesheets directly from your JS
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-icons/font/bootstrap-icons.css' // needs additional webpack config!

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    bootstrap5Plugin,
    dayGridPlugin
  ],
  themeSystem: 'bootstrap5', // important!
  initialView: 'dayGridMonth'
})

calendar.render()