Files
tunji2/README.md
2026-06-01 17:28:00 +08:00

49 lines
1.2 KiB
Markdown

# Tunji
类印象笔记 + Typora 的桌面笔记应用,基于 Electron + Vue 3 + Tailwind CSS + PrimeVue (Unstyled) 构建。
## 开发
```bash
# 安装依赖
npm install
# 启动开发环境
npm run dev
# 构建
npm run build
```
## 技术栈
- **桌面框架**: Electron
- **前端框架**: Vue 3 (Composition API)
- **路由**: Vue Router 4
- **状态管理**: Pinia
- **样式**: Tailwind CSS 4
- **组件库**: PrimeVue (Unstyled Mode)
- **图标**: lucide-vue-next
- **构建工具**: Vite + vite-plugin-electron
## 项目结构
```
tunji/
├── electron/ # Electron 主进程
│ ├── main.js # 主进程入口
│ └── preload.js # IPC 桥接
├── src/
│ ├── components/ # Vue 组件
│ │ ├── left-area/ # 左侧栏组件
│ │ └── common/ # 通用组件
│ ├── layouts/ # 布局组件
│ ├── stores/ # Pinia 状态管理
│ ├── views/ # 页面视图
│ ├── router/ # 路由配置
│ └── styles/ # 样式文件
├── index.html
├── package.json
└── vite.config.js
```