/electron-react-simple-boilerplate

Simple boilerplate, enable developer to build app from scratch

Primary LanguageJavaScriptMIT LicenseMIT



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).





Build Status Appveyor Build Status Dependency Status DevDependency Status Github Tag

Join the community on Spectrum OpenCollective OpenCollective Good first issues open

Install

  • 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

Starting Development

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

check and improve coding style

$ yarn lint
$ yarn lint-fix

build application

$ yarn build

Packaging for Production

To package apps for the local platform:

$ yarn package

Docs

See our complete docs here

Maintainers

License

MIT © Electron React Boilerplate