Sha256: 918ac2aef79a0f6ebda09ddf75b2f16f7e01aaa057d4f619aa8f90d5b7d55aae
Contents?: true
Size: 415 Bytes
Versions: 12
Compression:
Stored size: 415 Bytes
Contents
// Load all the controllers within this directory and all subdirectories. // Controller files must be named *_controller.js or *_controller.ts. import { Application } from "stimulus" import { definitionsFromContext } from "stimulus/webpack-helpers" window.Stimulus = Application.start() const context = require.context("controllers", true, /_controller\.(js|ts)$/) Stimulus.load(definitionsFromContext(context))
Version data entries
12 entries across 12 versions & 1 rubygems