parent
523e898cb9
commit
834fdda46a
1 changed files with 6 additions and 1 deletions
@ -1 +1,6 @@ |
||||
# Custom directives |
||||
# Custom Directives |
||||
|
||||
So far you may have covered two forms of code reuse in Vue: [components](https://vuejs.org/guide/essentials/component-basics.html) and [composables](https://vuejs.org/guide/reusability/composables.html). Components are the main building blocks, while composables are focused on reusing stateful logic. Custom directives, on the other hand, are mainly intended for reusing logic that involves low-level DOM access on plain elements. |
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://vuejs.org/guide/reusability/custom-directives.html'>Custom Directives</BadgeLink> |
||||
|
Loading…
Reference in new issue