start_sf5_project/app/templates/default/app.html.twig
2021-02-25 19:21:56 +01:00

17 lines
339 B
Twig

{% extends 'base.html.twig' %}
{% block title %}{{'My VueJS template'}}{% endblock %}
{% block body %}
<div class="container">
<h1>{{'My VueJS template'}}</h1>
{% verbatim %}
<div id="app" data-name="{{ app.user.username }}"></div>
{% endverbatim %}
{{ encore_entry_script_tags('app') }}
</div>
{% endblock %}