Commit 271f628c authored by Fabien Potencier's avatar Fabien Potencier

minor #1428 Add Symfony Twig Brigde installation in asset doc (benjaminjonard)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Add Symfony Twig Brigde installation in asset doc

Add Symfony Twig Brigde installation in asset doc, I have the following error otherwise : `Unknown "asset" function`
Made it clearer that twig-bridge is required.

Commits
-------

76bfd014 Add Symfony Twig Brigde installation in asset doc
parents 1316aaf0 76bfd014
...@@ -43,6 +43,13 @@ Registering ...@@ -43,6 +43,13 @@ Registering
composer require symfony/asset composer require symfony/asset
If you want to use assets in your Twig templates, you must also install the
Symfony Twig Bridge:
.. code-block:: bash
composer require symfony/twig-bridge
Usage Usage
----- -----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment