We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d25dbb commit 6844538Copy full SHA for 6844538
frontend/encore/installation.rst
@@ -14,6 +14,14 @@ Then, install Encore into your project with Yarn:
14
If you want to use `npm`_ instead of `yarn`_, replace ``yarn add xxx --dev`` by
15
``npm install xxx --save-dev``.
16
17
+.. tip::
18
+
19
+ If you are using Flex for your project, you can install Encore via:
20
21
+ .. code-block:: terminal
22
23
+ $ composer require encore
24
25
This command creates (or modifies) a ``package.json`` file and downloads dependencies
26
into a ``node_modules/`` directory. When using Yarn, a file called ``yarn.lock``
27
is also created/updated. When using npm 5, a ``package-lock.json`` file is created/updated.
0 commit comments