something

This commit is contained in:
2025-08-04 00:16:33 -04:00
parent 0dc0a9ce62
commit 5527506cb9
12 changed files with 184 additions and 26 deletions

View File

@@ -1,21 +1,25 @@
// @refresh reload
import { createHandler, StartServer } from "@solidjs/start/server";
import { JSONFilePreset } from "lowdb/node";
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" />
<link rel="icon" href="/favicon.ico" />
{assets}
</head>
<body>
<div id="app">{children}</div>
{scripts}
</body>
</html>
)}
/>
<StartServer
document={({ assets, children, scripts }) => (
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<link rel="icon" href="/favicon.ico" />
{assets}
</head>
<body>
<div id="app">{children}</div>
{scripts}
</body>
</html>
)}
/>
));