@wroud/vite-plugin-ssg
Version:
A Vite plugin for static site generation (SSG) with React. Renders React applications to static HTML for faster load times and improved SEO.
13 lines • 454 B
TypeScript
import type React from "react";
export interface IndexComponentContext {
href?: string | null;
cspNonce?: string;
base?: string;
}
export interface IndexComponentProps {
renderTags: (injectTo?: "head" | "body" | "head-prepend" | "body-prepend") => React.ReactElement;
context: IndexComponentContext;
mainScriptUrl?: string;
}
export type IndexComponent = React.FC<IndexComponentProps>;
//# sourceMappingURL=IndexComponent.d.ts.map