Closed hunterliu1003 closed 1 year ago
Known issue: the PR made the SSR of modal broken
Known issue: the PR made the SSR of modal broken
fixed by this commit https://github.com/vue-final/vue-final-modal/pull/355/commits/c134d8ae55c7285de7e300ce4450c6ead317fc16
Made useModal truly allowed to execute everywhere
Vfm should provide a way to create a modal instance outside of
setup script
, like a singleton of a dynamic modal, for example:and import the
modalInstance
from else where:and also open the modal right after create the modal instance, for example:
context: vfm
and replace it with thegetActiveVfm()
pattern that inspired frompinia