Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 446 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 446 Bytes

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