pmvc-plugin/view_react

PMVC view engine for react.js

0.7.9 2022-09-17 02:23 UTC

This package is auto-updated.

Last update: 2024-12-17 07:25:30 UTC


README

Latest Stable Version Latest Unstable Version CircleCI License Total Downloads

[PMVC] PHP view template with react.js

Install with Composer

CLICK TO SEE

1. Download composer

2. Install Use composer.json or use command-line directly

2.1 Install Use composer.json

  • vim composer.json
{
    "require": {
        "pmvc-plugin/view_react": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-plugin/view_react

or

  • composer require pmvc-plugin/view_react

For debug

echo '{"themePath":"home"}' | node ./server.js

Facebook crawler issue

  • #1
  • Can't set header for none encoding, original proposal was for disable proxy cache to improve first bytes.
-    'Content-Encoding: none'
+    'Content-Encoding: identity'