Skip to content

craigbeck/react-isomorphic-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isomorphic React.js app demo that shows how to handle components that use browser-only API calls.

Build

> webpack --config webpack.shell.js     # renders static react markup to 200.html
> webpack                               # builds client code

The webpack.shell.js configuration builds the app code in a node.js compatible format to be executed by the ReactToHtmlPlugin that generates the rendered React code.

The standard webpack.config.js produces the client code bundle that is requested by the browser.

Serve

> serve dist                            # for static web server

or

> webpack-dev-server

About

Isomorphic React.js + webpack + Hapi.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published