{% load static %} {% load bloomerp %} {% comment %} Loads bundled JavaScript from Vite build. In development mode with an explicit Vite dev server URL configured: - Loads from Vite dev server with HMR support - Requires Vite dev server to be running: npm run dev:js Otherwise: - Loads from built static files - Files should be built with: npm run build:js {% endcomment %} {% if DEBUG and BLOOMERP_VITE_DEV_SERVER_URL %} {% else %} {% endif %}