We are using vue-js-modal
in our project, and I want to open a modal from code which isn't in a vue component. The documentation only indicate how to use the API from a component. There is a way to manipulate vue-js-modal
from anywhere ?
The X problem, I want to warn user with a popup when a router error occure in router.onError((error)=>...)