Skip to content
Creating a bundle of your server side code with Webpack 2, and use it in a Universal React application.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client server side rendering Apr 15, 2017
.babelrc use babel-present-env instead of babel-preset-es2015 Sep 20, 2017
.gitignore
README.md use babel-present-env instead of babel-preset-es2015 Sep 20, 2017
package.json use babel-present-env instead of babel-preset-es2015 Sep 20, 2017
server.js server side rendering Apr 15, 2017
webpack.config.js server side rendering Apr 15, 2017

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

You can’t perform that action at this time.