alanbsmith / react-electron-starter

an example React + Electron application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

an example React + Electron application

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 92.4%Language:HTML 6.2%Language:CSS 1.4%