twigriot:在Twig中渲染Riot.js标签的POC实现

时间:2021-05-07 19:40:47
【文件属性】:
文件名称:twigriot:在Twig中渲染Riot.js标签的POC实现
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-07 19:40:47
PHP Twigriot Twig中的渲染Riot.js标签的POC实现。 树枝到处都是。 eZ Platform,Bolt,Drupal 8和其他受欢迎的项目都采用了它。 同时,Node.js和Web组件已经流行起来。 此仓库展示了如何将流行PHP模板库Twig与Riot js合并,Riot js是一个轻量级的类似Node.js的类似于React的库。 Twig函数的概念验证(POC)实现,使用示例Yandex Maps组件( )在服务器端呈现Riot.js( )组件 )。 阅读描述内部原理的文章: : 安装 该应用程序是一个非常标准的简单PHP应用程序。 您还需要安装node和npm进行渲染。 签出代码后,运行composer和NPM安装。 curl -s http://getcomposer.org/installer | php php composer.phar ins
【文件预览】:
twigriot-master
----views()
--------index.html.twig(392B)
----src()
--------app.php(329B)
--------Janit()
----web()
--------js()
--------index_dev.php(142B)
--------index.php(142B)
----README.md(1KB)
----renderer()
--------app.js(216B)
----.gitignore(17B)
----package.json(297B)
----composer.json(147B)

网友评论