I’m trying to do something really simple, to display an image that is located in the /priv/static/images
directory, namely the one that is there by default, phoenix.png
.
I’ve replaced the entire .../templates/page/index.html.heex
contents with this simple line:
<img src="<%= Routes.static_path(@conn, "/images/phoenix.png") %>"/>
But I’m getting a compile error. Any clues?