node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

react-mobx-react-router-boilerplate



Dependency Status devDependency Status Built by DEVERO MIT License

Downloads last week Downloads last moth Downloads last year Releases

React - MobX - React-Router - Webpack Boilerplate (heroku-ready)

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

Install all dependencies


yarn

or

npm install

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.

License


Copyright (c) 2017 Alex Devero. Licensed under the MIT license.