react-article-components

Article Components for Rendering Article Page of The Reporter Site in Taiwan


Keywords
babel, bolierplate, code-splitting, express, hot-module-replacement, nodejs, pwa, react, redux, server-side-rendering, service-worker, webpack
License
MIT
Install
npm install react-article-components@0.1.15

Documentation

CircleCI

TW Reporter

New Media foundation in Taiwan.

Environment

Install node(https://nodejs.org/en/) @7.9.0 above.

Installation

yarn install

Start

npm run build; npm run start

React & Redux

This project is built on Redux framework and rendered by React. It uses server-side(universal) rendering, and also integrate Webpack Hot Middleware in Dev environment.

Development

Customized Article and Route Setting

You should go through following steps

cd twreporter-react/src

vim ./routes/index.js

vim ./constants/customized-article-path

Reference

react-redux-universal-hot-example Redux React

License

  • Copyright (C) 2015 - 2016 The Reporter 報導者. All rights reserved.
  • Distributed under the GNU AGPL v3.0