electron-react-ts-vite-template 是一个基于 vite + react + typescript 的基础 electron 模板.
git clone [email protected]:newObjectccc/electron-react-ts-vite-template.git
use yarn:
yarn
yarn start
src
├── components 组件目录
├── assets 资源目录
├── hooks 钩子
├── renderer 页面渲染目录
│ ├── main-view 页面目录
│ │ ├── mainView.tsx
│ │ └── mainView.module.css
│ └── render.tsx react渲染根
├── routes 路由
├── styles 通用css文件目录
├── types ts类型目录
├── lib 库或工具目录
└── main.ts 程序入口
- 集成测试
- 集成更多UI组件及页面
- 集成更多的hook
- 集成本地存储配置
- fork 本仓库
- clone 你 fork 的仓库
- 本地编写代码
- push 你的 commit 到你 fork 的仓库
- Pull Request 到本仓库
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License, Copyright (c) 2023 Vesper@之一
electron, vite, react, typescript