Clone the project
git clone https://github.com/megahoma/electron-react-app.git
Go to the project directory
Both processes have to be started simultaneously in different console tabs
npm run react:start
npm run electron:start
This will start the application with hot-reload so you can instantly start developing your application.
We use Electron packager to build and package the application. By default you can run the following to package for your current platform
npm run react:build
npx electron-packager . --no-prune --ignore=/node_modules --ignore=/e2e --overwrite --ignore=/src
Feel free to submit an issue or pull request anytime. If a change is made to the codebase with your PR, you’ll be listed as a contributor.