Something went wrong. Try again.
[WIP] Matrix Client for web and desktop
Something went wrong. Try again.
12345678910111213141516171819202122232425import type { ParentProps } from "solid-js";import { HydrationScript } from "@solidjs/web";
// The document shell — the new index.html: picked up by the src/Document.*// convention, it wraps the app in the plugin's generated entries and must// render the full <html>. Head tags go here. It is compiled only into the// prerendered static shell and ships zero client-side JS: in client mode// <HydrationScript /> is stripped from the shell, and it activates when the// app flips to SSR (`ssr: true` in vite.config.ts) — no document changes// needed. Delete this file to fall back to the plugin's built-in shell.export default function Document(props: ParentProps) { return ( <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" href="/favicon.svg" /> <title>Asterisk</title> <HydrationScript /> </head> <body>{props.children}</body> </html> );}