app/Resources/views/seajs_loader_compatible.html.twig line 1

Open in your IDE?
  1. {# 为了兼容seajs和webpack在同一个页面范围使用,可以兼容加载使用了seajs的modal、被include的片段、ajax加载的片段 #}
  2. {% if topxiawebbundle|default(false) %}
  3.   {% include 'seajs_boot_compatible.html.twig' with {script_main: asset('bundles/topxiaweb/js/app-compatible.js')} %}
  4. {% elseif topxiaadminbundle|default(false) %}
  5.   {% include 'seajs_boot_compatible.html.twig' with {script_main: asset('bundles/topxiaadmin/js/admin-app-compatible.js')} %}
  6. {% endif %}