react-electron-starter icon indicating copy to clipboard operation
react-electron-starter copied to clipboard

an example React + Electron application

React + Electron Starter

an example app for using React with Electron

UP & RUNNING

  • Run npm install

FOR DEVELOPMENT

  • Run npm run dev to fire up Webpack
  • In another terminal window run npm start to start electron

FOR PRODUCTION

  • Run npm run postinstall to compile all your assets into dist/bundle.js
  • Change the script tag in dist/index.html to use bundle.js as its source
  • Run npm start to start electron