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.

27 lines (26 loc) 1.18 kB
import type { ComponentOptions, InjectionKey, SlotsType, VNode } from 'vue'; export declare const clientOnlySymbol: InjectionKey<boolean>; declare const _default: import("vue").DefineComponent<{ placeholder?: any; fallback?: any; placeholderTag?: any; fallbackTag?: any; }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{ placeholder?: any; fallback?: any; placeholderTag?: any; fallbackTag?: any; }> & Readonly<{}>, {}, SlotsType<{ default?: () => VNode[]; /** * Specify a content to be rendered on the server and displayed until `<ClientOnly>` is mounted in the browser. */ fallback?: () => VNode[]; placeholder?: () => VNode[]; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export declare function createClientOnly<T extends ComponentOptions>(component: T): any;