An open API service indexing awesome lists of open source software.

https://github.com/phoenixframework/phoenix_view

View abstraction for Phoenix v1.0-v1.6
https://github.com/phoenixframework/phoenix_view

Last synced: 8 months ago
JSON representation

View abstraction for Phoenix v1.0-v1.6

Awesome Lists containing this project

README

          

# 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
```