Easily render a full-sized drag & drop calendar with a combination of standard & premium plugins
This fullcalendar-scheduler
package bundles these plugins:
- @fullcalendar/core
- @fullcalendar/interaction
- @fullcalendar/daygrid
- @fullcalendar/timegrid
- @fullcalendar/list
- @fullcalendar/multimonth
- @fullcalendar/adaptive
- @fullcalendar/timeline
- @fullcalendar/resource
- @fullcalendar/resource-daygrid
- @fullcalendar/resource-timegrid
- @fullcalendar/resource-timeline
Load the index.global.min.js
file and use the FullCalendar
global namespace:
<!DOCTYPE html>
<html>
<head>
<script src='https://cdn.jsdelivr.net/npm/fullcalendar-scheduler/index.global.min.js'></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const calendarEl = document.getElementById('calendar')
const calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'resourceTimelineMonth'
})
calendar.render()
})
</script>
</head>
<body>
<div id='calendar'></div>
</body>
</html>
npm install fullcalendar-scheduler
import { Calendar } from 'fullcalendar-scheduler'
document.addEventListener('DOMContentLoaded', function() {
const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
initialView: 'resourceTimelineMonth'
})
calendar.render()
})