12 lines
415 B
JavaScript
Executable File
12 lines
415 B
JavaScript
Executable File
import { startStimulusApp } from '@symfony/stimulus-bridge';
|
|
import {tmp} from "./services/theme_controller";
|
|
|
|
// 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?$/
|
|
));
|
|
new tmp()
|
|
// register any custom, 3rd party controllers here
|