Browse Source

Correctif webpack easyadmin

tags/0.1
Guillaume 3 years ago
parent
commit
a83ee9bd9f
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Resources/views/adminlte/layout.html.twig

+ 4
- 2
Resources/views/adminlte/layout.html.twig View File

<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 %}

Loading…
Cancel
Save