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

https://github.com/harhao/electron-vite-react-starter

Starter using Vite2 + React17 + Typescript4 + Electron12 .
https://github.com/harhao/electron-vite-react-starter

electron react starter-template vite

Last synced: about 2 months ago
JSON representation

Starter using Vite2 + React17 + Typescript4 + Electron12 .

Awesome Lists containing this project

README

        

# Electron 12 + TypeScript 4.0 + Vite 2 + React 17 + antd starter

![image](https://user-images.githubusercontent.com/15929863/116516778-9a5fdd00-a900-11eb-866f-475c16b1fedb.png)

[English](https://github.com/Harhao/electron-vite-react-starter/edit/master/README.md) | [中文](https://github.com/Harhao/electron-vite-react-starter/blob/master/README-zn.md)

快速启动Electron开始模板包括以下
- [x] `Vite` 下一代前端构建工具
- [x] `Typescript`
- [x] `ESBuild` 主流程中负责构建资源文件
- [x] `React` 前端开发UI库
- [x] `React fast refresh` 模块热更新
- [x] `electron-builder` 和 `electron-notarize` 用于发布应用

使用最佳做法配置。

## 安装

`yarn`

## 开发

`yarn dev`

## 构建软件

`yarn build`

# 开源协议

MIT