chore: Counter now embedded with Stimulus

Before this commit, Counter js was autonomous. Now it's registered
like a controller in Stimulus.
This commit is contained in:
kbe
2025-08-17 23:47:07 +02:00
parent ba3f36a5e8
commit 07a6694883
6 changed files with 68 additions and 90 deletions

View File

@@ -4,8 +4,8 @@
import { application } from "./application"
import HelloController from "./hello_controller"
import ShadcnTestController from "./shadcn_test_controller"
import CounterController from "./counter_controller"
application.register("hello", HelloController)
application.register("shadcn-test", ShadcnTestController)
application.register("counter", CounterController)