2025-01-22 10:29:50 +00:00
|
|
|
import { Application, Controller } from "https://unpkg.com/@hotwired/stimulus@v3.2.2/dist/stimulus.js"
|
|
|
|
|
|
|
|
import PlayfieldController from "./controllers/playfield.js";
|
|
|
|
import KeyboardController from "./controllers/keyboard.js";
|
2025-01-25 00:30:04 +00:00
|
|
|
import OverlayController from "./controllers/overlay.js";
|
2025-01-22 10:29:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
window.Stimulus = Application.start();
|
|
|
|
|
|
|
|
Stimulus.register("playfield", PlayfieldController);
|
2025-01-25 00:30:04 +00:00
|
|
|
Stimulus.register("keyboard", KeyboardController);
|
|
|
|
Stimulus.register("overlay", OverlayController);
|