[{"data":1,"prerenderedAt":1450},["ShallowReactive",2],{"navigation_docs":3,"-modules-platform-base-layer":587,"-modules-platform-base-layer-surround":1445},[4,50,155,441,504],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":49},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,25,30,35,40,45],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":36,"path":37,"stem":38,"icon":39},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":41,"path":42,"stem":43,"icon":44},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":46,"path":47,"stem":48,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",false,{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":49},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[56,90,115,125],{"title":57,"icon":49,"path":58,"stem":59,"children":60,"page":49},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[61,66,71,76,80,85],{"title":62,"path":63,"stem":64,"icon":65},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":67,"path":68,"stem":69,"icon":70},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":72,"path":73,"stem":74,"icon":75},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":77,"path":78,"stem":79,"icon":44},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":81,"path":82,"stem":83,"icon":84},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":86,"path":87,"stem":88,"icon":89},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":91,"icon":49,"path":92,"stem":93,"children":94,"page":49},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[95,100,105,110],{"title":96,"path":97,"stem":98,"icon":99},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":101,"path":102,"stem":103,"icon":104},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":106,"path":107,"stem":108,"icon":109},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":111,"path":112,"stem":113,"icon":114},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":116,"icon":49,"path":117,"stem":118,"children":119,"page":49},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[120],{"title":121,"path":122,"stem":123,"icon":124},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":126,"icon":49,"path":127,"stem":128,"children":129,"page":49},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[130,135,140,145,150],{"title":131,"path":132,"stem":133,"icon":134},"Use your own OAuth server","\u002Fguide\u002Fgoing-further\u002Fown-oauth-server","2.guide\u002F4.going-further\u002F1.own-oauth-server","i-lucide-key-round",{"title":136,"path":137,"stem":138,"icon":139},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":141,"path":142,"stem":143,"icon":144},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":146,"path":147,"stem":148,"icon":149},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":151,"path":152,"stem":153,"icon":154},"Migrate to the permission model","\u002Fguide\u002Fgoing-further\u002Fmigrate-access-control","2.guide\u002F4.going-further\u002F5.migrate-access-control","i-lucide-arrow-right-left",{"title":156,"icon":157,"path":158,"stem":159,"children":160},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[161,163,244,273,320,375],{"title":156,"path":158,"stem":162},"3.modules\u002Findex",{"title":81,"icon":49,"path":164,"stem":165,"children":166,"page":49},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[167,190,194,198,220,224,240],{"title":168,"path":169,"stem":170,"children":171},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[172,174,178,182,186],{"title":173,"path":169,"stem":170},"Overview",{"title":175,"path":176,"stem":177},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":179,"path":180,"stem":181},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":183,"path":184,"stem":185},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":187,"path":188,"stem":189},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":191,"path":192,"stem":193},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":195,"path":196,"stem":197},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":199,"path":200,"stem":201,"children":202},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[203,204,208,212,216],{"title":173,"path":200,"stem":201},{"title":205,"path":206,"stem":207},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":209,"path":210,"stem":211},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":213,"path":214,"stem":215},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":217,"path":218,"stem":219},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":221,"path":222,"stem":223},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":225,"path":226,"stem":227,"children":228},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[229,230,233,237],{"title":173,"path":226,"stem":227},{"title":175,"path":231,"stem":232},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":234,"path":235,"stem":236},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":179,"path":238,"stem":239},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":241,"path":242,"stem":243},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":245,"icon":49,"path":246,"stem":247,"children":248,"page":49},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F2.commerce",[249,253,257],{"title":250,"path":251,"stem":252},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F2.commerce\u002F1.stripe",{"title":254,"path":255,"stem":256},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F2.commerce\u002F2.payments",{"title":258,"path":259,"stem":260,"children":261},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F2.commerce\u002F3.subscriptions\u002Findex",[262,263,266,270],{"title":173,"path":259,"stem":260},{"title":175,"path":264,"stem":265},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F2.commerce\u002F3.subscriptions\u002F2.server",{"title":267,"path":268,"stem":269},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F2.commerce\u002F3.subscriptions\u002F3.app",{"title":179,"path":271,"stem":272},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F2.commerce\u002F3.subscriptions\u002F4.reference",{"title":274,"icon":49,"path":275,"stem":276,"children":277,"page":49},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F3.features",[278,293,312,316],{"title":279,"path":280,"stem":281,"children":282},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F3.features\u002F1.events\u002Findex",[283,284,287,290],{"title":173,"path":280,"stem":281},{"title":175,"path":285,"stem":286},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F3.features\u002F1.events\u002F2.server",{"title":267,"path":288,"stem":289},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F3.features\u002F1.events\u002F3.app",{"title":179,"path":291,"stem":292},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F3.features\u002F1.events\u002F4.reference",{"title":294,"path":295,"stem":296,"children":297},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F3.features\u002F2.forms\u002Findex",[298,299,303,306,309],{"title":173,"path":295,"stem":296},{"title":300,"path":301,"stem":302},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F3.features\u002F2.forms\u002F2.definition",{"title":175,"path":304,"stem":305},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F3.features\u002F2.forms\u002F3.server",{"title":267,"path":307,"stem":308},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F3.features\u002F2.forms\u002F4.app",{"title":179,"path":310,"stem":311},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F3.features\u002F2.forms\u002F5.reference",{"title":313,"path":314,"stem":315},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F3.features\u002F3.cookie-consent",{"title":317,"path":318,"stem":319},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F3.features\u002F4.mcp",{"title":321,"icon":49,"path":322,"stem":323,"children":324,"page":49},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F4.interface",[325,350,353,357,361],{"title":326,"path":327,"stem":328,"children":329},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F4.interface\u002F1.ui\u002Findex",[330,331,335,339,343,347],{"title":173,"path":327,"stem":328},{"title":332,"path":333,"stem":334},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F4.interface\u002F1.ui\u002F2.page-components",{"title":336,"path":337,"stem":338},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F4.interface\u002F1.ui\u002F3.app-shell",{"title":340,"path":341,"stem":342},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F4.interface\u002F1.ui\u002F4.form-inputs",{"title":344,"path":345,"stem":346},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F4.interface\u002F1.ui\u002F5.composables",{"title":179,"path":348,"stem":349},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F4.interface\u002F1.ui\u002F6.reference",{"title":217,"path":351,"stem":352},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F4.interface\u002F2.admin",{"title":354,"path":355,"stem":356},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F4.interface\u002F3.menu",{"title":358,"path":359,"stem":360},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F4.interface\u002F4.widget",{"title":362,"path":363,"stem":364,"children":365},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F4.interface\u002F5.mobile\u002Findex",[366,367,371],{"title":173,"path":363,"stem":364},{"title":368,"path":369,"stem":370},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F4.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":372,"path":373,"stem":374},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F4.interface\u002F5.mobile\u002F3.splash-screen",{"title":376,"icon":49,"path":377,"stem":378,"children":379,"page":49},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F5.platform",[380,402,406,423],{"title":381,"path":382,"stem":383,"children":384},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F5.platform\u002F1.module-kit\u002Findex",[385,386,390,394,398],{"title":173,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F5.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":391,"path":392,"stem":393},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F5.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":395,"path":396,"stem":397},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F5.platform\u002F1.module-kit\u002F4.i18n",{"title":399,"path":400,"stem":401},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F5.platform\u002F1.module-kit\u002F5.database",{"title":403,"path":404,"stem":405},"Notify","\u002Fmodules\u002Fplatform\u002Fnotify","3.modules\u002F5.platform\u002F2.notify",{"title":407,"path":408,"stem":409,"children":410},"Email Templates","\u002Fmodules\u002Fplatform\u002Femail-templates","3.modules\u002F5.platform\u002F3.email-templates\u002Findex",[411,412,416,419],{"title":173,"path":408,"stem":409},{"title":413,"path":414,"stem":415},"Email components","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fcomponents","3.modules\u002F5.platform\u002F3.email-templates\u002F2.components",{"title":175,"path":417,"stem":418},"\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fserver","3.modules\u002F5.platform\u002F3.email-templates\u002F3.server",{"title":420,"path":421,"stem":422},"Module emails","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fmodule-emails","3.modules\u002F5.platform\u002F3.email-templates\u002F4.module-emails",{"title":424,"path":425,"stem":426,"children":427},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F5.platform\u002F4.base-layer\u002Findex",[428,429,433,437],{"title":173,"path":425,"stem":426},{"title":430,"path":431,"stem":432},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F5.platform\u002F4.base-layer\u002F2.content-collections",{"title":434,"path":435,"stem":436},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F5.platform\u002F4.base-layer\u002F3.layouts-and-routing",{"title":438,"path":439,"stem":440},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F5.platform\u002F4.base-layer\u002F4.composables-and-utils",{"title":442,"icon":443,"path":444,"stem":445,"children":446,"page":49},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[447,466,476],{"title":448,"icon":49,"path":449,"stem":450,"children":451,"page":49},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[452,456,461],{"title":453,"path":454,"stem":455,"icon":6},"Workspace starter","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":457,"path":458,"stem":459,"icon":460},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":462,"path":463,"stem":464,"icon":465},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":467,"icon":49,"path":468,"stem":469,"children":470,"page":49},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[471],{"title":472,"path":473,"stem":474,"icon":475},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":477,"icon":49,"path":478,"stem":479,"children":480,"page":49},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[481,485,489,494,499],{"title":482,"path":483,"stem":484,"icon":70},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":486,"path":487,"stem":488,"icon":475},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":490,"path":491,"stem":492,"icon":493},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":495,"path":496,"stem":497,"icon":498},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":500,"path":501,"stem":502,"icon":503},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":505,"icon":506,"path":507,"stem":508,"children":509,"page":49},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","5.contribute",[510,513,518,544,549,552,556,571],{"title":173,"path":511,"stem":512,"icon":506},"\u002Fcontribute\u002Foverview","5.contribute\u002F1.overview",{"title":514,"path":515,"stem":516,"icon":517},"Local development","\u002Fcontribute\u002Flocal-development","5.contribute\u002F2.local-development","i-lucide-terminal",{"title":519,"icon":49,"path":520,"stem":521,"children":522,"page":49},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","5.contribute\u002F3.writing-a-module",[523,527,532,536,541],{"title":524,"path":525,"stem":526,"icon":39},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","5.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":528,"path":529,"stem":530,"icon":531},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","5.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":533,"path":534,"stem":535,"icon":44},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","5.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":537,"path":538,"stem":539,"icon":540},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","5.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":67,"path":542,"stem":543,"icon":70},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","5.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":545,"path":546,"stem":547,"icon":548},"Publishing","\u002Fcontribute\u002Fpublishing","5.contribute\u002F4.publishing","i-lucide-package-check",{"title":448,"path":550,"stem":551,"icon":6},"\u002Fcontribute\u002Fstarters","5.contribute\u002F5.starters",{"title":553,"path":554,"stem":555,"icon":52},"Documentation","\u002Fcontribute\u002Fdocumentation","5.contribute\u002F6.documentation",{"title":557,"icon":49,"path":558,"stem":559,"children":560,"page":49},"Tooling","\u002Fcontribute\u002Ftooling","5.contribute\u002F7.tooling",[561,566],{"title":562,"path":563,"stem":564,"icon":565},"CLI","\u002Fcontribute\u002Ftooling\u002Fcli","5.contribute\u002F7.tooling\u002F1.cli","i-lucide-square-terminal",{"title":567,"path":568,"stem":569,"icon":570},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","5.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":572,"icon":49,"path":573,"stem":574,"children":575},"Decisions","\u002Fcontribute\u002Fdecisions","5.contribute\u002F8.decisions\u002Findex",[576,578,583],{"title":572,"path":573,"stem":574,"icon":577},"i-lucide-scale",{"title":579,"path":580,"stem":581,"icon":582},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","5.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":584,"path":585,"stem":586,"icon":70},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","5.contribute\u002F8.decisions\u002F2.permission-model",{"id":588,"title":424,"body":589,"description":1438,"extension":1439,"links":1440,"meta":1441,"navigation":1442,"path":425,"seo":1443,"stem":426,"__hash__":1444},"docs\u002F3.modules\u002F5.platform\u002F4.base-layer\u002Findex.md",{"type":590,"value":591,"toc":1425},"minimark",[592,601,623,628,631,679,683,722,726,861,879,883,892,1166,1177,1197,1200,1203,1313,1324,1336,1340,1405,1409,1421],[593,594,595,596,600],"p",{},"A content website needs the same setup every time: Nuxt UI, content pages, SEO, a header and a footer. The base layer\nis that setup, ready to extend, and your app adds its content. If your app has no public content pages, install the\n",[597,598,599],"a",{"href":158},"modules"," you need instead.",[593,602,603,604,608,609,615,616,619,620,622],{},"The package is ",[605,606,607],"code",{},"@frigear-nu\u002Fbase",", a ",[597,610,614],{"href":611,"rel":612},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Flayers",[613],"nofollow","Nuxt layer"," rather than a\nmodule. You add it with ",[605,617,618],{},"extends",". The ",[597,621,472],{"href":473}," extends it.",[624,625,627],"h2",{"id":626},"what-you-get","What you get",[593,629,630],{},"All on by default:",[632,633,634,650,667,673],"ul",{},[635,636,637,641,642,645,646,649],"li",{},[638,639,640],"strong",{},"Pages."," A landing page at ",[605,643,644],{},"\u002F",", and a page for every Markdown file under ",[605,647,648],{},"content\u002Fpages",".",[635,651,652,655,656,659,660,659,663,666],{},[638,653,654],{},"Composables and helpers."," ",[605,657,658],{},"useConfig",", ",[605,661,662],{},"useCurrentPage",[605,664,665],{},"useNavigation"," and locale helpers.",[635,668,669,672],{},[638,670,671],{},"Layouts and components."," Two layouts, and a header and footer you can replace.",[635,674,675,678],{},[638,676,677],{},"SEO."," Titles, Open Graph tags, a sitemap, robots rules and hreflang links.",[680,681],"module-runtime",{":client":682},"true",[684,685,686,689,690,694,695,697,698,655,701,655,704,707,708,710,711,714,715,655,718,721],"note",{},[638,687,688],{},"Installed for you:"," the modules under ",[597,691,693],{"href":692},"#bundled-modules","Bundled modules",", including ",[597,696,354],{"href":355},".\n",[638,699,700],{},"You add:",[605,702,703],{},"nuxt",[605,705,706],{},"^4.6"," as a peer dependency, and ",[597,709,313],{"href":314}," or a\n",[605,712,713],{},"CookieConsentBanner"," component of your own.\n",[638,716,717],{},"Optional:",[605,719,720],{},"i18n.locales",", to localize the site.",[624,723,725],{"id":724},"quick-setup","Quick setup",[727,728,729,734,762,774,781,844,848],"steps",{},[730,731,733],"h3",{"id":732},"install-the-layer","Install the layer",[735,736,741],"pre",{"className":737,"code":738,"language":739,"meta":740,"style":740},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fbase nuxt\n","bash","",[605,742,743],{"__ignoreMap":740},[744,745,748,752,756,759],"span",{"class":746,"line":747},"line",1,[744,749,751],{"class":750},"sBMFI","pnpm",[744,753,755],{"class":754},"sfazB"," add",[744,757,758],{"class":754}," @frigear-nu\u002Fbase",[744,760,761],{"class":754}," nuxt\n",[763,764,765,766,769,770,773],"tip",{},"Inside the ",[597,767,768],{"href":87},"Frigear repository",", use ",[605,771,772],{},"\"@frigear-nu\u002Fbase\": \"workspace:*\""," instead.",[730,775,777,778],{"id":776},"extend-it-in-nuxtconfigts","Extend it in ",[605,779,780],{},"nuxt.config.ts",[735,782,786],{"className":783,"code":784,"filename":780,"language":785,"meta":740,"style":740},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  extends: ['@frigear-nu\u002Fbase'],\n})\n","ts",[605,787,788,809,835],{"__ignoreMap":740},[744,789,790,794,797,801,805],{"class":746,"line":747},[744,791,793],{"class":792},"s7zQu","export",[744,795,796],{"class":792}," default",[744,798,800],{"class":799},"s2Zo4"," defineNuxtConfig",[744,802,804],{"class":803},"sTEyZ","(",[744,806,808],{"class":807},"sMK4o","{\n",[744,810,812,816,819,822,825,827,829,832],{"class":746,"line":811},2,[744,813,815],{"class":814},"swJcz","  extends",[744,817,818],{"class":807},":",[744,820,821],{"class":803}," [",[744,823,824],{"class":807},"'",[744,826,607],{"class":754},[744,828,824],{"class":807},[744,830,831],{"class":803},"]",[744,833,834],{"class":807},",\n",[744,836,838,841],{"class":746,"line":837},3,[744,839,840],{"class":807},"}",[744,842,843],{"class":803},")\n",[730,845,847],{"id":846},"add-content","Add content",[593,849,850,851,854,855,858,859,649],{},"Put the site config in ",[605,852,853],{},"content\u002Fconfig.yaml"," and the pages under ",[605,856,857],{},"content\u002Fpages\u002F",". Both are described in\n",[597,860,430],{"href":431},[862,863,866,655,869,871,872,875,876,649],"callout",{"color":864,"icon":865},"success","i-lucide-check",[638,867,868],{},"What you should see:",[605,870,644],{}," shows the landing page with the site header and footer, and ",[605,873,874],{},"\u002Fabout"," renders\n",[605,877,878],{},"content\u002Fpages\u002Fabout.md",[624,880,882],{"id":881},"options","Options",[593,884,885,886,888,889,649],{},"The layer has no options. It sets these defaults, which your app overrides in its own ",[605,887,780],{}," or\n",[605,890,891],{},"app.config.ts",[893,894,895,911],"table",{},[896,897,898],"thead",{},[899,900,901,905,908],"tr",{},[902,903,904],"th",{},"Setting",[902,906,907],{},"Default",[902,909,910],{},"Purpose",[912,913,914,930,945,968,989,1004,1018,1033,1047,1061,1076,1094,1111,1127,1148],"tbody",{},[899,915,916,922,927],{},[917,918,919],"td",{},[605,920,921],{},"i18n.strategy",[917,923,924],{},[605,925,926],{},"'prefix_except_default'",[917,928,929],{},"The default locale has no prefix, the others do.",[899,931,932,937,942],{},[917,933,934],{},[605,935,936],{},"i18n.detectBrowserLanguage",[917,938,939],{},[605,940,941],{},"false",[917,943,944],{},"No automatic redirect to another locale.",[899,946,947,952,957],{},[917,948,949],{},[605,950,951],{},"runtimeConfig.public.i18n.baseUrl",[917,953,954],{},[605,955,956],{},"site.url",[917,958,959,960,963,964,967],{},"Stops ",[605,961,962],{},"useLocaleHead()"," warning. Set only when neither this key nor ",[605,965,966],{},"i18n.baseUrl"," is.",[899,969,970,975,979],{},[917,971,972],{},[605,973,974],{},"menus.content.main",[917,976,977],{},[605,978,682],{},[917,980,981,982,985,986,649],{},"Builds the ",[605,983,984],{},"main"," menu from content. The header reads it with ",[605,987,988],{},"useMenu('main')",[899,990,991,996,1001],{},[917,992,993],{},[605,994,995],{},"robots.disallow",[917,997,998],{},[605,999,1000],{},"['\u002Fadmin', '\u002Fapi', '\u002Fauth', '\u002Faccount']",[917,1002,1003],{},"Keeps app, API and auth routes out of search results.",[899,1005,1006,1011,1015],{},[917,1007,1008],{},[605,1009,1010],{},"content.build.markdown.highlight",[917,1012,1013],{},[605,1014,941],{},[917,1016,1017],{},"Code highlighting is off.",[899,1019,1020,1025,1030],{},[917,1021,1022],{},[605,1023,1024],{},"content.experimental.sqliteConnector",[917,1026,1027],{},[605,1028,1029],{},"'native'",[917,1031,1032],{},"The native SQLite connector for Nuxt Content.",[899,1034,1035,1040,1044],{},[917,1036,1037],{},[605,1038,1039],{},"sourcemap.server",[917,1041,1042],{},[605,1043,941],{},[917,1045,1046],{},"No server source maps, which halves production build time. Client source maps stay.",[899,1048,1049,1054,1058],{},[917,1050,1051],{},[605,1052,1053],{},"features.inlineStyles",[917,1055,1056],{},[605,1057,682],{},[917,1059,1060],{},"Inlines critical styles.",[899,1062,1063,1068,1073],{},[917,1064,1065],{},[605,1066,1067],{},"experimental.defaults.nuxtLink.prefetchOn",[917,1069,1070],{},[605,1071,1072],{},"{ interaction: true, visibility: false }",[917,1074,1075],{},"Links prefetch on interaction only.",[899,1077,1078,1086,1091],{},[917,1079,1080,655,1083],{},[605,1081,1082],{},"app.config",[605,1084,1085],{},"ui.colors",[917,1087,1088],{},[605,1089,1090],{},"{ primary: 'green', neutral: 'slate' }",[917,1092,1093],{},"Nuxt UI colours.",[899,1095,1096,1103,1108],{},[917,1097,1098,655,1100],{},[605,1099,1082],{},[605,1101,1102],{},"header.icon",[917,1104,1105],{},[605,1106,1107],{},"{ desktop: false, mobile: true }",[917,1109,1110],{},"Whether navigation icons show in the desktop and mobile header.",[899,1112,1113,1120,1124],{},[917,1114,1115,655,1117],{},[605,1116,1082],{},[605,1118,1119],{},"header.colorMode",[917,1121,1122],{},[605,1123,682],{},[917,1125,1126],{},"The colour mode button. Turn it off when the account menu offers it.",[899,1128,1129,1136,1140],{},[917,1130,1131,655,1133],{},[605,1132,1082],{},[605,1134,1135],{},"seo.localeAlternates",[917,1137,1138],{},[605,1139,682],{},[917,1141,1142,1143,1147],{},"Whether pages get ",[597,1144,1146],{"href":1145},"\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections#languages-and-hreflang","hreflang tags"," on multi-locale sites.",[899,1149,1150,1155,1163],{},[917,1151,1152],{},[605,1153,1154],{},"eslint.config.stylistic",[917,1156,1157,659,1160],{},[605,1158,1159],{},"commaDangle: 'always-multiline'",[605,1161,1162],{},"braceStyle: '1tbs'",[917,1164,1165],{},"Lint style.",[593,1167,1168,1172,1173,1176],{},[638,1169,1170],{},[605,1171,995],{}," hides routes. Your app's ",[605,1174,1175],{},"site.indexable"," decides whether the site is indexed at all.",[593,1178,1179,1181,1182,1185,1186,1189,1190,1193,1194,649],{},[605,1180,1082],{}," also accepts ",[605,1183,1184],{},"socials"," (",[605,1187,1188],{},"Record\u003Cstring, string>",") and ",[605,1191,1192],{},"github.url",", typed in ",[605,1195,1196],{},"app\u002Fapp.d.ts",[624,1198,693],{"id":1199},"bundled-modules",[593,1201,1202],{},"The layer registers these modules, so your app does not list them again.",[893,1204,1205,1214],{},[896,1206,1207],{},[899,1208,1209,1212],{},[902,1210,1211],{},"Group",[902,1213,156],{},[912,1215,1216,1240,1274,1293,1303],{},[899,1217,1218,1221],{},[917,1219,1220],{},"Layer",[917,1222,1223,1226,1227,1230,1231,1234,1235,1239],{},[605,1224,1225],{},"modules\u002Fconfig"," (the i18n ",[605,1228,1229],{},"baseUrl"," default) and ",[605,1232,1233],{},"modules\u002Frouting"," (see ",[597,1236,1238],{"href":1237},"\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing#routing","Routing",")",[899,1241,1242,1245],{},[917,1243,1244],{},"Nuxt",[917,1246,1247,659,1250,659,1253,659,1256,659,1259,659,1262,659,1265,659,1268,659,1271],{},[605,1248,1249],{},"@nuxt\u002Feslint",[605,1251,1252],{},"@nuxt\u002Ficon",[605,1254,1255],{},"@nuxt\u002Fimage",[605,1257,1258],{},"@nuxt\u002Ffonts",[605,1260,1261],{},"@nuxt\u002Fhints",[605,1263,1264],{},"@nuxt\u002Fui",[605,1266,1267],{},"@nuxt\u002Fcontent",[605,1269,1270],{},"@nuxtjs\u002Fdevice",[605,1272,1273],{},"@nuxtjs\u002Fi18n",[899,1275,1276,1279],{},[917,1277,1278],{},"SEO",[917,1280,1281,659,1284,659,1287,659,1290],{},[605,1282,1283],{},"@nuxtjs\u002Fsitemap",[605,1285,1286],{},"@nuxtjs\u002Frobots",[605,1288,1289],{},"nuxt-og-image",[605,1291,1292],{},"nuxt-seo-utils",[899,1294,1295,1298],{},[917,1296,1297],{},"Content",[917,1299,1300],{},[605,1301,1302],{},"@comark\u002Fnuxt",[899,1304,1305,1308],{},[917,1306,1307],{},"Frigear",[917,1309,1310],{},[605,1311,1312],{},"@frigear-nu\u002Fmenu",[593,1314,1315,1316,1319,1320,1323],{},"The layer also adds ",[605,1317,1318],{},"app\u002Fassets\u002Fcss\u002Fmain.css",": Tailwind, Nuxt UI, the colour scales and the ",[605,1321,1322],{},"Public Sans"," font.",[1325,1326,1327,1328,1331,1332,1335],"warning",{},"A ",[605,1329,1330],{},"main.css"," in your app replaces the layer's. Start it with ",[605,1333,1334],{},"@import \"@frigear-nu\u002Fbase\u002Fapp\u002Fassets\u002Fcss\u002Fmain.css\";",", or\nthe font and colour scales are lost. That file already imports Tailwind and Nuxt UI.",[624,1337,1339],{"id":1338},"module-pages","Module pages",[893,1341,1342,1355],{},[896,1343,1344],{},[899,1345,1346,1349,1352],{},[902,1347,1348],{},"Page",[902,1350,1351],{},"What it covers",[902,1353,1354],{},"For",[912,1356,1357,1377,1388],{},[899,1358,1359,1363,1374],{},[917,1360,1361],{},[597,1362,430],{"href":431},[917,1364,1365,1366,1369,1370,1373],{},"The ",[605,1367,1368],{},"config"," and ",[605,1371,1372],{},"pages"," collections, localization, SEO and hreflang.",[917,1375,1376],{},"App developers",[899,1378,1379,1383,1386],{},[917,1380,1381],{},[597,1382,434],{"href":435},[917,1384,1385],{},"Layouts, replaceable components and the content routes.",[917,1387,1376],{},[899,1389,1390,1394,1403],{},[917,1391,1392],{},[597,1393,438],{"href":439},[917,1395,1396,659,1398,659,1400,1402],{},[605,1397,658],{},[605,1399,662],{},[605,1401,665],{},", locale helpers and content utils.",[917,1404,1376],{},[624,1406,1408],{"id":1407},"next-steps","Next steps",[632,1410,1411,1416],{},[635,1412,1413,1415],{},[597,1414,430],{"href":431}," – write the site config and the first page.",[635,1417,1418,1420],{},[597,1419,434],{"href":435}," – replace the header or footer.",[1422,1423,1424],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--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);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":740,"searchDepth":811,"depth":811,"links":1426},[1427,1428,1434,1435,1436,1437],{"id":626,"depth":811,"text":627},{"id":724,"depth":811,"text":725,"children":1429},[1430,1431,1433],{"id":732,"depth":837,"text":733},{"id":776,"depth":837,"text":1432},"Extend it in nuxt.config.ts",{"id":846,"depth":837,"text":847},{"id":881,"depth":811,"text":882},{"id":1199,"depth":811,"text":693},{"id":1338,"depth":811,"text":1339},{"id":1407,"depth":811,"text":1408},"Start a content website with the modules, styling, layouts and SEO already set up, by extending one layer.","md",null,{},{"title":173},{"title":424,"description":1438},"_bT3COqVctyiiV6ulbyMwhYCra12knKMHN1cqjU-glw",[1446,1448],{"title":420,"path":421,"stem":422,"description":1447,"children":-1},"How a module ships an email template, and how your app replaces it with a file of the same name.",{"title":430,"path":431,"stem":432,"description":1449,"children":-1},"Write the site config and pages as content files, localize them, and control SEO and hreflang tags.",1794503150236]