{% block head %}
Task pane
{# xlwings Wasm #} {% if settings.enable_wasm and not settings.is_official_lite_addin %} {% endif %} {# Config #} {# htmx #} {% if settings.enable_htmx %} {% endif %} {# Office.js #} {% if settings.cdn_officejs %} {% else %} {% endif %} {# Socket.io (must come before xlwings.js) #} {% block socketio %} {% if settings.enable_socketio %} {% endif %} {% endblock socketio %} {# xlwings.js (must come before custom-function-code) #} {% block socketio2 %} {% if settings.enable_socketio %} {# Must come after xlwings.js #} {% endif %} {% endblock socketio2 %} {# Alpine.js CSP boilerplate (must come before custom JS, which must come before alpinejs library) #} {% if settings.enable_alpinejs_csp %} {% endif %} {# JS Config #} {# prettier-ignore-start #} {# prettier-ignore-end #} {% block custom_functions_code %} {% if settings.environment == "dev" or settings.enable_wasm %} {% endif %} {% endblock custom_functions_code %} {# Bootstrap with the xlwings theme #} {% if settings.enable_bootstrap %}
{% endif %} {# Axios #} {# Examples #} {% if settings.enable_examples %} {% endif %} {# Own #}
{% block hotreload %} {% if settings.environment == "dev" and settings.enable_socketio %} {% endif %} {% endblock hotreload %} {% block extra_head %} {# This allows to selectively load Alpine.js components #} {% endblock extra_head %} {# Alpine.js CSP build (must come after alpinejs-csp-boilerplate.js and custom code such as main.js) #} {% if settings.enable_alpinejs_csp %} {% endif %} {% endblock head %}
{% block content %} {% endblock content %}