I created two components: navbar and modal.
In navbar I would like to do the following to open the modal:
and my modal has this setting:
<div v-if="loginModal" class="app-modal login hidden-modal shown"> .....
I need navbar @click to set the “loginModal” value of the modal component to “true”.
How do I do it?