first commit
This commit is contained in:
48
README.md
Normal file
48
README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user