https://github.com/xpzouying/electron-react-antd
Demo: Electron integrate with react and antd(ant design)
https://github.com/xpzouying/electron-react-antd
demo-app electron-ant-design electron-react example-app
Last synced: about 1 year ago
JSON representation
Demo: Electron integrate with react and antd(ant design)
- Host: GitHub
- URL: https://github.com/xpzouying/electron-react-antd
- Owner: xpzouying
- License: mit
- Created: 2019-08-09T03:15:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:42:26.000Z (about 3 years ago)
- Last Synced: 2025-01-04T03:42:13.827Z (about 1 year ago)
- Topics: demo-app, electron-ant-design, electron-react, example-app
- Language: JavaScript
- Size: 3.78 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# electron-react-antd
The simplest demo:
Electron integrate with react and antd(ant design)

### HowTo Use:
```bash
git clone https://github.com/xpzouying/electron-react-antd
cd electron-react-antd
npm install
```
**Dev**
1. make sure `DEV: true` in `package.json`
2. run react app:
1. `npm run start`
2. open browser and go to `http://localhost:3000/`. Do not close it!!!
3. run electron app: `npm run estart`
**Product**
1. make sure `DEV: false` in `package.json`
2. build the react app: `npm run build`
3. run electron app: `npm run estart`