[{"data":1,"prerenderedAt":2329},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-apps-create-from-scratch":309,"-frameworks-nuxt-archive-apps-create-from-scratch-surround":2324},[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":105,"body":311,"description":2317,"extension":2318,"links":2319,"meta":2320,"navigation":2321,"path":106,"seo":2322,"stem":107,"__hash__":2323},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F3.create-from-scratch.md",{"type":312,"value":313,"toc":2303},"minimark",[314,330,351,428,433,439,447,455,515,524,531,534,870,892,899,914,1340,1345,1352,1365,1517,1537,1541,1553,1567,1577,1581,1588,1660,1667,1760,1793,1800,1909,1929,1958,1968,1972,1980,2140,2149,2161,2165,2168,2184,2194,2200,2227,2254,2274,2278,2299],[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,344,345,350],{},"This walkthrough builds an app like ",[321,334,335],{},[326,336,340],{"href":337,"rel":338},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-about",[339],"nofollow",[341,342,343],"code",{},"app-about"," — a singleton “About” window registered via ",[321,346,347],{},[341,348,349],{},"defineDesktopApp",". Use it as a checklist when starting a new repository.",[315,352,353,363,393,411],{},[318,354,355,359,362],{},[356,357,358],"span",{},"!TIP",[321,360,361],{},"Scaffold Automatically with OWD CLI","\nIf you are working inside an OWD workspace, you can automatically scaffold a new application using the OWD CLI command:",[364,365,370],"pre",{"className":366,"code":367,"language":368,"meta":369,"style":369},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm desktop create app my-app\n","bash","",[341,371,372],{"__ignoreMap":369},[356,373,376,380,384,387,390],{"class":374,"line":375},"line",1,[356,377,379],{"class":378},"sBMFI","pnpm",[356,381,383],{"class":382},"sfazB"," desktop",[356,385,386],{"class":382}," create",[356,388,389],{"class":382}," app",[356,391,392],{"class":382}," my-app\n",[318,394,395,396,399,400,403,404,407,408,329],{},"This command will copy the ",[341,397,398],{},"app-template"," blueprint, rename all files\u002Fdirectories, replace placeholders, link the package in ",[341,401,402],{},"desktop\u002Fpackage.json",", register it in ",[341,405,406],{},"desktop\u002Fdesktop.config.ts",", and run ",[341,409,410],{},"dev:prepare",[318,412,413,414,417,418,423,424,427],{},"You can also do this directly from the interactive Control Panel (",[341,415,416],{},"pnpm desktop",") by pressing ",[321,419,420],{},[341,421,422],{},"n"," (or choosing ",[321,425,426],{},"Create new app or module"," from the menu) and following the interactive prompts.",[429,430,432],"h2",{"id":431},"_1-scaffold-the-repository","1. Scaffold the repository",[318,434,435,436,438],{},"Create a Nuxt module package with the layout from ",[326,437,101],{"href":102},":",[364,440,445],{"className":441,"code":443,"language":444,"meta":369},[442],"language-text","@owdproject\u002Fmy-app\u002F\n├── package.json\n├── src\u002F\n│   ├── module.ts\n│   └── runtime\u002F\n│       ├── plugin.ts\n│       ├── app.config.ts\n│       └── components\u002FWindow\u002FWindowMain.vue\n└── playground\u002F\n    ├── nuxt.config.ts\n    ├── desktop.config.ts\n    └── package.json\n","text",[341,446,443],{"__ignoreMap":369},[318,448,449],{},[321,450,451,454],{},[341,452,453],{},"package.json"," essentials:",[456,457,458,464,475,486,503],"ul",{},[459,460,461],"li",{},[341,462,463],{},"\"type\": \"module\"",[459,465,466,471,472],{},[321,467,468],{},[341,469,470],{},"exports"," → ",[341,473,474],{},".\u002Fdist\u002Fmodule.mjs",[459,476,477,482,483],{},[321,478,479],{},[341,480,481],{},"peerDependencies",": ",[341,484,485],{},"\"@owdproject\u002Fcore\": \"^3.4.0\"",[459,487,488,482,493,496,497,496,500],{},[321,489,490],{},[341,491,492],{},"devDependencies",[341,494,495],{},"nuxt",", ",[341,498,499],{},"@nuxt\u002Fmodule-builder",[341,501,502],{},"@nuxt\u002Fschema",[459,504,505,482,508,510,511,514],{},[321,506,507],{},"Scripts",[341,509,410],{}," (stub + playground prepare), ",[341,512,513],{},"prepack"," (release build)",[318,516,517,518,523],{},"Clone ",[326,519,521],{"href":337,"rel":520},[339],[341,522,343],{}," and rename if you prefer starting from a working tree.",[429,525,527,528],{"id":526},"_2-write-srcmodulets","2. Write ",[341,529,530],{},"src\u002Fmodule.ts",[318,532,533],{},"The module wires components, the register plugin, and Tailwind scanning:",[364,535,539],{"className":536,"code":537,"language":538,"meta":369,"style":369},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import {\n  defineNuxtModule,\n  createResolver,\n  addComponentsDir,\n  addPlugin,\n} from '@nuxt\u002Fkit'\nimport { registerTailwindPath } from '@owdproject\u002Fkit-nuxt-tailwind\u002Fkit\u002FregisterTailwindPath'\n\nexport default defineNuxtModule({\n  meta: {\n    name: 'owd-app-my-app',\n    configKey: 'myApp', \u002F\u002F optional — see step 3\n  },\n  async setup(_options, nuxt) {\n    const { resolve } = createResolver(import.meta.url)\n\n    addComponentsDir({ path: resolve('.\u002Fruntime\u002Fcomponents') })\n    addPlugin(resolve('.\u002Fruntime\u002Fplugin'))\n    registerTailwindPath(nuxt, resolve('.\u002Fruntime\u002Fcomponents\u002F**\u002F*.{vue,mjs,ts}'))\n  },\n})\n","ts",[341,540,541,551,561,569,577,585,603,626,633,652,663,681,703,709,735,771,776,810,833,858,863],{"__ignoreMap":369},[356,542,543,547],{"class":374,"line":375},[356,544,546],{"class":545},"s7zQu","import",[356,548,550],{"class":549},"sMK4o"," {\n",[356,552,554,558],{"class":374,"line":553},2,[356,555,557],{"class":556},"sTEyZ","  defineNuxtModule",[356,559,560],{"class":549},",\n",[356,562,564,567],{"class":374,"line":563},3,[356,565,566],{"class":556},"  createResolver",[356,568,560],{"class":549},[356,570,572,575],{"class":374,"line":571},4,[356,573,574],{"class":556},"  addComponentsDir",[356,576,560],{"class":549},[356,578,580,583],{"class":374,"line":579},5,[356,581,582],{"class":556},"  addPlugin",[356,584,560],{"class":549},[356,586,588,591,594,597,600],{"class":374,"line":587},6,[356,589,590],{"class":549},"}",[356,592,593],{"class":545}," from",[356,595,596],{"class":549}," '",[356,598,599],{"class":382},"@nuxt\u002Fkit",[356,601,602],{"class":549},"'\n",[356,604,606,608,611,614,617,619,621,624],{"class":374,"line":605},7,[356,607,546],{"class":545},[356,609,610],{"class":549}," {",[356,612,613],{"class":556}," registerTailwindPath",[356,615,616],{"class":549}," }",[356,618,593],{"class":545},[356,620,596],{"class":549},[356,622,623],{"class":382},"@owdproject\u002Fkit-nuxt-tailwind\u002Fkit\u002FregisterTailwindPath",[356,625,602],{"class":549},[356,627,629],{"class":374,"line":628},8,[356,630,632],{"emptyLinePlaceholder":631},true,"\n",[356,634,636,639,642,646,649],{"class":374,"line":635},9,[356,637,638],{"class":545},"export",[356,640,641],{"class":545}," default",[356,643,645],{"class":644},"s2Zo4"," defineNuxtModule",[356,647,648],{"class":556},"(",[356,650,651],{"class":549},"{\n",[356,653,655,659,661],{"class":374,"line":654},10,[356,656,658],{"class":657},"swJcz","  meta",[356,660,438],{"class":549},[356,662,550],{"class":549},[356,664,666,669,671,673,676,679],{"class":374,"line":665},11,[356,667,668],{"class":657},"    name",[356,670,438],{"class":549},[356,672,596],{"class":549},[356,674,675],{"class":382},"owd-app-my-app",[356,677,678],{"class":549},"'",[356,680,560],{"class":549},[356,682,684,687,689,691,694,696,699],{"class":374,"line":683},12,[356,685,686],{"class":657},"    configKey",[356,688,438],{"class":549},[356,690,596],{"class":549},[356,692,693],{"class":382},"myApp",[356,695,678],{"class":549},[356,697,698],{"class":549},",",[356,700,702],{"class":701},"sHwdD"," \u002F\u002F optional — see step 3\n",[356,704,706],{"class":374,"line":705},13,[356,707,708],{"class":549},"  },\n",[356,710,712,716,719,721,725,727,730,733],{"class":374,"line":711},14,[356,713,715],{"class":714},"spNyl","  async",[356,717,718],{"class":657}," setup",[356,720,648],{"class":549},[356,722,724],{"class":723},"sHdIc","_options",[356,726,698],{"class":549},[356,728,729],{"class":723}," nuxt",[356,731,732],{"class":549},")",[356,734,550],{"class":549},[356,736,738,741,743,746,748,751,754,756,758,760,763,765,768],{"class":374,"line":737},15,[356,739,740],{"class":714},"    const",[356,742,610],{"class":549},[356,744,745],{"class":556}," resolve",[356,747,616],{"class":549},[356,749,750],{"class":549}," =",[356,752,753],{"class":644}," createResolver",[356,755,648],{"class":657},[356,757,546],{"class":545},[356,759,329],{"class":549},[356,761,762],{"class":556},"meta",[356,764,329],{"class":549},[356,766,767],{"class":556},"url",[356,769,770],{"class":657},")\n",[356,772,774],{"class":374,"line":773},16,[356,775,632],{"emptyLinePlaceholder":631},[356,777,779,782,784,787,790,792,794,796,798,801,803,806,808],{"class":374,"line":778},17,[356,780,781],{"class":644},"    addComponentsDir",[356,783,648],{"class":657},[356,785,786],{"class":549},"{",[356,788,789],{"class":657}," path",[356,791,438],{"class":549},[356,793,745],{"class":644},[356,795,648],{"class":657},[356,797,678],{"class":549},[356,799,800],{"class":382},".\u002Fruntime\u002Fcomponents",[356,802,678],{"class":549},[356,804,805],{"class":657},") ",[356,807,590],{"class":549},[356,809,770],{"class":657},[356,811,813,816,818,821,823,825,828,830],{"class":374,"line":812},18,[356,814,815],{"class":644},"    addPlugin",[356,817,648],{"class":657},[356,819,820],{"class":644},"resolve",[356,822,648],{"class":657},[356,824,678],{"class":549},[356,826,827],{"class":382},".\u002Fruntime\u002Fplugin",[356,829,678],{"class":549},[356,831,832],{"class":657},"))\n",[356,834,836,839,841,843,845,847,849,851,854,856],{"class":374,"line":835},19,[356,837,838],{"class":644},"    registerTailwindPath",[356,840,648],{"class":657},[356,842,495],{"class":556},[356,844,698],{"class":549},[356,846,745],{"class":644},[356,848,648],{"class":657},[356,850,678],{"class":549},[356,852,853],{"class":382},".\u002Fruntime\u002Fcomponents\u002F**\u002F*.{vue,mjs,ts}",[356,855,678],{"class":549},[356,857,832],{"class":657},[356,859,861],{"class":374,"line":860},20,[356,862,708],{"class":549},[356,864,866,868],{"class":374,"line":865},21,[356,867,590],{"class":549},[356,869,770],{"class":556},[318,871,872,873,878,879,883,884,887,888,891],{},"Optional ",[321,874,875],{},[341,876,877],{},"configKey"," lets consumers override app-specific defaults from ",[321,880,881],{},[341,882,195],{}," (About uses ",[341,885,886],{},"configKey: 'about'"," and merges into ",[341,889,890],{},"runtimeConfig.public.desktop.about",").",[429,893,895,896],{"id":894},"_3-define-runtimeappconfigts","3. Define ",[341,897,898],{},"runtime\u002Fapp.config.ts",[318,900,901,902,907,908,438],{},"Export an ",[321,903,904],{},[341,905,906],{},"ApplicationConfig"," object. From ",[326,909,912],{"href":910,"rel":911},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-about\u002Fblob\u002Fmain\u002Fsrc\u002Fruntime\u002Fapp.config.ts",[339],[341,913,343],{},[364,915,917],{"className":536,"code":916,"language":538,"meta":369,"style":369},"export default {\n  id: 'org.owdproject.about',\n  title: 'About',\n  category: 'system-tools',\n  singleton: true,\n  icon: 'mdi:hexagon-multiple-outline',\n  windows: {\n    main: {\n      component: () => import('.\u002Fcomponents\u002FWindow\u002FWindowAbout.vue'),\n      resizable: false,\n      size: { width: 448, height: 240 },\n      position: { x: 400, y: 240, z: 0 },\n    },\n  },\n  entries: {\n    about: { command: 'about' },\n  },\n  commands: {\n    about: (app) => {\n      const existing = app.getFirstWindowByModel('main')\n      if (existing) {\n        existing.actions.setActive(true)\n        existing.actions.bringToFront()\n        return existing\n      }\n      return app.openWindow('main')\n    },\n  },\n}\n",[341,918,919,927,943,959,975,988,1004,1013,1022,1051,1063,1094,1132,1137,1141,1150,1173,1177,1186,1204,1232,1246,1269,1286,1295,1301,1324,1329,1334],{"__ignoreMap":369},[356,920,921,923,925],{"class":374,"line":375},[356,922,638],{"class":545},[356,924,641],{"class":545},[356,926,550],{"class":549},[356,928,929,932,934,936,939,941],{"class":374,"line":553},[356,930,931],{"class":657},"  id",[356,933,438],{"class":549},[356,935,596],{"class":549},[356,937,938],{"class":382},"org.owdproject.about",[356,940,678],{"class":549},[356,942,560],{"class":549},[356,944,945,948,950,952,955,957],{"class":374,"line":563},[356,946,947],{"class":657},"  title",[356,949,438],{"class":549},[356,951,596],{"class":549},[356,953,954],{"class":382},"About",[356,956,678],{"class":549},[356,958,560],{"class":549},[356,960,961,964,966,968,971,973],{"class":374,"line":571},[356,962,963],{"class":657},"  category",[356,965,438],{"class":549},[356,967,596],{"class":549},[356,969,970],{"class":382},"system-tools",[356,972,678],{"class":549},[356,974,560],{"class":549},[356,976,977,980,982,986],{"class":374,"line":579},[356,978,979],{"class":657},"  singleton",[356,981,438],{"class":549},[356,983,985],{"class":984},"sfNiH"," true",[356,987,560],{"class":549},[356,989,990,993,995,997,1000,1002],{"class":374,"line":587},[356,991,992],{"class":657},"  icon",[356,994,438],{"class":549},[356,996,596],{"class":549},[356,998,999],{"class":382},"mdi:hexagon-multiple-outline",[356,1001,678],{"class":549},[356,1003,560],{"class":549},[356,1005,1006,1009,1011],{"class":374,"line":605},[356,1007,1008],{"class":657},"  windows",[356,1010,438],{"class":549},[356,1012,550],{"class":549},[356,1014,1015,1018,1020],{"class":374,"line":628},[356,1016,1017],{"class":657},"    main",[356,1019,438],{"class":549},[356,1021,550],{"class":549},[356,1023,1024,1027,1029,1032,1035,1038,1040,1042,1045,1047,1049],{"class":374,"line":635},[356,1025,1026],{"class":644},"      component",[356,1028,438],{"class":549},[356,1030,1031],{"class":549}," ()",[356,1033,1034],{"class":714}," =>",[356,1036,1037],{"class":549}," import",[356,1039,648],{"class":556},[356,1041,678],{"class":549},[356,1043,1044],{"class":382},".\u002Fcomponents\u002FWindow\u002FWindowAbout.vue",[356,1046,678],{"class":549},[356,1048,732],{"class":556},[356,1050,560],{"class":549},[356,1052,1053,1056,1058,1061],{"class":374,"line":654},[356,1054,1055],{"class":657},"      resizable",[356,1057,438],{"class":549},[356,1059,1060],{"class":984}," false",[356,1062,560],{"class":549},[356,1064,1065,1068,1070,1072,1075,1077,1081,1083,1086,1088,1091],{"class":374,"line":665},[356,1066,1067],{"class":657},"      size",[356,1069,438],{"class":549},[356,1071,610],{"class":549},[356,1073,1074],{"class":657}," width",[356,1076,438],{"class":549},[356,1078,1080],{"class":1079},"sbssI"," 448",[356,1082,698],{"class":549},[356,1084,1085],{"class":657}," height",[356,1087,438],{"class":549},[356,1089,1090],{"class":1079}," 240",[356,1092,1093],{"class":549}," },\n",[356,1095,1096,1099,1101,1103,1106,1108,1111,1113,1116,1118,1120,1122,1125,1127,1130],{"class":374,"line":683},[356,1097,1098],{"class":657},"      position",[356,1100,438],{"class":549},[356,1102,610],{"class":549},[356,1104,1105],{"class":657}," x",[356,1107,438],{"class":549},[356,1109,1110],{"class":1079}," 400",[356,1112,698],{"class":549},[356,1114,1115],{"class":657}," y",[356,1117,438],{"class":549},[356,1119,1090],{"class":1079},[356,1121,698],{"class":549},[356,1123,1124],{"class":657}," z",[356,1126,438],{"class":549},[356,1128,1129],{"class":1079}," 0",[356,1131,1093],{"class":549},[356,1133,1134],{"class":374,"line":705},[356,1135,1136],{"class":549},"    },\n",[356,1138,1139],{"class":374,"line":711},[356,1140,708],{"class":549},[356,1142,1143,1146,1148],{"class":374,"line":737},[356,1144,1145],{"class":657},"  entries",[356,1147,438],{"class":549},[356,1149,550],{"class":549},[356,1151,1152,1155,1157,1159,1162,1164,1166,1169,1171],{"class":374,"line":773},[356,1153,1154],{"class":657},"    about",[356,1156,438],{"class":549},[356,1158,610],{"class":549},[356,1160,1161],{"class":657}," command",[356,1163,438],{"class":549},[356,1165,596],{"class":549},[356,1167,1168],{"class":382},"about",[356,1170,678],{"class":549},[356,1172,1093],{"class":549},[356,1174,1175],{"class":374,"line":778},[356,1176,708],{"class":549},[356,1178,1179,1182,1184],{"class":374,"line":812},[356,1180,1181],{"class":657},"  commands",[356,1183,438],{"class":549},[356,1185,550],{"class":549},[356,1187,1188,1190,1192,1195,1198,1200,1202],{"class":374,"line":835},[356,1189,1154],{"class":644},[356,1191,438],{"class":549},[356,1193,1194],{"class":549}," (",[356,1196,1197],{"class":723},"app",[356,1199,732],{"class":549},[356,1201,1034],{"class":714},[356,1203,550],{"class":549},[356,1205,1206,1209,1212,1214,1216,1218,1221,1223,1225,1228,1230],{"class":374,"line":860},[356,1207,1208],{"class":714},"      const",[356,1210,1211],{"class":556}," existing",[356,1213,750],{"class":549},[356,1215,389],{"class":556},[356,1217,329],{"class":549},[356,1219,1220],{"class":644},"getFirstWindowByModel",[356,1222,648],{"class":657},[356,1224,678],{"class":549},[356,1226,1227],{"class":382},"main",[356,1229,678],{"class":549},[356,1231,770],{"class":657},[356,1233,1234,1237,1239,1242,1244],{"class":374,"line":865},[356,1235,1236],{"class":545},"      if",[356,1238,1194],{"class":657},[356,1240,1241],{"class":556},"existing",[356,1243,805],{"class":657},[356,1245,651],{"class":549},[356,1247,1249,1252,1254,1257,1259,1262,1264,1267],{"class":374,"line":1248},22,[356,1250,1251],{"class":556},"        existing",[356,1253,329],{"class":549},[356,1255,1256],{"class":556},"actions",[356,1258,329],{"class":549},[356,1260,1261],{"class":644},"setActive",[356,1263,648],{"class":657},[356,1265,1266],{"class":984},"true",[356,1268,770],{"class":657},[356,1270,1272,1274,1276,1278,1280,1283],{"class":374,"line":1271},23,[356,1273,1251],{"class":556},[356,1275,329],{"class":549},[356,1277,1256],{"class":556},[356,1279,329],{"class":549},[356,1281,1282],{"class":644},"bringToFront",[356,1284,1285],{"class":657},"()\n",[356,1287,1289,1292],{"class":374,"line":1288},24,[356,1290,1291],{"class":545},"        return",[356,1293,1294],{"class":556}," existing\n",[356,1296,1298],{"class":374,"line":1297},25,[356,1299,1300],{"class":549},"      }\n",[356,1302,1304,1307,1309,1311,1314,1316,1318,1320,1322],{"class":374,"line":1303},26,[356,1305,1306],{"class":545},"      return",[356,1308,389],{"class":556},[356,1310,329],{"class":549},[356,1312,1313],{"class":644},"openWindow",[356,1315,648],{"class":657},[356,1317,678],{"class":549},[356,1319,1227],{"class":382},[356,1321,678],{"class":549},[356,1323,770],{"class":657},[356,1325,1327],{"class":374,"line":1326},27,[356,1328,1136],{"class":549},[356,1330,1332],{"class":374,"line":1331},28,[356,1333,708],{"class":549},[356,1335,1337],{"class":374,"line":1336},29,[356,1338,1339],{"class":549},"}\n",[318,1341,1342,1343,329],{},"Details: ",[326,1344,119],{"href":120},[429,1346,1348,1349],{"id":1347},"_4-add-runtimeplugints","4. Add ",[341,1350,1351],{},"runtime\u002Fplugin.ts",[318,1353,1354,1355,1358,1359,1364],{},"The register plugin must run ",[321,1356,1357],{},"client-side only"," and use a stable name for ",[321,1360,1361],{},[341,1362,1363],{},"dependsOn"," ordering:",[364,1366,1368],{"className":536,"code":1367,"language":538,"meta":369,"style":369},"import { defineNuxtPlugin } from 'nuxt\u002Fapp'\nimport { defineDesktopApp } from '@owdproject\u002Fcore'\nimport config from '.\u002Fapp.config'\n\nexport default defineNuxtPlugin({\n  name: 'desktop-app-about-register',\n  async setup() {\n    if (import.meta.server) return\n    await defineDesktopApp(config)\n  },\n})\n",[341,1369,1370,1390,1410,1427,1431,1443,1459,1470,1493,1507,1511],{"__ignoreMap":369},[356,1371,1372,1374,1376,1379,1381,1383,1385,1388],{"class":374,"line":375},[356,1373,546],{"class":545},[356,1375,610],{"class":549},[356,1377,1378],{"class":556}," defineNuxtPlugin",[356,1380,616],{"class":549},[356,1382,593],{"class":545},[356,1384,596],{"class":549},[356,1386,1387],{"class":382},"nuxt\u002Fapp",[356,1389,602],{"class":549},[356,1391,1392,1394,1396,1399,1401,1403,1405,1408],{"class":374,"line":553},[356,1393,546],{"class":545},[356,1395,610],{"class":549},[356,1397,1398],{"class":556}," defineDesktopApp",[356,1400,616],{"class":549},[356,1402,593],{"class":545},[356,1404,596],{"class":549},[356,1406,1407],{"class":382},"@owdproject\u002Fcore",[356,1409,602],{"class":549},[356,1411,1412,1414,1417,1420,1422,1425],{"class":374,"line":563},[356,1413,546],{"class":545},[356,1415,1416],{"class":556}," config ",[356,1418,1419],{"class":545},"from",[356,1421,596],{"class":549},[356,1423,1424],{"class":382},".\u002Fapp.config",[356,1426,602],{"class":549},[356,1428,1429],{"class":374,"line":571},[356,1430,632],{"emptyLinePlaceholder":631},[356,1432,1433,1435,1437,1439,1441],{"class":374,"line":579},[356,1434,638],{"class":545},[356,1436,641],{"class":545},[356,1438,1378],{"class":644},[356,1440,648],{"class":556},[356,1442,651],{"class":549},[356,1444,1445,1448,1450,1452,1455,1457],{"class":374,"line":587},[356,1446,1447],{"class":657},"  name",[356,1449,438],{"class":549},[356,1451,596],{"class":549},[356,1453,1454],{"class":382},"desktop-app-about-register",[356,1456,678],{"class":549},[356,1458,560],{"class":549},[356,1460,1461,1463,1465,1468],{"class":374,"line":605},[356,1462,715],{"class":714},[356,1464,718],{"class":657},[356,1466,1467],{"class":549},"()",[356,1469,550],{"class":549},[356,1471,1472,1475,1477,1479,1481,1483,1485,1488,1490],{"class":374,"line":628},[356,1473,1474],{"class":545},"    if",[356,1476,1194],{"class":657},[356,1478,546],{"class":545},[356,1480,329],{"class":549},[356,1482,762],{"class":556},[356,1484,329],{"class":549},[356,1486,1487],{"class":556},"server",[356,1489,805],{"class":657},[356,1491,1492],{"class":545},"return\n",[356,1494,1495,1498,1500,1502,1505],{"class":374,"line":635},[356,1496,1497],{"class":545},"    await",[356,1499,1398],{"class":644},[356,1501,648],{"class":657},[356,1503,1504],{"class":556},"config",[356,1506,770],{"class":657},[356,1508,1509],{"class":374,"line":654},[356,1510,708],{"class":549},[356,1512,1513,1515],{"class":374,"line":665},[356,1514,590],{"class":549},[356,1516,770],{"class":556},[318,1518,1519,1520,1523,1524,1526,1527,1530,1531,1534,1535,329],{},"Do ",[321,1521,1522],{},"not"," wrap ",[341,1525,349],{}," in ",[341,1528,1529],{},"app:created"," — the current validator and reference apps call it directly in the plugin ",[341,1532,1533],{},"setup",". See ",[326,1536,114],{"href":115},[429,1538,1540],{"id":1539},"_5-build-the-window-component","5. Build the window component",[318,1542,1543,1544,1549,1550,438],{},"Window components live under ",[321,1545,1546],{},[341,1547,1548],{},"runtime\u002Fcomponents\u002FWindow\u002F",". Keep them ",[321,1551,1552],{},"theme-neutral",[456,1554,1555,1564],{},[459,1556,1557,1558,1563],{},"Use ",[321,1559,1560],{},[341,1561,1562],{},"DesktopWindowContent"," and core composables where possible.",[459,1565,1566],{},"Avoid importing theme-specific chrome (taskbar, Win95 borders, etc.).",[318,1568,1569,1570,1572,1573,329],{},"About’s window is a simple panel with props read from ",[341,1571,890],{}," when using ",[321,1574,1575],{},[341,1576,877],{},[429,1578,1580],{"id":1579},"_6-configure-the-playground","6. Configure the playground",[318,1582,1583],{},[321,1584,1585,438],{},[341,1586,1587],{},"playground\u002Fnuxt.config.ts",[364,1589,1591],{"className":536,"code":1590,"language":538,"meta":369,"style":369},"export default defineNuxtConfig({\n  modules: ['@owdproject\u002Fcore'],\n  ssr: false,\n  compatibilityDate: 'latest',\n})\n",[341,1592,1593,1606,1627,1638,1654],{"__ignoreMap":369},[356,1594,1595,1597,1599,1602,1604],{"class":374,"line":375},[356,1596,638],{"class":545},[356,1598,641],{"class":545},[356,1600,1601],{"class":644}," defineNuxtConfig",[356,1603,648],{"class":556},[356,1605,651],{"class":549},[356,1607,1608,1611,1613,1616,1618,1620,1622,1625],{"class":374,"line":553},[356,1609,1610],{"class":657},"  modules",[356,1612,438],{"class":549},[356,1614,1615],{"class":556}," [",[356,1617,678],{"class":549},[356,1619,1407],{"class":382},[356,1621,678],{"class":549},[356,1623,1624],{"class":556},"]",[356,1626,560],{"class":549},[356,1628,1629,1632,1634,1636],{"class":374,"line":563},[356,1630,1631],{"class":657},"  ssr",[356,1633,438],{"class":549},[356,1635,1060],{"class":984},[356,1637,560],{"class":549},[356,1639,1640,1643,1645,1647,1650,1652],{"class":374,"line":571},[356,1641,1642],{"class":657},"  compatibilityDate",[356,1644,438],{"class":549},[356,1646,596],{"class":549},[356,1648,1649],{"class":382},"latest",[356,1651,678],{"class":549},[356,1653,560],{"class":549},[356,1655,1656,1658],{"class":374,"line":579},[356,1657,590],{"class":549},[356,1659,770],{"class":556},[318,1661,1662],{},[321,1663,1664,438],{},[341,1665,1666],{},"playground\u002Fdesktop.config.ts",[364,1668,1670],{"className":536,"code":1669,"language":538,"meta":369,"style":369},"import { defineDesktopConfig } from '@owdproject\u002Fcore'\n\nexport default defineDesktopConfig({\n  theme: '@owdproject\u002Ftheme-nuxt-nova',\n  apps: ['@owdproject\u002Fapp-about'],\n  modules: [],\n})\n",[341,1671,1672,1691,1695,1707,1723,1743,1754],{"__ignoreMap":369},[356,1673,1674,1676,1678,1681,1683,1685,1687,1689],{"class":374,"line":375},[356,1675,546],{"class":545},[356,1677,610],{"class":549},[356,1679,1680],{"class":556}," defineDesktopConfig",[356,1682,616],{"class":549},[356,1684,593],{"class":545},[356,1686,596],{"class":549},[356,1688,1407],{"class":382},[356,1690,602],{"class":549},[356,1692,1693],{"class":374,"line":553},[356,1694,632],{"emptyLinePlaceholder":631},[356,1696,1697,1699,1701,1703,1705],{"class":374,"line":563},[356,1698,638],{"class":545},[356,1700,641],{"class":545},[356,1702,1680],{"class":644},[356,1704,648],{"class":556},[356,1706,651],{"class":549},[356,1708,1709,1712,1714,1716,1719,1721],{"class":374,"line":571},[356,1710,1711],{"class":657},"  theme",[356,1713,438],{"class":549},[356,1715,596],{"class":549},[356,1717,1718],{"class":382},"@owdproject\u002Ftheme-nuxt-nova",[356,1720,678],{"class":549},[356,1722,560],{"class":549},[356,1724,1725,1728,1730,1732,1734,1737,1739,1741],{"class":374,"line":579},[356,1726,1727],{"class":657},"  apps",[356,1729,438],{"class":549},[356,1731,1615],{"class":556},[356,1733,678],{"class":549},[356,1735,1736],{"class":382},"@owdproject\u002Fapp-about",[356,1738,678],{"class":549},[356,1740,1624],{"class":556},[356,1742,560],{"class":549},[356,1744,1745,1747,1749,1752],{"class":374,"line":587},[356,1746,1610],{"class":657},[356,1748,438],{"class":549},[356,1750,1751],{"class":556}," []",[356,1753,560],{"class":549},[356,1755,1756,1758],{"class":374,"line":605},[356,1757,590],{"class":549},[356,1759,770],{"class":556},[318,1761,1762,1765,1766,496,1771,1776,1777,1782,1783,1788,1789,1792],{},[321,1763,1764],{},"Critical rule:"," every package listed in ",[321,1767,1768],{},[341,1769,1770],{},"theme",[321,1772,1773],{},[341,1774,1775],{},"apps",", or ",[321,1778,1779],{},[341,1780,1781],{},"modules"," must appear in ",[321,1784,1785],{},[341,1786,1787],{},"playground\u002Fpackage.json"," ",[341,1790,1791],{},"dependencies",". Mismatch causes install or runtime resolution errors.",[318,1794,1795],{},[321,1796,1797,1799],{},[341,1798,1787],{}," (minimal):",[364,1801,1805],{"className":1802,"code":1803,"language":1804,"meta":369,"style":369},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"dependencies\": {\n    \"@owdproject\u002Fcore\": \"^3.4.0\",\n    \"@owdproject\u002Ftheme-nuxt-nova\": \"^3.4.0\",\n    \"@owdproject\u002Fapp-about\": \"^3.4.0\",\n    \"nuxt\": \"^4.4.4\"\n  }\n}\n","json",[341,1806,1807,1811,1825,1846,1864,1882,1900,1905],{"__ignoreMap":369},[356,1808,1809],{"class":374,"line":375},[356,1810,651],{"class":549},[356,1812,1813,1816,1818,1821,1823],{"class":374,"line":553},[356,1814,1815],{"class":549},"  \"",[356,1817,1791],{"class":714},[356,1819,1820],{"class":549},"\"",[356,1822,438],{"class":549},[356,1824,550],{"class":549},[356,1826,1827,1830,1832,1834,1836,1839,1842,1844],{"class":374,"line":563},[356,1828,1829],{"class":549},"    \"",[356,1831,1407],{"class":378},[356,1833,1820],{"class":549},[356,1835,438],{"class":549},[356,1837,1838],{"class":549}," \"",[356,1840,1841],{"class":382},"^3.4.0",[356,1843,1820],{"class":549},[356,1845,560],{"class":549},[356,1847,1848,1850,1852,1854,1856,1858,1860,1862],{"class":374,"line":571},[356,1849,1829],{"class":549},[356,1851,1718],{"class":378},[356,1853,1820],{"class":549},[356,1855,438],{"class":549},[356,1857,1838],{"class":549},[356,1859,1841],{"class":382},[356,1861,1820],{"class":549},[356,1863,560],{"class":549},[356,1865,1866,1868,1870,1872,1874,1876,1878,1880],{"class":374,"line":579},[356,1867,1829],{"class":549},[356,1869,1736],{"class":378},[356,1871,1820],{"class":549},[356,1873,438],{"class":549},[356,1875,1838],{"class":549},[356,1877,1841],{"class":382},[356,1879,1820],{"class":549},[356,1881,560],{"class":549},[356,1883,1884,1886,1888,1890,1892,1894,1897],{"class":374,"line":587},[356,1885,1829],{"class":549},[356,1887,495],{"class":378},[356,1889,1820],{"class":549},[356,1891,438],{"class":549},[356,1893,1838],{"class":549},[356,1895,1896],{"class":382},"^4.4.4",[356,1898,1899],{"class":549},"\"\n",[356,1901,1902],{"class":374,"line":605},[356,1903,1904],{"class":549},"  }\n",[356,1906,1907],{"class":374,"line":628},[356,1908,1339],{"class":549},[318,1910,1911,1912,1917,1918,1923,1924,1917,1926,329],{},"When the theme imports PrimeVue directly (Nova explorer), also add ",[321,1913,1914],{},[341,1915,1916],{},"primevue"," and ",[321,1919,1920],{},[341,1921,1922],{},"@primeuix\u002Fthemes"," — see ",[326,1925,124],{"href":125},[326,1927,1928],{"href":148},"Create a theme",[364,1930,1932],{"className":366,"code":1931,"language":368,"meta":369,"style":369},"cd playground && pnpm install && pnpm dev\n",[341,1933,1934],{"__ignoreMap":369},[356,1935,1936,1939,1942,1945,1948,1951,1953,1955],{"class":374,"line":375},[356,1937,1938],{"class":644},"cd",[356,1940,1941],{"class":382}," playground",[356,1943,1944],{"class":549}," &&",[356,1946,1947],{"class":378}," pnpm",[356,1949,1950],{"class":382}," install",[356,1952,1944],{"class":549},[356,1954,1947],{"class":378},[356,1956,1957],{"class":382}," dev\n",[318,1959,1960,1961,1964,1965,1967],{},"Or from the app root: ",[341,1962,1963],{},"pnpm run dev"," (runs ",[341,1966,410],{}," then playground dev).",[429,1969,1971],{"id":1970},"_7-optional-playground-launch-plugin","7. Optional: playground launch plugin",[318,1973,1974,1975,438],{},"For dev ergonomics and GitHub Pages, auto-open your app after boot. Create ",[321,1976,1977],{},[341,1978,1979],{},"playground\u002Fapp\u002Fplugins\u002Flaunch-about.client.ts",[364,1981,1983],{"className":536,"code":1982,"language":538,"meta":369,"style":369},"import { defineNuxtPlugin } from 'nuxt\u002Fapp'\n\nexport 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",[341,1984,1985,2003,2007,2019,2034,2053,2067,2081,2125,2130,2134],{"__ignoreMap":369},[356,1986,1987,1989,1991,1993,1995,1997,1999,2001],{"class":374,"line":375},[356,1988,546],{"class":545},[356,1990,610],{"class":549},[356,1992,1378],{"class":556},[356,1994,616],{"class":549},[356,1996,593],{"class":545},[356,1998,596],{"class":549},[356,2000,1387],{"class":382},[356,2002,602],{"class":549},[356,2004,2005],{"class":374,"line":553},[356,2006,632],{"emptyLinePlaceholder":631},[356,2008,2009,2011,2013,2015,2017],{"class":374,"line":563},[356,2010,638],{"class":545},[356,2012,641],{"class":545},[356,2014,1378],{"class":644},[356,2016,648],{"class":556},[356,2018,651],{"class":549},[356,2020,2021,2023,2025,2027,2030,2032],{"class":374,"line":571},[356,2022,1447],{"class":657},[356,2024,438],{"class":549},[356,2026,596],{"class":549},[356,2028,2029],{"class":382},"app-about-playground-launch",[356,2031,678],{"class":549},[356,2033,560],{"class":549},[356,2035,2036,2039,2041,2043,2045,2047,2049,2051],{"class":374,"line":579},[356,2037,2038],{"class":657},"  dependsOn",[356,2040,438],{"class":549},[356,2042,1615],{"class":556},[356,2044,678],{"class":549},[356,2046,1454],{"class":382},[356,2048,678],{"class":549},[356,2050,1624],{"class":556},[356,2052,560],{"class":549},[356,2054,2055,2058,2060,2063,2065],{"class":374,"line":587},[356,2056,2057],{"class":657},"  setup",[356,2059,648],{"class":549},[356,2061,2062],{"class":723},"nuxtApp",[356,2064,732],{"class":549},[356,2066,550],{"class":549},[356,2068,2069,2072,2074,2076,2078],{"class":374,"line":605},[356,2070,2071],{"class":644},"    autoStartPlaygroundApps",[356,2073,648],{"class":657},[356,2075,2062],{"class":556},[356,2077,698],{"class":549},[356,2079,2080],{"class":657}," [\n",[356,2082,2083,2086,2089,2091,2093,2095,2097,2099,2102,2104,2106,2108,2110,2112,2115,2117,2119,2121,2123],{"class":374,"line":628},[356,2084,2085],{"class":549},"      {",[356,2087,2088],{"class":657}," id",[356,2090,438],{"class":549},[356,2092,596],{"class":549},[356,2094,938],{"class":382},[356,2096,678],{"class":549},[356,2098,698],{"class":549},[356,2100,2101],{"class":657}," entry",[356,2103,438],{"class":549},[356,2105,596],{"class":549},[356,2107,1168],{"class":382},[356,2109,678],{"class":549},[356,2111,698],{"class":549},[356,2113,2114],{"class":657}," windowModel",[356,2116,438],{"class":549},[356,2118,596],{"class":549},[356,2120,1227],{"class":382},[356,2122,678],{"class":549},[356,2124,1093],{"class":549},[356,2126,2127],{"class":374,"line":635},[356,2128,2129],{"class":657},"    ])\n",[356,2131,2132],{"class":374,"line":654},[356,2133,708],{"class":549},[356,2135,2136,2138],{"class":374,"line":665},[356,2137,590],{"class":549},[356,2139,770],{"class":556},[318,2141,1519,2142,2144,2145,2148],{},[321,2143,1522],{}," guard with ",[341,2146,2147],{},"if (!import.meta.dev) return"," — static generate and GitHub Pages need the same path.",[318,2150,2151,2152,1534,2159,329],{},"Full reference: ",[326,2153,2156,2158],{"href":2154,"rel":2155},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-about\u002Fblob\u002Fmain\u002Fplayground\u002Fapp\u002Fplugins\u002Flaunch-about.client.ts",[339],[341,2157,343],{}," launch plugin",[326,2160,114],{"href":115},[429,2162,2164],{"id":2163},"_8-validate-and-wire-into-the-desktop","8. Validate and wire into the desktop",[318,2166,2167],{},"From the app repo root:",[364,2169,2171],{"className":366,"code":2170,"language":368,"meta":369,"style":369},"desktop validate .\n",[341,2172,2173],{"__ignoreMap":369},[356,2174,2175,2178,2181],{"class":374,"line":375},[356,2176,2177],{"class":378},"desktop",[356,2179,2180],{"class":382}," validate",[356,2182,2183],{"class":382}," .\n",[318,2185,2186,2187,496,2190,2193],{},"Checks include ",[341,2188,2189],{},"src\u002Fruntime\u002Fplugin.ts",[341,2191,2192],{},"app.config.ts",", playground deps on your package and core, and optional launch plugin.",[318,2195,2196,2197,438],{},"To test inside the ",[321,2198,2199],{},"client monorepo",[364,2201,2203],{"className":1802,"code":2202,"language":1804,"meta":369,"style":369},"\u002F\u002F desktop\u002Fpackage.json\n\"@owdproject\u002Fapp-about\": \"workspace:*\"\n",[341,2204,2205,2210],{"__ignoreMap":369},[356,2206,2207],{"class":374,"line":375},[356,2208,2209],{"class":701},"\u002F\u002F desktop\u002Fpackage.json\n",[356,2211,2212,2214,2216,2218,2220,2222,2225],{"class":374,"line":553},[356,2213,1820],{"class":549},[356,2215,1736],{"class":382},[356,2217,1820],{"class":549},[356,2219,482],{"class":556},[356,2221,1820],{"class":549},[356,2223,2224],{"class":382},"workspace:*",[356,2226,1899],{"class":549},[364,2228,2230],{"className":536,"code":2229,"language":538,"meta":369,"style":369},"\u002F\u002F desktop\u002Fdesktop.config.ts\napps: ['@owdproject\u002Fapp-about']\n",[341,2231,2232,2237],{"__ignoreMap":369},[356,2233,2234],{"class":374,"line":375},[356,2235,2236],{"class":701},"\u002F\u002F desktop\u002Fdesktop.config.ts\n",[356,2238,2239,2241,2243,2245,2247,2249,2251],{"class":374,"line":553},[356,2240,1775],{"class":378},[356,2242,438],{"class":549},[356,2244,1615],{"class":556},[356,2246,678],{"class":549},[356,2248,1736],{"class":382},[356,2250,678],{"class":549},[356,2252,2253],{"class":556},"]\n",[364,2255,2257],{"className":366,"code":2256,"language":368,"meta":369,"style":369},"pnpm install && pnpm run dev\n",[341,2258,2259],{"__ignoreMap":369},[356,2260,2261,2263,2265,2267,2269,2272],{"class":374,"line":375},[356,2262,379],{"class":378},[356,2264,1950],{"class":382},[356,2266,1944],{"class":549},[356,2268,1947],{"class":378},[356,2270,2271],{"class":382}," run",[356,2273,1957],{"class":382},[429,2275,2277],{"id":2276},"next","Next",[456,2279,2280,2289,2294],{},[459,2281,2282,2284,2285,2288],{},[326,2283,110],{"href":111}," — deeper dive on ",[341,2286,2287],{},"module.ts"," and Tailwind.",[459,2290,2291,2293],{},[326,2292,114],{"href":115}," — register vs launch, validator rules.",[459,2295,2296,2298],{},[326,2297,129],{"href":130}," — npm release.",[2300,2301,2302],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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 .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}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":369,"searchDepth":553,"depth":553,"links":2304},[2305,2306,2308,2310,2312,2313,2314,2315,2316],{"id":431,"depth":553,"text":432},{"id":526,"depth":553,"text":2307},"2. Write src\u002Fmodule.ts",{"id":894,"depth":553,"text":2309},"3. Define runtime\u002Fapp.config.ts",{"id":1347,"depth":553,"text":2311},"4. Add runtime\u002Fplugin.ts",{"id":1539,"depth":553,"text":1540},{"id":1579,"depth":553,"text":1580},{"id":1970,"depth":553,"text":1971},{"id":2163,"depth":553,"text":2164},{"id":2276,"depth":553,"text":2277},"End-to-end guide to building an OWD app module, from scaffold to desktop integration.","md",null,{},{"icon":108},{"title":105,"description":2317},"7Pu9M0JEtPB9K8M46BDA1XCRQBiK7kP3KPlovXxzWRU",[2325,2327],{"title":101,"path":102,"stem":103,"description":2326,"icon":67,"children":-1},"Recommended folder layout for an OWD app module (src, playground, dist).",{"title":110,"path":111,"stem":112,"description":2328,"icon":88,"children":-1},"module.ts, plugins, defineDesktopApp, configKey merge, and Tailwind registration.",1795483508374]