Skip to content

Commit 8650c6f

Browse files
[twig-bundle] uncomment encore_*_tags() when 5.4 is used
1 parent c32fc5a commit 8650c6f

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
twig:
2+
default_path: '%kernel.project_dir%/templates'
3+
4+
when@test:
5+
twig:
6+
strict_variables: true

symfony/twig-bundle/5.4/manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/",
7+
"templates/": "templates/"
8+
}
9+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>{% block title %}Welcome!{% endblock %}</title>
6+
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
7+
{% block stylesheets %}
8+
{{ encore_entry_link_tags('app') }}
9+
{% endblock %}
10+
11+
{% block javascripts %}
12+
{{ encore_entry_script_tags('app') }}
13+
{% endblock %}
14+
</head>
15+
<body>
16+
{% block body %}{% endblock %}
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)