npm.io
1.1.10 • Published 7 years ago

react-mobx-react-router-boilerplate

Licence
MIT
Version
1.1.10
Deps
12
Size
460 kB
Vulns
22
Weekly
0
Stars
50
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)



Dependency Status devDependency Status Releases

Built by DEVERO MIT License

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
  • Donate—make one-time donations via PayPal.
  • Donate—set up monthly donation via Patreon and get interesting news about what I'm doing.
  • Releases—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.