Module

x/fresh/server.ts>PluginRenderScripts

The next-gen web framework.
Extremely Popular
Go to Latest
interface PluginRenderScripts
import { type PluginRenderScripts } from "https://dotland.deno.dev/x/fresh@1.1.2/server.ts";

Properties

entrypoint: string

The "key" of the entrypoint (as specified in Plugin.entrypoints) for the script that should be loaded. The script must be an ES module that exports a default function.

The default function is invoked with the state argument specified below.

state: unknown

The state argument that is passed to the default export invocation of the entrypoint's default export. The state must be JSON-serializable.