From fb79e2f548945a2f9e0725e4e94c0af9aac2984d Mon Sep 17 00:00:00 2001 From: IlyaL Date: Thu, 10 Jul 2025 21:38:53 +0800 Subject: [PATCH 1/2] docs: clarify `types` configuration --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c88388fa..620ae344 100644 --- a/README.md +++ b/README.md @@ -414,7 +414,10 @@ Components({ version: 2.7, // Only provide types of components in library (registered globally) - types: [] + // see https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/type-imports/detect.ts + types: [ + /* ... */ + ], }) ``` From f3a169540e319d0830e91e9c7b400807521d54a7 Mon Sep 17 00:00:00 2001 From: IlyaL Date: Thu, 10 Jul 2025 21:47:28 +0800 Subject: [PATCH 2/2] docs: change link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 620ae344..abf23b5f 100644 --- a/README.md +++ b/README.md @@ -414,7 +414,7 @@ Components({ version: 2.7, // Only provide types of components in library (registered globally) - // see https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/type-imports/detect.ts + // see https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/type-imports/index.ts types: [ /* ... */ ],