Website/app/frontend/packages/stimulus.ts
Snoweuph e776683a18
All checks were successful
Quality Check / QS Backend (push) Successful in 20s
Quality Check / QS Mixed (push) Successful in 35s
Quality Check / QS Frontend (push) Successful in 41s
#3: Setup Tailwind and Flowbite
2024-07-14 16:26:52 +02:00

8 lines
413 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);