Réponse
composer require symfony/webpack-encore-bundle
yarn install
Colonne
Explication
If you are using Symfony Flex, this will install and enable the WebpackEncoreBundle, create the assets/ directory, add a webpack.config.js file, and add node_modules/ to .gitignore. You can skip the rest of this article and go write your first JavaScript and CSS by reading Encore: Setting up your Project!
Question
Installer Encore dans Symfony Applications
Thématique