From d877d8aeeb857ac673f202910bae3bd984c0ad6d Mon Sep 17 00:00:00 2001 From: Eelco Kruders Date: Thu, 8 Feb 2024 21:04:36 +0100 Subject: [PATCH] Update webpack-encore.rst Added the missing step to install StimulusBundle. Onwards it talks about e.g. assets/bootstrap.js assets/controllers.json assets/controllers/hello_controller.js Which is from the StimulusBundle :) --- cookbook/webpack-encore.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbook/webpack-encore.rst b/cookbook/webpack-encore.rst index b14b1ea0..d033e133 100644 --- a/cookbook/webpack-encore.rst +++ b/cookbook/webpack-encore.rst @@ -24,6 +24,12 @@ if that has not been done already for you by Symfony Flex: Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], ]; +Then add the StimulusBundle as a dependency to your composer.json file. + +.. code:: bash + + composer require symfony/stimulus-bundle + Configuration -------------