I am trying to toggle the class of another div on click.
Something like:
<div class="link">
<p> Click here to show the content </p>
<div class="content">
<p>This is the hidden content</p>
</div>
</div>
so content css should initially be: display: none
How can I do this on vue, when p is clicked, toggle the element below.
thnx in advance!