start_sf5_project/app/templates/default/app.html.twig

17 lines
339 B
Twig
Raw Normal View History

2021-02-19 21:33:23 +00:00
{% 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 %}