Fix assets links for layout_one_col template

pull/4709/head
Daniel Gayoso González 3 years ago
parent e73cc5f42f
commit 9c714d42ff
  1. 8
      src/CoreBundle/Resources/views/Layout/layout_one_col.html.twig

@ -2,9 +2,9 @@
{%- block page_content %} {%- block page_content %}
{% if from_vue %} {% if from_vue %}
<script src="{{ url('index') ~ 'build/runtime.js' }}"></script> <script src="{{ url('index') ~ 'build/runtime.js' }}"></script>
<script src="{{ url('index') ~ 'build/app.js' }}"></script> {{ encore_entry_script_tags('app') }}
<link rel="stylesheet" href="{{ url('index') ~ 'build/css/app.css' }}"/> {{ encore_entry_link_tags('css/app') }}
<link rel="stylesheet" href="{{ url('index') ~ 'build/vue.css' }}"/> {{ encore_entry_link_tags('vue') }}
{# Loading legacy js using the $htmlHeadXtra array #} {# Loading legacy js using the $htmlHeadXtra array #}
{% autoescape false %} {% autoescape false %}
@ -79,6 +79,6 @@
{% endautoescape -%} {% endautoescape -%}
{% if not from_vue %} {% if not from_vue %}
<script src="{{ url('index') ~ 'build/vue.js' }}"></script> {{ encore_entry_script_tags('vue') }}
{% endif %} {% endif %}
{% endblock -%} {% endblock -%}

Loading…
Cancel
Save