diff --git a/src/entry-client.tsx b/src/entry-client.tsx new file mode 100644 index 0000000..bbc51ed --- /dev/null +++ b/src/entry-client.tsx @@ -0,0 +1,4 @@ +import { hydrate } from "solid-js/web"; +import { StartClient } from "solid-start/entry-client"; + +hydrate(() => , document); diff --git a/src/entry-server.tsx b/src/entry-server.tsx new file mode 100644 index 0000000..93ffdbe --- /dev/null +++ b/src/entry-server.tsx @@ -0,0 +1,9 @@ +import { + StartServer, + createHandler, + renderAsync, +} from "solid-start/entry-server"; + +export default createHandler( + renderAsync((context) => ) +); diff --git a/src/root.tsx b/src/root.tsx new file mode 100644 index 0000000..10b1729 --- /dev/null +++ b/src/root.tsx @@ -0,0 +1,26 @@ +// @refresh reload +import { Links, Meta, Routes, Scripts } from "solid-start/root"; +import { ErrorBoundary } from "solid-start/error-boundary"; +import { Suspense } from "solid-js"; +import "./index.css"; + +export default function Root() { + return ( + + + + + + + + + + + + + + + + + ); +}