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
- Host: GitHub
- URL: https://github.com/next-dev-team/react-next-electron
- Owner: next-dev-team
- Created: 2024-10-15T17:09:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T06:13:20.000Z (over 1 year ago)
- Last Synced: 2025-03-07T07:23:51.219Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 8.42 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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