I have been following the walkthrough in Phoenix.
Having got to the Request life-cycle — Phoenix v1.7.18 page, I ran into an issue.
<section>
<h2>Hello World, from {@messenger}!</h2>
</section>
didn’t work. I spent a while working out the issue and noticed this was previously
<section>
<h2>Hello World, from <%= @messenger %>!</h2>
</section>
in the v1.7.17 docs. Changing it to the style in the previous docs worked.
So running
mix phx.new
didn’t create with a version of phoenix that was compatible with the docs I was following?
Presumably upgrading the mix.exs to use the latest version of Phoenix will resolve this and allow the new {@inner_content} style syntax to be used.