17 lines
339 B
Twig
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 %}
|