I’m using version 0.6.0 of Phoenix Live view. I followed the documentation to do the installation: https://hexdocs.pm/phoenix_live_view/installation.html. The settings are exactly the same as in the documentation;
Some things are working well, but when trying to create a link with Routes.live_path the following error is displayed.
function MyApp.Router.Helpers.live_path/2 is undefined or private.
<%= link('Click", to: Routes.live_path(@socket, MyApp.ModalLive), phx_click: "show-modal") %>
I tried to look for an answer, but I was unsuccessful.