You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
unknown fe79185e87 ali aslani 1 year ago
..
LICENSE.md ali aslani 1 year ago
README.md ali aslani 1 year ago
index.cjs ali aslani 1 year ago
index.d.ts ali aslani 1 year ago
index.global.js ali aslani 1 year ago
index.global.min.js ali aslani 1 year ago
index.js ali aslani 1 year ago
internal.cjs ali aslani 1 year ago
internal.d.ts ali aslani 1 year ago
internal.js ali aslani 1 year ago
package.json ali aslani 1 year ago

README.md

FullCalendar Bootstrap 4 Plugin

Bootstrap 4 theme for FullCalendar

For Bootstrap 5, use the @fullcalendar/bootstrap5 package

Installation

First, ensure the necessary Bootstrap packages are installed:

npm install bootstrap@4 @fortawesome/fontawesome-free

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

npm install @fullcalendar/core @fullcalendar/bootstrap @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugins and options:

import { Calendar } from '@fullcalendar/core'
import bootstrapPlugin from '@fullcalendar/bootstrap'
import dayGridPlugin from '@fullcalendar/daygrid'

// import third-party stylesheets directly from your JS
import 'bootstrap/dist/css/bootstrap.css'
import '@fortawesome/fontawesome-free/css/all.css' // needs additional webpack config!

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

calendar.render()