simple vite react ssr setup

This commit is contained in:
MapleLeaf
2021-12-31 10:51:06 -06:00
committed by Darius
parent 44bdfa0d8e
commit 66e4ebc250
9 changed files with 223 additions and 328 deletions

View File

@@ -0,0 +1,6 @@
import * as React from "react"
import { Root } from "./root"
export async function render(url: string) {
return <Root />
}