24 lines
1014 B
JavaScript
Executable File
24 lines
1014 B
JavaScript
Executable File
// This file is auto-generated by ./bin/rails stimulus:manifest:update
|
|
// Run that command whenever you add a new controller or create them with
|
|
// ./bin/rails generate stimulus controllerName
|
|
|
|
import { application } from "./application"
|
|
|
|
import LogoutController from "./logout_controller"
|
|
import FlashMessageController from "./flash_message_controller"
|
|
import CounterController from "./counter_controller"
|
|
// import FeaturedEventController from "./featured_event_controller"
|
|
|
|
|
|
// application.register("logout", LogoutController) // Allow logout using js
|
|
// application.register("flash-message", FlashMessageController) // Dismiss notification after 5 secondes
|
|
// application.register("counter", CounterController) // Simple counter for homepage
|
|
// application.register("featured-event", FeaturedEventController) // Featured event controller for homepage
|
|
|
|
|
|
|
|
// import ShadcnTestController from "./shadcn_test_controller"
|
|
// application.register("shadcn-test", ShadcnTestController) // Test controller for Shadcn
|
|
|
|
|