Website/app/frontend/packages/stimulus.ts
Snoweuph 37a63c29cc
Some checks failed
Quality Check / Check (push) Failing after 3s
#1: Restructure
2024-07-13 12:30:13 +02:00

8 lines
415 B
TypeScript

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);