MCPcopy
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?
2export 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

serveFunction · 0.50
serveFunction · 0.50

Calls

no outgoing calls

Tested by 2

serveFunction · 0.40
serveFunction · 0.40