Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ render
Function
render
playground/legacy/entry-server.js:2–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
// This counts as 'server-side' rendering, yes?
2
export
async
function
render() {
3
return
/* html */ `
4
<div id=
"app"
>Hello</div>
5
<div id=
"env"
>${
import
.meta.env.LEGACY}</div>
6
`
7
}
Callers
2
serve
Function · 0.50
serve
Function · 0.50
Calls
no outgoing calls
Tested by
2
serve
Function · 0.40
serve
Function · 0.40