Explorar el Código

Correctif webpack easyadmin

tags/0.1
Guillaume hace 3 años
padre
commit
a83ee9bd9f
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. +4
    -2
      Resources/views/adminlte/layout.html.twig

+ 4
- 2
Resources/views/adminlte/layout.html.twig Ver fichero

<link rel="stylesheet" href="{{ asset(css_asset) }}"> <link rel="stylesheet" href="{{ asset(css_asset) }}">
{% endfor %} {% endfor %}


{% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %}

{% for webpack_encore_entry in ea.assets.webpackEncoreAssets ?? [] %}
{{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }} {{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }}
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}


{% block body %} {% block body %}
<body id="{% block body_id %}{% endblock %}" class="sidebar-mini layout-fixed {% block body_class %}{% endblock %}"> <body id="{% block body_id %}{% endblock %}" class="sidebar-mini layout-fixed {% block body_class %}{% endblock %}">

{% block javascript_page_layout %} {% block javascript_page_layout %}
<script> <script>
document.body.classList.add( document.body.classList.add(
<script src="{{ asset(js_asset) }}"></script> <script src="{{ asset(js_asset) }}"></script>
{% endfor %} {% endfor %}


{% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %}
{% for webpack_encore_entry in ea.assets.webpackEncoreAssets ?? [] %}
{{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry, null, '_default', {'defer': false}) }} {{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry, null, '_default', {'defer': false}) }}
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}

Cargando…
Cancelar
Guardar