Add content for conditional rendering

pull/1453/head
Kamran Ahmed 2 years ago
parent 5e7a52d981
commit 9b5b53d4d6
  1. 9
      content/roadmaps/105-vue/content/100-fundamental-topics/107-conditional-rendering.md

@ -1 +1,8 @@
# Conditional rendering # Conditional Rendering
The directive `v-if` is used to conditionally render a block. The block will only be rendered if the directive's expression returns a truthy value.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://vuejs.org/guide/essentials/conditional.html'>Conditional Rendering</BadgeLink>

Loading…
Cancel
Save