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

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.

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