Skip to content

solid-template.ts#

View Markdown

Source

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>

View source

Parameters

  • templatePath string
  • root string

Returns

Promise<OgImageTemplateFn>