Sha256: 09c46f8ef1a26139e9ef72c42dbbdb0070dba29eaaa6f9eb220d1bd7296dc32c
Contents?: true
Size: 431 Bytes
Versions: 6
Compression:
Stored size: 431 Bytes
Contents
// Load all the controllers within this directory and all subdirectories. // Controller files must be named *_controller.js. import { Application } from 'stimulus' import { registerControllers } from 'stimulus-vite-helpers' const application = Application.start() const controllers = import.meta.glob('./**/*_controller.js', { eager: true }) registerControllers(application, controllers) window.stimulusApplication = application
Version data entries
6 entries across 6 versions & 1 rubygems