[{"data":1,"prerenderedAt":2478},["ShallowReactive",2],{"navigation_docs":3,"-examples-starters-desktop":732,"-examples-starters-desktop-surround":2473},[4,54,159,535,608,651],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":53},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,24,29,34,39,44,48],{"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},"Project Structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure",{"title":25,"path":26,"stem":27,"icon":28},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":30,"path":31,"stem":32,"icon":33},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":35,"path":36,"stem":37,"icon":38},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":40,"path":41,"stem":42,"icon":43},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":45,"path":46,"stem":47,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",{"title":49,"path":50,"stem":51,"icon":52},"Upgrading","\u002Fget-started\u002Fupgrading","1.get-started\u002F9.upgrading","i-lucide-circle-arrow-up",false,{"title":55,"icon":56,"path":57,"stem":58,"children":59,"page":53},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[60,94,119,129],{"title":61,"icon":53,"path":62,"stem":63,"children":64,"page":53},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[65,70,75,80,84,89],{"title":66,"path":67,"stem":68,"icon":69},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":71,"path":72,"stem":73,"icon":74},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":76,"path":77,"stem":78,"icon":79},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":81,"path":82,"stem":83,"icon":43},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":85,"path":86,"stem":87,"icon":88},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":90,"path":91,"stem":92,"icon":93},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":95,"icon":53,"path":96,"stem":97,"children":98,"page":53},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[99,104,109,114],{"title":100,"path":101,"stem":102,"icon":103},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":105,"path":106,"stem":107,"icon":108},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":110,"path":111,"stem":112,"icon":113},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":115,"path":116,"stem":117,"icon":118},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":120,"icon":53,"path":121,"stem":122,"children":123,"page":53},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[124],{"title":125,"path":126,"stem":127,"icon":128},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":130,"icon":53,"path":131,"stem":132,"children":133,"page":53},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[134,139,144,149,154],{"title":135,"path":136,"stem":137,"icon":138},"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":140,"path":141,"stem":142,"icon":143},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":145,"path":146,"stem":147,"icon":148},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":150,"path":151,"stem":152,"icon":153},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":155,"path":156,"stem":157,"icon":158},"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":160,"icon":161,"path":162,"stem":163,"children":164},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[165,167,252,261,290,303,350,396,473,518],{"title":160,"path":162,"stem":166},"3.modules\u002Findex",{"title":85,"icon":53,"path":168,"stem":169,"children":170,"page":53},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[171,198,202,206,228,232,248],{"title":172,"path":173,"stem":174,"children":175},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[176,178,182,186,190,194],{"title":177,"path":173,"stem":174},"Overview",{"title":179,"path":180,"stem":181},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":183,"path":184,"stem":185},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":187,"path":188,"stem":189},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":191,"path":192,"stem":193},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":195,"path":196,"stem":197},"Resource mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fresource-mode","3.modules\u002F1.identity\u002F1.auth\u002F6.resource-mode",{"title":199,"path":200,"stem":201},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":203,"path":204,"stem":205},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":207,"path":208,"stem":209,"children":210},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[211,212,216,220,224],{"title":177,"path":208,"stem":209},{"title":213,"path":214,"stem":215},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":217,"path":218,"stem":219},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":221,"path":222,"stem":223},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":225,"path":226,"stem":227},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":229,"path":230,"stem":231},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":233,"path":234,"stem":235,"children":236},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[237,238,241,245],{"title":177,"path":234,"stem":235},{"title":179,"path":239,"stem":240},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":242,"path":243,"stem":244},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":183,"path":246,"stem":247},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":249,"path":250,"stem":251},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":253,"icon":53,"path":254,"stem":255,"children":256,"page":53},"Organisation","\u002Fmodules\u002Forganisation","3.modules\u002F2.organisation",[257],{"title":258,"path":259,"stem":260},"Teams","\u002Fmodules\u002Forganisation\u002Fteams","3.modules\u002F2.organisation\u002F1.teams",{"title":262,"icon":53,"path":263,"stem":264,"children":265,"page":53},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F3.commerce",[266,270,274],{"title":267,"path":268,"stem":269},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F3.commerce\u002F1.stripe",{"title":271,"path":272,"stem":273},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F3.commerce\u002F2.payments",{"title":275,"path":276,"stem":277,"children":278},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F3.commerce\u002F3.subscriptions\u002Findex",[279,280,283,287],{"title":177,"path":276,"stem":277},{"title":179,"path":281,"stem":282},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F3.commerce\u002F3.subscriptions\u002F2.server",{"title":284,"path":285,"stem":286},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F3.commerce\u002F3.subscriptions\u002F3.app",{"title":183,"path":288,"stem":289},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F3.commerce\u002F3.subscriptions\u002F4.reference",{"title":291,"icon":53,"path":292,"stem":293,"children":294,"page":53},"Content","\u002Fmodules\u002Fcontent","3.modules\u002F4.content",[295,299],{"title":296,"path":297,"stem":298},"Help center","\u002Fmodules\u002Fcontent\u002Fhelp-center","3.modules\u002F4.content\u002F2.help-center",{"title":300,"path":301,"stem":302},"Documents","\u002Fmodules\u002Fcontent\u002Fdocuments","3.modules\u002F4.content\u002F3.documents",{"title":304,"icon":53,"path":305,"stem":306,"children":307,"page":53},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F5.features",[308,323,342,346],{"title":309,"path":310,"stem":311,"children":312},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F5.features\u002F1.events\u002Findex",[313,314,317,320],{"title":177,"path":310,"stem":311},{"title":179,"path":315,"stem":316},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F5.features\u002F1.events\u002F2.server",{"title":284,"path":318,"stem":319},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F5.features\u002F1.events\u002F3.app",{"title":183,"path":321,"stem":322},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F5.features\u002F1.events\u002F4.reference",{"title":324,"path":325,"stem":326,"children":327},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F5.features\u002F2.forms\u002Findex",[328,329,333,336,339],{"title":177,"path":325,"stem":326},{"title":330,"path":331,"stem":332},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F5.features\u002F2.forms\u002F2.definition",{"title":179,"path":334,"stem":335},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F5.features\u002F2.forms\u002F3.server",{"title":284,"path":337,"stem":338},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F5.features\u002F2.forms\u002F4.app",{"title":183,"path":340,"stem":341},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F5.features\u002F2.forms\u002F5.reference",{"title":343,"path":344,"stem":345},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F5.features\u002F3.cookie-consent",{"title":347,"path":348,"stem":349},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F5.features\u002F4.mcp",{"title":351,"icon":53,"path":352,"stem":353,"children":354,"page":53},"Communication","\u002Fmodules\u002Fcommunication","3.modules\u002F6.communication",[355,359,376,380,384,388,392],{"title":356,"path":357,"stem":358},"Notify","\u002Fmodules\u002Fcommunication\u002Fnotify","3.modules\u002F6.communication\u002F1.notify",{"title":360,"path":361,"stem":362,"children":363},"Email Templates","\u002Fmodules\u002Fcommunication\u002Femail-templates","3.modules\u002F6.communication\u002F2.email-templates\u002Findex",[364,365,369,372],{"title":177,"path":361,"stem":362},{"title":366,"path":367,"stem":368},"Email components","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fcomponents","3.modules\u002F6.communication\u002F2.email-templates\u002F2.components",{"title":179,"path":370,"stem":371},"\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fserver","3.modules\u002F6.communication\u002F2.email-templates\u002F3.server",{"title":373,"path":374,"stem":375},"Module emails","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fmodule-emails","3.modules\u002F6.communication\u002F2.email-templates\u002F4.module-emails",{"title":377,"path":378,"stem":379},"Push","\u002Fmodules\u002Fcommunication\u002Fpush","3.modules\u002F6.communication\u002F3.push",{"title":381,"path":382,"stem":383},"Inbox","\u002Fmodules\u002Fcommunication\u002Finbox","3.modules\u002F6.communication\u002F4.inbox",{"title":385,"path":386,"stem":387},"Short links","\u002Fmodules\u002Fcommunication\u002Fshort-links","3.modules\u002F6.communication\u002F5.short-links",{"title":389,"path":390,"stem":391},"Campaigns","\u002Fmodules\u002Fcommunication\u002Fcampaigns","3.modules\u002F6.communication\u002F6.campaigns",{"title":393,"path":394,"stem":395},"SMS","\u002Fmodules\u002Fcommunication\u002Fsms","3.modules\u002F6.communication\u002F7.sms",{"title":397,"icon":53,"path":398,"stem":399,"children":400,"page":53},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F7.interface",[401,426,429,433,437,451,455,469],{"title":402,"path":403,"stem":404,"children":405},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F7.interface\u002F1.ui\u002Findex",[406,407,411,415,419,423],{"title":177,"path":403,"stem":404},{"title":408,"path":409,"stem":410},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F7.interface\u002F1.ui\u002F2.page-components",{"title":412,"path":413,"stem":414},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F7.interface\u002F1.ui\u002F3.app-shell",{"title":416,"path":417,"stem":418},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F7.interface\u002F1.ui\u002F4.form-inputs",{"title":420,"path":421,"stem":422},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F7.interface\u002F1.ui\u002F5.composables",{"title":183,"path":424,"stem":425},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F7.interface\u002F1.ui\u002F6.reference",{"title":225,"path":427,"stem":428},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F7.interface\u002F2.admin",{"title":430,"path":431,"stem":432},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F7.interface\u002F3.menu",{"title":434,"path":435,"stem":436},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F7.interface\u002F4.widget",{"title":438,"path":439,"stem":440,"children":441},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F7.interface\u002F5.mobile\u002Findex",[442,443,447],{"title":177,"path":439,"stem":440},{"title":444,"path":445,"stem":446},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F7.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":448,"path":449,"stem":450},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F7.interface\u002F5.mobile\u002F3.splash-screen",{"title":452,"path":453,"stem":454},"Dashboard","\u002Fmodules\u002Finterface\u002Fdashboard","3.modules\u002F7.interface\u002F6.dashboard",{"title":456,"path":457,"stem":458,"children":459},"Desktop","\u002Fmodules\u002Finterface\u002Fdesktop","3.modules\u002F7.interface\u002F7.desktop\u002Findex",[460,461,465],{"title":177,"path":457,"stem":458},{"title":462,"path":463,"stem":464},"CLI","\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli","3.modules\u002F7.interface\u002F7.desktop\u002F2.cli",{"title":466,"path":467,"stem":468},"Local mode","\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode","3.modules\u002F7.interface\u002F7.desktop\u002F3.local-mode",{"title":470,"path":471,"stem":472},"Maps","\u002Fmodules\u002Finterface\u002Fmaps","3.modules\u002F7.interface\u002F8.maps",{"title":474,"icon":53,"path":475,"stem":476,"children":477,"page":53},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F8.platform",[478,500],{"title":479,"path":480,"stem":481,"children":482},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F8.platform\u002F1.module-kit\u002Findex",[483,484,488,492,496],{"title":177,"path":480,"stem":481},{"title":485,"path":486,"stem":487},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F8.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":489,"path":490,"stem":491},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F8.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":493,"path":494,"stem":495},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F8.platform\u002F1.module-kit\u002F4.i18n",{"title":497,"path":498,"stem":499},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F8.platform\u002F1.module-kit\u002F5.database",{"title":501,"path":502,"stem":503,"children":504},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F8.platform\u002F2.base-layer\u002Findex",[505,506,510,514],{"title":177,"path":502,"stem":503},{"title":507,"path":508,"stem":509},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F8.platform\u002F2.base-layer\u002F2.content-collections",{"title":511,"path":512,"stem":513},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F8.platform\u002F2.base-layer\u002F3.layouts-and-routing",{"title":515,"path":516,"stem":517},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F8.platform\u002F2.base-layer\u002F4.composables-and-utils",{"title":519,"icon":53,"path":520,"stem":521,"children":522,"page":53},"Volunteering","\u002Fmodules\u002Fvolunteering","3.modules\u002F9.volunteering",[523,527,531],{"title":524,"path":525,"stem":526},"Operations","\u002Fmodules\u002Fvolunteering\u002Foperations","3.modules\u002F9.volunteering\u002F1.operations",{"title":528,"path":529,"stem":530},"Crew","\u002Fmodules\u002Fvolunteering\u002Fcrew","3.modules\u002F9.volunteering\u002F2.crew",{"title":532,"path":533,"stem":534},"Shifts","\u002Fmodules\u002Fvolunteering\u002Fshifts","3.modules\u002F9.volunteering\u002F3.shifts",{"title":536,"icon":537,"path":538,"stem":539,"children":540,"page":53},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[541,570,580],{"title":542,"icon":53,"path":543,"stem":544,"children":545,"page":53},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[546,550,555,560,565],{"title":547,"path":548,"stem":549},"Workspace","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":551,"path":552,"stem":553,"icon":554},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":556,"path":557,"stem":558,"icon":559},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":561,"path":562,"stem":563,"icon":564},"Desktop starter","\u002Fexamples\u002Fstarters\u002Fdesktop","4.examples\u002F1.starters\u002F4.desktop","i-lucide-monitor",{"title":566,"path":567,"stem":568,"icon":569},"Multi-platform starter","\u002Fexamples\u002Fstarters\u002Fmulti-platform","4.examples\u002F1.starters\u002F5.multi-platform","i-lucide-layers",{"title":571,"icon":53,"path":572,"stem":573,"children":574,"page":53},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[575],{"title":576,"path":577,"stem":578,"icon":579},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":581,"icon":53,"path":582,"stem":583,"children":584,"page":53},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[585,589,593,598,603],{"title":586,"path":587,"stem":588,"icon":74},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":590,"path":591,"stem":592,"icon":579},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":594,"path":595,"stem":596,"icon":597},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":599,"path":600,"stem":601,"icon":602},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":604,"path":605,"stem":606,"icon":607},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":462,"icon":609,"path":610,"stem":611,"children":612,"page":53},"i-lucide-square-terminal","\u002Fcli","5.cli",[613,616,621,625,630,633,638,642,647],{"title":177,"path":614,"stem":615,"icon":609},"\u002Fcli\u002Foverview","5.cli\u002F1.overview",{"title":617,"path":618,"stem":619,"icon":620},"Create a project","\u002Fcli\u002Fcreate-a-project","5.cli\u002F2.create-a-project","i-lucide-folder-plus",{"title":622,"path":623,"stem":624,"icon":569},"Platforms","\u002Fcli\u002Fplatforms","5.cli\u002F3.platforms",{"title":626,"path":627,"stem":628,"icon":629},"Custom platforms","\u002Fcli\u002Fcustom-platforms","5.cli\u002F4.custom-platforms","i-lucide-monitor-cog",{"title":160,"path":631,"stem":632,"icon":161},"\u002Fcli\u002Fmodules","5.cli\u002F5.modules",{"title":634,"path":635,"stem":636,"icon":637},"Refactoring","\u002Fcli\u002Frefactoring","5.cli\u002F6.refactoring","i-lucide-folder-tree",{"title":639,"path":640,"stem":641,"icon":52},"Upgrade","\u002Fcli\u002Fupgrade","5.cli\u002F7.upgrade",{"title":643,"path":644,"stem":645,"icon":646},"From code","\u002Fcli\u002Ffrom-code","5.cli\u002F8.from-code","i-lucide-code",{"title":648,"path":649,"stem":650,"icon":138},"Environment files","\u002Fcli\u002Fenvironment","5.cli\u002F9.environment",{"title":652,"icon":653,"path":654,"stem":655,"children":656,"page":53},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","6.contribute",[657,660,665,691,696,699,703,716],{"title":177,"path":658,"stem":659,"icon":653},"\u002Fcontribute\u002Foverview","6.contribute\u002F1.overview",{"title":661,"path":662,"stem":663,"icon":664},"Local development","\u002Fcontribute\u002Flocal-development","6.contribute\u002F2.local-development","i-lucide-terminal",{"title":666,"icon":53,"path":667,"stem":668,"children":669,"page":53},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","6.contribute\u002F3.writing-a-module",[670,674,679,683,688],{"title":671,"path":672,"stem":673,"icon":38},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","6.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":675,"path":676,"stem":677,"icon":678},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","6.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":680,"path":681,"stem":682,"icon":43},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","6.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":684,"path":685,"stem":686,"icon":687},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","6.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":71,"path":689,"stem":690,"icon":74},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","6.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":692,"path":693,"stem":694,"icon":695},"Publishing","\u002Fcontribute\u002Fpublishing","6.contribute\u002F4.publishing","i-lucide-package-check",{"title":542,"path":697,"stem":698,"icon":6},"\u002Fcontribute\u002Fstarters","6.contribute\u002F5.starters",{"title":700,"path":701,"stem":702,"icon":56},"Documentation","\u002Fcontribute\u002Fdocumentation","6.contribute\u002F6.documentation",{"title":704,"icon":53,"path":705,"stem":706,"children":707,"page":53},"Tooling","\u002Fcontribute\u002Ftooling","6.contribute\u002F7.tooling",[708,711],{"title":462,"path":709,"stem":710,"icon":609},"\u002Fcontribute\u002Ftooling\u002Fcli","6.contribute\u002F7.tooling\u002F1.cli",{"title":712,"path":713,"stem":714,"icon":715},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","6.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":717,"icon":53,"path":718,"stem":719,"children":720},"Decisions","\u002Fcontribute\u002Fdecisions","6.contribute\u002F8.decisions\u002Findex",[721,723,728],{"title":717,"path":718,"stem":719,"icon":722},"i-lucide-scale",{"title":724,"path":725,"stem":726,"icon":727},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","6.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":729,"path":730,"stem":731,"icon":74},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","6.contribute\u002F8.decisions\u002F2.permission-model",{"id":733,"title":561,"body":734,"description":2466,"extension":2467,"links":2468,"meta":2469,"navigation":2470,"path":562,"seo":2471,"stem":563,"__hash__":2472},"docs\u002F4.examples\u002F1.starters\u002F4.desktop.md",{"type":735,"value":736,"toc":2453},"minimark",[737,744,778,800,867,873,878,886,963,969,973,1005,1117,1133,1258,1262,1268,1280,1314,1343,1379,1383,1387,1409,1499,1505,1714,1734,1738,1764,1774,1798,1819,1823,1832,1857,1879,1888,1892,1904,1944,1978,1982,1987,2135,2162,2166,2169,2181,2192,2196,2412,2416,2449],[738,739,740],"p",{},[741,742,743],"strong",{},"What you'll have afterwards:",[745,746,747,756,764],"ul",{},[748,749,750,751,755],"li",{},"A desktop app for macOS, Windows and Linux, also runnable in a browser on ",[752,753,754],"code",{},"http:\u002F\u002Flocalhost:3001",".",[748,757,758,759,763],{},"In remote mode, the app signs you in at an ",[760,761,762],"a",{"href":91},"issuer"," you already have. In local mode, it\nhas its own users and database and works offline.",[748,765,766,767,770,771,774,775,777],{},"A ",[741,768,769],{},"Home"," page that shows the desktop shell, who signed in and the result of ",[752,772,773],{},"\u002Fapi\u002Fme",", and an ",[741,776,203],{}," page that\nsigns you out.",[738,779,780,781,784,785,788,789,791,792,795,796,799],{},"Use this ",[760,782,783],{"href":91},"starter"," for a desktop app. It is a pnpm workspace with one app in ",[752,786,787],{},"apps\u002Fdesktop",",\non ",[760,790,456],{"href":457}," (Tauri v2). The app runs in one of two modes, picked by ",[752,793,794],{},"DESKTOP_MODE"," in\n",[752,797,798],{},"apps\u002Fdesktop\u002F.env",":",[801,802,803,819],"table",{},[804,805,806],"thead",{},[807,808,809,813,816],"tr",{},[810,811,812],"th",{},"Mode",[810,814,815],{},"What ships in the app",[810,817,818],{},"Sign-in",[820,821,822,841],"tbody",{},[807,823,824,831,834],{},[825,826,827,830],"td",{},[752,828,829],{},"remote"," (default)",[825,832,833],{},"A static Nuxt 4 single-page app (SPA) that calls a remote API",[825,835,836,837,840],{},"At a remote issuer, with ",[760,838,839],{"href":188},"Auth in client mode",": the system browser, and the redirect back as a deep link",[807,842,843,848,861],{},[825,844,845],{},[752,846,847],{},"local",[825,849,850,851,853,854,857,858,860],{},"The whole app, with its server, ",[760,852,199],{"href":200}," and SQLite, compiled with Bun into a sidecar on ",[752,855,856],{},"127.0.0.1"," (",[760,859,466],{"href":467},")",[825,862,863,864,866],{},"Email and password on the app's own server, with ",[760,865,172],{"href":173}," in server mode",[738,868,869,870,872],{},"Both modes take their guards from ",[760,871,207],{"href":208},", and share the same pages.",[874,875,877],"h2",{"id":876},"prerequisites","Prerequisites",[738,879,880,881,885],{},"The tools in ",[760,882,884],{"href":883},"\u002Fget-started\u002Finstallation#requirements","Requirements",", plus:",[801,887,888,904],{},[804,889,890],{},[807,891,892,895,898],{},[810,893,894],{},"Tool",[810,896,897],{},"For",[810,899,900,901],{},"Installed by ",[752,902,903],{},"pnpm desktop:setup",[820,905,906,931,946],{},[807,907,908,911,928],{},[825,909,910],{},"Rust",[825,912,913,914,917,918,921,922,755],{},"Every OS: ",[752,915,916],{},"cargo"," and ",[752,919,920],{},"rustc"," from ",[760,923,927],{"href":924,"rel":925},"https:\u002F\u002Frustup.rs",[926],"nofollow","rustup.rs",[825,929,930],{},"macOS, Linux",[807,932,933,936,943],{},[825,934,935],{},"Your OS's prerequisites",[825,937,938,939,755],{},"The Xcode Command Line Tools on macOS, the C++ Build Tools and WebView2 on Windows, WebKitGTK 4.1 on Linux. See ",[760,940,942],{"href":941},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli#prerequisites","Desktop prerequisites",[825,944,945],{},"The Xcode tools (Apple's dialog)",[807,947,948,951,960],{},[825,949,950],{},"Bun",[825,952,953,954,959],{},"Local mode only, to compile the server: ",[760,955,958],{"href":956,"rel":957},"https:\u002F\u002Fbun.sh",[926],"bun.sh",". The app's users do not need it.",[825,961,962],{},"Every OS",[738,964,965,968],{},[752,966,967],{},"pnpm dev"," runs the app in a browser without any of them.",[874,970,972],{"id":971},"_1-create-the-project","1. Create the project",[738,974,975,976,983,984,857,987,989,990,995,996,998,999,917,1002,799],{},"Copy ",[760,977,980],{"href":978,"rel":979},"https:\u002F\u002Fgithub.com\u002FFrigear-nu\u002Ffrigear-nu\u002Ftree\u002Fmain\u002F.starters\u002Fdesktop",[926],[752,981,982],{},".starters\u002Fdesktop"," with\n",[752,985,986],{},"pnpm create frigear-app",[760,988,462],{"href":618},") or with ",[760,991,994],{"href":992,"rel":993},"https:\u002F\u002Fgithub.com\u002Funjs\u002Fgiget",[926],"giget",".\n",[752,997,986],{}," also runs ",[752,1000,1001],{},"pnpm install",[752,1003,1004],{},"pnpm prepare:env",[1006,1007,1008,1062],"code-group",{},[1009,1010,1016],"pre",{"className":1011,"code":1012,"filename":1013,"language":1014,"meta":1015,"style":1015},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm create frigear-app my-app --platform desktop\ncd my-app\ngit init\n","pnpm create","bash","",[752,1017,1018,1043,1053],{"__ignoreMap":1015},[1019,1020,1023,1027,1031,1034,1037,1040],"span",{"class":1021,"line":1022},"line",1,[1019,1024,1026],{"class":1025},"sBMFI","pnpm",[1019,1028,1030],{"class":1029},"sfazB"," create",[1019,1032,1033],{"class":1029}," frigear-app",[1019,1035,1036],{"class":1029}," my-app",[1019,1038,1039],{"class":1029}," --platform",[1019,1041,1042],{"class":1029}," desktop\n",[1019,1044,1046,1050],{"class":1021,"line":1045},2,[1019,1047,1049],{"class":1048},"s2Zo4","cd",[1019,1051,1052],{"class":1029}," my-app\n",[1019,1054,1056,1059],{"class":1021,"line":1055},3,[1019,1057,1058],{"class":1025},"git",[1019,1060,1061],{"class":1029}," init\n",[1009,1063,1065],{"className":1011,"code":1064,"filename":994,"language":1014,"meta":1015,"style":1015},"pnpx giget@latest gh:Frigear-nu\u002Ffrigear-nu\u002F.starters\u002Fdesktop my-app\ncd my-app\ngit init\ncorepack enable\npnpm install\npnpm prepare:env\n",[752,1066,1067,1080,1086,1092,1101,1109],{"__ignoreMap":1015},[1019,1068,1069,1072,1075,1078],{"class":1021,"line":1022},[1019,1070,1071],{"class":1025},"pnpx",[1019,1073,1074],{"class":1029}," giget@latest",[1019,1076,1077],{"class":1029}," gh:Frigear-nu\u002Ffrigear-nu\u002F.starters\u002Fdesktop",[1019,1079,1052],{"class":1029},[1019,1081,1082,1084],{"class":1021,"line":1045},[1019,1083,1049],{"class":1048},[1019,1085,1052],{"class":1029},[1019,1087,1088,1090],{"class":1021,"line":1055},[1019,1089,1058],{"class":1025},[1019,1091,1061],{"class":1029},[1019,1093,1095,1098],{"class":1021,"line":1094},4,[1019,1096,1097],{"class":1025},"corepack",[1019,1099,1100],{"class":1029}," enable\n",[1019,1102,1104,1106],{"class":1021,"line":1103},5,[1019,1105,1026],{"class":1025},[1019,1107,1108],{"class":1029}," install\n",[1019,1110,1112,1114],{"class":1021,"line":1111},6,[1019,1113,1026],{"class":1025},[1019,1115,1116],{"class":1029}," prepare:env\n",[738,1118,1119,1121,1122,1125,1126,1128,1129,1132],{},[752,1120,1004],{}," copies ",[752,1123,1124],{},"apps\u002Fdesktop\u002F.env.example"," to ",[752,1127,798],{}," and generates ",[752,1130,1131],{},"NUXT_APP_SECRET",". It never\noverwrites a value.",[801,1134,1135,1147],{},[804,1136,1137],{},[807,1138,1139,1142,1144],{},[810,1140,1141],{},"Variable",[810,1143,812],{},[810,1145,1146],{},"What it is",[820,1148,1149,1165,1185,1204,1223,1243],{},[807,1150,1151,1155,1158],{},[825,1152,1153],{},[752,1154,794],{},[825,1156,1157],{},"Both",[825,1159,1160,1162,1163,755],{},[752,1161,829],{}," (the example's value) or ",[752,1164,847],{},[807,1166,1167,1172,1175],{},[825,1168,1169],{},[752,1170,1171],{},"NUXT_PUBLIC_AUTHENTICATION_CLIENT_ISSUER",[825,1173,1174],{},"Remote",[825,1176,1177,1178,1181,1182,755],{},"The issuer URL, for example ",[752,1179,1180],{},"https:\u002F\u002Ffrigear.nu",". The example file sets ",[752,1183,1184],{},"http:\u002F\u002Flocalhost:3000",[807,1186,1187,1192,1194],{},[825,1188,1189],{},[752,1190,1191],{},"NUXT_PUBLIC_AUTHENTICATION_CLIENT_API_BASE",[825,1193,1174],{},[825,1195,1196,1197,917,1200,1203],{},"The API that ",[752,1198,1199],{},"useApi()",[752,1201,1202],{},"$api"," call with the access token. Without it: the issuer.",[807,1205,1206,1211,1213],{},[825,1207,1208],{},[752,1209,1210],{},"NUXT_PUBLIC_AUTHENTICATION_CLIENT_CLIENT_ID",[825,1212,1174],{},[825,1214,1215,1216,1219,1220,755],{},"Optional. Overrides ",[752,1217,1218],{},"clientId"," of ",[752,1221,1222],{},"identity.ts",[807,1224,1225,1230,1232],{},[825,1226,1227],{},[752,1228,1229],{},"NUXT_PUBLIC_AUTHENTICATION_CLIENT_SCOPE",[825,1231,1174],{},[825,1233,1215,1234,1219,1237,1239,1240,755],{},[752,1235,1236],{},"scopes",[752,1238,1222],{},", space separated. Must include ",[752,1241,1242],{},"openid",[807,1244,1245,1249,1252],{},[825,1246,1247],{},[752,1248,1131],{},[825,1250,1251],{},"Local",[825,1253,1254,1255,1257],{},"Seals the session cookie under ",[752,1256,967],{},". The built app generates its own secrets on first start.",[874,1259,1261],{"id":1260},"_2-create-the-tauri-project","2. Create the Tauri project",[738,1263,1264,1265,1267],{},"Set ",[752,1266,794],{}," first (step 5 switches later), then:",[1009,1269,1271],{"className":1011,"code":1270,"language":1014,"meta":1015,"style":1015},"pnpm desktop:setup\n",[752,1272,1273],{"__ignoreMap":1015},[1019,1274,1275,1277],{"class":1021,"line":1022},[1019,1276,1026],{"class":1025},[1019,1278,1279],{"class":1029}," desktop:setup\n",[738,1281,1282,1284,1285,1288,1289,1292,1293,1296,1297,1300,1301,1304,1305,1309,1310,1313],{},[752,1283,903],{}," runs ",[752,1286,1287],{},"frigear-desktop doctor --fix",". It installs what is missing: Rust with the rustup installer,\nin local mode Bun with bun.sh's installer, and the Tauri packages. Then it runs ",[752,1290,1291],{},"frigear-desktop init",", which creates\n",[752,1294,1295],{},"apps\u002Fdesktop\u002Fsrc-tauri\u002F"," for the current mode, with the Rust project, the Tauri plugins, placeholder icons and the\nsettings from ",[752,1298,1299],{},"nuxt.config.ts",", and checks again. You do not need a new terminal afterwards. It never runs ",[752,1302,1303],{},"sudo",": on\nLinux and Windows it prints what to install by hand (",[760,1306,1308],{"href":1307},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli#set-up-a-machine","Set up a machine",").\n",[752,1311,1312],{},"pnpm desktop:doctor"," only checks.",[738,1315,1316,1317,1320,1321,1324,1325,1327,1328,1331,1332,1335,1336,917,1339,1342],{},"The starter has no ",[752,1318,1319],{},"src-tauri\u002F",", because what ",[752,1322,1323],{},"init"," writes depends on the mode: local mode adds the shell plugin and\nthe code that starts the bundled server. Commit ",[752,1326,1319],{}," once it exists. Its ",[752,1329,1330],{},".gitignore"," keeps ",[752,1333,1334],{},"target\u002F",",\n",[752,1337,1338],{},"gen\u002Fschemas",[752,1340,1341],{},"binaries\u002F"," out.",[1344,1345,1346,1349,1350,1352,1353,917,1356,1359,1360,1363,1364,917,1367,1370,1371,1374,1375,755],"note",{},[752,1347,1348],{},"src-tauri\u002Fsrc\u002Flib.rs"," is yours after ",[752,1351,1323],{},". ",[752,1354,1355],{},"tauri.conf.json",[752,1357,1358],{},"capabilities\u002Ffrigear.json"," are partly the module's:\n",[752,1361,1362],{},"pnpm desktop:sync",", and every ",[752,1365,1366],{},"desktop:dev",[752,1368,1369],{},"desktop:build",", merges the ",[752,1372,1373],{},"desktop"," options into them. See\n",[760,1376,1378],{"href":1377},"\u002Fmodules\u002Finterface\u002Fdesktop#what-the-module-writes","What the module writes",[874,1380,1382],{"id":1381},"_3-choose-the-issuer-remote-mode","3. Choose the issuer (remote mode)",[1384,1385,1386],"warning",{},"In remote mode the app does not sign in until the issuer knows it. Register it there before the first run. Skip this\nstep for local mode.",[738,1388,1264,1389,1391,1392,1395,1396,1398,1399,1402,1405,1406,799],{},[752,1390,1171],{}," (and ",[752,1393,1394],{},"_API_BASE",") in ",[752,1397,798],{},", then register a ",[741,1400,1401],{},"public",[760,1403,1404],{"href":91},"OAuth application"," at the issuer, one that uses PKCE and has no secret. Use the values from\n",[752,1407,1408],{},"apps\u002Fdesktop\u002Fidentity.ts",[801,1410,1411,1421],{},[804,1412,1413],{},[807,1414,1415,1418],{},[810,1416,1417],{},"What",[810,1419,1420],{},"Value in the starter",[820,1422,1423,1434,1451,1466,1484],{},[807,1424,1425,1428],{},[825,1426,1427],{},"Client id",[825,1429,1430,857,1432,860],{},[752,1431,1373],{},[752,1433,1218],{},[807,1435,1436,1439],{},[825,1437,1438],{},"Redirect URI of the built app",[825,1440,1441,857,1444,1447,1448,860],{},[752,1442,1443],{},"com.example.desk:\u002Fauth\u002Fcallback",[752,1445,1446],{},"appId"," in lowercase, then ",[752,1449,1450],{},"callbackPath",[807,1452,1453,1456],{},[825,1454,1455],{},"Redirect URI for development",[825,1457,1458,857,1461,917,1463,860],{},[752,1459,1460],{},"http:\u002F\u002Flocalhost:3001\u002Fauth\u002Fcallback",[752,1462,967],{},[752,1464,1465],{},"pnpm desktop:dev",[807,1467,1468,1471],{},[825,1469,1470],{},"Cross-origin resource sharing (CORS) origins",[825,1472,1473,1476,1477,1480,1481,1483],{},[752,1474,1475],{},"tauri:\u002F\u002Flocalhost"," (macOS, Linux), ",[752,1478,1479],{},"http:\u002F\u002Ftauri.localhost"," (Windows), ",[752,1482,754],{}," (development)",[807,1485,1486,1489],{},[825,1487,1488],{},"Scopes",[825,1490,1491,1494,1495,1498],{},[752,1492,1493],{},"openid profile email",". Add ",[752,1496,1497],{},"offline_access"," for issuers that need it for a refresh token (Keycloak, Auth0, ...).",[738,1500,1501,1502,1504],{},"On an issuer running ",[760,1503,233],{"href":234},", that is one configured client:",[1009,1506,1511],{"className":1507,"code":1508,"filename":1509,"language":1510,"meta":1015,"style":1015},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  oauthServer: {\n    cors: { paths: ['\u002Fapi\u002F'] },\n    clients: [{\n      id: 'desktop',\n      name: 'Example for desktop',\n      redirectUris: ['com.example.desk:\u002Fauth\u002Fcallback'],\n      devRedirectUris: ['http:\u002F\u002Flocalhost:3001\u002Fauth\u002Fcallback'],\n      corsOrigins: ['tauri:\u002F\u002Flocalhost', 'http:\u002F\u002Ftauri.localhost'],\n    }],\n  },\n})\n","nuxt.config.ts (issuer)","ts",[752,1512,1513,1533,1544,1576,1587,1603,1619,1640,1660,1689,1699,1705],{"__ignoreMap":1015},[1019,1514,1515,1519,1522,1525,1529],{"class":1021,"line":1022},[1019,1516,1518],{"class":1517},"s7zQu","export",[1019,1520,1521],{"class":1517}," default",[1019,1523,1524],{"class":1048}," defineNuxtConfig",[1019,1526,1528],{"class":1527},"sTEyZ","(",[1019,1530,1532],{"class":1531},"sMK4o","{\n",[1019,1534,1535,1539,1541],{"class":1021,"line":1045},[1019,1536,1538],{"class":1537},"swJcz","  oauthServer",[1019,1540,799],{"class":1531},[1019,1542,1543],{"class":1531}," {\n",[1019,1545,1546,1549,1551,1554,1557,1559,1562,1565,1568,1570,1573],{"class":1021,"line":1055},[1019,1547,1548],{"class":1537},"    cors",[1019,1550,799],{"class":1531},[1019,1552,1553],{"class":1531}," {",[1019,1555,1556],{"class":1537}," paths",[1019,1558,799],{"class":1531},[1019,1560,1561],{"class":1527}," [",[1019,1563,1564],{"class":1531},"'",[1019,1566,1567],{"class":1029},"\u002Fapi\u002F",[1019,1569,1564],{"class":1531},[1019,1571,1572],{"class":1527},"] ",[1019,1574,1575],{"class":1531},"},\n",[1019,1577,1578,1581,1583,1585],{"class":1021,"line":1094},[1019,1579,1580],{"class":1537},"    clients",[1019,1582,799],{"class":1531},[1019,1584,1561],{"class":1527},[1019,1586,1532],{"class":1531},[1019,1588,1589,1592,1594,1597,1599,1601],{"class":1021,"line":1103},[1019,1590,1591],{"class":1537},"      id",[1019,1593,799],{"class":1531},[1019,1595,1596],{"class":1531}," '",[1019,1598,1373],{"class":1029},[1019,1600,1564],{"class":1531},[1019,1602,1335],{"class":1531},[1019,1604,1605,1608,1610,1612,1615,1617],{"class":1021,"line":1111},[1019,1606,1607],{"class":1537},"      name",[1019,1609,799],{"class":1531},[1019,1611,1596],{"class":1531},[1019,1613,1614],{"class":1029},"Example for desktop",[1019,1616,1564],{"class":1531},[1019,1618,1335],{"class":1531},[1019,1620,1622,1625,1627,1629,1631,1633,1635,1638],{"class":1021,"line":1621},7,[1019,1623,1624],{"class":1537},"      redirectUris",[1019,1626,799],{"class":1531},[1019,1628,1561],{"class":1527},[1019,1630,1564],{"class":1531},[1019,1632,1443],{"class":1029},[1019,1634,1564],{"class":1531},[1019,1636,1637],{"class":1527},"]",[1019,1639,1335],{"class":1531},[1019,1641,1643,1646,1648,1650,1652,1654,1656,1658],{"class":1021,"line":1642},8,[1019,1644,1645],{"class":1537},"      devRedirectUris",[1019,1647,799],{"class":1531},[1019,1649,1561],{"class":1527},[1019,1651,1564],{"class":1531},[1019,1653,1460],{"class":1029},[1019,1655,1564],{"class":1531},[1019,1657,1637],{"class":1527},[1019,1659,1335],{"class":1531},[1019,1661,1663,1666,1668,1670,1672,1674,1676,1679,1681,1683,1685,1687],{"class":1021,"line":1662},9,[1019,1664,1665],{"class":1537},"      corsOrigins",[1019,1667,799],{"class":1531},[1019,1669,1561],{"class":1527},[1019,1671,1564],{"class":1531},[1019,1673,1475],{"class":1029},[1019,1675,1564],{"class":1531},[1019,1677,1678],{"class":1531},",",[1019,1680,1596],{"class":1531},[1019,1682,1479],{"class":1029},[1019,1684,1564],{"class":1531},[1019,1686,1637],{"class":1527},[1019,1688,1335],{"class":1531},[1019,1690,1692,1695,1697],{"class":1021,"line":1691},10,[1019,1693,1694],{"class":1531},"    }",[1019,1696,1637],{"class":1527},[1019,1698,1335],{"class":1531},[1019,1700,1702],{"class":1021,"line":1701},11,[1019,1703,1704],{"class":1531},"  },\n",[1019,1706,1708,1711],{"class":1021,"line":1707},12,[1019,1709,1710],{"class":1531},"}",[1019,1712,1713],{"class":1527},")\n",[738,1715,1716,1717,1720,1721,1724,1725,1727,1728,1730,1731,1733],{},"The ",[760,1718,1719],{"href":557},"standalone mobile starter","'s ",[752,1722,1723],{},"apps\u002Fweb"," is such an issuer on\n",[752,1726,1184],{},", with ",[752,1729,773],{},": add the client above next to the mobile one. For other issuers,\n",[760,1732,135],{"href":136}," has the checklist.",[874,1735,1737],{"id":1736},"_4-run-it","4. Run it",[1009,1739,1741],{"className":1011,"code":1740,"language":1014,"meta":1015,"style":1015},"pnpm dev            # http:\u002F\u002Flocalhost:3001 in a browser\npnpm desktop:dev    # the same app in a Tauri window\n",[752,1742,1743,1754],{"__ignoreMap":1015},[1019,1744,1745,1747,1750],{"class":1021,"line":1022},[1019,1746,1026],{"class":1025},[1019,1748,1749],{"class":1029}," dev",[1019,1751,1753],{"class":1752},"sHwdD","            # http:\u002F\u002Flocalhost:3001 in a browser\n",[1019,1755,1756,1758,1761],{"class":1021,"line":1045},[1019,1757,1026],{"class":1025},[1019,1759,1760],{"class":1029}," desktop:dev",[1019,1762,1763],{"class":1752},"    # the same app in a Tauri window\n",[738,1765,1766,1767,1770,1771,799],{},"Every page needs a signed-in user (the ",[752,1768,1769],{},"'\u002F**'"," route rule), so you land on ",[752,1772,1773],{},"\u002Flogin",[745,1775,1776,1792],{},[748,1777,1778,1781,1782,1785,1786,1788,1789,1791],{},[741,1779,1780],{},"Remote mode."," ",[741,1783,1784],{},"Sign in"," goes to the issuer. Under ",[752,1787,1366],{}," the window loads the dev server, so the sign-in\nis a redirect inside the window, back to ",[752,1790,1460],{},". A built app opens the system browser\ninstead, and gets the redirect back as a deep link.",[748,1793,1794,1797],{},[741,1795,1796],{},"Local mode."," Create an account on the sign-in page and sign in. There is no email verification: nobody would\nreceive the email offline.",[1799,1800,1803,1806,1807,1352,1810,1812,1813,1352,1816,1818],"callout",{"color":1801,"icon":1802},"success","i-lucide-check",[741,1804,1805],{},"What you should see:"," a window titled ",[741,1808,1809],{},"Example",[741,1811,769],{}," says it runs in the desktop app with your OS and version,\nand shows your sign-in and the result of ",[752,1814,1815],{},"GET \u002Fapi\u002Fme",[741,1817,203],{}," signs you out.",[874,1820,1822],{"id":1821},"_5-switch-to-local-mode","5. Switch to local mode",[738,1824,1264,1825,1828,1829,1831],{},[752,1826,1827],{},"DESKTOP_MODE=local"," in ",[752,1830,798],{},", then recreate the Tauri project for that mode:",[1009,1833,1835],{"className":1011,"code":1834,"language":1014,"meta":1015,"style":1015},"pnpm desktop:init --force   # overwrites the files init creates, src\u002Flib.rs included\npnpm desktop:dev\n",[752,1836,1837,1850],{"__ignoreMap":1015},[1019,1838,1839,1841,1844,1847],{"class":1021,"line":1022},[1019,1840,1026],{"class":1025},[1019,1842,1843],{"class":1029}," desktop:init",[1019,1845,1846],{"class":1029}," --force",[1019,1848,1849],{"class":1752},"   # overwrites the files init creates, src\u002Flib.rs included\n",[1019,1851,1852,1854],{"class":1021,"line":1045},[1019,1853,1026],{"class":1025},[1019,1855,1856],{"class":1029}," desktop:dev\n",[738,1858,1859,1861,1862,1865,1866,1869,1870,917,1872,1874,1875,1878],{},[752,1860,1299],{}," now adds NuxtHub, Users and Auth in server mode, and extends the ",[752,1863,1864],{},"local\u002F"," layer, which holds the\nserver routes (",[752,1867,1868],{},"local\u002Fserver\u002Fapi\u002Fme.get.ts","). Under ",[752,1871,967],{},[752,1873,1465],{}," the database is NuxtHub's, in\n",[752,1876,1877],{},"apps\u002Fdesktop\u002F.data\u002F",", with the migrations applied on start.",[1384,1880,1881,1884,1885,1887],{},[752,1882,1883],{},"pnpm desktop:init --force"," replaces ",[752,1886,1348],{},". Copy your own changes to it first.",[874,1889,1891],{"id":1890},"_6-build-the-installers","6. Build the installers",[1009,1893,1895],{"className":1011,"code":1894,"language":1014,"meta":1015,"style":1015},"pnpm desktop:build\n",[752,1896,1897],{"__ignoreMap":1015},[1019,1898,1899,1901],{"class":1021,"line":1022},[1019,1900,1026],{"class":1025},[1019,1902,1903],{"class":1029}," desktop:build\n",[738,1905,1906,1907,1910,1911,917,1914,1917,1918,1921,1922,1925,1926,1929,1930,917,1933,1936,1937,1940,1941,755],{},"The installers end up in ",[752,1908,1909],{},"apps\u002Fdesktop\u002Fsrc-tauri\u002Ftarget\u002Frelease\u002Fbundle\u002F"," (a ",[752,1912,1913],{},".dmg",[752,1915,1916],{},".app"," on macOS, ",[752,1919,1920],{},".msi"," and\n",[752,1923,1924],{},".exe"," on Windows, ",[752,1927,1928],{},".deb",", ",[752,1931,1932],{},".rpm",[752,1934,1935],{},".AppImage"," on Linux). Each OS builds its own. Options after ",[752,1938,1939],{},"--"," go to the\nTauri CLI, for example ",[752,1942,1943],{},"pnpm desktop:build -- --bundles dmg",[745,1945,1946,1959],{},[748,1947,1948,1284,1951,1954,1955,1958],{},[741,1949,1950],{},"Remote mode",[752,1952,1953],{},"nuxt generate"," and bundles the SPA. ",[752,1956,1957],{},"NUXT_PUBLIC_*"," values are baked in, so set the production\nissuer in the environment of the build.",[748,1960,1961,1284,1963,1966,1967,1970,1971,1352,1974,1977],{},[741,1962,466],{},[752,1964,1965],{},"nuxt build",", compiles the server with Bun into ",[752,1968,1969],{},"src-tauri\u002Fbinaries\u002F",", then bundles it. On first\nstart the app creates its database and secrets in the user's app-data folder and applies\n",[752,1972,1973],{},"server\u002Fdb\u002Fmigrations",[752,1975,1976],{},"pnpm desktop:sidecar"," builds only the server, to try it without Tauri.",[874,1979,1981],{"id":1980},"rename-the-app","Rename the app",[738,1983,1984,1985,799],{},"Everything that names the app is in ",[752,1986,1408],{},[1009,1988,1990],{"className":1507,"code":1989,"filename":1408,"language":1510,"meta":1015,"style":1015},"export const appId = 'com.example.desk' \u002F\u002F Tauri identifier and, in lowercase, the deep-link scheme\nexport const appName = 'Example' \u002F\u002F window title, installer and bundle name\nexport const clientId = 'desktop' \u002F\u002F the OAuth client_id (remote mode)\nexport const callbackPath = '\u002Fauth\u002Fcallback'\nexport const devPort = 3001 \u002F\u002F pnpm dev and the window of pnpm desktop:dev\nexport const scopes = ['openid', 'profile', 'email'] \u002F\u002F add 'offline_access' for issuers that need it\n",[752,1991,1992,2016,2036,2056,2075,2093],{"__ignoreMap":1015},[1019,1993,1994,1996,2000,2003,2006,2008,2011,2013],{"class":1021,"line":1022},[1019,1995,1518],{"class":1517},[1019,1997,1999],{"class":1998},"spNyl"," const",[1019,2001,2002],{"class":1527}," appId ",[1019,2004,2005],{"class":1531},"=",[1019,2007,1596],{"class":1531},[1019,2009,2010],{"class":1029},"com.example.desk",[1019,2012,1564],{"class":1531},[1019,2014,2015],{"class":1752}," \u002F\u002F Tauri identifier and, in lowercase, the deep-link scheme\n",[1019,2017,2018,2020,2022,2025,2027,2029,2031,2033],{"class":1021,"line":1045},[1019,2019,1518],{"class":1517},[1019,2021,1999],{"class":1998},[1019,2023,2024],{"class":1527}," appName ",[1019,2026,2005],{"class":1531},[1019,2028,1596],{"class":1531},[1019,2030,1809],{"class":1029},[1019,2032,1564],{"class":1531},[1019,2034,2035],{"class":1752}," \u002F\u002F window title, installer and bundle name\n",[1019,2037,2038,2040,2042,2045,2047,2049,2051,2053],{"class":1021,"line":1055},[1019,2039,1518],{"class":1517},[1019,2041,1999],{"class":1998},[1019,2043,2044],{"class":1527}," clientId ",[1019,2046,2005],{"class":1531},[1019,2048,1596],{"class":1531},[1019,2050,1373],{"class":1029},[1019,2052,1564],{"class":1531},[1019,2054,2055],{"class":1752}," \u002F\u002F the OAuth client_id (remote mode)\n",[1019,2057,2058,2060,2062,2065,2067,2069,2072],{"class":1021,"line":1094},[1019,2059,1518],{"class":1517},[1019,2061,1999],{"class":1998},[1019,2063,2064],{"class":1527}," callbackPath ",[1019,2066,2005],{"class":1531},[1019,2068,1596],{"class":1531},[1019,2070,2071],{"class":1029},"\u002Fauth\u002Fcallback",[1019,2073,2074],{"class":1531},"'\n",[1019,2076,2077,2079,2081,2084,2086,2090],{"class":1021,"line":1103},[1019,2078,1518],{"class":1517},[1019,2080,1999],{"class":1998},[1019,2082,2083],{"class":1527}," devPort ",[1019,2085,2005],{"class":1531},[1019,2087,2089],{"class":2088},"sbssI"," 3001",[1019,2091,2092],{"class":1752}," \u002F\u002F pnpm dev and the window of pnpm desktop:dev\n",[1019,2094,2095,2097,2099,2102,2104,2106,2108,2110,2112,2114,2116,2119,2121,2123,2125,2128,2130,2132],{"class":1021,"line":1111},[1019,2096,1518],{"class":1517},[1019,2098,1999],{"class":1998},[1019,2100,2101],{"class":1527}," scopes ",[1019,2103,2005],{"class":1531},[1019,2105,1561],{"class":1527},[1019,2107,1564],{"class":1531},[1019,2109,1242],{"class":1029},[1019,2111,1564],{"class":1531},[1019,2113,1678],{"class":1531},[1019,2115,1596],{"class":1531},[1019,2117,2118],{"class":1029},"profile",[1019,2120,1564],{"class":1531},[1019,2122,1678],{"class":1531},[1019,2124,1596],{"class":1531},[1019,2126,2127],{"class":1029},"email",[1019,2129,1564],{"class":1531},[1019,2131,1572],{"class":1527},[1019,2133,2134],{"class":1752},"\u002F\u002F add 'offline_access' for issuers that need it\n",[738,2136,2137,2138,2140,2141,2143,2144,917,2146,2149,2150,2153,2154,2157,2158,755],{},"After changing ",[752,2139,1446],{},", run ",[752,2142,1362],{}," and register the new redirect URI at the issuer. Use lowercase letters,\ndigits, ",[752,2145,755],{},[752,2147,2148],{},"-",", and avoid a last segment of ",[752,2151,2152],{},"app",". Replace the placeholder icons with\n",[752,2155,2156],{},"npx tauri icon path\u002Fto\u002Flogo.png",", see ",[760,2159,2161],{"href":2160},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli#icons","Icons",[874,2163,2165],{"id":2164},"change-the-database-local-mode","Change the database (local mode)",[738,2167,2168],{},"After adding a module with tables, or changing a module's options, generate a migration and commit it:",[1009,2170,2172],{"className":1011,"code":2171,"language":1014,"meta":1015,"style":1015},"pnpm db:generate\n",[752,2173,2174],{"__ignoreMap":1015},[1019,2175,2176,2178],{"class":1021,"line":1022},[1019,2177,1026],{"class":1025},[1019,2179,2180],{"class":1029}," db:generate\n",[738,2182,2183,2184,2187,2188,2191],{},"It runs ",[752,2185,2186],{},"nuxt db generate"," in local mode and writes to ",[752,2189,2190],{},"apps\u002Fdesktop\u002Fserver\u002Fdb\u002Fmigrations\u002Fsqlite\u002F",". The built app\napplies the pending migrations when it starts.",[874,2193,2195],{"id":2194},"what-is-in-the-starter","What is in the starter",[801,2197,2198,2208],{},[804,2199,2200],{},[807,2201,2202,2205],{},[810,2203,2204],{},"Path",[810,2206,2207],{},"What it does",[820,2209,2210,2250,2266,2276,2286,2298,2322,2336,2349,2363,2382,2392,2402],{},[807,2211,2212,2217],{},[825,2213,2214],{},[752,2215,2216],{},"package.json",[825,2218,2219,2220,1929,2223,1929,2226,1929,2229,1929,2232,1929,2235,1929,2238,1929,2241,1929,2244,917,2247,755],{},"Root scripts: ",[752,2221,2222],{},"dev",[752,2224,2225],{},"build",[752,2227,2228],{},"build:local",[752,2230,2231],{},"lint",[752,2233,2234],{},"typecheck",[752,2236,2237],{},"typecheck:local",[752,2239,2240],{},"test",[752,2242,2243],{},"prepare:env",[752,2245,2246],{},"db:generate",[752,2248,2249],{},"desktop:*",[807,2251,2252,2257],{},[825,2253,2254],{},[752,2255,2256],{},"pnpm-workspace.yaml",[825,2258,2259,2260,917,2263,755],{},"Lists ",[752,2261,2262],{},"apps\u002F*",[752,2264,2265],{},"packages\u002F*",[807,2267,2268,2273],{},[825,2269,2270],{},[752,2271,2272],{},"AGENTS.md",[825,2274,2275],{},"Conventions for you and your coding agents.",[807,2277,2278,2283],{},[825,2279,2280],{},[752,2281,2282],{},"packages\u002Feslint-config\u002F",[825,2284,2285],{},"Shared lint config for packages you add.",[807,2287,2288,2292],{},[825,2289,2290],{},[752,2291,1408],{},[825,2293,2294,2295,755],{},"App id, name, client id, callback path, dev port and scopes. Exported as ",[752,2296,2297],{},"@workspace\u002Fdesktop\u002Fidentity",[807,2299,2300,2305],{},[825,2301,2302],{},[752,2303,2304],{},"apps\u002Fdesktop\u002Fnuxt.config.ts",[825,2306,2307,2308,2310,2311,1929,2314,917,2317,2319,2320,755],{},"The modules, the ",[752,2309,1769],{}," route rule, and ",[752,2312,2313],{},"authentication",[752,2315,2316],{},"hub",[752,2318,1373],{}," for the mode in ",[752,2321,794],{},[807,2323,2324,2328],{},[825,2325,2326],{},[752,2327,1124],{},[825,2329,2330,2332,2333,2335],{},[752,2331,794],{},", the issuer and API of remote mode, ",[752,2334,1131],{}," of local mode.",[807,2337,2338,2343],{},[825,2339,2340],{},[752,2341,2342],{},"apps\u002Fdesktop\u002Fapp\u002Fapp.vue",[825,2344,2345,2348],{},[752,2346,2347],{},"\u003CUApp>"," with a top bar once signed in.",[807,2350,2351,2356],{},[825,2352,2353],{},[752,2354,2355],{},"apps\u002Fdesktop\u002Fapp\u002Fapp.config.ts",[825,2357,2358,2359,2362],{},"Sign-in page branding of remote mode (",[752,2360,2361],{},"authentication.login",").",[807,2364,2365,2370],{},[825,2366,2367],{},[752,2368,2369],{},"apps\u002Fdesktop\u002Fapp\u002Fpages\u002Findex.vue",[825,2371,2372,2373,1929,2376,917,2379,755],{},"Home: ",[752,2374,2375],{},"useDesktop()",[752,2377,2378],{},"useUserSession().user",[752,2380,2381],{},"useApi('\u002Fapi\u002Fme')",[807,2383,2384,2389],{},[825,2385,2386],{},[752,2387,2388],{},"apps\u002Fdesktop\u002Fapp\u002Fpages\u002Faccount.vue",[825,2390,2391],{},"Account: profile and sign-out.",[807,2393,2394,2399],{},[825,2395,2396],{},[752,2397,2398],{},"apps\u002Fdesktop\u002Flocal\u002F",[825,2400,2401],{},"A layer extended in local mode only, with the server routes.",[807,2403,2404,2409],{},[825,2405,2406],{},[752,2407,2408],{},"apps\u002Fdesktop\u002Fserver\u002Fdb\u002Fmigrations\u002F",[825,2410,2411],{},"The SQLite migrations of local mode.",[874,2413,2415],{"id":2414},"next-steps","Next steps",[745,2417,2418,2428,2433,2443],{},[748,2419,2420,2422,2423,2425,2426,755],{},[760,2421,456],{"href":457}," – the options, ",[752,2424,2375],{},", deep links and what the module writes into\n",[752,2427,1319],{},[748,2429,2430,2432],{},[760,2431,466],{"href":467}," – how the bundled server starts, its data folder, secrets and\nlimitations.",[748,2434,2435,2438,2439,2442],{},[760,2436,2437],{"href":463},"Desktop CLI"," – every ",[752,2440,2441],{},"frigear-desktop"," command and the prerequisites per OS.",[748,2444,2445,2448],{},[760,2446,839],{"href":2447},"\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode#tauri-desktop"," – the sign-in flows and token storage in a\nTauri window.",[2450,2451,2452],"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 pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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 .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}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":1015,"searchDepth":1045,"depth":1045,"links":2454},[2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465],{"id":876,"depth":1045,"text":877},{"id":971,"depth":1045,"text":972},{"id":1260,"depth":1045,"text":1261},{"id":1381,"depth":1045,"text":1382},{"id":1736,"depth":1045,"text":1737},{"id":1821,"depth":1045,"text":1822},{"id":1890,"depth":1045,"text":1891},{"id":1980,"depth":1045,"text":1981},{"id":2164,"depth":1045,"text":2165},{"id":2194,"depth":1045,"text":2195},{"id":2414,"depth":1045,"text":2415},"Start a macOS, Windows and Linux app on Tauri that signs in at any OpenID Connect issuer, or runs offline with its own users and database, from the desktop starter.","md",null,{},{"icon":564},{"title":561,"description":2466},"t-XGnpPYbgkhlSjWyIR9Rj9wLOKJ9J1UpZn7FxIApZs",[2474,2476],{"title":556,"path":557,"stem":558,"description":2475,"icon":559,"children":-1},"Start a mobile app with its own backend - a Nuxt 4 web app that is the OAuth server and API, and a Capacitor app that signs in at it - from the standalone mobile starter.",{"title":566,"path":567,"stem":568,"description":2477,"icon":569,"children":-1},"Start a web app that is the OAuth server and API, a Capacitor mobile app and a Tauri desktop app that both sign in at it, from the multi-platform starter.",1796157336274]