UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

15 lines (14 loc) 532 B
import { type App, type Component, createVNode, type VNodeProps } from 'vue'; export declare function mount<T extends Component, P = Record<string, unknown>>(component: T, options?: { props?: P & VNodeProps; children?: Parameters<typeof createVNode>[2]; app?: App; element?: HTMLElement; addDestroyInProps?: boolean; }): { vNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>; destroy: () => void; el: HTMLElement | undefined; };