From ad0df6b140bdf3bc61fbbbf5e29dcefd5c1c86b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 27 Oct 2025 12:18:51 +0800 Subject: [PATCH] =?UTF-8?q?docs(agents):=20=E6=9B=B4=E6=96=B0=20TypeScript?= =?UTF-8?q?/TSX=20=E6=96=87=E4=BB=B6=E4=B8=AD=E5=9B=BE=E6=A0=87=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=AF=BC=E5=85=A5=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index cf13d50..6e2a4fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -29,7 +29,8 @@ Multiple auto-import systems are active: - **Dynamic components**: Auto-imported components cannot be used with `` syntax - ❌ Avoid: `` - ✅ Use: `` with `v-if`/`v-else-if`/`v-else` directives -- **In TypeScript/TSX files**: Auto-import does NOT work. You must explicitly import icons using the `~icons/` prefix: + +- **Icons in TypeScript/TSX files**: Auto-import for icons does NOT work. You must explicitly import them using the `~icons/` prefix: ```tsx import IconMenuRounded from '~icons/material-symbols/menu-rounded';