Routing with Heex

Viewed 185

I'm updating the phoenix LiveView to Heex templates and I'm stuck to how to update Routing.page_path

How can I correctly update to Heex template in this case?

<a href="<%= Routes.page_path(@socket, :index) %>">
  <img src="/images/logo.svg" alt="Acompanhante" width="150" />
</a>
1 Answers
Related