MCPcopy Create free account
hub / github.com/vercel/examples / getTemplateById

Function getTemplateById

python/vibe-coding-ide/frontend/src/templates.ts:30–32  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

28
29// Get template by ID
30export function getTemplateById(id: string): ProjectTemplate | undefined {
31 return TEMPLATES.find((t) => t.id === id)
32}
33
34// -----------------------------
35// Stack composition helpers

Callers 3

ProjectsProviderFunction · 0.90
AppFunction · 0.90
composeStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected