feat: add resources and view components
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import "./bootstrap";
|
||||
import Alpine from "alpinejs";
|
||||
|
||||
// Prevent double initialization if Alpine is already provided by legacy bundles
|
||||
if (!window.Alpine) {
|
||||
window.Alpine = Alpine;
|
||||
Alpine.start();
|
||||
} else {
|
||||
console.warn("Alpine.js already initialized by another script. Skipping Vite initialization to avoid conflicts.");
|
||||
}
|
||||
Reference in New Issue
Block a user