UNPKG

iles

Version:

Vite & Vue powered static site generator with partial hydration

6 lines (5 loc) 390 B
import type { Component, VNode, AsyncComponentLoader } from 'vue'; export type Nodes = undefined | VNode<any, any, any> | VNode<any, any, any>[]; export type VueRenderable = AsyncComponentLoader | Component | Nodes | ((props?: any) => Nodes | Promise<Nodes>); export type VNodeRenderer = (content: VueRenderable) => Promise<string>; export declare function useVueRenderer(): VNodeRenderer;