gentelella
Version:
Gentelella Admin is a free to use Bootstrap admin template
28 lines (20 loc) • 621 B
JavaScript
// Charts Module - Only loaded when needed
// Chart.js v4 - Modern charting library
import { Chart, registerables } from 'chart.js';
Chart.register(...registerables);
window.Chart = Chart;
// Leaflet for maps
import 'leaflet';
import 'leaflet/dist/leaflet.css';
// Skycons for animated weather icons (used in some charts)
import SkyconsFactory from 'skycons';
const Skycons = SkyconsFactory(window);
window.Skycons = Skycons;
// Mini charts now handled by Chart.js instead of jQuery Sparkline
// Morris.js removed - using Chart.js instead
export default {
Chart,
Skycons,
L: window.L,
initialized: true
};