File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Pug template engine for Symfony
88
99## Install
1010
11- In the root directory of your Symfony project, open a terminal and enter:
11+ In the root directory of your Symfony project, open a terminal and enter.
1212``` shell
1313composer require pug-php/pug-symfony
1414```
@@ -23,6 +23,14 @@ a manual installation:
2323- [ Symfony 4 manual installation] ( https://github.com/pug-php/pug-symfony/wiki/Symfony-4-manual-installation )
2424- [ Symfony 2 and 3 manual installation] ( https://github.com/pug-php/pug-symfony/wiki/Symfony-2-and-3-manual-installation )
2525
26+ If you installed Symfony in a custom way, you might be warned about
27+ missing "templating.engine.twig" service. We highly recommend you to
28+ install it (` composer require twig/twig ` ) to get Twig functions such
29+ as ` css_url ` , ` form_start ` and so on available from Pug templates.
30+
31+ If you're sure you don't need Twig utils, you can simply remove
32+ "templating.engine.twig" from your "templating" services settings.
33+
2634## Configure
2735
2836You can set pug options by accessing the container (from controller or from the kernel) in Symfony.
You can’t perform that action at this time.
0 commit comments