Let's now learn about a feature of Vue called "directives".
These are special attributes that you can add to your HTML tags that provide certain functionalities.
Here's an example where we have a paragraph tag, and a custom attribute added to it called
<p v-if="seen">Now you see me</p>
v-if is a Vue directive. All Vue directives start with this "v-" so they can easily be identified.
Click to load comments...