import './bootstrap'; // Or any other bootstrap/setup files you might have

// It's common for bootstrap.js (imported above) or Jetstream's default setup
// to initialize Alpine. If you're getting "multiple instances of Alpine" warnings,
// try commenting out the explicit import and start below.
// import Alpine from 'alpinejs';
import Swiper from 'swiper';
import { Navigation, Pagination, Autoplay, EffectFade } from 'swiper/modules';

// window.Alpine = Alpine; // If bootstrap.js handles Alpine, it will likely set window.Alpine

// Configure Swiper to use the imported modules
Swiper.use([Navigation, Pagination, Autoplay, EffectFade]);

// Make the configured Swiper instance globally available
window.Swiper = Swiper;
// Alpine.start(); // If bootstrap.js handles Alpine, this line is redundant.