grenti / universal-react-server-bundle

Creating a bundle of your server side code with Webpack 2, and use it in a Universal React application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Creating a bundle of your server side code with Webpack 2, and use it in a Universal React application.


Languages

Language:JavaScript 97.7%Language:CSS 2.3%