simple vite react ssr setup
This commit is contained in:
6
packages/docs-new/src/entry.server.tsx
Normal file
6
packages/docs-new/src/entry.server.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import * as React from "react"
|
||||
import { Root } from "./root"
|
||||
|
||||
export async function render(url: string) {
|
||||
return <Root />
|
||||
}
|
||||
Reference in New Issue
Block a user