first commit

This commit is contained in:
Lars Behrends
2025-10-17 13:29:28 +02:00
commit 929ee43001
85 changed files with 10361 additions and 0 deletions

20
resources/js/app.js Normal file
View File

@@ -0,0 +1,20 @@
// Import required modules
import Alpine from 'alpinejs';
import axios from 'axios';
// Initialize Alpine.js
window.Alpine = Alpine;
Alpine.start();
// Set up axios defaults
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
axios.defaults.withCredentials = true;
// Global error handler
window.onerror = function(message, source, lineno, colno, error) {
console.error('Global error:', { message, source, lineno, colno, error });
return false;
};
// Export for potential future use
export { Alpine, axios };