[{"data":1,"prerenderedAt":1740},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-setup-desktop-cli":309,"-frameworks-nuxt-archive-setup-desktop-cli-surround":1735},[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},"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":181,"body":311,"description":1728,"extension":1729,"links":1730,"meta":1731,"navigation":1732,"path":182,"seo":1733,"stem":183,"__hash__":1734},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F6.setup\u002F1.desktop-cli.md",{"type":312,"value":313,"toc":1707},"minimark",[314,330,340,353,379,399,404,416,563,569,576,652,665,671,674,701,710,716,730,760,763,775,781,806,851,856,898,911,919,1003,1007,1087,1090,1132,1136,1143,1179,1185,1188,1230,1278,1281,1293,1297,1424,1441,1448,1460,1506,1513,1522,1659,1663,1693,1703],[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,339],{},"The ",[321,334,335],{},[336,337,338],"code",{},"desktop"," command is your primary interface for managing an OWD project from the terminal. It handles everything from environment setup and development to package installation and validation.",[318,341,342,343,348,349,352],{},"It ships in ",[321,344,345],{},[336,346,347],{},"@owdproject\u002Fcore"," (",[336,350,351],{},"packages\u002Fcore\u002Fbin\u002Fdesktop.js","). In the official client monorepo:",[354,355,360],"pre",{"className":356,"code":357,"language":358,"meta":359,"style":359},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm desktop          # same as: node .\u002Fpackages\u002Fcore\u002Fbin\u002Fdesktop.js\n","bash","",[336,361,362],{"__ignoreMap":359},[363,364,367,371,375],"span",{"class":365,"line":366},"line",1,[363,368,370],{"class":369},"sBMFI","pnpm",[363,372,374],{"class":373},"sfazB"," desktop",[363,376,378],{"class":377},"sHwdD","          # same as: node .\u002Fpackages\u002Fcore\u002Fbin\u002Fdesktop.js\n",[380,381,382,387,388,392,393,398],"callout",{"icon":99},[321,383,384],{},[336,385,386],{},"owd"," is a deprecated alias for ",[321,389,390],{},[336,391,338],{},". Use ",[321,394,395],{},[336,396,397],{},"pnpm desktop"," in scripts and docs.",[400,401,403],"h2",{"id":402},"control-panel-default","Control panel (default)",[318,405,406,407,411,412,415],{},"Running ",[321,408,409],{},[336,410,397],{}," with no subcommand opens the ",[321,413,414],{},"interactive TUI"," (control panel).",[417,418,419,432],"table",{},[420,421,422],"thead",{},[423,424,425,429],"tr",{},[426,427,428],"th",{},"Key",[426,430,431],{},"Action",[433,434,435,446,456,466,476,488,506,516,526,539,549],"tbody",{},[423,436,437,443],{},[438,439,440],"td",{},[321,441,442],{},"m",[438,444,445],{},"Command menu",[423,447,448,453],{},[438,449,450],{},[321,451,452],{},"s",[438,454,455],{},"Start Nuxt dev server",[423,457,458,463],{},[438,459,460],{},[321,461,462],{},"x",[438,464,465],{},"Stop dev server",[423,467,468,473],{},[438,469,470],{},[321,471,472],{},"R",[438,474,475],{},"Restart dev server",[423,477,478,483],{},[438,479,480],{},[321,481,482],{},"w",[438,484,485,486],{},"Save catalog\u002Ftheme changes to ",[336,487,195],{},[423,489,490,495],{},[438,491,492],{},[321,493,494],{},"d",[438,496,497,498,501,502,505],{},"Toggle ",[321,499,500],{},"User"," (npm) \u002F ",[321,503,504],{},"Dev"," (git clone) install mode",[423,507,508,513],{},[438,509,510],{},[321,511,512],{},"g",[438,514,515],{},"Settings (GitHub user for fork clones)",[423,517,518,523],{},[438,519,520],{},[321,521,522],{},"r",[438,524,525],{},"Refresh package list from GitHub",[423,527,528,533],{},[438,529,530],{},[321,531,532],{},"b",[438,534,535,536],{},"Run ",[336,537,538],{},"pnpm run generate",[423,540,541,546],{},[438,542,543],{},[321,544,545],{},"n",[438,547,548],{},"Create new app or module (interactive wizard)",[423,550,551,560],{},[438,552,553,556,557],{},[321,554,555],{},"q"," \u002F ",[321,558,559],{},"Esc",[438,561,562],{},"Quit",[400,564,566],{"id":565},"desktop-dev",[336,567,568],{},"desktop dev",[318,570,571,572,575],{},"Start the dev server. Resolution depends on ",[321,573,574],{},"current working directory",":",[354,577,579],{"className":356,"code":578,"language":358,"meta":359,"style":359},"# From client monorepo root → reference desktop\u002F\npnpm desktop dev\n\n# From an app or theme package → that package’s playground\u002F\ncd apps\u002Fapp-about\npnpm desktop dev\n\n# Force playground even when cwd might resolve elsewhere\npnpm desktop dev --playground\n",[336,580,581,586,596,603,609,619,628,633,639],{"__ignoreMap":359},[363,582,583],{"class":365,"line":366},[363,584,585],{"class":377},"# From client monorepo root → reference desktop\u002F\n",[363,587,589,591,593],{"class":365,"line":588},2,[363,590,370],{"class":369},[363,592,374],{"class":373},[363,594,595],{"class":373}," dev\n",[363,597,599],{"class":365,"line":598},3,[363,600,602],{"emptyLinePlaceholder":601},true,"\n",[363,604,606],{"class":365,"line":605},4,[363,607,608],{"class":377},"# From an app or theme package → that package’s playground\u002F\n",[363,610,612,616],{"class":365,"line":611},5,[363,613,615],{"class":614},"s2Zo4","cd",[363,617,618],{"class":373}," apps\u002Fapp-about\n",[363,620,622,624,626],{"class":365,"line":621},6,[363,623,370],{"class":369},[363,625,374],{"class":373},[363,627,595],{"class":373},[363,629,631],{"class":365,"line":630},7,[363,632,602],{"emptyLinePlaceholder":601},[363,634,636],{"class":365,"line":635},8,[363,637,638],{"class":377},"# Force playground even when cwd might resolve elsewhere\n",[363,640,642,644,646,649],{"class":365,"line":641},9,[363,643,370],{"class":369},[363,645,374],{"class":373},[363,647,648],{"class":373}," dev",[363,650,651],{"class":373}," --playground\n",[318,653,654,655,660,661,329],{},"Requires a Nuxt project with ",[321,656,657],{},[336,658,659],{},"modules: ['@owdproject\u002Fcore']"," and ",[321,662,663],{},[336,664,195],{},[400,666,668],{"id":667},"desktop-init",[336,669,670],{},"desktop init",[318,672,673],{},"Scaffold a new OWD desktop project (uses the template blueprint), install dependencies, then open the control panel:",[354,675,677],{"className":356,"code":676,"language":358,"meta":359,"style":359},"desktop init my-desktop\ndesktop init .          # current directory\n",[336,678,679,689],{"__ignoreMap":359},[363,680,681,683,686],{"class":365,"line":366},[363,682,338],{"class":369},[363,684,685],{"class":373}," init",[363,687,688],{"class":373}," my-desktop\n",[363,690,691,693,695,698],{"class":365,"line":588},[363,692,338],{"class":369},[363,694,685],{"class":373},[363,696,697],{"class":373}," .",[363,699,700],{"class":377},"          # current directory\n",[318,702,703,704,709],{},"Equivalent to ",[321,705,706],{},[336,707,708],{},"npm create owd"," for new projects outside the monorepo.",[400,711,713],{"id":712},"desktop-create",[336,714,715],{},"desktop create",[318,717,718,719,722,723,726,727,329],{},"Scaffold a new app or module inside an existing OWD workspace. It copies the corresponding blueprint template, renames all files\u002Fdirectories, replaces placeholders, links the package in ",[336,720,721],{},"desktop\u002Fpackage.json",", registers it in ",[336,724,725],{},"desktop\u002Fdesktop.config.ts",", and runs ",[336,728,729],{},"dev:prepare",[354,731,733],{"className":356,"code":732,"language":358,"meta":359,"style":359},"desktop create app my-app\ndesktop create module my-module\n",[336,734,735,748],{"__ignoreMap":359},[363,736,737,739,742,745],{"class":365,"line":366},[363,738,338],{"class":369},[363,740,741],{"class":373}," create",[363,743,744],{"class":373}," app",[363,746,747],{"class":373}," my-app\n",[363,749,750,752,754,757],{"class":365,"line":588},[363,751,338],{"class":369},[363,753,741],{"class":373},[363,755,756],{"class":373}," module",[363,758,759],{"class":373}," my-module\n",[318,761,762],{},"If you omit the package kind and\u002For name, the CLI will prompt you interactively:",[354,764,766],{"className":356,"code":765,"language":358,"meta":359,"style":359},"desktop create\n",[336,767,768],{"__ignoreMap":359},[363,769,770,772],{"class":365,"line":366},[363,771,338],{"class":369},[363,773,774],{"class":373}," create\n",[400,776,778],{"id":777},"desktop-add",[336,779,780],{},"desktop add",[318,782,783,784,787,788,791,792,795,796,800,801,805],{},"Install an ",[321,785,786],{},"app",", ",[321,789,790],{},"theme",", or ",[321,793,794],{},"extension module"," and register it in ",[321,797,798],{},[336,799,195],{}," (and ",[321,802,803],{},[336,804,721],{}," when using the reference desktop).",[354,807,809],{"className":356,"code":808,"language":358,"meta":359,"style":359},"desktop add app-todo\ndesktop add theme-nuxt-nova\ndesktop add module-nuxt-fs\ndesktop add module-nuxt-pinia-persistence --npm\n",[336,810,811,821,830,839],{"__ignoreMap":359},[363,812,813,815,818],{"class":365,"line":366},[363,814,338],{"class":369},[363,816,817],{"class":373}," add",[363,819,820],{"class":373}," app-todo\n",[363,822,823,825,827],{"class":365,"line":588},[363,824,338],{"class":369},[363,826,817],{"class":373},[363,828,829],{"class":373}," theme-nuxt-nova\n",[363,831,832,834,836],{"class":365,"line":598},[363,833,338],{"class":369},[363,835,817],{"class":373},[363,837,838],{"class":373}," module-nuxt-fs\n",[363,840,841,843,845,848],{"class":365,"line":605},[363,842,338],{"class":369},[363,844,817],{"class":373},[363,846,847],{"class":373}," module-nuxt-pinia-persistence",[363,849,850],{"class":373}," --npm\n",[852,853,855],"h3",{"id":854},"optional-kind-prefix","Optional kind prefix",[354,857,859],{"className":356,"code":858,"language":358,"meta":359,"style":359},"desktop add app todo      # → @owdproject\u002Fapp-todo\ndesktop add theme paper\ndesktop add module fs\n",[336,860,861,875,887],{"__ignoreMap":359},[363,862,863,865,867,869,872],{"class":365,"line":366},[363,864,338],{"class":369},[363,866,817],{"class":373},[363,868,744],{"class":373},[363,870,871],{"class":373}," todo",[363,873,874],{"class":377},"      # → @owdproject\u002Fapp-todo\n",[363,876,877,879,881,884],{"class":365,"line":588},[363,878,338],{"class":369},[363,880,817],{"class":373},[363,882,883],{"class":373}," theme",[363,885,886],{"class":373}," paper\n",[363,888,889,891,893,895],{"class":365,"line":598},[363,890,338],{"class":369},[363,892,817],{"class":373},[363,894,756],{"class":373},[363,896,897],{"class":373}," fs\n",[318,899,900,901,787,904,787,907,910],{},"Kinds are inferred from the name when omitted (",[336,902,903],{},"app-*",[336,905,906],{},"theme-*",[336,908,909],{},"module-*",").",[852,912,914,915,918],{"id":913},"install-sources-from","Install sources (",[336,916,917],{},"--from",")",[417,920,921,932],{},[420,922,923],{},[423,924,925,929],{},[426,926,927],{},[336,928,917],{},[426,930,931],{},"Behaviour",[433,933,934,948,957,971,983,993],{},[423,935,936,942],{},[438,937,938],{},[939,940,941],"em",{},"(omit)",[438,943,944,947],{},[321,945,946],{},"npm registry"," (default)",[423,949,950,955],{},[438,951,952],{},[336,953,954],{},"npm",[438,956,946],{},[423,958,959,964],{},[438,960,961],{},[336,962,963],{},"owdproject",[438,965,966,967,970],{},"Clone ",[336,968,969],{},"github.com\u002Fowdproject\u002F\u003Cpackage>"," (monorepo dev)",[423,972,973,978],{},[438,974,975],{},[336,976,977],{},"\u003Cgithub-user>",[438,979,966,980],{},[336,981,982],{},"github.com\u002F\u003Cuser>\u002F\u003Cpackage>",[423,984,985,990],{},[438,986,987],{},[336,988,989],{},"\u003Cuser>\u002F\u003Crepo>",[438,991,992],{},"Explicit GitHub repo",[423,994,995,1000],{},[438,996,997],{},[336,998,999],{},"\u003Cgit-url>",[438,1001,1002],{},"Full clone URL",[852,1004,1006],{"id":1005},"other-flags","Other flags",[417,1008,1009,1019],{},[420,1010,1011],{},[423,1012,1013,1016],{},[426,1014,1015],{},"Flag",[426,1017,1018],{},"Effect",[433,1020,1021,1031,1054,1064,1074],{},[423,1022,1023,1028],{},[438,1024,1025],{},[336,1026,1027],{},"--npm",[438,1029,1030],{},"Force npm (skip git)",[423,1032,1033,1041],{},[438,1034,1035,787,1038],{},[336,1036,1037],{},"--dev",[336,1039,1040],{},"--workspace",[438,1042,1043,1044,787,1047,791,1050,1053],{},"Clone into ",[336,1045,1046],{},"apps\u002F",[336,1048,1049],{},"themes\u002F",[336,1051,1052],{},"packages\u002F"," in the monorepo",[423,1055,1056,1061],{},[438,1057,1058],{},[336,1059,1060],{},"--branch \u003Cname>",[438,1062,1063],{},"Git branch to clone",[423,1065,1066,1071],{},[438,1067,1068],{},[336,1069,1070],{},"--dry-run",[438,1072,1073],{},"Print plan only",[423,1075,1076,1084],{},[438,1077,1078,787,1081],{},[336,1079,1080],{},"-h",[336,1082,1083],{},"--help",[438,1085,1086],{},"Usage",[318,1088,1089],{},"Examples:",[354,1091,1093],{"className":356,"code":1092,"language":358,"meta":359,"style":359},"desktop add app-todo --npm\ndesktop add theme-nuxt-paper --dev\ndesktop add module-nuxt-pinia-persistence --from dxlliv\n",[336,1094,1095,1106,1118],{"__ignoreMap":359},[363,1096,1097,1099,1101,1104],{"class":365,"line":366},[363,1098,338],{"class":369},[363,1100,817],{"class":373},[363,1102,1103],{"class":373}," app-todo",[363,1105,850],{"class":373},[363,1107,1108,1110,1112,1115],{"class":365,"line":588},[363,1109,338],{"class":369},[363,1111,817],{"class":373},[363,1113,1114],{"class":373}," theme-nuxt-paper",[363,1116,1117],{"class":373}," --dev\n",[363,1119,1120,1122,1124,1126,1129],{"class":365,"line":598},[363,1121,338],{"class":369},[363,1123,817],{"class":373},[363,1125,847],{"class":373},[363,1127,1128],{"class":373}," --from",[363,1130,1131],{"class":373}," dxlliv\n",[852,1133,1135],{"id":1134},"legacy-commands","Legacy commands",[318,1137,1138,1139,575],{},"Still supported; prefer ",[321,1140,1141],{},[336,1142,780],{},[354,1144,1146],{"className":356,"code":1145,"language":358,"meta":359,"style":359},"desktop install-app @owdproject\u002Fapp-todo   # → desktop add app-todo\ndesktop install-theme theme-nuxt-nova\ndesktop install-module module-nuxt-fs\n",[336,1147,1148,1161,1170],{"__ignoreMap":359},[363,1149,1150,1152,1155,1158],{"class":365,"line":366},[363,1151,338],{"class":369},[363,1153,1154],{"class":373}," install-app",[363,1156,1157],{"class":373}," @owdproject\u002Fapp-todo",[363,1159,1160],{"class":377},"   # → desktop add app-todo\n",[363,1162,1163,1165,1168],{"class":365,"line":588},[363,1164,338],{"class":369},[363,1166,1167],{"class":373}," install-theme",[363,1169,829],{"class":373},[363,1171,1172,1174,1177],{"class":365,"line":598},[363,1173,338],{"class":369},[363,1175,1176],{"class":373}," install-module",[363,1178,838],{"class":373},[400,1180,1182],{"id":1181},"desktop-validate",[336,1183,1184],{},"desktop validate",[318,1186,1187],{},"Check that a package matches the OWD 3.4 module layout (exports, playground, peers, CI patterns).",[354,1189,1191],{"className":356,"code":1190,"language":358,"meta":359,"style":359},"desktop validate              # cwd package, or all apps\u002Fthemes\u002Fmodules at repo root\ndesktop validate .\ndesktop validate apps\ndesktop validate themes\u002Ftheme-nuxt-paper\n",[336,1192,1193,1203,1212,1221],{"__ignoreMap":359},[363,1194,1195,1197,1200],{"class":365,"line":366},[363,1196,338],{"class":369},[363,1198,1199],{"class":373}," validate",[363,1201,1202],{"class":377},"              # cwd package, or all apps\u002Fthemes\u002Fmodules at repo root\n",[363,1204,1205,1207,1209],{"class":365,"line":588},[363,1206,338],{"class":369},[363,1208,1199],{"class":373},[363,1210,1211],{"class":373}," .\n",[363,1213,1214,1216,1218],{"class":365,"line":598},[363,1215,338],{"class":369},[363,1217,1199],{"class":373},[363,1219,1220],{"class":373}," apps\n",[363,1222,1223,1225,1227],{"class":365,"line":605},[363,1224,338],{"class":369},[363,1226,1199],{"class":373},[363,1228,1229],{"class":373}," themes\u002Ftheme-nuxt-paper\n",[417,1231,1232,1240],{},[420,1233,1234],{},[423,1235,1236,1238],{},[426,1237,1015],{},[426,1239,1018],{},[433,1241,1242,1252,1262],{},[423,1243,1244,1249],{},[438,1245,1246],{},[336,1247,1248],{},"--json",[438,1250,1251],{},"Machine-readable output",[423,1253,1254,1259],{},[438,1255,1256],{},[336,1257,1258],{},"--strict",[438,1260,1261],{},"Warnings fail the run",[423,1263,1264,1269],{},[438,1265,1266],{},[336,1267,1268],{},"--smoke",[438,1270,535,1271,1273,1274,1277],{},[336,1272,729],{}," + ",[336,1275,1276],{},"nuxt build playground"," (slow, CI)",[318,1279,1280],{},"From the monorepo root:",[354,1282,1284],{"className":356,"code":1283,"language":358,"meta":359,"style":359},"pnpm validate:modules\n",[336,1285,1286],{"__ignoreMap":359},[363,1287,1288,1290],{"class":365,"line":366},[363,1289,370],{"class":369},[363,1291,1292],{"class":373}," validate:modules\n",[852,1294,1296],{"id":1295},"common-checks","Common checks",[417,1298,1299,1309],{},[420,1300,1301],{},[423,1302,1303,1306],{},[426,1304,1305],{},"Area",[426,1307,1308],{},"Examples",[433,1310,1311,1328,1346,1366,1380,1395,1409],{},[423,1312,1313,1316],{},[438,1314,1315],{},"Structure",[438,1317,1318,787,1321,1324,1325],{},[336,1319,1320],{},"src\u002Fmodule.ts",[336,1322,1323],{},"src\u002Fruntime\u002F",", no duplicate root ",[336,1326,1327],{},"runtime\u002F",[423,1329,1330,1333],{},[438,1331,1332],{},"Exports",[438,1334,1335,1338,1339,1342,1343],{},[336,1336,1337],{},"exports[\".\"].import",", optional ",[336,1340,1341],{},"development"," → ",[336,1344,1345],{},".\u002Fsrc\u002Fmodule.ts",[423,1347,1348,1351],{},[438,1349,1350],{},"Scripts",[438,1352,1353,787,1355,787,1358,1361,1362,1365],{},[336,1354,729],{},[336,1356,1357],{},"prepack",[336,1359,1360],{},"validate",", no ",[336,1363,1364],{},"prepare"," script",[423,1367,1368,1371],{},[438,1369,1370],{},"Register plugin",[438,1372,1373,787,1376,1379],{},[336,1374,1375],{},"defineDesktopApp",[336,1377,1378],{},"desktop-*-register",", server guard",[423,1381,1382,1384],{},[438,1383,124],{},[438,1385,1386,1387,787,1389,787,1392],{},"deps on your package + ",[336,1388,347],{},[336,1390,1391],{},"ssr: false",[336,1393,1394],{},"\u003CDesktop \u002F>",[423,1396,1397,1400],{},[438,1398,1399],{},"Launch (optional)",[438,1401,1402,1361,1405,1408],{},[336,1403,1404],{},"autoStartPlaygroundApps",[336,1406,1407],{},"import.meta.dev"," guard",[423,1410,1411,1414],{},[438,1412,1413],{},"CI (standalone repos)",[438,1415,1416,1417,1420,1421],{},"client checkout overlay; avoid standalone ",[336,1418,1419],{},"nypm"," with ",[336,1422,1423],{},"workspace:*",[318,1425,1426,1427,1430,1431,1434,1435,329],{},"Fix ",[321,1428,1429],{},"errors"," before ",[336,1432,1433],{},"npm publish",". Warnings are recommended fixes (launch plugin, CI, centering). Full code list: ",[326,1436,1440],{"href":1437,"rel":1438},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fcore\u002Fblob\u002Fmain\u002FPLAYGROUND.md",[1439],"nofollow","core PLAYGROUND.md",[400,1442,1444,1447],{"id":1443},"desktop-template-maintainers",[336,1445,1446],{},"desktop template"," (maintainers)",[318,1449,1450,1451,1456,1457,1459],{},"Regenerate ",[321,1452,1453],{},[336,1454,1455],{},"template\u002F"," (output of ",[336,1458,708],{},") from the blueprint and reference desktop:",[354,1461,1463],{"className":356,"code":1462,"language":358,"meta":359,"style":359},"pnpm template:sync\n# or\ndesktop template\ndesktop template --dry-run\ndesktop template --check    # CI: fail if template\u002F drifted\n",[336,1464,1465,1472,1477,1484,1494],{"__ignoreMap":359},[363,1466,1467,1469],{"class":365,"line":366},[363,1468,370],{"class":369},[363,1470,1471],{"class":373}," template:sync\n",[363,1473,1474],{"class":365,"line":588},[363,1475,1476],{"class":377},"# or\n",[363,1478,1479,1481],{"class":365,"line":598},[363,1480,338],{"class":369},[363,1482,1483],{"class":373}," template\n",[363,1485,1486,1488,1491],{"class":365,"line":605},[363,1487,338],{"class":369},[363,1489,1490],{"class":373}," template",[363,1492,1493],{"class":373}," --dry-run\n",[363,1495,1496,1498,1500,1503],{"class":365,"line":611},[363,1497,338],{"class":369},[363,1499,1490],{"class":373},[363,1501,1502],{"class":373}," --check",[363,1504,1505],{"class":377},"    # CI: fail if template\u002F drifted\n",[400,1507,1509,1510,1512],{"id":1508},"monorepo-pnpm-scripts","Monorepo ",[336,1511,370],{}," scripts",[318,1514,1515,1516,1521],{},"These wrap the same tooling from the ",[326,1517,1520],{"href":1518,"rel":1519},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fclient",[1439],"client"," root:",[417,1523,1524,1533],{},[420,1525,1526],{},[423,1527,1528,1531],{},[426,1529,1530],{},"Script",[426,1532,1018],{},[433,1534,1535,1550,1562,1573,1585,1600,1617,1633,1646],{},[423,1536,1537,1544],{},[438,1538,1539],{},[321,1540,1541],{},[336,1542,1543],{},"pnpm dev",[438,1545,1546,1549],{},[336,1547,1548],{},"nx run desktop:serve"," — reference desktop",[423,1551,1552,1559],{},[438,1553,1554],{},[321,1555,1556],{},[336,1557,1558],{},"pnpm generate",[438,1560,1561],{},"Production build of reference desktop",[423,1563,1564,1570],{},[438,1565,1566],{},[321,1567,1568],{},[336,1569,397],{},[438,1571,1572],{},"Control panel \u002F CLI",[423,1574,1575,1582],{},[438,1576,1577],{},[321,1578,1579],{},[336,1580,1581],{},"pnpm prepare:stubs",[438,1583,1584],{},"Stub-build kits, apps, themes",[423,1586,1587,1594],{},[438,1588,1589],{},[321,1590,1591],{},[336,1592,1593],{},"pnpm prepare:modules",[438,1595,1596,1597,1599],{},"Stubs + ",[336,1598,729],{}," on packages\u002Fapps\u002Fthemes",[423,1601,1602,1609],{},[438,1603,1604],{},[321,1605,1606],{},[336,1607,1608],{},"pnpm prepare:apps",[438,1610,1611,1613,1614],{},[336,1612,729],{}," for ",[336,1615,1616],{},"apps\u002F*",[423,1618,1619,1626],{},[438,1620,1621],{},[321,1622,1623],{},[336,1624,1625],{},"pnpm prepare:themes",[438,1627,1628,1613,1630],{},[336,1629,729],{},[336,1631,1632],{},"themes\u002F*",[423,1634,1635,1642],{},[438,1636,1637],{},[321,1638,1639],{},[336,1640,1641],{},"pnpm template:sync",[438,1643,1644],{},[336,1645,1446],{},[423,1647,1648,1655],{},[438,1649,1650],{},[321,1651,1652],{},[336,1653,1654],{},"pnpm validate:modules",[438,1656,1657],{},[336,1658,1184],{},[400,1660,1662],{"id":1661},"prerequisites","Prerequisites",[1664,1665,1666,1676,1686],"ul",{},[1667,1668,1669,1671,1672,1675],"li",{},[321,1670,370],{}," at the version in the repo ",[336,1673,1674],{},"packageManager"," field",[1667,1677,1678,1679,1342,1684],{},"Desktop project with ",[321,1680,1681],{},[336,1682,1683],{},"nuxt.config.ts",[336,1685,659],{},[1667,1687,1688,1692],{},[321,1689,1690],{},[336,1691,195],{}," beside the Nuxt root",[318,1694,1695,1696,1700,1701,329],{},"Manual install (no CLI): add the package with pnpm\u002Fnpm, then edit ",[321,1697,1698],{},[336,1699,195],{}," — see ",[326,1702,185],{"href":186},[1704,1705,1706],"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 .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 .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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":359,"searchDepth":588,"depth":588,"links":1708},[1709,1710,1711,1712,1713,1720,1723,1725,1727],{"id":402,"depth":588,"text":403},{"id":565,"depth":588,"text":568},{"id":667,"depth":588,"text":670},{"id":712,"depth":588,"text":715},{"id":777,"depth":588,"text":780,"children":1714},[1715,1716,1718,1719],{"id":854,"depth":598,"text":855},{"id":913,"depth":598,"text":1717},"Install sources (--from)",{"id":1005,"depth":598,"text":1006},{"id":1134,"depth":598,"text":1135},{"id":1181,"depth":588,"text":1184,"children":1721},[1722],{"id":1295,"depth":598,"text":1296},{"id":1443,"depth":588,"text":1724},"desktop template (maintainers)",{"id":1508,"depth":588,"text":1726},"Monorepo pnpm scripts",{"id":1661,"depth":588,"text":1662},"pnpm desktop — control panel, dev, add, validate, init, template.","md",null,{},{"icon":176},{"title":181,"description":1728},"e-bjtz900PjQcjMCyh62CCqil2V9o4hmzQigYQIhJRU",[1736,1738],{"title":170,"path":171,"stem":172,"description":1737,"icon":173,"children":-1},"DesktopWindowNavButton, nav-append-inner, and title-bar slots every theme must implement.",{"title":185,"path":186,"stem":187,"description":1739,"icon":188,"children":-1},"How to wire @owdproject\u002F* dependencies with npm, pnpm workspace, or Git — and avoid common install failures.",1795483509999]