thanks for this.it works i remove this import Alpine from 'alpinejs';
window.Alpine = Alpine;
Alpine.start(); and run npm run build