[{"data":1,"prerenderedAt":1282},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-apps-plugins":309,"-frameworks-nuxt-archive-apps-plugins-surround":1277},[4,23,281,293],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Start here","i-lucide-compass","\u002Fgetting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"What is Open Web Desktop?","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction",{"title":15,"path":16,"stem":17},"Run your first desktop","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation",{"title":19,"path":20,"stem":21},"Find the right package","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F4.project-structure",false,{"title":24,"path":25,"stem":26,"children":27,"icon":78},"Frameworks","\u002Fframeworks","2.frameworks\u002F1.index",[28,30,34,265,269,273,277],{"title":29,"path":25,"stem":26},"Choose a framework",{"title":31,"path":32,"stem":33},"Vue.js","\u002Fframeworks\u002Fvue","2.frameworks\u002F2.vue",{"title":35,"path":36,"stem":37,"children":38},"Nuxt.js","\u002Fframeworks\u002Fnuxt","2.frameworks\u002F3.nuxt\u002F1.index",[39,40],{"title":35,"path":36,"stem":37},{"title":41,"defaultOpen":22,"icon":42,"path":43,"stem":44,"children":45,"page":-1},"OWD 3.x archive","i-lucide-archive","\u002Fframeworks\u002Fnuxt\u002Farchive","2.frameworks\u002F3.nuxt\u002F9.archive\u002F1.index",[46,48,68,89,133,174,214,250],{"title":47,"path":43,"stem":44},"Browse 3.x guides",{"title":49,"path":50,"stem":51,"children":52,"page":22},"3.x getting started","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fgetting-started","2.frameworks\u002F3.nuxt\u002F9.archive\u002F1.getting-started",[53,58,63],{"title":54,"path":55,"stem":56,"icon":57},"Introduction","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fgetting-started\u002Fintroduction","2.frameworks\u002F3.nuxt\u002F9.archive\u002F1.getting-started\u002F2.introduction","i-lucide-house",{"title":59,"path":60,"stem":61,"icon":62},"Installation","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fgetting-started\u002Finstallation","2.frameworks\u002F3.nuxt\u002F9.archive\u002F1.getting-started\u002F3.installation","i-lucide-download",{"title":64,"path":65,"stem":66,"icon":67},"Project structure","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fgetting-started\u002Fproject-structure","2.frameworks\u002F3.nuxt\u002F9.archive\u002F1.getting-started\u002F4.project-structure","i-lucide-folder-tree",{"title":69,"icon":70,"path":71,"stem":72,"children":73,"page":22},"Architecture","i-lucide-cpu","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Farchitecture","2.frameworks\u002F3.nuxt\u002F9.archive\u002F3.architecture",[74,79,84],{"title":75,"path":76,"stem":77,"icon":78},"Core, themes, and apps","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Farchitecture\u002Foverview","2.frameworks\u002F3.nuxt\u002F9.archive\u002F3.architecture\u002F1.overview","i-lucide-layers",{"title":80,"path":81,"stem":82,"icon":83},"Monorepo & Nx Task Runner","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Farchitecture\u002Fmonorepo-nx","2.frameworks\u002F3.nuxt\u002F9.archive\u002F3.architecture\u002F2.monorepo-nx","i-lucide-box",{"title":85,"path":86,"stem":87,"icon":88},"Kits and extension modules","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Farchitecture\u002Fkits","2.frameworks\u002F3.nuxt\u002F9.archive\u002F3.architecture\u002F3.kits","i-lucide-puzzle",{"title":90,"icon":91,"path":92,"stem":93,"children":94,"page":22},"Apps","i-lucide-app-window","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps",[95,100,104,109,113,118,123,128],{"title":96,"path":97,"stem":98,"icon":99},"Overview","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Foverview","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F1.overview","i-lucide-info",{"title":101,"path":102,"stem":103,"icon":67},"Package layout","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fpackage-layout","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F2.package-layout",{"title":105,"path":106,"stem":107,"icon":108},"Create from scratch","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fcreate-from-scratch","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F3.create-from-scratch","i-lucide-list-checks",{"title":110,"path":111,"stem":112,"icon":88},"Module and runtime","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fmodule-and-runtime","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F4.module-and-runtime",{"title":114,"path":115,"stem":116,"icon":117},"Plugins","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fplugins","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F5.plugins","i-lucide-plug",{"title":119,"path":120,"stem":121,"icon":122},"Windows and commands","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fwindows-and-commands","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F6.windows-and-commands","i-lucide-layout-panel-top",{"title":124,"path":125,"stem":126,"icon":127},"Playground","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fplayground","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F7.playground","i-lucide-flask-conical",{"title":129,"path":130,"stem":131,"icon":132},"Build and publish","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fapps\u002Fbuild-and-publish","2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F8.build-and-publish","i-lucide-package",{"title":134,"icon":135,"path":136,"stem":137,"children":138,"page":22},"Themes","i-lucide-palette","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes",[139,142,147,150,154,159,164,169],{"title":96,"path":140,"stem":141,"icon":99},"\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Foverview","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F1.overview",{"title":143,"path":144,"stem":145,"icon":146},"Theme anatomy","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Ftheme-anatomy","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F2.theme-anatomy","i-lucide-component",{"title":105,"path":148,"stem":149,"icon":108},"\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Fcreate-from-scratch","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F3.create-from-scratch",{"title":151,"path":152,"stem":153,"icon":117},"Theme plugins","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Fplugins","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F4.plugins",{"title":155,"path":156,"stem":157,"icon":158},"Styling and Tailwind","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Fstyling-and-tailwind","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F5.styling-and-tailwind","i-lucide-brush",{"title":160,"path":161,"stem":162,"icon":163},"Pages and boot flow","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Fpages-and-boot-flow","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F6.pages-and-boot-flow","i-lucide-power",{"title":165,"path":166,"stem":167,"icon":168},"Theme and optional modules","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Ftheme-and-optional-modules","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F7.theme-and-optional-modules","i-lucide-link",{"title":170,"path":171,"stem":172,"icon":173},"Window chrome and nav buttons","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fthemes\u002Fwindow-chrome-and-nav-buttons","2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F8.window-chrome-and-nav-buttons","i-lucide-square-mouse-pointer",{"title":175,"icon":176,"path":177,"stem":178,"children":179,"page":22},"Client & CLI","i-lucide-terminal","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup",[180,184,189,194,199,204,209],{"title":181,"path":182,"stem":183,"icon":176},"desktop CLI","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fdesktop-cli","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F1.desktop-cli",{"title":185,"path":186,"stem":187,"icon":188},"Package linking","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fpackage-linking","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F2.package-linking","i-lucide-link-2",{"title":190,"path":191,"stem":192,"icon":193},"Monorepo and workspace","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fmonorepo-workspace","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F3.monorepo-workspace","i-lucide-blocks",{"title":195,"path":196,"stem":197,"icon":198},"desktop.config.ts","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fdesktop-config","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F4.desktop-config","i-lucide-file-code",{"title":200,"path":201,"stem":202,"icon":203},"Migrate themes, apps, and modules (3.3.2)","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fmigrate-packages-3-3-2","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F5.migrate-packages-3-3-2","i-lucide-arrow-right-left",{"title":205,"path":206,"stem":207,"icon":208},"Migrate themes, apps, and modules (3.4)","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Fmigrate-packages-3-4","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F6.migrate-packages-3-4","i-lucide-arrow-up-right",{"title":210,"path":211,"stem":212,"icon":213},"Troubleshooting","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Fsetup\u002Ftroubleshooting","2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F7.troubleshooting","i-lucide-circle-help",{"title":215,"icon":216,"path":217,"stem":218,"children":219,"page":22},"Internals","i-lucide-book-open","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals",[220,225,230,235,240,245],{"title":221,"path":222,"stem":223,"icon":224},"Boot sequence","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fboot-sequence","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F1.boot-sequence","i-lucide-list-ordered",{"title":226,"path":227,"stem":228,"icon":229},"Stores and composables","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fstores-and-composables","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F2.stores-and-composables","i-lucide-database",{"title":231,"path":232,"stem":233,"icon":234},"Core components","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fcore-components","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F3.core-components","i-lucide-layout-grid",{"title":236,"path":237,"stem":238,"icon":239},"Dialog provider","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fdialog-provider","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F4.dialog-provider","i-lucide-message-square",{"title":241,"path":242,"stem":243,"icon":244},"Kernel contract","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fkernel-contract","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F5.kernel-contract","i-lucide-shield-check",{"title":246,"path":247,"stem":248,"icon":249},"Shell identity","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Finternals\u002Fshell-identity","2.frameworks\u002F3.nuxt\u002F9.archive\u002F7.internals\u002F6.shell-identity","i-lucide-user",{"title":251,"path":252,"stem":253,"children":254,"page":22},"3.x reference","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Freference","2.frameworks\u002F3.nuxt\u002F9.archive\u002F8.reference",[255,260],{"title":256,"path":257,"stem":258,"icon":259},"Glossary","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Freference\u002Fglossary","2.frameworks\u002F3.nuxt\u002F9.archive\u002F8.reference\u002F1.glossary","i-lucide-book-a",{"title":261,"path":262,"stem":263,"icon":264},"Ecosystem","\u002Fframeworks\u002Fnuxt\u002Farchive\u002Freference\u002Fuseful-links","2.frameworks\u002F3.nuxt\u002F9.archive\u002F8.reference\u002F2.useful-links","i-lucide-external-link",{"title":266,"path":267,"stem":268},"React","\u002Fframeworks\u002Freact","2.frameworks\u002F4.react",{"title":270,"path":271,"stem":272},"Angular","\u002Fframeworks\u002Fangular","2.frameworks\u002F5.angular",{"title":274,"path":275,"stem":276},"Astro","\u002Fframeworks\u002Fastro","2.frameworks\u002F6.astro",{"title":278,"path":279,"stem":280},"Svelte","\u002Fframeworks\u002Fsvelte","2.frameworks\u002F7.svelte",{"title":69,"icon":70,"path":282,"stem":283,"children":284,"page":22},"\u002Farchitecture","3.architecture",[285,289],{"title":286,"path":287,"stem":288},"The desktop engine","\u002Farchitecture\u002Foverview","3.architecture\u002F1.overview",{"title":290,"path":291,"stem":292},"How OWD works","\u002Farchitecture\u002Ftechnical-reference","3.architecture\u002F2.technical-reference",{"title":294,"icon":295,"path":296,"stem":297,"children":298,"page":22},"Reference","i-lucide-book-marked","\u002Freference","8.reference",[299,302,305],{"title":256,"path":300,"stem":301},"\u002Freference\u002Fglossary","8.reference\u002F1.glossary",{"title":261,"path":303,"stem":304},"\u002Freference\u002Fuseful-links","8.reference\u002F2.useful-links",{"title":306,"path":307,"stem":308},"Contribute a desktop or extension","\u002Freference\u002Fcontribute","8.reference\u002F3.contribute",{"id":310,"title":114,"body":311,"description":1270,"extension":1271,"links":1272,"meta":1273,"navigation":1274,"path":115,"seo":1275,"stem":116,"__hash__":1276},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F5.plugins.md",{"type":312,"value":313,"toc":1252},"minimark",[314,330,337,341,415,487,494,513,550,668,679,688,699,703,711,857,863,878,884,893,915,931,938,955,966,973,980,1006,1020,1031,1083,1094,1098,1104,1221,1229,1233,1248],[315,316,317],"blockquote",{},[318,319,320,324,325,329],"p",{},[321,322,323],"strong",{},"Archive · OWD 3.x for Nuxt."," This page describes the previous Nuxt integration. For OWD 4.x, see the ",[326,327,328],"a",{"href":36},"current Nuxt guide",".",[318,331,332,333,336],{},"OWD apps use ",[321,334,335],{},"two different Nuxt plugin layers",". Confusing them is a common source of “app never registered” or “launch runs before register” bugs.",[338,339,96],"h2",{"id":340},"overview",[342,343,344,363],"table",{},[345,346,347],"thead",{},[348,349,350,354,357,360],"tr",{},[351,352,353],"th",{},"Type",[351,355,356],{},"Location",[351,358,359],{},"Shipped in npm?",[351,361,362],{},"Purpose",[364,365,366,397],"tbody",{},[348,367,368,374,380,383],{},[369,370,371],"td",{},[321,372,373],{},"Register",[369,375,376],{},[377,378,379],"code",{},"src\u002Fruntime\u002Fplugin.ts",[369,381,382],{},"Yes",[369,384,385,386,391,392,329],{},"Calls ",[321,387,388],{},[377,389,390],{},"defineDesktopApp"," — makes the app exist in ",[321,393,394],{},[377,395,396],{},"useApplicationManager",[348,398,399,404,409,412],{},[369,400,401],{},[321,402,403],{},"Launch (dev)",[369,405,406],{},[377,407,408],{},"playground\u002Fapp\u002Fplugins\u002Flaunch-*.client.ts",[369,410,411],{},"No",[369,413,414],{},"Opens a window automatically in the playground for faster iteration.",[416,417,422],"pre",{"className":418,"code":419,"language":420,"meta":421,"style":421},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sequenceDiagram\n  participant Core as @owdproject\u002Fcore\n  participant Reg as desktop-app-slug-register\n  participant Launch as launch-slug.client\n  participant AM as ApplicationManager\n\n  Core->>Reg: Nuxt plugin boot client\n  Reg->>AM: defineDesktopApp config\n  Launch->>Reg: dependsOn ordering\n  Launch->>AM: autoStartPlaygroundApps after app:mounted\n","mermaid","",[377,423,424,432,438,444,450,456,463,469,475,481],{"__ignoreMap":421},[425,426,429],"span",{"class":427,"line":428},"line",1,[425,430,431],{},"sequenceDiagram\n",[425,433,435],{"class":427,"line":434},2,[425,436,437],{},"  participant Core as @owdproject\u002Fcore\n",[425,439,441],{"class":427,"line":440},3,[425,442,443],{},"  participant Reg as desktop-app-slug-register\n",[425,445,447],{"class":427,"line":446},4,[425,448,449],{},"  participant Launch as launch-slug.client\n",[425,451,453],{"class":427,"line":452},5,[425,454,455],{},"  participant AM as ApplicationManager\n",[425,457,459],{"class":427,"line":458},6,[425,460,462],{"emptyLinePlaceholder":461},true,"\n",[425,464,466],{"class":427,"line":465},7,[425,467,468],{},"  Core->>Reg: Nuxt plugin boot client\n",[425,470,472],{"class":427,"line":471},8,[425,473,474],{},"  Reg->>AM: defineDesktopApp config\n",[425,476,478],{"class":427,"line":477},9,[425,479,480],{},"  Launch->>Reg: dependsOn ordering\n",[425,482,484],{"class":427,"line":483},10,[425,485,486],{},"  Launch->>AM: autoStartPlaygroundApps after app:mounted\n",[338,488,490,491,493],{"id":489},"register-plugin-srcruntimeplugints","Register plugin (",[377,492,379],{},")",[318,495,496,497,502,503,506,507,512],{},"Added via ",[321,498,499],{},[377,500,501],{},"addPlugin"," in your module’s ",[377,504,505],{},"setup",". Rules enforced by ",[321,508,509],{},[377,510,511],{},"desktop validate",":",[514,515,516,524,541],"ol",{},[517,518,519,520,329],"li",{},"Must call ",[321,521,522],{},[377,523,390],{},[517,525,526,527,532,533,536,537,540],{},"Must set ",[321,528,529],{},[377,530,531],{},"name: 'desktop-\u003Cslug>-register'"," — slug matches your package (e.g. ",[377,534,535],{},"desktop-app-about-register"," for ",[377,538,539],{},"app-about",").",[517,542,543,544,549],{},"Should guard ",[321,545,546],{},[377,547,548],{},"if (import.meta.server) return"," — registration is client-only.",[416,551,555],{"className":552,"code":553,"language":554,"meta":421,"style":421},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtPlugin({\n  name: 'desktop-app-about-register',\n  async setup() {\n    if (import.meta.server) return\n    await defineDesktopApp(config)\n  },\n})\n","ts",[377,556,557,578,598,613,640,656,661],{"__ignoreMap":421},[425,558,559,563,566,570,574],{"class":427,"line":428},[425,560,562],{"class":561},"s7zQu","export",[425,564,565],{"class":561}," default",[425,567,569],{"class":568},"s2Zo4"," defineNuxtPlugin",[425,571,573],{"class":572},"sTEyZ","(",[425,575,577],{"class":576},"sMK4o","{\n",[425,579,580,584,586,589,592,595],{"class":427,"line":434},[425,581,583],{"class":582},"swJcz","  name",[425,585,512],{"class":576},[425,587,588],{"class":576}," '",[425,590,535],{"class":591},"sfazB",[425,593,594],{"class":576},"'",[425,596,597],{"class":576},",\n",[425,599,600,604,607,610],{"class":427,"line":440},[425,601,603],{"class":602},"spNyl","  async",[425,605,606],{"class":582}," setup",[425,608,609],{"class":576},"()",[425,611,612],{"class":576}," {\n",[425,614,615,618,621,624,626,629,631,634,637],{"class":427,"line":446},[425,616,617],{"class":561},"    if",[425,619,620],{"class":582}," (",[425,622,623],{"class":561},"import",[425,625,329],{"class":576},[425,627,628],{"class":572},"meta",[425,630,329],{"class":576},[425,632,633],{"class":572},"server",[425,635,636],{"class":582},") ",[425,638,639],{"class":561},"return\n",[425,641,642,645,648,650,653],{"class":427,"line":452},[425,643,644],{"class":561},"    await",[425,646,647],{"class":568}," defineDesktopApp",[425,649,573],{"class":582},[425,651,652],{"class":572},"config",[425,654,655],{"class":582},")\n",[425,657,658],{"class":427,"line":458},[425,659,660],{"class":576},"  },\n",[425,662,663,666],{"class":427,"line":465},[425,664,665],{"class":576},"}",[425,667,655],{"class":572},[318,669,670,671,675,676,329],{},"Import ",[321,672,673],{},[377,674,390],{}," from ",[377,677,678],{},"@owdproject\u002Fcore\u002Fkit\u002FdefineDesktopApp",[680,681,683,684,687],"h3",{"id":682},"why-not-appcreated","Why not ",[377,685,686],{},"app:created","?",[318,689,690,691,694,695,698],{},"Older examples wrapped registration in ",[377,692,693],{},"nuxtApp.hook('app:created', ...)",". Current reference apps and the validator expect ",[321,696,697],{},"direct"," client-side registration. The register plugin runs during Nuxt plugin initialization on the client bundle.",[338,700,702],{"id":701},"launch-plugin-playground-only","Launch plugin (playground only)",[318,704,705,706,329],{},"Optional but recommended for dev and GitHub Pages. Filename pattern: ",[321,707,708],{},[377,709,710],{},"launch-\u003Cslug>.client.ts",[416,712,714],{"className":552,"code":713,"language":554,"meta":421,"style":421},"export default defineNuxtPlugin({\n  name: 'app-about-playground-launch',\n  dependsOn: ['desktop-app-about-register'],\n  setup(nuxtApp) {\n    autoStartPlaygroundApps(nuxtApp, [\n      { id: 'org.owdproject.about', entry: 'about', windowModel: 'main' },\n    ])\n  },\n})\n",[377,715,716,728,743,764,779,794,842,847,851],{"__ignoreMap":421},[425,717,718,720,722,724,726],{"class":427,"line":428},[425,719,562],{"class":561},[425,721,565],{"class":561},[425,723,569],{"class":568},[425,725,573],{"class":572},[425,727,577],{"class":576},[425,729,730,732,734,736,739,741],{"class":427,"line":434},[425,731,583],{"class":582},[425,733,512],{"class":576},[425,735,588],{"class":576},[425,737,738],{"class":591},"app-about-playground-launch",[425,740,594],{"class":576},[425,742,597],{"class":576},[425,744,745,748,750,753,755,757,759,762],{"class":427,"line":440},[425,746,747],{"class":582},"  dependsOn",[425,749,512],{"class":576},[425,751,752],{"class":572}," [",[425,754,594],{"class":576},[425,756,535],{"class":591},[425,758,594],{"class":576},[425,760,761],{"class":572},"]",[425,763,597],{"class":576},[425,765,766,769,771,775,777],{"class":427,"line":446},[425,767,768],{"class":582},"  setup",[425,770,573],{"class":576},[425,772,774],{"class":773},"sHdIc","nuxtApp",[425,776,493],{"class":576},[425,778,612],{"class":576},[425,780,781,784,786,788,791],{"class":427,"line":452},[425,782,783],{"class":568},"    autoStartPlaygroundApps",[425,785,573],{"class":582},[425,787,774],{"class":572},[425,789,790],{"class":576},",",[425,792,793],{"class":582}," [\n",[425,795,796,799,802,804,806,809,811,813,816,818,820,823,825,827,830,832,834,837,839],{"class":427,"line":458},[425,797,798],{"class":576},"      {",[425,800,801],{"class":582}," id",[425,803,512],{"class":576},[425,805,588],{"class":576},[425,807,808],{"class":591},"org.owdproject.about",[425,810,594],{"class":576},[425,812,790],{"class":576},[425,814,815],{"class":582}," entry",[425,817,512],{"class":576},[425,819,588],{"class":576},[425,821,822],{"class":591},"about",[425,824,594],{"class":576},[425,826,790],{"class":576},[425,828,829],{"class":582}," windowModel",[425,831,512],{"class":576},[425,833,588],{"class":576},[425,835,836],{"class":591},"main",[425,838,594],{"class":576},[425,840,841],{"class":576}," },\n",[425,843,844],{"class":427,"line":465},[425,845,846],{"class":582},"    ])\n",[425,848,849],{"class":427,"line":471},[425,850,660],{"class":576},[425,852,853,855],{"class":427,"line":477},[425,854,665],{"class":576},[425,856,655],{"class":572},[680,858,860],{"id":859},"dependson",[377,861,862],{},"dependsOn",[318,864,865,866,869,870,872,873,877],{},"Must list the ",[321,867,868],{},"exact"," register plugin name (",[377,871,535],{},"). Without it, launch may run before ",[321,874,875],{},[377,876,390],{}," completes.",[680,879,881],{"id":880},"autostartplaygroundapps",[377,882,883],{},"autoStartPlaygroundApps",[318,885,886,887,892],{},"Use the helper from ",[321,888,889],{},[377,890,891],{},"@owdproject\u002Fcore"," (auto-imported in playground). It:",[894,895,896,899,902,912],"ul",{},[517,897,898],{},"Waits for desktop work area measurement (pre-open centering)",[517,900,901],{},"Clears stale persisted windows in playground",[517,903,385,904,907,908,911],{},[377,905,906],{},"execAppCommand"," with the ",[377,909,910],{},"entry"," string",[517,913,914],{},"Brings the target window to front",[318,916,917,918,922,923,926,927,930],{},"The ",[321,919,920],{},[377,921,910],{}," field is the raw command string (e.g. ",[377,924,925],{},"'about'"," or ",[377,928,929],{},"'youtube --new --no-check'","), not just the entries map key.",[680,932,934,935],{"id":933},"do-not-use-importmetadev","Do not use ",[377,936,937],{},"import.meta.dev",[318,939,940,941,944,945,948,949,954],{},"Do ",[321,942,943],{},"not"," guard launch with ",[377,946,947],{},"if (!import.meta.dev) return",". GitHub Pages runs ",[321,950,951],{},[377,952,953],{},"nuxt generate"," — the same auto-start path must work there.",[318,956,957,958,329],{},"Reference: ",[326,959,963,965],{"href":960,"rel":961},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-about\u002Fblob\u002Fmain\u002Fplayground\u002Fapp\u002Fplugins\u002Flaunch-about.client.ts",[962],"nofollow",[377,964,539],{}," launch plugin",[338,967,969,970],{"id":968},"adding-plugins-from-modulets","Adding plugins from ",[377,971,972],{},"module.ts",[318,974,975,976,979],{},"Only the ",[321,977,978],{},"register"," plugin belongs in the published module:",[416,981,983],{"className":552,"code":982,"language":554,"meta":421,"style":421},"addPlugin(resolve('.\u002Fruntime\u002Fplugin'))\n",[377,984,985],{"__ignoreMap":421},[425,986,987,989,991,994,996,998,1001,1003],{"class":427,"line":428},[425,988,501],{"class":568},[425,990,573],{"class":572},[425,992,993],{"class":568},"resolve",[425,995,573],{"class":572},[425,997,594],{"class":576},[425,999,1000],{"class":591},".\u002Fruntime\u002Fplugin",[425,1002,594],{"class":576},[425,1004,1005],{"class":572},"))\n",[318,1007,940,1008,1010,1011,1013,1014,1019],{},[321,1009,943],{}," add playground launch plugins from ",[377,1012,972],{}," — keep them in ",[321,1015,1016],{},[377,1017,1018],{},"playground\u002Fapp\u002Fplugins\u002F"," so Nuxt auto-discovers them in the playground app root.",[318,1021,1022,1023,1026,1027,1030],{},"You can add ",[321,1024,1025],{},"additional runtime plugins"," under ",[377,1028,1029],{},"src\u002Fruntime\u002Fplugins\u002F"," if the app needs shared client setup (rare). Register them the same way:",[416,1032,1034],{"className":552,"code":1033,"language":554,"meta":421,"style":421},"addPlugin({ src: resolve('.\u002Fruntime\u002Fplugins\u002F10.my-setup.client.ts'), mode: 'client' })\n",[377,1035,1036],{"__ignoreMap":421},[425,1037,1038,1040,1042,1045,1048,1050,1053,1055,1057,1060,1062,1064,1066,1069,1071,1073,1076,1078,1081],{"class":427,"line":428},[425,1039,501],{"class":568},[425,1041,573],{"class":572},[425,1043,1044],{"class":576},"{",[425,1046,1047],{"class":582}," src",[425,1049,512],{"class":576},[425,1051,1052],{"class":568}," resolve",[425,1054,573],{"class":572},[425,1056,594],{"class":576},[425,1058,1059],{"class":591},".\u002Fruntime\u002Fplugins\u002F10.my-setup.client.ts",[425,1061,594],{"class":576},[425,1063,493],{"class":572},[425,1065,790],{"class":576},[425,1067,1068],{"class":582}," mode",[425,1070,512],{"class":576},[425,1072,588],{"class":576},[425,1074,1075],{"class":591},"client",[425,1077,594],{"class":576},[425,1079,1080],{"class":576}," }",[425,1082,655],{"class":572},[318,1084,1085,1086,1089,1090,1093],{},"Use numeric prefixes (",[377,1087,1088],{},"10.",", ",[377,1091,1092],{},"20.",") when order matters relative to other plugins.",[338,1095,1097],{"id":1096},"validation-summary","Validation summary",[318,1099,1100,1103],{},[377,1101,1102],{},"desktop validate ."," on an app repo reports:",[342,1105,1106,1116],{},[345,1107,1108],{},[348,1109,1110,1113],{},[351,1111,1112],{},"Check",[351,1114,1115],{},"Severity",[364,1117,1118,1128,1137,1151,1162,1176,1184,1193,1202,1213],{},[348,1119,1120,1125],{},[369,1121,1122,1123],{},"Missing ",[377,1124,379],{},[369,1126,1127],{},"error",[348,1129,1130,1135],{},[369,1131,1132,1133],{},"No ",[377,1134,390],{},[369,1136,1127],{},[348,1138,1139,1149],{},[369,1140,1141,1142,1145,1146,493],{},"Wrong plugin ",[377,1143,1144],{},"name"," pattern (",[377,1147,1148],{},"desktop-*-register",[369,1150,1127],{},[348,1152,1153,1160],{},[369,1154,1155,1156,1159],{},"Legacy ",[377,1157,1158],{},"owd-*-register"," name",[369,1161,1127],{},[348,1163,1164,1174],{},[369,1165,1166,1167,1170,1171],{},"Duplicate ",[377,1168,1169],{},"runtime\u002F"," + ",[377,1172,1173],{},"src\u002Fruntime\u002F",[369,1175,1127],{},[348,1177,1178,1181],{},[369,1179,1180],{},"Missing server guard",[369,1182,1183],{},"warning",[348,1185,1186,1191],{},[369,1187,1188,1190],{},[377,1189,937],{}," in launch plugin",[369,1192,1183],{},[348,1194,1195,1200],{},[369,1196,1197,1198],{},"Launch without ",[377,1199,883],{},[369,1201,1183],{},[348,1203,1204,1211],{},[369,1205,1206,1207,1210],{},"Hardcoded ",[377,1208,1209],{},"position"," in app.config",[369,1212,1183],{},[348,1214,1215,1218],{},[369,1216,1217],{},"Missing launch plugin",[369,1219,1220],{},"warning (optional)",[318,1222,1223,1224,329],{},"Full list: ",[326,1225,1228],{"href":1226,"rel":1227},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fcore\u002Fblob\u002Fmain\u002FPLAYGROUND.md",[962],"core PLAYGROUND.md",[338,1230,1232],{"id":1231},"related","Related",[894,1234,1235,1239,1243],{},[517,1236,1237],{},[326,1238,105],{"href":106},[517,1240,1241],{},[326,1242,124],{"href":125},[517,1244,1245,1246],{},"Theme-side plugins: ",[326,1247,151],{"href":152},[1249,1250,1251],"style",{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":421,"searchDepth":434,"depth":434,"links":1253},[1254,1255,1260,1266,1268,1269],{"id":340,"depth":434,"text":96},{"id":489,"depth":434,"text":1256,"children":1257},"Register plugin (src\u002Fruntime\u002Fplugin.ts)",[1258],{"id":682,"depth":440,"text":1259},"Why not app:created?",{"id":701,"depth":434,"text":702,"children":1261},[1262,1263,1264],{"id":859,"depth":440,"text":862},{"id":880,"depth":440,"text":883},{"id":933,"depth":440,"text":1265},"Do not use import.meta.dev",{"id":968,"depth":434,"text":1267},"Adding plugins from module.ts",{"id":1096,"depth":434,"text":1097},{"id":1231,"depth":434,"text":1232},"Register plugins in app modules vs playground launch plugins — naming, dependsOn, and validation.","md",null,{},{"icon":117},{"title":114,"description":1270},"QlL-FhQFyp-r5aqUzCJDRjseLCTrVE9PCnVnc8Qx4QE",[1278,1280],{"title":110,"path":111,"stem":112,"description":1279,"icon":88,"children":-1},"module.ts, plugins, defineDesktopApp, configKey merge, and Tailwind registration.",{"title":119,"path":120,"stem":121,"description":1281,"icon":122,"children":-1},"Window models, entries, commands, singletons, and ApplicationController.",1795483508430]