2026-02-23 10:18:34 +00:00
|
|
|
import { Application } from "@hotwired/stimulus";
|
|
|
|
|
|
|
|
|
|
import ToastController from "./controllers/toast";
|
|
|
|
|
import PostlistController from "./controllers/postlist";
|
2026-02-24 11:21:26 +00:00
|
|
|
import PosteditController from "./controllers/postedit";
|
2026-02-25 11:30:28 +00:00
|
|
|
import LogoutController from "./controllers/logout";
|
2026-02-26 11:23:47 +00:00
|
|
|
import FirstRunController from "./controllers/firstrun";
|
2026-03-02 09:48:41 +00:00
|
|
|
import UploadController from "./controllers/upload";
|
2026-02-23 10:18:34 +00:00
|
|
|
|
|
|
|
|
window.Stimulus = Application.start()
|
|
|
|
|
Stimulus.register("toast", ToastController);
|
|
|
|
|
Stimulus.register("postlist", PostlistController);
|
2026-02-24 11:21:26 +00:00
|
|
|
Stimulus.register("postedit", PosteditController);
|
2026-02-25 11:30:28 +00:00
|
|
|
Stimulus.register("logout", LogoutController);
|
2026-03-02 09:48:41 +00:00
|
|
|
Stimulus.register("first-run", FirstRunController);
|
|
|
|
|
Stimulus.register("upload", UploadController);
|