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
- Host: GitHub
- URL: https://github.com/phoenixframework/phoenix_view
- Owner: phoenixframework
- License: mit
- Created: 2020-11-18T09:37:50.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T15:22:24.000Z (over 1 year ago)
- Last Synced: 2025-06-06T23:07:32.959Z (8 months ago)
- Language: Elixir
- Homepage:
- Size: 312 KB
- Stars: 65
- Watchers: 13
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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
```