start_sf5_project_reboot/app/templates/vue/index.html.twig
2022-10-02 01:30:36 +02:00

14 lines
288 B
Twig

{% extends 'base.html.twig' %}
{% block title %}{{'My VueJS template'}}{% endblock %}
{% block body %}
<div class="container">
<h1>{{'My VueJS template'}}</h1>
<div id="app" data-app="{{ data | json_encode() | escape('html_attr') }}"></div>
</div>{{ dump() }}
{% endblock %}