Closed
Description
Hi
I created a new Symfony project and added Twig. I also added an external Bundle that use the syntax FooBarBundle::template.html.twig
and I got this exception:
Unable to find template "FooBarBundle::template.html.twig" (looked into: /srv/templates, /srv/templates).
To fix this I had to require symfony/templating
and add this config:
framework:
templating:
engines: ['twig']
Maybe we should document this, and improve the DX with a recipe.