I use symfony multi app directory structure by this manual – https://symfony.com/doc/current/configuration/multiple_kernels.html
I want to use Twig component for each app, but i can’t rewrite component path to component template directory (anonymous_template_directory).
Whatever I do, my new path just added to base path.
base path (in twig_component.yaml) – anonymous_template_directory: ‘components/’
i try to set anonymous_template_directory:’kernel.project_dir%/website/templates/components/’
result: The “/var/www/html/templates//var/www/html/website/templates/components/” directory does not exist.
I would be grateful for help