start_sf5_project_reboot/app/templates/vue/index.html.twig

14 lines
288 B
Twig
Raw Normal View History

2022-10-01 18:53:53 +00:00
{% 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 %}