Installed webpack encore and configured js and css to use it.

This commit is contained in:
krzysiej
2022-05-24 14:32:19 +02:00
parent 1f852ac031
commit b1ccfe65c7
22 changed files with 7881 additions and 13385 deletions

11
assets/bootstrap.js vendored Normal file
View File

@@ -0,0 +1,11 @@
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);