From e9488a0234851da9e1abc20a5fbf8de8f72feb1c Mon Sep 17 00:00:00 2001 From: Seven Date: Mon, 22 Dec 2025 05:46:52 +0700 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A5=E8=AF=B4=E6=98=8E=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E5=91=BD=E5=90=8D=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/index.ts b/src/ui/index.ts index 7469461..e69936b 100644 --- a/src/ui/index.ts +++ b/src/ui/index.ts @@ -2,6 +2,11 @@ import type { App, Component } from "vue"; const modules: Record = import.meta.glob("./*/*.vue", { eager: true }); +/** + * @example /avatar/index.vue => UiAvatar + * @example /tabs/index.vue => UiTabs + * @example /tabs/tab-pane.vue => UiTabPane + */ function setupUiGlobalComponents(app: App) { for (const path in modules) { const parts = path.replace(/^\.\//, "").replace(/\.vue$/, "").split("/");