From fe149618dab99c68f0461bd6213c4087db5f6841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Ollivier?= Date: Tue, 7 Mar 2023 12:12:54 +0100 Subject: [PATCH] docs: update `addComponent` jsdoc comment (#19503) --- packages/kit/src/components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/src/components.ts b/packages/kit/src/components.ts index aae9e45072..4d9391e1d7 100644 --- a/packages/kit/src/components.ts +++ b/packages/kit/src/components.ts @@ -20,7 +20,7 @@ export type AddComponentOptions = { name: string, filePath: string } & Partial> /** - * Register a directory to be scanned for components and imported only when used. + * Register a component by its name and filePath. * * Requires Nuxt 2.13+ */