Skip to content

Commit 7eff479

Browse files
authored
remove installation repetition in weblink
1 parent a17b5c9 commit 7eff479

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

web_link.rst

+1-7
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,7 @@ make one request for the HTML page and another request for the linked CSS file.
5555
However, thanks to HTTP/2 your application can start sending the CSS file
5656
contents even before browsers request them.
5757

58-
To do that, first install the WebLink component:
59-
60-
.. code-block:: terminal
61-
62-
$ composer require symfony/web-link
63-
64-
Now, update the template to use the ``preload()`` Twig function provided by
58+
You can update the template to use the ``preload()`` Twig function provided by
6559
WebLink. The `"as" attribute`_ is mandatory because browsers need it to apply
6660
correct prioritization and the content security policy:
6761

0 commit comments

Comments
 (0)