phoenix_live_view

Rich, real-time user experiences with server-rendered HTML

  • 所有者: phoenixframework/phoenix_live_view
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Phoenix LiveView

Actions Status

Phoenix LiveView enables rich, real-time user experiences with server-rendered HTML. For more information, see the initial announcement.

Note: Currently LiveView is under active development and we are focused on getting a stable and solid initial version out. For this reason, we will be accepting only bug reports in the issues tracker for now. We will open the issues tracker for features after the current milestone is ironed out.

Learning

As official guides are being developed, see our existing
comprehensive docs and examples to get up to speed:

Installation

There are currently two methods for installing LiveView. For projects that
require more stability, it is recommended that you install using the
installation guide on HexDocs.
If you want to use the latest features, you should follow the instructions
given in the markdown file here.

Browser Support

All current Chrome, Safari, Firefox, and MS Edge are supported.
IE11 support is available with the following polyfills:

$ npm install --save --prefix assets mdn-polyfills url-search-params-polyfill formdata-polyfill child-replace-with-polyfill classlist-polyfill shim-keyboard-event-key

Note: The shim-keyboard-event-key polyfill is also required for MS Edge 12-18.

// assets/js/app.js
import "mdn-polyfills/CustomEvent"
import "mdn-polyfills/String.prototype.startsWith"
import "mdn-polyfills/Array.from"
import "mdn-polyfills/NodeList.prototype.forEach"
import "mdn-polyfills/Element.prototype.closest"
import "mdn-polyfills/Element.prototype.matches"
import "child-replace-with-polyfill"
import "url-search-params-polyfill"
import "formdata-polyfill"
import "classlist-polyfill"
import "shim-keyboard-event-key"

import {Socket} from "phoenix"
import LiveSocket from "phoenix_live_view"
...

主要指标

概览
名称与所有者phoenixframework/phoenix_live_view
主编程语言Elixir
编程语言Elixir (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2018-09-12 01:27:33
推送于2025-06-03 16:12:17
最后一次提交
发布数132
最新版本名称v1.0.15 (发布于 )
第一版名称v0.1.0 (发布于 2019-08-25 16:17:09)
用户参与
星数6.5k
关注者数168
派生数1k
提交数4.4k
已启用问题?
问题数1824
打开的问题数44
拉请求数1624
打开的拉请求数21
关闭的拉请求数351
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?