create: 桌面界面使用 Naive UI

MemRelay-Operation: memory-save:rapt-decision-naive-ui-20260927
MemRelay-Resource: 78b5bdbf-b410-41ec-87ac-5ec555440648
This commit is contained in:
2026-09-27 00:38:16 +08:00
parent a33c40d48c
commit 04e3dbf5c8
2 changed files with 25 additions and 5 deletions
@@ -0,0 +1,20 @@
---
title: 桌面界面使用 Naive UI
type: decision
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/桌面界面使用-naive-ui
stable_id: 78b5bdbf-b410-41ec-87ac-5ec555440648
scope: project
memory_type: decision
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: rapt-decision-naive-ui-20260927
created_at: '2026-09-26T16:38:13.156330+00:00'
updated_at: '2026-09-26T16:38:13.156330+00:00'
tags:
- desktop
- ui
---
桌面 Vue 3 界面使用 naive-ui 2,深色主题和中文语言包。组件与 Vue API 通过 unplugin-vue-components、unplugin-auto-import 自动导入,类型声明在 ui/src/components.d.ts 和 ui/src/auto-imports.d.ts。后续页面继续用 Naive UI,不再另写一套基础控件。