Express server suited to render React components for modx-react package.
Allow to render markup based on React on server and use React components both on server and client.
This module can work like standalone server (requires a lot of changes) but needs modx-react module to work properly (was created like modx-react
mate).
- Install the server to your public assets dir (similar to the
basic-example
) npm install
- Run
npm run test
. If everything is ok you can runnpm run start
- Now
modx-react
is able to output React markup served bynode-react