From ffdcb8bafff25fdbed2681ac7d2fd748bd4e6f75 Mon Sep 17 00:00:00 2001 From: Ovidiu U Date: Mon, 6 Apr 2026 09:44:30 +0100 Subject: [PATCH] feat: register stationMap Alpine component --- resources/js/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/js/app.js b/resources/js/app.js index e69de29..9a1f7c3 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -0,0 +1,5 @@ +import { stationMap } from './maps/station-map.js'; + +document.addEventListener('alpine:init', () => { + Alpine.data('stationMap', stationMap); +});