Server

StartServer

Edit this page

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

document

Type: Function

A function that returns the static document for your application.

Report an issue with this page