بنقرة واحدة
content-sdk-component-data-strategy
Layout from getPage; site/locale from route params; serializable client props.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Layout from getPage; site/locale from route params; serializable client props.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Layout data from getPage/getComponentData; path/locale from extractPath/context.
Registers components in .sitecore/component-map.ts for Pages Router layout and editing.
Creates new Sitecore components under src/components/. Pages Router; map auto-regenerates on dev/build.
Multiple renderings of one component type; regenerate component map after changes.
Next.js i18n via next.config.js; locale from context.locale in data methods.
Preview/editing for Pages Router via context.preview and context.previewData in [[...path]].tsx.
| name | content-sdk-component-data-strategy |
| description | Layout from getPage; site/locale from route params; serializable client props. |
Detail: AGENTS-router-specifics.md#data-fetching-and-preview
client.getPage(path ?? [], { site, locale }) in page Server Components{ site, locale } from await paramsDocs: Content SDK.