Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 596 Bytes

File metadata and controls

15 lines (11 loc) · 596 Bytes
title StartServer

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

Property Type Description
document Function A function that returns the static document for your application.