Skip to content

Universal DevTools Kit SDK


Universal DevTools Kit SDK / @u-devtools/overlay / mountAppOverlay

Function: mountAppOverlay() ​

mountAppOverlay(component, props): Promise<() => void>

Defined in: overlay.ts:14

Mount a Vue component into the plugins overlay layer.

Styles are automatically available from the shared style context in the overlay's Shadow DOM (Tailwind + UI Kit loaded once).

Parameters ​

ParameterTypeDescription
componentComponentVue component to mount
propsRecord<string, any>Props to pass to the component

Returns ​

Promise<() => void>

Unmount function to clean up

Released under the MIT License.