react-electron-starter
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 devto fire up Webpack - In another terminal window run
npm startto start electron
FOR PRODUCTION
- Run
npm run postinstallto compile all your assets intodist/bundle.js - Change the script tag in
dist/index.htmlto usebundle.jsas its source - Run
npm startto start electron