UNPKG

piral-vue

Version:

Plugin for integrating Vue@2 components in Piral.

5 lines (4 loc) 763 B
import Vue from 'vue'; import type { BaseComponentProps, ComponentContext } from 'piral-core'; export declare function register<T>(name: string, component: Vue.Component<T>): void; export declare function mountVue<T extends BaseComponentProps>(el: HTMLElement, root: Vue.Component<T>, props: T, ctx: ComponentContext, captured?: Record<string, any>): import("vue/types/vue").CombinedVueInstance<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue>, object, object, object, Record<never, any>, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-public-instance").OptionTypesType<{}, {}, {}, {}, {}, {}>>;