Skip to content

Commit cea03cf

Browse files
committed
added a note about using Composer to install Encore
1 parent 6d25dbb commit cea03cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/encore/installation.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ is also created/updated. When using npm 5, a ``package-lock.json`` file is creat
2525

2626
Next, create your ``webpack.config.js`` in :doc:`/frontend/encore/simple-example`!
2727

28+
.. tip::
29+
30+
If you are using Flex for your project, you can install Encore via:
31+
32+
.. code-block:: terminal
33+
34+
$ composer require encore
35+
2836
.. _`install Node.js`: https://nodejs.org/en/download/
2937
.. _`Yarn package manager`: https://yarnpkg.com/lang/en/docs/install/
3038
.. _`npm`: https://www.npmjs.com/

0 commit comments

Comments
 (0)