You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added torch to an existing phoenix app and got this issue when compiling
== Compilation error in file lib/myapp_web/views/post_view.ex ==
** (CompileError) lib/myapp_web/templates/post/form.html.heex:1: undefined function form/1 (expected MyAppWeb.PostView to define such a function or for it to be imported, but none are available)
I think this is because the origin of the my app was in phoenix 1.5 without liveview that later was upgraded to 1.6 and therefor my MyAppWeb didn't have
I added torch to an existing phoenix app and got this issue when compiling
I think this is because the origin of the my app was in phoenix 1.5 without liveview that later was upgraded to 1.6 and therefor my
MyAppWeb
didn't havein
defp view_helpers
adding
import Phoenix.LiveView.Helpers
made it work as expectedI and creating and closing this issue for documentation reason in case someone else hits this
thanks
The text was updated successfully, but these errors were encountered: