Download packages/console/support/src/entry-server.tsx from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/console/support/src/entry-server.tsx
- Command line
-
hf download hf://SaylorTwift/opencode/packages/console/support/src/entry-server.tsx
-
curl -L -o entry-server.tsx https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/console/support/src/entry-server.tsx
627 Bytes
| // @refresh reload | |
| import { createHandler, StartServer } from "@solidjs/start/server" | |
| export default createHandler( | |
| () => ( | |
| <StartServer | |
| document={({ assets, children, scripts }) => ( | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="robots" content="noindex,nofollow" /> | |
| {assets} | |
| </head> | |
| <body> | |
| <div id="app">{children}</div> | |
| {scripts} | |
| </body> | |
| </html> | |
| )} | |
| /> | |
| ), | |
| { | |
| mode: "async", | |
| }, | |
| ) | |