forked from hotwired/stimulus
/
index.js
25 lines (17 loc) · 968 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Application } from "@hotwired/stimulus"
import "@hotwired/turbo"
const application = Application.start()
import DisclosureController from "./controllers/disclosure_controller"
application.register("disclosure", DisclosureController)
import ElementController from "./controllers/element_controller"
application.register("element", ElementController)
import ClipboardController from "./controllers/clipboard_controller"
application.register("clipboard", ClipboardController)
import ContentLoaderController from "./controllers/content_loader_controller"
application.register("content-loader", ContentLoaderController)
import HelloController from "./controllers/hello_controller"
application.register("hello", HelloController)
import SlideshowController from "./controllers/slideshow_controller"
application.register("slideshow", SlideshowController)
import TabsController from "./controllers/tabs_controller"
application.register("tabs", TabsController)