项目作者: matfolio

项目描述 :
A little bit of soft touch on the the server rendering using Reactjs, webpack and ExpressJs
高级语言: JavaScript
项目地址: git://github.com/matfolio/ReactJs_server_rendering.git
创建时间: 2017-07-10T22:00:47Z
项目社区:https://github.com/matfolio/ReactJs_server_rendering

开源协议:

下载


ReactJs_server_rendering

A little bit of soft touch on the the server rendering using Reactjs, webpack and ExpressJs going through the execution of this project:

Open 2 command prompt

make:

  1. npm install -g webpack

followed by:

  1. webpack

webpack would starts checking on the entry point file in this case ‘entry.js’

and then use the defined loader to transpile js ‘ES6’ file into that which would be understood by the browser.

webpack config file is in a watch mode so need to make

—— webpack —watch.

Then on the other command prompt:
just run:

  1. node app.js

or

  1. nodemon app.js

if you have nodemons installed

(more on this last command… check out the package.json)