Toggling Visibility with v-show
Spot the directive binding mistake when toggling an element with v-show.
Codejavascript
<template>
<button @click="isVisible = !isVisible">Toggle</button>
<p v-show="{{ isVisible }}">Hello Vue!</p>
</template>
<script setup>
import { ref } from 'vue'
const isVisible = ref(true)
</script>What is the bug preventing this v-show toggle from working?