StartServer - Solid Docs

StartServer takes a function returning a document component and converts it to a static document which can be used in createHandler to bootstrap the server.

import { StartServer } from "@solidjs/start/server";


Parameters

PropertyTypeDescription
documentFunctionA function that returns the static document for your application.