Install and configure stimulus and turbo

This commit is contained in:
rebuilt 2022-02-09 21:54:14 +01:00
parent 412687b9e0
commit 48581b990a
12 changed files with 106 additions and 61 deletions

View file

@ -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 }

View file

@ -0,0 +1,5 @@
// 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";