Currently, I am utilizing Vue 2. Upon the initial rendering, the element is hidden; however, upon clicking on .mobile-trigger, Vue-DevTools indicate that the variable "mobileMenuIsOpen" changes to true. Nevertheless, the .overlay element does not yet exist in the DOM.
.mobile-trigger(@click='mobileMenuIsOpen = true')
.overlay(v-if='mobileMenuIsOpen')
...
data () {
return {
mobileMenuIsOpen: false
}
}