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

https://github.com/next-dev-team/react-next-electron

UNDER DEVELOPMENT STAG
https://github.com/next-dev-team/react-next-electron

Last synced: 2 months ago
JSON representation

UNDER DEVELOPMENT STAG

Awesome Lists containing this project

README

          

# Electron starter

- Electron JS
- Typescript
- ReactJs / UmiJs
- Antd Design UI / Antd Pro
- Tailwind CSS

## Installation

use yarn for package manager if don't have

```bash
# install yarn if not exist
npm i -g yarn
# install package
yarn install

# Run development
yarn dev

```

### Example

```tsx
// access to electron
const { hello } = window.$api || {};

const Page = () => {
// access to global react state
const { counter } = useModel('counter');

return hello('ElectronJS')}>Hello ;
};
```

## Reference and Credit