浏览代码

Correctif webpack easyadmin

tags/0.1
Guillaume 3 年前
父节点
当前提交
a83ee9bd9f
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      Resources/views/adminlte/layout.html.twig

+ 4
- 2
Resources/views/adminlte/layout.html.twig 查看文件

@@ -27,7 +27,8 @@
<link rel="stylesheet" href="{{ asset(css_asset) }}">
{% 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) }}
{% endfor %}
{% endblock %}
@@ -55,6 +56,7 @@

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

{% block javascript_page_layout %}
<script>
document.body.classList.add(
@@ -164,7 +166,7 @@
<script src="{{ asset(js_asset) }}"></script>
{% 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}) }}
{% endfor %}
{% endblock %}

正在加载...
取消
保存