50 lines
1.1 KiB
Markdown
50 lines
1.1 KiB
Markdown
# growth_report
|
||
|
||
成长报告助手,一个用于导入幼儿基础数据并生成成长报告相关材料的 Electron 桌面应用。
|
||
|
||
## 技术栈
|
||
|
||
- Electron 39:桌面端应用容器
|
||
- electron-vite 5:Electron + Vite 构建与开发环境
|
||
- React 19:渲染进程界面
|
||
- TypeScript 5:类型系统
|
||
- React Router 7:页面路由
|
||
- Tailwind CSS 4:样式系统
|
||
- shadcn/ui 风格本地组件:Button、Card、Table、Drawer 等
|
||
- Vaul:Drawer 抽屉交互
|
||
- Radix UI:ScrollArea、Separator、Tabs 等基础交互组件
|
||
- Lucide React:图标
|
||
- SheetJS xlsx:解析幼儿数据 Excel 文件
|
||
- pnpm:包管理器
|
||
|
||
## Recommended IDE Setup
|
||
|
||
- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
||
|
||
## Project Setup
|
||
|
||
### Install
|
||
|
||
```bash
|
||
$ pnpm install
|
||
```
|
||
|
||
### Development
|
||
|
||
```bash
|
||
$ pnpm dev
|
||
```
|
||
|
||
### Build
|
||
|
||
```bash
|
||
# For windows
|
||
$ pnpm build:win
|
||
|
||
# For macOS
|
||
$ pnpm build:mac
|
||
|
||
# For Linux
|
||
$ pnpm build:linux
|
||
```
|