WIP: Implement frontend

This commit is contained in:
Björn Fromme
2023-09-18 13:10:20 +02:00
parent bfc5e5e242
commit ce97017ac4
70 changed files with 8751 additions and 337 deletions
+7
View File
@@ -25,6 +25,9 @@ Encore
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
.splitEntryChunks()
// enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)
.enableStimulusBridge('./assets/controllers.json')
// will require an extra script tag for runtime.js
// but, you probably want this, unless you're building a single-page app
.enableSingleRuntimeChunk()
@@ -70,6 +73,10 @@ Encore
// uncomment if you're having problems with a jQuery plugin
//.autoProvidejQuery()
.copyFiles([
{from: './assets/images', to: 'images/[path][name].[hash:8].[ext]'},
])
;
module.exports = Encore.getWebpackConfig();