Creating a bundle of your server side code with Webpack 2, and use it in a Universal React application.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3d49238 Sep 20, 2017
Permalink
Failed to load latest commit information.
client server side rendering Apr 15, 2017
.babelrc
.gitignore first commit: generate client bundle with webpack Apr 14, 2017
README.md
package.json
server.js
webpack.config.js

README.md

Universal React Server Bundle with Webpack

A minimalistic example of how to create a bundle of your server side code with Webpack 3, and use it in a Universal React application.

Latest updated 2017-09-20

Build

$ npm install
$ npm run build

Run

$ cd dist
$ node server.bundle.js

Go to http://localhost:3000 in your browser