React, MobX, React-Router and Webpack boilerplate with async routes

react-mobx-react-router-boilerplate

React, MobX, React-Router and Webpack boilerplate with async routes. This boilerplate is also ready for deploying your app to Heroku.

Install

Clone this repo

$ git clone https://github.com/alexdevero/react-mobx-react-router-boilerplate.git

Install dependencies

yarn

or

npm install

Usage

Start project on local server (go to localhost:1337)

yarn start

or

npm start

Build project (in "dist" folder):

yarn run build

or

npm run build

Preview minified production-ready bundle (go to localhost:3000)

yarn run preview

or

npm run preview

Async component loading

Components are now loaded async with react-router-loader and the store is injected via MobX Provider.

GitHub