没有合适的资源?快使用搜索试试~ 我知道了~
react_phoenix:Phoenix用于React(WIP)的模板引擎
共23个文件
exs:6个
ex:5个
eex:5个
需积分: 0 0 下载量 98 浏览量
2021-05-08
14:48:10
上传
评论
收藏 48KB ZIP 举报
温馨提示
Phoenix的React模板引擎 服务器端在Phoenix上React渲染。 受到启发 用法 将{:react_phoenix, github: "increments/react_phoenix"}到mix.exs中的mix.exs 。 导入ReactPhoenix.Utils并调用react_component page_view.ex defmodule YourApp . PageView do use HelloPhoenix . Web , :view import ReactPhoenix . Utils end page.eex < % = react_component ( " HelloComponent " , %{ propA: 1 , propB: 2 }) % > # => <div data-react-class="Hello" dat
资源推荐
资源详情
资源评论
收起资源包目录
react_phoenix-master.zip (23个子文件)
react_phoenix-master
mix.lock 478B
.gitignore 55B
mix.exs 827B
priv
react-0.14.0-beta3.min.js 128KB
LICENSE 1KB
README.md 2KB
config
config.exs 77B
lib
react_phoenix
renderer.ex 262B
engine.ex 335B
utils.ex 538B
js_context.ex 938B
react_phoenix.ex 311B
test
utils_test.exs 902B
test_helper.exs 15B
engine_test.exs 1KB
js_context_test.exs 257B
fixtures
templates
my_app
page
layout.html.eex 25B
util-prerender.html.eex 72B
new.html.js 66B
util.html.eex 73B
application.html.eex 29B
template.html.jade 44B
sub.html.eex 15B
共 23 条
- 1
资源评论
Fl4me
- 粉丝: 36
- 资源: 4600
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功