Within LiveView and HTML apps, Phoenix.View has fallen out of fashion in favor
of Phoenix.Component. See the "Replaced by Phoenix.Component" section
in the Phoenix.View
module documentation for more information and migration steps (if desired).
If you want to render other formats, such as XML, Phoenix.View may still be
a useful addition to your projects.
You can install phoenix_view by adding it to your list of dependencies in mix.exs:
def deps do
  [
    {:phoenix_view, "~> 2.0"}
  ]
end