feat: amélioration de la gestion du menu hamburger (clic hors menu, onglets, boutons) et simplification du bootstrap Stimulus

This commit is contained in:
2026-04-11 10:30:04 +02:00
parent ff82fa9b56
commit 08e3815a88
2 changed files with 26 additions and 35 deletions

View File

@@ -1,13 +1,6 @@
import { startStimulusApp } from '@symfony/stimulus-bundle';
import {startStimulusApp} from '@symfony/stimulus-bundle';
const app = startStimulusApp();
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);