From 1e6f61bf85c2a6611b872ac03c13165380b676c4 Mon Sep 17 00:00:00 2001 From: John Williams <129638304+vinsonw2@users.noreply.github.com> Date: Sun, 13 Aug 2023 01:57:11 +0800 Subject: [PATCH] Update render-function.md fix a typo: it should read "directive" instead of "component". --- src/api/render-function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/render-function.md b/src/api/render-function.md index 4798cd910d..5c53a789ff 100644 --- a/src/api/render-function.md +++ b/src/api/render-function.md @@ -242,7 +242,7 @@ For manually resolving a registered directive by name. - **Details** - **Note: you do not need this if you can import the component directly.** + **Note: you do not need this if you can import the directive directly.** `resolveDirective()` must be called inside either `setup()` or the render function in order to resolve from the correct component context.