Spookie/assets/bootstrap.js
2022-11-05 17:18:04 +01:00

12 lines
411 B
JavaScript

import { startStimulusApp } from '@symfony/stimulus-bridge'
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
export const app = startStimulusApp(require.context(
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
true,
/\.[jt]sx?$/
))
// register any custom, 3rd party controllers here
// app.register('some_controller_name', SomeImportedController);