The simplest demo:
Electron integrate with react and antd(ant design)
git clone https://github.com/xpzouying/electron-react-antd
cd electron-react-antd
npm installDev
- make sure
DEV: trueinpackage.json - run react app:
npm run start- open browser and go to
http://localhost:3000/. Do not close it!!!
- run electron app:
npm run estart
Product
- make sure
DEV: falseinpackage.json - build the react app:
npm run build - run electron app:
npm run estart
