2025-01-02 14:45:44 +08:00
|
|
|
// Import and register all your controllers from the importmap via controllers/**/*_controller
|
|
|
|
// import { application } from "controllers/application"
|
|
|
|
// import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
|
|
|
|
// eagerLoadControllersFrom("controllers", application)
|
|
|
|
|
2025-01-17 15:02:25 +08:00
|
|
|
import { application } from "./application"
|
|
|
|
import ThemeController from "./theme_controller"
|
|
|
|
import ToastController from "./toast_controller"
|
|
|
|
|
|
|
|
import HelloController from "./hello_controller"
|
|
|
|
application.register("hello", HelloController)
|
|
|
|
application.register("theme", ThemeController)
|
|
|
|
application.register("toast", ToastController)
|