hello world with viewJS

This commit is contained in:
2021-02-19 22:33:23 +01:00
parent 3abe3d2d97
commit 9eee3c119b
8 changed files with 324 additions and 40 deletions

View File

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