Skip to content

Commit fa74f26

Browse files
authored
Add composer require symfony/webpack-encore-pack
If not using flex
1 parent 72667d8 commit fa74f26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/encore/installation.rst

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ Then, install Encore into your project with Yarn:
2525
2626
$ composer require encore
2727
$ yarn install
28+
29+
Else, if you are not using flex
30+
31+
.. code-block:: terminal
32+
33+
$ composer require symfony/webpack-encore-pack
34+
$ yarn install
2835
2936
This will create a ``webpack.config.js`` file, add the ``assets/`` directory, and add ``node_modules/`` to
3037
``.gitignore``.

0 commit comments

Comments
 (0)