summaryrefslogtreecommitdiff
path: root/app/javascript/controllers/application.js
diff options
context:
space:
mode:
authorDavid Gay <eapoems@riseup.net>2023-10-29 23:19:12 -0400
committerDavid Gay <eapoems@riseup.net>2023-10-29 23:19:12 -0400
commit51d533d19411d07f8e6684468b96ea578ccc2d01 (patch)
treedba80cd8c511959dc2e075595aa5acbcccc6467c /app/javascript/controllers/application.js
parent053f3190dab2e8d92e974bce4c1e390f8b6436b8 (diff)
rails new . --css tailwind -d postgresql -a propshaft --skip-jbuilder
Diffstat (limited to 'app/javascript/controllers/application.js')
-rw-r--r--app/javascript/controllers/application.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/controllers/application.js b/app/javascript/controllers/application.js
new file mode 100644
index 0000000..1213e85
--- /dev/null
+++ b/app/javascript/controllers/application.js
@@ -0,0 +1,9 @@
+import { Application } from "@hotwired/stimulus"
+
+const application = Application.start()
+
+// Configure Stimulus development experience
+application.debug = false
+window.Stimulus = application
+
+export { application }