https://github.com/selfint/electron-vite-ts-react-template
Template for building an Electron app with React, TypeScript, and Vite.
https://github.com/selfint/electron-vite-ts-react-template
electron react typescript vite
Last synced: 11 months ago
JSON representation
Template for building an Electron app with React, TypeScript, and Vite.
- Host: GitHub
- URL: https://github.com/selfint/electron-vite-ts-react-template
- Owner: selfint
- License: mit
- Created: 2023-02-02T10:45:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T11:48:12.000Z (over 3 years ago)
- Last Synced: 2025-04-11T05:41:43.589Z (about 1 year ago)
- Topics: electron, react, typescript, vite
- Language: TypeScript
- Homepage: https://medium.com/@selfint/build-an-electron-app-using-vite-typescript-and-react-e98f7fc1babd
- Size: 113 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# electron-vite-ts-react-template
Template for building an Electron app with React, TypeScript, and Vite.
# Install
Install the dependencies using `yarn` (adjust for your chosen package manager):
```sh
$ yarn install
```
# Run
## Development
Includes HMR support for the frontend (React) code, and auto-reload for the backend (Electron/Node) code:
```sh
$ yarn run dev
```
## Preview
Preview the result of building the app:
```sh
$ yarn run preview
```
## Build
Build the Electron app for your OS:
```sh
$ yarn run build
```