pmvc-plugin / view_react
PMVC view engine for react.js
Installs: 1 390
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
README
[PMVC] PHP view template with react.js
Install with Composer
CLICK TO SEE
1. Download composer
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
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'