Skip to content

HtmlTag

ts
type HtmlTag: object;

Type declaration

attrs?

ts
optional attrs: Record<string, string | boolean>;

children?

ts
optional children: string | HtmlTag[];

injectTo?

ts
optional injectTo: "head" | "body" | "head-prepend" | "body-prepend";

tag

ts
tag: string;

Defined in

plugin/vite.ts:27 ↗