toff63 / express-webpack-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RGR.js

A minimal template for working with React.js on an Express.js server using Webpack with Babel 6 (Tested with Node v5.1.1)

Installing

git clone https://github.com/RGRjs/express-webpack-template.git rgrjs
cd rgrjs

npm install

npm install -g webpack nodemon
  • Run a webpack watcher in one terminal: webpack -w -d
  • Run a nodemon process in another terminal: nodemon
  • Go to http://localhost:3000, you should see a "Hello React" line.

About


Languages

Language:JavaScript 79.6%Language:HTML 20.4%