In plain Phoenix, one can offer a file-download with the
Plug.Conn.send_file/5 function and it works nicely. Now, how would you solve this within a
Phoenix LiveView context where there is no
Plug.Conn available anymore, but a
My solution so far is to make a GET request to an Endpoint where a
Plug.Conn is handling the request. However, this takes me out of the
LiveView context and causes a page reload. Is there a more interactive way of solving this with e.g.