V
activeAppPlugin
v0.1.0testeddemoVue plugin that registers the app as the active one and clears the registration when the app unmounts (unless another app took over in the meantime).
Example
ts
// main.ts
createApp(App).use(activeAppPlugin).mount('#app');Demo
Loading demo…
Signature
ts
const activeAppPlugin: Plugin