Add custom directive docs

pull/1453/head
Kamran Ahmed 2 years ago
parent c95ed6400e
commit e6fea586fe
  1. 7
      content/roadmaps/105-vue/content/101-advanced-topics/110-custom-directives.md

@ -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…
Cancel
Save