You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
347 B

12 months ago
6 months ago
6 months ago
12 months ago
  1. import { Application } from "@hotwired/stimulus"
  2. const application = Application.start()
  3. // Configure Stimulus development experience
  4. const stimulusDebug = document.head.querySelector("meta[name=stimulus-debug]")
  5. application.debug = stimulusDebug ? stimulusDebug.content === 'true' : false
  6. window.Stimulus = application
  7. export { application }