From e4e91d1c5237a63e83a4815d876703806d9489e7 Mon Sep 17 00:00:00 2001 From: wxsm Date: Mon, 30 Aug 2021 09:40:11 +0800 Subject: [PATCH] Update custom-directives.md --- src/guide/migration/custom-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/migration/custom-directives.md b/src/guide/migration/custom-directives.md index ad5d45a9dc..c259cae22c 100644 --- a/src/guide/migration/custom-directives.md +++ b/src/guide/migration/custom-directives.md @@ -45,7 +45,7 @@ In Vue 3, however, we’ve created a more cohesive API for custom directives. As - bind → **beforeMount** - inserted → **mounted** - **beforeUpdate**: new! This is called before the element itself is updated, much like the component lifecycle hooks. -- update → removed! There were too many similarities to updated, so this is redundant. Please use updated instead. +- update → removed! There were too many similarities to `updated`, so this is redundant. Please use `updated` instead. - componentUpdated → **updated** - **beforeUnmount**: new! Similar to component lifecycle hooks, this will be called right before an element is unmounted. - unbind -> **unmounted**