Skip to main content
Manusで任意のスキルを実行
ワンクリックで
$pwd:

deco-server-functions-invoke

// How server functions (invoke) work in Deco storefronts — the generate-invoke pipeline that bridges @decocms/apps pure functions to TanStack Start createServerFn with top-level declarations. Covers the root cause of CORS issues with VTEX API calls, why createServerFn must be top-level, the three-layer architecture (apps=pure functions, start=generator, site=generated invoke), the generate-invoke.ts script, and the comparison with deco-cx/deco's Proxy+HTTP invoke. Use when debugging CORS in cart/checkout, adding new server actions, understanding why invoke calls hit VTEX directly from the browser, or setting up invoke for a new site.

$ git log --oneline --stat
stars:2
forks:1
updated:2026年5月27日 01:37
ファイルエクスプローラー
5 ファイル
SKILL.md
readonly