This repository is a minimal Electron-ReactJS boilerplate. There are two targets: 1) avoid ejecting the ReactJS codes; 2) not include modules you may not need, like Redux and React Router.
After checking out this repository, run ```npm install`` to install all dependencies.
- Make sure
DEV
istrue
in package.json - Open two terminals
- Run
npm start
in one terminal - Run
npm run electron
in the other terminal
- Make sure
DEV
isfalse
in package.json - Run
npm run build
- Run
npm run electron
- Make sure
DEV
isfalse
in package.json - Run
npm run build
- Run
npm run package
This template does not open the dev tool on starting. You can press Cmd+Option+I on Mac, or Ctl+Shift+I on Windows to open the dev tool.