MCPcopy
hub / github.com/vitejs/vite / render

Function render

playground/ssr-wasm/src/direct-add.js:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { add } from './add.wasm'
2
3export async function render() {
4 return `<div class="direct-add">${add(1, 2)}</div>`
5}

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected