Skip to content

fourlexifive/static-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-react

Zero-configuration CLI React static renderer

Build Status

Usage

npm i -D static-react

Static-react include babel presets and React – there is no need to install them separately with npm 3+.

CLI

static-react RootComponent.js > index.html

Options

  • -p, --props - pass props via a file that exports an object
  • --no-doctype - omit <!DOCTYPE html> from the beginning of the returned string

Example

See /example


MIT License

About

Zero-configuration CLI React static renderer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.4%
  • HTML 12.6%