[Vuejs]-Vue.js: Is there a way to make a buttons "v-if" reactive through watcher?

0👍

Okay, so the answer is simple and the modifications of making it a computed value was not necessary as I just checked (I think it is better practice to make it computed value though).

Answer:
Instead of v-if:isUserProfile, make it v-show:isUserProfile; where now the button changes to how what is to be accomplished.

I will now be reading https://v2.vuejs.org/v2/guide/conditional.html for further knowledge.

Leave a comment