Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh/server.ts>PluginRenderScripts

The next-gen web framework.
Extremely Popular
Go to Latest
interface PluginRenderScripts
import { type PluginRenderScripts } from "https://deno.land/x/fresh@1.1.5/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.