I’m following this tutorial to learn phoenix. However, it seems like the function “html” is missing from stonksLiveWeb_web.ex file and so I’m unable to call this: “use StonksLiveWeb, :html”
defmodule StonksLiveWeb.HelloController do
use StonksLiveWeb, :html
Yes it’s because of a version mismatch. I was following the latest guide for Phx 1.7.2 when my project is at 1.6.2. Hence the confusion. It is resolved thank you for helping.