mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-11-06 12:07:26 +01:00
Merge branch 'transfer-calendar' into development
This commit is contained in:
commit
98e20ea843
22 files changed
+1258
-95
No files matched your search
@@ -9,6 +9,32 @@ window.Alpine = Alpine;
|
||||
import 'flowbite';
|
||||
import 'flowbite/dist/flowbite.css';
|
||||
|
||||
// Import FullCalendar
|
||||
import { Calendar } from '@fullcalendar/core';
|
||||
import dayGridPlugin from '@fullcalendar/daygrid';
|
||||
import timeGridPlugin from '@fullcalendar/timegrid';
|
||||
import listPlugin from '@fullcalendar/list';
|
||||
import interactionPlugin from '@fullcalendar/interaction';
|
||||
|
||||
// Make FullCalendar available globally in the format expected by the calendar template
|
||||
window.FullCalendar = {
|
||||
Calendar: Calendar, // This makes FullCalendar.Calendar a constructor
|
||||
dayGridPlugin: dayGridPlugin,
|
||||
timeGridPlugin: timeGridPlugin,
|
||||
listPlugin: listPlugin,
|
||||
interactionPlugin: interactionPlugin
|
||||
};
|
||||
|
||||
// Import Popper.js
|
||||
import * as Popper from '@popperjs/core';
|
||||
window.Popper = Popper;
|
||||
|
||||
// Import Tippy.js
|
||||
import tippy from 'tippy.js';
|
||||
import 'tippy.js/dist/tippy.css';
|
||||
import 'tippy.js/themes/light.css';
|
||||
window.tippy = tippy;
|
||||
|
||||
// Initialize Flowbite components
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// Initialize Alpine.js
|
||||
|
||||
Reference in new issue
Block a user