solid-template.ts#
1 documented symbol. Read the signatures first, then expand each item for parameters, return types, and examples.
1
symbols
1
functions
2
parameters
1
returns
Reference#
fnresolveSolidTemplate(templatePath: string, root: string): Promise<OgImageTemplateFn>Compile Solid JSX for the server; it cannot use React's JSX transform.
Compile Solid JSX for the server; it cannot use React's JSX transform.
Signature
export async function resolveSolidTemplate(templatePath: string, root: string): Promise<OgImageTemplateFn>Parameters
-
templatePathstring -
rootstring
Returns
Promise<OgImageTemplateFn>