You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
423B

  1. import { startStimulusApp } from '@symfony/stimulus-bridge';
  2. // Registers Stimulus controllers from controllers.json and in the controllers/ directory
  3. export const app = startStimulusApp(require.context(
  4. '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
  5. true,
  6. /\.(j|t)sx?$/
  7. ));
  8. // register any custom, 3rd party controllers here
  9. // app.register('some_controller_name', SomeImportedController);