cat-bookmarker/deps/phoenix_view/README.md

22 lines
611 B
Markdown
Raw Normal View History

2024-03-10 18:52:04 +00:00
# Phoenix.View
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`](https://hexdocs.pm/phoenix_view/Phoenix.View.html)
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.
## Installation
You can install `phoenix_view` by adding it to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:phoenix_view, "~> 2.0"}
]
end
```