init vue app (frontend)
This commit is contained in:
13
app/templates/vue/index.html.twig
Normal file
13
app/templates/vue/index.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user