{% load vite %} {# Add this once inside a base template's or just before . #} {% vite_asset "frontend/src/main.js" %}