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.

15 lines (14 loc) 612 B
import { DefineSetupFnComponent } from "vue"; //#region src/components/runtime/server-component.d.ts interface ServerComponentProps { lazy?: boolean; } type ServerComponentEmits = { error: (error: unknown) => void; }; type ServerComponentType = DefineSetupFnComponent<ServerComponentProps, ServerComponentEmits>; type IslandPageType = DefineSetupFnComponent<ServerComponentProps>; declare const createServerComponent: (name: string) => ServerComponentType; declare const createIslandPage: (name: string, islandKey?: string) => IslandPageType; //#endregion export { createIslandPage, createServerComponent };