mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 20:43:05 +00:00
17 lines
1.6 KiB
JSON
17 lines
1.6 KiB
JSON
{
|
|
"id": "7e2f3a9aaaf1256e38d18cd0",
|
|
"source": "solid:signals",
|
|
"type": "github-document",
|
|
"title": "start-server",
|
|
"content": "---\ntitle: StartServer\nuse_cases: \u003e-\n server bootstrap, document setup, html structure, ssr configuration, server\n initialization\ntags:\n - server\n - bootstrap\n - document\n - ssr\n - initialization\n - html\nversion: '1.0'\ndescription: \u003e-\n Bootstrap SolidStart server with document components. Convert document\n functions to static HTML for server-side rendering setup.\n---\n\n`StartServer` takes a function returning a document component and converts it to a static document which can be used in [`createHandler`](/solid-start/reference/server/create-handler) to bootstrap the server.\n\n```tsx\nimport { StartServer } from \"@solidjs/start/server\";\n```\n\n## Parameters\n\n| Property | Type | Description |\n| -------- | -------- | ----------------------------------------------------------------- |\n| document | Function | A function that returns the static document for your application. |",
|
|
"url": "https://github.com/solidjs/solid-docs/blob/HEAD/src/routes/solid-start/reference/server/start-server.mdx",
|
|
"metadata": {
|
|
"path": "src/routes/solid-start/reference/server/start-server.mdx",
|
|
"repo": "solidjs/solid-docs",
|
|
"repo_url": "https://github.com/solidjs/solid-docs.git",
|
|
"size": 947,
|
|
"source_type": "github"
|
|
},
|
|
"hash": "c8dfb31d0f9df39184e95656ad31377ea52be0b6167b2e3ecc9f67bb7efbe066",
|
|
"timestamp": "2026-02-23T11:43:00.195419308+01:00"
|
|
} |