Sha256: 2fcf892fe4fb1a0dcb91aefad20707ffba4dbf64d188e27d1b2f3675e5614866
Contents?: true
Size: 396 Bytes
Versions: 9
Compression:
Stored size: 396 Bytes
Contents
// Load all the controllers within this directory and all subdirectories. // Controller files must be named *_controller.js. import {Application} from 'stimulus'; import {definitionsFromContext} from 'stimulus/webpack-helpers'; const application = Application.start(); const context = require.context('controllers', true, /-controller\.js$/); application.load(definitionsFromContext(context));
Version data entries
9 entries across 9 versions & 1 rubygems