@lunoxjs/view-plugin-svelte
Version:
Lunox View Plugin Svelte
13 lines (11 loc) • 332 B
TypeScript
/**
* render method used in vite ssr
*/
declare const makeRender: (modules: any, viewPath?: string | undefined) => (url: any, props: any, req: Request, ctx: Record<string, any>, cb: (props: any) => any) => Promise<(string | {
html: string;
head: string;
css: {
code: any;
};
})[]>;
export { makeRender };