/react-electron-starter

an example React + Electron application

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

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