diff --git a/symfony/twig-bundle/5.4/config/packages/twig.yaml b/symfony/twig-bundle/5.4/config/packages/twig.yaml new file mode 100644 index 00000000..f9f4cc53 --- /dev/null +++ b/symfony/twig-bundle/5.4/config/packages/twig.yaml @@ -0,0 +1,6 @@ +twig: + default_path: '%kernel.project_dir%/templates' + +when@test: + twig: + strict_variables: true diff --git a/symfony/twig-bundle/5.4/manifest.json b/symfony/twig-bundle/5.4/manifest.json new file mode 100644 index 00000000..30d5643b --- /dev/null +++ b/symfony/twig-bundle/5.4/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + } +} diff --git a/symfony/twig-bundle/5.4/templates/base.html.twig b/symfony/twig-bundle/5.4/templates/base.html.twig new file mode 100644 index 00000000..6b30e5e9 --- /dev/null +++ b/symfony/twig-bundle/5.4/templates/base.html.twig @@ -0,0 +1,18 @@ + + + + + {% block title %}Welcome!{% endblock %} + {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #} + {% block stylesheets %} + {{ encore_entry_link_tags('app') }} + {% endblock %} + + {% block javascripts %} + {{ encore_entry_script_tags('app') }} + {% endblock %} + + + {% block body %}{% endblock %} + +