3 changed files with 23 additions and 21 deletions
@ -1,8 +0,0 @@ |
|||
import { Application } from "@hotwired/stimulus" |
|||
import { definitionsFromContext } from "@hotwired/stimulus-loading" |
|||
|
|||
const application = Application.start() |
|||
const context = require.context("./", true, /\.js$/) |
|||
application.load(definitionsFromContext(context)) |
|||
|
|||
export { application } |
|||
Loading…
Reference in new issue