bootstrap.js 421 B

12345678910
  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. /\.[jt]sx?$/
  7. ));
  8. // register any custom, 3rd party controllers here
  9. // app.register('some_controller_name', SomeImportedController);