Skip to main content

Installation

# Clone the boilerplate:
git clone --depth=1 \
https://github.com/electron-react-boilerplate/electron-react-boilerplate \
your-project-name

cd your-project-name

# Install dependencies:
npm install
tip

If you have installation or compilation issues with this project, please see our installation debugging guide

Run

Start the app in the dev environment. This starts the main process with hot updates using electronmon and the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:

npm start