An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

# electron-react-antd
The simplest demo:

Electron integrate with react and antd(ant design)

![electron-react-antd-demo](./assets/electron-react-antd.jpg)

### 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`