Skip to content

Commit fed8b08

Browse files
committed
Improve onboarding when using Encore
1 parent 383c15d commit fed8b08

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

symfony/twig-bundle/3.3/templates/base.html.twig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>{% block title %}Welcome!{% endblock %}</title>
6-
{% block stylesheets %}{% endblock %}
6+
{# Run `composer require symfony/webpack-encore-bundle`
7+
and uncomment the following tags to start using Symfony UX #}
8+
{% block stylesheets %}
9+
{#{{ encore_entry_link_tags('app') }}#}
10+
{% endblock %}
711

8-
{% block javascripts %}{% endblock %}
12+
{% block javascripts %}
13+
{#{{ encore_entry_script_tags('app') }}#}
14+
{% endblock %}
915
</head>
1016
<body>
1117
{% block body %}{% endblock %}

0 commit comments

Comments
 (0)