A boilerplate for Scalable Cross-Platform Desktop Apps based on Electron, React, Redux, React Router, Webpack and React Hot Loader for rapid application development (HMR).
- If you have installation or compilation issues with this project, please see our debugging guide
First, clone the repo via git:
git clone git@github.com:JeffCX/electron-react-simple-boilerplate.git
And then install the dependencies with yarn.
$ cd electron-react-simple-boilerplate
$ yarn
Start the app in the dev
environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:
$ yarn dev
$ yarn lint
$ yarn lint-fix
$ yarn build
To package apps for the local platform:
$ yarn package
See our complete docs here