[{"data":1,"prerenderedAt":970},["ShallowReactive",2],{"navigation":3,"\u002Fextending-the-cwa":630,"\u002Fextending-the-cwa-surround":965},[4,24,67,93,240,541,559],{"title":5,"path":6,"stem":7,"children":8,"collapsed":23},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Key Ideas","\u002Fgetting-started\u002Fkey-ideas","1.getting-started\u002F3.key-ideas",{"title":20,"path":21,"stem":22},"Releases","\u002Fgetting-started\u002Freleases","1.getting-started\u002F4.releases",true,{"title":25,"path":26,"stem":27,"children":28,"collapsed":23},"Core Concepts","\u002Fcore-concepts","2.core-concepts\u002F0.index",[29,31,35,39,43,47,51,55,59,63],{"title":30,"path":26,"stem":27},"Overview",{"title":32,"path":33,"stem":34},"How It All Works","\u002Fcore-concepts\u002Farchitecture","2.core-concepts\u002F1.architecture",{"title":36,"path":37,"stem":38},"The Data Model","\u002Fcore-concepts\u002Fthe-data-model","2.core-concepts\u002F2.the-data-model",{"title":40,"path":41,"stem":42},"Layouts & Pages","\u002Fcore-concepts\u002Flayouts-and-pages","2.core-concepts\u002F3.layouts-and-pages",{"title":44,"path":45,"stem":46},"Dynamic Pages","\u002Fcore-concepts\u002Fdynamic-pages","2.core-concepts\u002F4.dynamic-pages",{"title":48,"path":49,"stem":50},"Components","\u002Fcore-concepts\u002Fcomponents","2.core-concepts\u002F5.components",{"title":52,"path":53,"stem":54},"Draft & Publish Workflow","\u002Fcore-concepts\u002Fdraft-and-publish","2.core-concepts\u002F6.draft-and-publish",{"title":56,"path":57,"stem":58},"The Admin Panel","\u002Fcore-concepts\u002Fadmin-panel","2.core-concepts\u002F7.admin-panel",{"title":60,"path":61,"stem":62},"Caching","\u002Fcore-concepts\u002Fcaching","2.core-concepts\u002F8.caching",{"title":64,"path":65,"stem":66},"Glossary","\u002Fcore-concepts\u002Fglossary","2.core-concepts\u002F9.glossary",{"title":68,"path":69,"stem":70,"children":71,"collapsed":23},"Guides","\u002Fguides","3.guides\u002F0.index",[72,73,77,81,85,89],{"title":30,"path":69,"stem":70},{"title":74,"path":75,"stem":76},"Your First Layout","\u002Fguides\u002Fyour-first-layout","3.guides\u002F1.your-first-layout",{"title":78,"path":79,"stem":80},"Your First Page Template","\u002Fguides\u002Fyour-first-page-template","3.guides\u002F2.your-first-page-template",{"title":82,"path":83,"stem":84},"Your First Component","\u002Fguides\u002Fyour-first-component","3.guides\u002F3.your-first-component",{"title":86,"path":87,"stem":88},"Alternative UI Variants","\u002Fguides\u002Falternative-ui-variants","3.guides\u002F4.alternative-ui-variants",{"title":90,"path":91,"stem":92},"Your First Dynamic Page","\u002Fguides\u002Fyour-first-dynamic-page","3.guides\u002F5.your-first-dynamic-page",{"title":94,"path":95,"stem":96,"children":97,"collapsed":23},"API Bundle (Back-End)","\u002Fapi","4.api\u002F0.index",[98,99,103,107,133,179,183,187,216,220,224,228,232,236],{"title":30,"path":95,"stem":96},{"title":100,"path":101,"stem":102},"Bundle Setup","\u002Fapi\u002Fbundle-setup","4.api\u002F02.bundle-setup",{"title":104,"path":105,"stem":106},"Configuration Reference","\u002Fapi\u002Fconfiguration","4.api\u002F03.configuration",{"title":108,"path":109,"stem":110,"children":111,"page":132},"Users","\u002Fapi\u002Fusers","4.api\u002F04.users",[112,116,120,124,128],{"title":113,"path":114,"stem":115},"Authentication","\u002Fapi\u002Fusers\u002Fauthentication","4.api\u002F04.users\u002F1.authentication",{"title":117,"path":118,"stem":119},"User Emails","\u002Fapi\u002Fusers\u002Fuser-emails","4.api\u002F04.users\u002F2.user-emails",{"title":121,"path":122,"stem":123},"Access Control","\u002Fapi\u002Fusers\u002Faccess-control","4.api\u002F04.users\u002F3.access-control",{"title":125,"path":126,"stem":127},"Sites with Non-Admin Users","\u002Fapi\u002Fusers\u002Fnon-admin-users","4.api\u002F04.users\u002F4.non-admin-users",{"title":129,"path":130,"stem":131},"Admin Roles","\u002Fapi\u002Fusers\u002Fadmin-roles","4.api\u002F04.users\u002F5.admin-roles",false,{"title":48,"path":134,"stem":135,"children":136,"page":132},"\u002Fapi\u002Fcomponents","4.api\u002F05.components",[137,141,162,175],{"title":138,"path":139,"stem":140},"Creating Components","\u002Fapi\u002Fcomponents\u002Fcreating-components","4.api\u002F05.components\u002F1.creating-components",{"title":142,"path":143,"stem":144,"children":145,"page":132},"Annotations","\u002Fapi\u002Fcomponents\u002Fannotations","4.api\u002F05.components\u002F2.annotations",[146,150,154,158],{"title":147,"path":148,"stem":149},"Publishable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fpublishable","4.api\u002F05.components\u002F2.annotations\u002F1.publishable",{"title":151,"path":152,"stem":153},"Uploadable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fuploadable","4.api\u002F05.components\u002F2.annotations\u002F2.uploadable",{"title":155,"path":156,"stem":157},"Timestamped","\u002Fapi\u002Fcomponents\u002Fannotations\u002Ftimestamped","4.api\u002F05.components\u002F2.annotations\u002F3.timestamped",{"title":159,"path":160,"stem":161},"Explicit Allow Only","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fexplicit-allow-only","4.api\u002F05.components\u002F2.annotations\u002F4.explicit-allow-only",{"title":163,"path":164,"stem":165,"children":166,"page":132},"Built Ins","\u002Fapi\u002Fcomponents\u002Fbuilt-ins","4.api\u002F05.components\u002F3.built-ins",[167,171],{"title":168,"path":169,"stem":170},"Collection Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fcollection-component","4.api\u002F05.components\u002F3.built-ins\u002F1.collection-component",{"title":172,"path":173,"stem":174},"Form Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fform-component","4.api\u002F05.components\u002F3.built-ins\u002F2.form-component",{"title":176,"path":177,"stem":178},"Groups & Positions","\u002Fapi\u002Fcomponents\u002Fcomponent-groups","4.api\u002F05.components\u002F4.component-groups",{"title":180,"path":181,"stem":182},"Page Data & Nested Pages","\u002Fapi\u002Fdynamic-pages","4.api\u002F06.dynamic-pages",{"title":184,"path":185,"stem":186},"Routes","\u002Fapi\u002Froutes","4.api\u002F07.routes",{"title":188,"path":189,"stem":190,"children":191,"page":132},"Data Fixtures","\u002Fapi\u002Fdata-fixtures","4.api\u002F08.data-fixtures",[192,196,200,204,208,212],{"title":193,"path":194,"stem":195},"Getting Started with Fixtures","\u002Fapi\u002Fdata-fixtures\u002Fgetting-started","4.api\u002F08.data-fixtures\u002F1.getting-started",{"title":197,"path":198,"stem":199},"Writing a Scaffold","\u002Fapi\u002Fdata-fixtures\u002Fwriting-a-scaffold","4.api\u002F08.data-fixtures\u002F2.writing-a-scaffold",{"title":201,"path":202,"stem":203},"Builder Reference","\u002Fapi\u002Fdata-fixtures\u002Fbuilder-reference","4.api\u002F08.data-fixtures\u002F3.builder-reference",{"title":205,"path":206,"stem":207},"Seeding Content","\u002Fapi\u002Fdata-fixtures\u002Fseeding-content","4.api\u002F08.data-fixtures\u002F4.seeding-content",{"title":209,"path":210,"stem":211},"Appending & Multiple Scaffolds","\u002Fapi\u002Fdata-fixtures\u002Fappending","4.api\u002F08.data-fixtures\u002F5.appending",{"title":213,"path":214,"stem":215},"Generating Fixtures","\u002Fapi\u002Fdata-fixtures\u002Fgenerating-fixtures","4.api\u002F08.data-fixtures\u002F6.generating-fixtures",{"title":217,"path":218,"stem":219},"Real-Time (Mercure)","\u002Fapi\u002Freal-time","4.api\u002F09.real-time",{"title":221,"path":222,"stem":223},"Versions & Conflicts","\u002Fapi\u002Fversions-and-conflicts","4.api\u002F09.versions-and-conflicts",{"title":225,"path":226,"stem":227},"HTTP Caching","\u002Fapi\u002Fhttp-caching","4.api\u002F10.http-caching",{"title":229,"path":230,"stem":231},"Orphaned Data","\u002Fapi\u002Forphaned-data","4.api\u002F11.orphaned-data",{"title":233,"path":234,"stem":235},"Console Commands","\u002Fapi\u002Fconsole-commands","4.api\u002F12.console-commands",{"title":237,"path":238,"stem":239},"Debugging & Errors","\u002Fapi\u002Fdebugging","4.api\u002F13.debugging",{"title":241,"path":242,"stem":243,"children":244,"collapsed":23},"Nuxt Module (Front-End)","\u002Fnuxt-module","5.nuxt-module\u002F0.index",[245,246,250,263,287,316,337,468,502,505,533,537],{"title":30,"path":242,"stem":243},{"title":247,"path":248,"stem":249},"Module Setup","\u002Fnuxt-module\u002Fmodule-setup","5.nuxt-module\u002F01.module-setup",{"title":251,"path":252,"stem":253,"children":254,"page":132},"Configuration","\u002Fnuxt-module\u002Fconfiguration","5.nuxt-module\u002F02.configuration",[255,259],{"title":256,"path":257,"stem":258},"Nuxt Config","\u002Fnuxt-module\u002Fconfiguration\u002Fnuxt-config","5.nuxt-module\u002F02.configuration\u002F1.nuxt-config",{"title":260,"path":261,"stem":262},"Site Config & SEO","\u002Fnuxt-module\u002Fconfiguration\u002Fsite-config-and-seo","5.nuxt-module\u002F02.configuration\u002F2.site-config-and-seo",{"title":264,"path":265,"stem":266,"children":267,"page":132},"Building Your Ui","\u002Fnuxt-module\u002Fbuilding-your-ui","5.nuxt-module\u002F03.building-your-ui",[268,272,276,279,283],{"title":269,"path":270,"stem":271},"Layouts","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-layouts","5.nuxt-module\u002F03.building-your-ui\u002F1.creating-layouts",{"title":273,"path":274,"stem":275},"Page Templates","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-page-templates","5.nuxt-module\u002F03.building-your-ui\u002F2.creating-page-templates",{"title":48,"path":277,"stem":278},"\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-components","5.nuxt-module\u002F03.building-your-ui\u002F3.creating-components",{"title":280,"path":281,"stem":282},"CLI Generator","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcwa-cli","5.nuxt-module\u002F03.building-your-ui\u002F4.cwa-cli",{"title":284,"path":285,"stem":286},"Categorise and Restrict","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcategorise-and-restrict","5.nuxt-module\u002F03.building-your-ui\u002F5.categorise-and-restrict",{"title":288,"path":289,"stem":290,"children":291,"page":132},"Component Helpers","\u002Fnuxt-module\u002Fcomponent-helpers","5.nuxt-module\u002F04.component-helpers",[292,296,300,304,308,312],{"title":293,"path":294,"stem":295},"Images & Media","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fimages-and-uploads","5.nuxt-module\u002F04.component-helpers\u002F1.images-and-uploads",{"title":297,"path":298,"stem":299},"Collections & Pagination","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fcollections-and-pagination","5.nuxt-module\u002F04.component-helpers\u002F2.collections-and-pagination",{"title":301,"path":302,"stem":303},"HTML Content","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fhtml-content","5.nuxt-module\u002F04.component-helpers\u002F3.html-content",{"title":305,"path":306,"stem":307},"Rich-Text Editor","\u002Fnuxt-module\u002Fcomponent-helpers\u002Frich-text-editor","5.nuxt-module\u002F04.component-helpers\u002F4.rich-text-editor",{"title":309,"path":310,"stem":311},"Real-Time Updates","\u002Fnuxt-module\u002Fcomponent-helpers\u002Freal-time-updates","5.nuxt-module\u002F04.component-helpers\u002F5.real-time-updates",{"title":313,"path":314,"stem":315},"Forms","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fforms","5.nuxt-module\u002F04.component-helpers\u002F6.forms",{"title":317,"path":318,"stem":319,"children":320,"page":132},"Cwa Components","\u002Fnuxt-module\u002Fcwa-components","5.nuxt-module\u002F05.cwa-components",[321,325,329,333],{"title":322,"path":323,"stem":324},"\u003CCwaComponentGroup \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-component-group","5.nuxt-module\u002F05.cwa-components\u002F1.cwa-component-group",{"title":326,"path":327,"stem":328},"\u003CCwaPage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-page","5.nuxt-module\u002F05.cwa-components\u002F2.cwa-page",{"title":330,"path":331,"stem":332},"\u003CCwaLink \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-link","5.nuxt-module\u002F05.cwa-components\u002F3.cwa-link",{"title":334,"path":335,"stem":336},"\u003CCwaDefaultLayout \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-default-layout","5.nuxt-module\u002F05.cwa-components\u002F5.cwa-default-layout",{"title":338,"path":339,"stem":340,"children":341,"page":132},"Composables","\u002Fnuxt-module\u002Fcomposables","5.nuxt-module\u002F06.composables",[342,345,353,378,398,423,443],{"title":30,"path":343,"stem":344},"\u002Fnuxt-module\u002Fcomposables\u002Foverview","5.nuxt-module\u002F06.composables\u002F0.overview",{"title":346,"path":347,"stem":348,"children":349,"page":132},"Layout","\u002Fnuxt-module\u002Fcomposables\u002Flayout","5.nuxt-module\u002F06.composables\u002F1.layout",[350],{"title":346,"path":351,"stem":352},"\u002Fnuxt-module\u002Fcomposables\u002Flayout\u002Fuse-cwa-layout","5.nuxt-module\u002F06.composables\u002F1.layout\u002F1.use-cwa-layout",{"title":354,"path":355,"stem":356,"children":357,"page":132},"Component","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent","5.nuxt-module\u002F06.composables\u002F2.component",[358,362,366,370,374],{"title":359,"path":360,"stem":361},"Component (recommended)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-component","5.nuxt-module\u002F06.composables\u002F2.component\u002F1.use-cwa-component",{"title":363,"path":364,"stem":365},"Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-resource","5.nuxt-module\u002F06.composables\u002F2.component\u002F2.use-cwa-resource",{"title":367,"path":368,"stem":369},"File Field","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-file-field","5.nuxt-module\u002F06.composables\u002F2.component\u002F3.use-cwa-file-field",{"title":371,"path":372,"stem":373},"Collection Pagination","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-pagination","5.nuxt-module\u002F06.composables\u002F2.component\u002F4.use-cwa-collection-pagination",{"title":375,"path":376,"stem":377},"Collection Resource (deprecated)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-resource","5.nuxt-module\u002F06.composables\u002F2.component\u002F9.use-cwa-collection-resource",{"title":379,"path":380,"stem":381,"children":382,"page":132},"Form","\u002Fnuxt-module\u002Fcomposables\u002Fform","5.nuxt-module\u002F06.composables\u002F3.form",[383,386,390,394],{"title":379,"path":384,"stem":385},"\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form","5.nuxt-module\u002F06.composables\u002F3.form\u002F1.use-cwa-form",{"title":387,"path":388,"stem":389},"Form Input","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-input","5.nuxt-module\u002F06.composables\u002F3.form\u002F2.use-cwa-form-input",{"title":391,"path":392,"stem":393},"Form Repeated","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-repeated","5.nuxt-module\u002F06.composables\u002F3.form\u002F3.use-cwa-form-repeated",{"title":395,"path":396,"stem":397},"Form Collection","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-collection","5.nuxt-module\u002F06.composables\u002F3.form\u002F4.use-cwa-form-collection",{"title":399,"path":400,"stem":401,"children":402,"page":132},"Admin Manager","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager","5.nuxt-module\u002F06.composables\u002F4.admin-manager",[403,407,411,415,419],{"title":404,"path":405,"stem":406},"Manager Tab","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-manager-tab","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F1.use-cwa-resource-manager-tab",{"title":408,"path":409,"stem":410},"Resource Model","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F2.use-cwa-resource-model",{"title":412,"path":413,"stem":414},"Resource Upload","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-upload","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F3.use-cwa-resource-upload",{"title":416,"path":417,"stem":418},"Remote Changes","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fon-remote-change","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F4.on-remote-change",{"title":420,"path":421,"stem":422},"Real-Time Events","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-realtime","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F5.use-cwa-realtime",{"title":424,"path":425,"stem":426,"children":427,"page":132},"Utilities","\u002Fnuxt-module\u002Fcomposables\u002Futilities","5.nuxt-module\u002F06.composables\u002F5.utilities",[428,432,436,440],{"title":429,"path":430,"stem":431},"Resource Endpoint","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-endpoint","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F1.use-cwa-resource-endpoint",{"title":433,"path":434,"stem":435},"Query Model","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-query-bound-model","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F2.use-query-bound-model",{"title":437,"path":438,"stem":439},"Resource Route","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-route","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F3.use-cwa-resource-route",{"title":301,"path":441,"stem":442},"\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-html-content","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F4.use-html-content",{"title":444,"path":445,"stem":446,"children":447,"page":132},"Auth","\u002Fnuxt-module\u002Fcomposables\u002Fauth","5.nuxt-module\u002F06.composables\u002F6.auth",[448,452,456,460,464],{"title":449,"path":450,"stem":451},"Login","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-login","5.nuxt-module\u002F06.composables\u002F6.auth\u002F1.use-login",{"title":453,"path":454,"stem":455},"Forgot Password","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-forgot-password","5.nuxt-module\u002F06.composables\u002F6.auth\u002F2.use-forgot-password",{"title":457,"path":458,"stem":459},"Reset Password","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-reset-password","5.nuxt-module\u002F06.composables\u002F6.auth\u002F3.use-reset-password",{"title":461,"path":462,"stem":463},"Verify Email","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-verify-email","5.nuxt-module\u002F06.composables\u002F6.auth\u002F4.use-verify-email",{"title":465,"path":466,"stem":467},"Resend Verify Email","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-resend-verify-email","5.nuxt-module\u002F06.composables\u002F6.auth\u002F5.use-resend-verify-email",{"title":469,"path":470,"stem":471,"children":472,"page":132},"Cwa Api","\u002Fnuxt-module\u002Fcwa-api","5.nuxt-module\u002F07.cwa-api",[473,476,480,484,487,490,494,498],{"title":30,"path":474,"stem":475},"\u002Fnuxt-module\u002Fcwa-api\u002Foverview","5.nuxt-module\u002F07.cwa-api\u002F1.overview",{"title":477,"path":478,"stem":479},"Resources","\u002Fnuxt-module\u002Fcwa-api\u002Fresources","5.nuxt-module\u002F07.cwa-api\u002F2.resources",{"title":481,"path":482,"stem":483},"Resources Manager","\u002Fnuxt-module\u002Fcwa-api\u002Fresources-manager","5.nuxt-module\u002F07.cwa-api\u002F3.resources-manager",{"title":444,"path":485,"stem":486},"\u002Fnuxt-module\u002Fcwa-api\u002Fauth","5.nuxt-module\u002F07.cwa-api\u002F4.auth",{"title":313,"path":488,"stem":489},"\u002Fnuxt-module\u002Fcwa-api\u002Fforms","5.nuxt-module\u002F07.cwa-api\u002F5.forms",{"title":491,"path":492,"stem":493},"Admin","\u002Fnuxt-module\u002Fcwa-api\u002Fadmin","5.nuxt-module\u002F07.cwa-api\u002F6.admin",{"title":495,"path":496,"stem":497},"Site Config","\u002Fnuxt-module\u002Fcwa-api\u002Fsite-config","5.nuxt-module\u002F07.cwa-api\u002F7.site-config",{"title":499,"path":500,"stem":501},"Orphaned Resources","\u002Fnuxt-module\u002Fcwa-api\u002Forphaned-resources","5.nuxt-module\u002F07.cwa-api\u002F8.orphaned-resources",{"title":113,"path":503,"stem":504},"\u002Fnuxt-module\u002Fauthentication","5.nuxt-module\u002F08.authentication",{"title":506,"path":507,"stem":508,"children":509,"page":132},"Cwa Layer","\u002Fnuxt-module\u002Fcwa-layer","5.nuxt-module\u002F9.cwa-layer",[510,513,517,521,525,529],{"title":30,"path":511,"stem":512},"\u002Fnuxt-module\u002Fcwa-layer\u002Foverview","5.nuxt-module\u002F9.cwa-layer\u002F1.overview",{"title":514,"path":515,"stem":516},"Auth Pages","\u002Fnuxt-module\u002Fcwa-layer\u002Fauth-pages","5.nuxt-module\u002F9.cwa-layer\u002F2.auth-pages",{"title":518,"path":519,"stem":520},"Admin Panel","\u002Fnuxt-module\u002Fcwa-layer\u002Fadmin-panel","5.nuxt-module\u002F9.cwa-layer\u002F3.admin-panel",{"title":522,"path":523,"stem":524},"Styling","\u002Fnuxt-module\u002Fcwa-layer\u002Fstyling","5.nuxt-module\u002F9.cwa-layer\u002F4.styling",{"title":526,"path":527,"stem":528},"Date Pickers","\u002Fnuxt-module\u002Fcwa-layer\u002Fdate-pickers","5.nuxt-module\u002F9.cwa-layer\u002F5.date-pickers",{"title":530,"path":531,"stem":532},"Maintenance","\u002Fnuxt-module\u002Fcwa-layer\u002Fmaintenance","5.nuxt-module\u002F9.cwa-layer\u002F6.maintenance",{"title":534,"path":535,"stem":536},"PWA & Offline","\u002Fnuxt-module\u002Fpwa","5.nuxt-module\u002F91.pwa",{"title":538,"path":539,"stem":540},"Page Caching","\u002Fnuxt-module\u002Fpage-caching","5.nuxt-module\u002F92.page-caching",{"title":542,"path":543,"stem":544,"children":545,"collapsed":23},"Extending the CWA","\u002Fextending-the-cwa","55.extending-the-cwa\u002F0.index",[546,547,551,555],{"title":30,"path":543,"stem":544},{"title":548,"path":549,"stem":550},"Registering an Extension","\u002Fextending-the-cwa\u002Fregistering-an-extension","55.extending-the-cwa\u002F1.registering-an-extension",{"title":552,"path":553,"stem":554},"Admin Pages","\u002Fextending-the-cwa\u002Fadmin-pages","55.extending-the-cwa\u002F2.admin-pages",{"title":556,"path":557,"stem":558},"Sign-In and Sign-Out Events","\u002Fextending-the-cwa\u002Fauth-events","55.extending-the-cwa\u002F3.auth-events",{"title":560,"path":561,"stem":562,"children":563,"collapsed":23},"Deployment & Operations","\u002Fdeployment","6.deployment\u002F0.index",[564,566,570,574,578,582,586,590,594,598,602,606,610,614,618,622,626],{"title":565,"path":561,"stem":562},"Deploying a CWA Site",{"title":567,"path":568,"stem":569},"Docker","\u002Fdeployment\u002Fdocker","6.deployment\u002F1.docker",{"title":571,"path":572,"stem":573},"Deploy to One Server","\u002Fdeployment\u002Fone-server","6.deployment\u002F1.one-server",{"title":575,"path":576,"stem":577},"Kubernetes & Helm","\u002Fdeployment\u002Fkubernetes","6.deployment\u002F2.kubernetes",{"title":579,"path":580,"stem":581},"Moving From One Server to Kubernetes","\u002Fdeployment\u002Fmoving-to-kubernetes","6.deployment\u002F2.moving-to-kubernetes",{"title":583,"path":584,"stem":585},"Scaled Mode","\u002Fdeployment\u002Fscaled-mode","6.deployment\u002F2.scaled-mode",{"title":587,"path":588,"stem":589},"CI\u002FCD","\u002Fdeployment\u002Fci-cd","6.deployment\u002F3.ci-cd",{"title":591,"path":592,"stem":593},"Migrations and Backups","\u002Fdeployment\u002Fmigrations-and-backups","6.deployment\u002F3.migrations-and-backups",{"title":595,"path":596,"stem":597},"CI\u002FCD Variables","\u002Fdeployment\u002Fvariables","6.deployment\u002F4.variables",{"title":599,"path":600,"stem":601},"Cloudflare","\u002Fdeployment\u002Fcloudflare","6.deployment\u002F5.cloudflare",{"title":603,"path":604,"stem":605},"Origin Protection","\u002Fdeployment\u002Forigin-protection","6.deployment\u002F5.origin-protection",{"title":607,"path":608,"stem":609},"Load Testing","\u002Fdeployment\u002Fload-testing","6.deployment\u002F6.load-testing",{"title":611,"path":612,"stem":613},"Performance Audit","\u002Fdeployment\u002Fperformance-audit","6.deployment\u002F6.performance-audit",{"title":615,"path":616,"stem":617},"Reading Lighthouse Scores","\u002Fdeployment\u002Freading-lighthouse-scores","6.deployment\u002F6.reading-lighthouse-scores",{"title":619,"path":620,"stem":621},"Browser Tests","\u002Fdeployment\u002Fbrowser-tests","6.deployment\u002F7.browser-tests",{"title":623,"path":624,"stem":625},"Faster Functional Tests","\u002Fdeployment\u002Ffaster-functional-tests","6.deployment\u002F7.faster-functional-tests",{"title":627,"path":628,"stem":629},"Troubleshooting","\u002Fdeployment\u002Ftroubleshooting","6.deployment\u002F7.troubleshooting",{"id":631,"title":542,"badge":632,"body":633,"description":959,"extension":960,"links":632,"meta":961,"navigation":962,"path":543,"seo":963,"stem":544,"__hash__":964},"docs\u002F55.extending-the-cwa\u002F0.index.md",null,{"type":634,"value":635,"toc":954},"minimark",[636,650,676,684,695,713,718,725,735,751,755,766,874,877,881,945,950],[637,638,639,640,644,645,649],"p",{},"An ",[641,642,643],"strong",{},"extension"," is a Nuxt module that adds a feature to any CWA site, for example a shop. A site installs it like any other Nuxt module, and the extension tells CWA what it brings with the ",[646,647,648],"code",{},"cwa:extend"," hook:",[651,652,653,660,670],"ul",{},[654,655,656,659],"li",{},[641,657,658],{},"Components, layouts and page templates",", named with the extension's prefix. Editors place them like the site's own, and the site can replace any of them with a file of its own.",[654,661,662,665,666,669],{},[641,663,664],{},"Admin pages"," under ",[646,667,668],{},"\u002F_cwa",", such as an orders list, with an optional role and an entry in the admin menu.",[654,671,672,675],{},[641,673,674],{},"Paths kept out of the page cache",", such as a basket or an account area that differs for each visitor.",[637,677,678,679,683],{},"It can also listen for ",[680,681,682],"a",{"href":557},"sign-in and sign-out",", to load or forget what belongs to the visitor.",[637,685,686,687,690,691,694],{},"This section is for developers writing an extension. If you're building one site, put your files in ",[646,688,689],{},"app\u002Fapp\u002Fcwa\u002F"," as the ",[680,692,693],{"href":242},"Nuxt Module"," section describes: an extension is for a feature you want to reuse across sites.",[696,697,699],"callout",{"icon":698},"i-heroicons-photo",[637,700,701,704,705,708,709,712],{},[641,702,703],{},"Image placeholder:"," the admin menu open, with an ",[641,706,707],{},"Extensions"," heading listing an extension's ",[641,710,711],{},"Orders"," page, and the orders list beside it.",[714,715,717],"h2",{"id":716},"what-an-extension-is-made-of","What an Extension Is Made Of",[637,719,720,721,724],{},"The front end of an extension is a Nuxt module with a folder laid out like a site's ",[646,722,723],{},"app\u002Fcwa\u002F",", plus the Vue files of its admin pages:",[726,727,732],"pre",{"className":728,"code":730,"language":731},[729],"language-text","cwa-shop\u002F\n├── module.ts                  # registers with cwa:extend\n├── cwa\u002F\n│   ├── components\u002F\n│   │   └── ShopProductCard\u002F\n│   │       ├── ShopProductCard.vue\n│   │       └── admin\u002FShopProductCard.vue\n│   ├── layouts\u002F\n│   │   └── ShopCheckout.vue\n│   └── pages\u002F\n│       └── ShopProduct.vue\n└── admin\u002F\n    ├── orders.vue             # an admin list page\n    └── order.vue              # its item dialog\n","text",[646,733,730],{"__ignoreMap":734},"",[637,736,737,738,741,742,745,746,750],{},"The data lives in the API, as for any CWA component. The API side of an extension is a Symfony bundle that adds its component classes and resources, such as an ",[646,739,740],{},"Order",". A component class's name has to match its Vue folder, prefix included (",[646,743,744],{},"ShopProductCard","), because CWA doesn't add the prefix for you. See ",[680,747,749],{"href":748},"\u002Fcore-concepts\u002Farchitecture#naming-conventions","Architecture › Naming Conventions",".",[714,752,754],{"id":753},"installing-an-extension-in-a-site","Installing an Extension in a Site",[637,756,757,758,761,762,765],{},"A site lists the extension in ",[646,759,760],{},"modules",", beside ",[646,763,764],{},"@cwa\u002Fnuxt",":",[726,767,771],{"className":768,"code":769,"language":770,"meta":734,"style":734},"language-ts shiki shiki-themes github-light github-dark material-theme-palenight has-focused","\u002F\u002F app\u002Fnuxt.config.ts\nexport default defineNuxtConfig({\n  extends: ['@cwa\u002Fnuxt\u002Flayer'],\n  modules: ['@cwa\u002Fnuxt', '@acme\u002Fcwa-shop'], \u002F\u002F [!code focus]\n})\n","ts",[646,772,773,782,804,832,865],{"__ignoreMap":734},[774,775,778],"span",{"class":776,"line":777},"line",1,[774,779,781],{"class":780},"sTBSN","\u002F\u002F app\u002Fnuxt.config.ts\n",[774,783,785,789,792,796,800],{"class":776,"line":784},2,[774,786,788],{"class":787},"sm4w6","export",[774,790,791],{"class":787}," default",[774,793,795],{"class":794},"sKpYG"," defineNuxtConfig",[774,797,799],{"class":798},"sPB8G","(",[774,801,803],{"class":802},"sOvfz","{\n",[774,805,807,811,813,816,820,824,826,829],{"class":776,"line":806},3,[774,808,810],{"class":809},"sDHlG","  extends",[774,812,765],{"class":802},[774,814,815],{"class":798}," [",[774,817,819],{"class":818},"seSrl","'",[774,821,823],{"class":822},"sLL54","@cwa\u002Fnuxt\u002Flayer",[774,825,819],{"class":818},[774,827,828],{"class":798},"]",[774,830,831],{"class":802},",\n",[774,833,837,840,842,844,846,848,850,853,856,859,861,863],{"class":834,"line":836},[776,835],"focused",4,[774,838,839],{"class":809},"  modules",[774,841,765],{"class":802},[774,843,815],{"class":798},[774,845,819],{"class":818},[774,847,764],{"class":822},[774,849,819],{"class":818},[774,851,852],{"class":802},",",[774,854,855],{"class":818}," '",[774,857,858],{"class":822},"@acme\u002Fcwa-shop",[774,860,819],{"class":818},[774,862,828],{"class":798},[774,864,852],{"class":802},[774,866,868,871],{"class":776,"line":867},5,[774,869,870],{"class":802},"}",[774,872,873],{"class":798},")\n",[637,875,876],{},"The order of the two doesn't matter: CWA collects every extension once all the modules have set up.",[714,878,880],{"id":879},"in-this-section","In This Section",[882,883,884,897],"table",{},[885,886,887],"thead",{},[888,889,890,894],"tr",{},[891,892,893],"th",{},"Page",[891,895,896],{},"Go here for",[898,899,900,917,929],"tbody",{},[888,901,902,907],{},[903,904,905],"td",{},[680,906,548],{"href":549},[903,908,909,910,912,913,916],{},"The ",[646,911,648],{}," hook, the prefix, the ",[646,914,915],{},"cwa\u002F"," folder, page cache rules and the build errors",[888,918,919,923],{},[903,920,921],{},[680,922,552],{"href":553},[903,924,925,926,928],{},"Adding pages under ",[646,927,668],{},", and building a list and an item dialog from the admin's own parts",[888,930,931,935],{},[903,932,933],{},[680,934,556],{"href":557},[903,936,909,937,940,941,944],{},[646,938,939],{},"cwa:auth:signed-in"," and ",[646,942,943],{},"cwa:auth:signed-out"," hooks",[637,946,947,948,750],{},"Next: ",[680,949,548],{"href":549},[951,952,953],"style",{},"html pre.shiki code .sTBSN, html code.shiki .sTBSN{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sm4w6, html code.shiki .sm4w6{--shiki-light:#D73A49;--shiki-light-font-style:inherit;--shiki-default:#F97583;--shiki-default-font-style:inherit;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sKpYG, html code.shiki .sKpYG{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#82AAFF}html pre.shiki code .sPB8G, html code.shiki .sPB8G{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#BABED8}html pre.shiki code .sOvfz, html code.shiki .sOvfz{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#89DDFF}html pre.shiki code .sDHlG, html code.shiki .sDHlG{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#F07178}html pre.shiki code .seSrl, html code.shiki .seSrl{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#89DDFF}html pre.shiki code .sLL54, html code.shiki .sLL54{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":734,"searchDepth":784,"depth":784,"links":955},[956,957,958],{"id":716,"depth":784,"text":717},{"id":753,"depth":784,"text":754},{"id":879,"depth":784,"text":880},"What a CWA extension is, what it can add to a site, and how its files are laid out.","md",{},{"title":30},{"title":542,"description":959},"1b1ezCj-eGUs6sRnmyEePg9CWD8Fqv4GkvY5uJtZaJQ",[966,968],{"title":538,"path":539,"stem":540,"description":967,"children":-1},"How the module lets a shared cache store rendered page HTML, tags it for purging, and works out how long each page can be kept.",{"title":548,"path":549,"stem":550,"description":969,"children":-1},"The cwa:extend hook, the extension's prefix and cwa\u002F folder, how a site replaces an extension's file, page cache rules, and the build errors.",1795626697597]