Alpine.js Magic: $static
The $static(path)
Alpine.js magic is the client side equivalent of the Django static
template tag. It takes a path in string form relative to your static root and returns the correct path to the file, whether it is on the same host, or on a completely different domain.