Starterkit for news apps. Based on es6, webpack, react, mobx, stylus
JavaScript CSS HTML
Latest commit 39ddb8c May 31, 2016 @moklick moklick cleanup
Permalink
Failed to load latest commit information.
src
.babelrc
.eslintignore
.eslintrc
.gitignore
.travis.yml
README.md
package.json
webpack-dev.config.js
webpack-prod.config.js
webpack.config.js

README.md

Newsapp Starterkit

travis

Features:

Installation

npm install

Start Dev Server

npm run dev

Build Prod Version

npm run build

Deployment

npm run deploy

FAQ

Static rendering: The static site generator has problems with modules that are using window or document in their code, as it runs in a nodejs environment. This will also work for async actions like fetch:

import { isClient } from './utils';

if (isClient) {
  const L = require('leaflet');

  // do other things that rely on the DOM
}