Skip to content

Commit 516f5da

Browse files
committed
minor #2263 Remove yarn commands in documentations (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- Remove yarn commands in documentations | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Alternative to #1200, for the same reasons explained in symfony/symfony-docs#19348, we don't want to keep `yarn` commands. Commits ------- 88a3c73 Remove yarn commands in documentations
2 parents 376d304 + 88a3c73 commit 516f5da

File tree

17 files changed

+0
-70
lines changed

17 files changed

+0
-70
lines changed

src/Autocomplete/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage in a Form (without Ajax)
3834
------------------------------
3935

src/Chartjs/doc/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ needed if you're using AssetMapper):
2626
$ npm install --force
2727
$ npm run watch
2828
29-
# or use yarn
30-
$ yarn install --force
31-
$ yarn watch
32-
3329
Usage
3430
-----
3531

@@ -99,9 +95,6 @@ First, install the plugin:
9995
10096
$ npm install chartjs-plugin-zoom -D
10197
102-
# or use yarn
103-
$ yarn add chartjs-plugin-zoom --dev
104-
10598
Then register the plugin globally. This can be done in your ``app.js`` file:
10699

107100
.. code-block:: javascript

src/Cropperjs/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ needed if you're using AssetMapper):
2626
$ npm install --force
2727
$ npm run watch
2828
29-
# or use yarn
30-
$ yarn install --force
31-
$ yarn watch
32-
3329
Usage
3430
-----
3531

src/Dropzone/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ needed if you're using AssetMapper):
2828
$ npm install --force
2929
$ npm run watch
3030
31-
# or use yarn
32-
$ yarn install --force
33-
$ yarn watch
34-
3531
Usage
3632
-----
3733

src/LazyImage/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage
3834
-----
3935

src/LiveComponent/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ needed if you're using AssetMapper):
8787
$ npm install --force
8888
$ npm run watch
8989
90-
# or use yarn
91-
$ yarn install --force
92-
$ yarn watch
93-
9490
If your project is localized in different languages (either via the `locale route parameter`_
9591
or by `setting the locale in the request`_) add the ``{_locale}`` attribute to
9692
the UX Live Components route definition to keep the locale between re-renders:

src/Notify/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ needed if you're using AssetMapper):
2525
$ npm install --force
2626
$ npm run watch
2727
28-
# or use yarn
29-
$ yarn install --force
30-
$ yarn watch
31-
3228
Usage
3329
-----
3430

src/React/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ Next, install a package to help React:
3939
$ npm install -D @babel/preset-react --force
4040
$ npm run watch
4141
42-
# or use yarn
43-
$ yarn add @babel/preset-react --dev --force
44-
$ yarn watch
45-
4642
That's it! Any files inside ``assets/react/controllers/`` can now be rendered as
4743
React components.
4844

src/Svelte/doc/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ Install the bundle using Composer and Symfony Flex:
3131
$ npm install --force
3232
$ npm run watch
3333
34-
# or use yarn
35-
$ yarn install --force
36-
$ yarn watch
37-
3834
The Flex recipe will automatically set things up for you, like adding
3935
``.enableSvelte()`` to your ``webpack.config.js`` file and adding code
4036
to load your Svelte components inside ``assets/app.js``.
@@ -45,9 +41,6 @@ Next, install a package to help Svelte:
4541
4642
$ npm install svelte-loader --save-dev
4743
48-
# or use yarn
49-
$ yarn add svelte-loader --dev
50-
5144
That's it! Any files inside ``assets/svelte/controllers/`` can now be rendered as
5245
Svelte components.
5346

src/Swup/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage
3834
-----
3935

0 commit comments

Comments
 (0)