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 .
- Host: GitHub
- URL: https://github.com/harhao/electron-vite-react-starter
- Owner: Harhao
- Created: 2021-04-29T06:52:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T15:08:04.000Z (almost 4 years ago)
- Last Synced: 2025-02-08T05:27:39.922Z (3 months ago)
- Topics: electron, react, starter-template, vite
- Language: TypeScript
- Homepage:
- Size: 167 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README-zn.md
Awesome Lists containing this project
README
# Electron 12 + TypeScript 4.0 + Vite 2 + React 17 + antd starter

[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