Thats not working when I call $vfm.show('login') from any other component... But the modal is visible in vue devtools in Chrome, and the content is loaded (I have networking calls in it). I expect it only to be visible in devtools (loaded) when I call $vfm.show('login').
Version
vue-final-modal: ^2.4.3 vue: ^2.7.10 nuxt: 2.17.0
OS: Mac
So I have created a plugin:
Set in in my plugins section in nuxt config:
'~/plugins/vue-final-modal.js'
Added modals container to my
default.vue
file:And created a dynamic modal according to this: https://v2.vue-final-modal.org/dynamic-modal:
Thats not working when I call
$vfm.show('login')
from any other component... But the modal is visible in vue devtools in Chrome, and the content is loaded (I have networking calls in it). I expect it only to be visible in devtools (loaded) when I call$vfm.show('login')
.What am I missing here?