Skip to content

Commit cf5d474

Browse files
committed
Use the --dev option consistently for Composer and Yarn
1 parent 2cecb41 commit cf5d474

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/var_dumper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installation
1414

1515
.. code-block:: terminal
1616
17-
$ composer require symfony/var-dumper --dev
17+
$ composer require --dev symfony/var-dumper
1818
1919
Alternatively, you can clone the `<https://github.com/symfony/var-dumper>`_ repository.
2020

frontend/encore/postcss.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ First, download ``postcss-loader`` and any plugins you want, like ``autoprefixer
88

99
.. code-block:: terminal
1010
11-
$ yarn add --dev postcss-loader autoprefixer
11+
$ yarn add postcss-loader autoprefixer --dev
1212
1313
Next, create a ``postcss.config.js`` file at the root of your project:
1414

frontend/encore/url-loader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ it's disabled by default. First, add the URL loader to your project:
1010

1111
.. code-block:: terminal
1212
13-
$ yarn add --dev url-loader
13+
$ yarn add url-loader --dev
1414
1515
Then enable it in your ``webpack.config.js``:
1616

0 commit comments

Comments
 (0)