diff --git a/assets/bootstrap.js b/assets/bootstrap.js index 5c41e5e..c8354e5 100644 --- a/assets/bootstrap.js +++ b/assets/bootstrap.js @@ -1,6 +1,12 @@ import { startStimulusApp } from 'vite-plugin-symfony/stimulus/helpers'; +import DropdownController from './controllers/dropdown_controller.js'; +import NotificationsController from './controllers/notifications_controller.js'; +import ImportModalController from './controllers/import_modal_controller.js'; const app = startStimulusApp(); +app.register('dropdown', DropdownController); +app.register('notifications', NotificationsController); +app.register('import-modal', ImportModalController); // Register React components for {{ react_component() }} Twig function. // We register them manually because @symfony/ux-react's registerReactControllerComponents