static-react-alpha
v3.2.1
Published
React static HTML generator
Readme
static-react
Zero-configuration CLI React static renderer
Usage
npm i -D static-reactStatic-react include babel presets and React – there is no need to install them separately with npm 3+.
CLI
static-react RootComponent.js > index.htmlOptions
-p,--props- pass props via a file that exports an object-b,--babel- pass babelConfig via a file that export an object--no-doctype- omit<!DOCTYPE html>from the beginning of the returned string
Example
See /example
MIT License
