UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

17 lines (16 loc) 729 B
import { DefineSetupFnComponent, InjectionKey, SlotsType, VNode } from "vue"; //#region src/app/components/nuxt-teleport-island-component.d.ts declare const NuxtTeleportIslandSymbol: InjectionKey<false | string>; /** * component only used with componentsIsland * this teleport the component in SSR only if it needs to be hydrated on client */ interface NuxtTeleportIslandComponentProps { nuxtClient?: boolean; } type NuxtTeleportIslandComponentSlots = SlotsType<{ default?: () => VNode[]; }>; declare const NuxtTeleportIslandComponent: DefineSetupFnComponent<NuxtTeleportIslandComponentProps, {}, NuxtTeleportIslandComponentSlots>; //#endregion export { NuxtTeleportIslandSymbol, NuxtTeleportIslandComponent as default };