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.
Table of contents
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.
Support this project
Development and maintenance of this project takes a lot of time. If you want to support this project and help its author, there are few ways you can do it:
- Starring and sharing the project
—make one-time donations via PayPal.
—set up monthly donation via Patreon and get interesting news about what I'm doing.
—send bitcoins or ethereum to this address:
19jHGagJWeVvuNjN3kaBoAszXd9ea9gKzp
.
Thank you!
Code of Conduct
Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
MIT © Alex Devero.