[{"data":1,"prerenderedAt":1682},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-themes-theme-anatomy":309,"-frameworks-nuxt-archive-themes-theme-anatomy-surround":1677},[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":143,"body":311,"description":1670,"extension":1671,"links":1672,"meta":1673,"navigation":1674,"path":144,"seo":1675,"stem":145,"__hash__":1676},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F2.theme-anatomy.md",{"type":312,"value":313,"toc":1654},"minimark",[314,330,339,342,839,842,892,899,914,931,941,949,1072,1078,1095,1133,1138,1220,1224,1369,1390,1400,1404,1430,1434,1499,1503,1540,1545,1549,1568,1581,1601,1605,1623,1627,1650],[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",".",[331,332,334,335],"h2",{"id":333},"entry-modulets","Entry: ",[336,337,338],"code",{},"module.ts",[318,340,341],{},"Typical pattern (Nova \u002F Win95 \u002F Paper):",[343,344,349],"pre",{"className":345,"code":346,"language":347,"meta":348,"style":348},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createResolver, addComponentsDir, addPlugin, installModule } from '@nuxt\u002Fkit'\nimport { defineDesktopTheme } from '@owdproject\u002Fcore'\nimport { registerThemeTailwindPath } from '@owdproject\u002Fkit-nuxt-tailwind\u002Fkit\u002FregisterTailwindPath'\n\nexport default defineDesktopTheme({\n  meta: { name: 'desktop-theme-nova' },\n  defaults: {\n    name: 'nova',\n    systemBar: { enabled: true, position: 'top', startButton: true },\n    dockBar: { enabled: true, position: 'bottom' },\n  },\n  async setup(options, nuxt) {\n    const { resolve } = createResolver(import.meta.url)\n\n    await installModule('@owdproject\u002Fkit-nuxt-primevue')\n    registerThemeTailwindPath(nuxt, import.meta.url)\n\n    addComponentsDir({ path: resolve('.\u002Fruntime\u002Fcomponents'), global: true })\n\n    addPlugin({\n      src: resolve('.\u002Fruntime\u002Fplugins\u002F50.desktop-theme-nova-dialogs.client.ts'),\n      mode: 'client',\n    })\n  },\n})\n","ts","",[336,350,351,400,421,442,449,467,495,506,524,568,599,605,631,666,671,690,716,721,763,768,778,801,818,826,831],{"__ignoreMap":348},[352,353,356,360,364,368,371,374,376,379,381,384,387,390,393,397],"span",{"class":354,"line":355},"line",1,[352,357,359],{"class":358},"s7zQu","import",[352,361,363],{"class":362},"sMK4o"," {",[352,365,367],{"class":366},"sTEyZ"," createResolver",[352,369,370],{"class":362},",",[352,372,373],{"class":366}," addComponentsDir",[352,375,370],{"class":362},[352,377,378],{"class":366}," addPlugin",[352,380,370],{"class":362},[352,382,383],{"class":366}," installModule",[352,385,386],{"class":362}," }",[352,388,389],{"class":358}," from",[352,391,392],{"class":362}," '",[352,394,396],{"class":395},"sfazB","@nuxt\u002Fkit",[352,398,399],{"class":362},"'\n",[352,401,403,405,407,410,412,414,416,419],{"class":354,"line":402},2,[352,404,359],{"class":358},[352,406,363],{"class":362},[352,408,409],{"class":366}," defineDesktopTheme",[352,411,386],{"class":362},[352,413,389],{"class":358},[352,415,392],{"class":362},[352,417,418],{"class":395},"@owdproject\u002Fcore",[352,420,399],{"class":362},[352,422,424,426,428,431,433,435,437,440],{"class":354,"line":423},3,[352,425,359],{"class":358},[352,427,363],{"class":362},[352,429,430],{"class":366}," registerThemeTailwindPath",[352,432,386],{"class":362},[352,434,389],{"class":358},[352,436,392],{"class":362},[352,438,439],{"class":395},"@owdproject\u002Fkit-nuxt-tailwind\u002Fkit\u002FregisterTailwindPath",[352,441,399],{"class":362},[352,443,445],{"class":354,"line":444},4,[352,446,448],{"emptyLinePlaceholder":447},true,"\n",[352,450,452,455,458,461,464],{"class":354,"line":451},5,[352,453,454],{"class":358},"export",[352,456,457],{"class":358}," default",[352,459,409],{"class":460},"s2Zo4",[352,462,463],{"class":366},"(",[352,465,466],{"class":362},"{\n",[352,468,470,474,477,479,482,484,486,489,492],{"class":354,"line":469},6,[352,471,473],{"class":472},"swJcz","  meta",[352,475,476],{"class":362},":",[352,478,363],{"class":362},[352,480,481],{"class":472}," name",[352,483,476],{"class":362},[352,485,392],{"class":362},[352,487,488],{"class":395},"desktop-theme-nova",[352,490,491],{"class":362},"'",[352,493,494],{"class":362}," },\n",[352,496,498,501,503],{"class":354,"line":497},7,[352,499,500],{"class":472},"  defaults",[352,502,476],{"class":362},[352,504,505],{"class":362}," {\n",[352,507,509,512,514,516,519,521],{"class":354,"line":508},8,[352,510,511],{"class":472},"    name",[352,513,476],{"class":362},[352,515,392],{"class":362},[352,517,518],{"class":395},"nova",[352,520,491],{"class":362},[352,522,523],{"class":362},",\n",[352,525,527,530,532,534,537,539,543,545,548,550,552,555,557,559,562,564,566],{"class":354,"line":526},9,[352,528,529],{"class":472},"    systemBar",[352,531,476],{"class":362},[352,533,363],{"class":362},[352,535,536],{"class":472}," enabled",[352,538,476],{"class":362},[352,540,542],{"class":541},"sfNiH"," true",[352,544,370],{"class":362},[352,546,547],{"class":472}," position",[352,549,476],{"class":362},[352,551,392],{"class":362},[352,553,554],{"class":395},"top",[352,556,491],{"class":362},[352,558,370],{"class":362},[352,560,561],{"class":472}," startButton",[352,563,476],{"class":362},[352,565,542],{"class":541},[352,567,494],{"class":362},[352,569,571,574,576,578,580,582,584,586,588,590,592,595,597],{"class":354,"line":570},10,[352,572,573],{"class":472},"    dockBar",[352,575,476],{"class":362},[352,577,363],{"class":362},[352,579,536],{"class":472},[352,581,476],{"class":362},[352,583,542],{"class":541},[352,585,370],{"class":362},[352,587,547],{"class":472},[352,589,476],{"class":362},[352,591,392],{"class":362},[352,593,594],{"class":395},"bottom",[352,596,491],{"class":362},[352,598,494],{"class":362},[352,600,602],{"class":354,"line":601},11,[352,603,604],{"class":362},"  },\n",[352,606,608,612,615,617,621,623,626,629],{"class":354,"line":607},12,[352,609,611],{"class":610},"spNyl","  async",[352,613,614],{"class":472}," setup",[352,616,463],{"class":362},[352,618,620],{"class":619},"sHdIc","options",[352,622,370],{"class":362},[352,624,625],{"class":619}," nuxt",[352,627,628],{"class":362},")",[352,630,505],{"class":362},[352,632,634,637,639,642,644,647,649,651,653,655,658,660,663],{"class":354,"line":633},13,[352,635,636],{"class":610},"    const",[352,638,363],{"class":362},[352,640,641],{"class":366}," resolve",[352,643,386],{"class":362},[352,645,646],{"class":362}," =",[352,648,367],{"class":460},[352,650,463],{"class":472},[352,652,359],{"class":358},[352,654,329],{"class":362},[352,656,657],{"class":366},"meta",[352,659,329],{"class":362},[352,661,662],{"class":366},"url",[352,664,665],{"class":472},")\n",[352,667,669],{"class":354,"line":668},14,[352,670,448],{"emptyLinePlaceholder":447},[352,672,674,677,679,681,683,686,688],{"class":354,"line":673},15,[352,675,676],{"class":358},"    await",[352,678,383],{"class":460},[352,680,463],{"class":472},[352,682,491],{"class":362},[352,684,685],{"class":395},"@owdproject\u002Fkit-nuxt-primevue",[352,687,491],{"class":362},[352,689,665],{"class":472},[352,691,693,696,698,701,703,706,708,710,712,714],{"class":354,"line":692},16,[352,694,695],{"class":460},"    registerThemeTailwindPath",[352,697,463],{"class":472},[352,699,700],{"class":366},"nuxt",[352,702,370],{"class":362},[352,704,705],{"class":358}," import",[352,707,329],{"class":362},[352,709,657],{"class":366},[352,711,329],{"class":362},[352,713,662],{"class":366},[352,715,665],{"class":472},[352,717,719],{"class":354,"line":718},17,[352,720,448],{"emptyLinePlaceholder":447},[352,722,724,727,729,732,735,737,739,741,743,746,748,750,752,755,757,759,761],{"class":354,"line":723},18,[352,725,726],{"class":460},"    addComponentsDir",[352,728,463],{"class":472},[352,730,731],{"class":362},"{",[352,733,734],{"class":472}," path",[352,736,476],{"class":362},[352,738,641],{"class":460},[352,740,463],{"class":472},[352,742,491],{"class":362},[352,744,745],{"class":395},".\u002Fruntime\u002Fcomponents",[352,747,491],{"class":362},[352,749,628],{"class":472},[352,751,370],{"class":362},[352,753,754],{"class":472}," global",[352,756,476],{"class":362},[352,758,542],{"class":541},[352,760,386],{"class":362},[352,762,665],{"class":472},[352,764,766],{"class":354,"line":765},19,[352,767,448],{"emptyLinePlaceholder":447},[352,769,771,774,776],{"class":354,"line":770},20,[352,772,773],{"class":460},"    addPlugin",[352,775,463],{"class":472},[352,777,466],{"class":362},[352,779,781,784,786,788,790,792,795,797,799],{"class":354,"line":780},21,[352,782,783],{"class":472},"      src",[352,785,476],{"class":362},[352,787,641],{"class":460},[352,789,463],{"class":472},[352,791,491],{"class":362},[352,793,794],{"class":395},".\u002Fruntime\u002Fplugins\u002F50.desktop-theme-nova-dialogs.client.ts",[352,796,491],{"class":362},[352,798,628],{"class":472},[352,800,523],{"class":362},[352,802,804,807,809,811,814,816],{"class":354,"line":803},22,[352,805,806],{"class":472},"      mode",[352,808,476],{"class":362},[352,810,392],{"class":362},[352,812,813],{"class":395},"client",[352,815,491],{"class":362},[352,817,523],{"class":362},[352,819,821,824],{"class":354,"line":820},23,[352,822,823],{"class":362},"    }",[352,825,665],{"class":472},[352,827,829],{"class":354,"line":828},24,[352,830,604],{"class":362},[352,832,834,837],{"class":354,"line":833},25,[352,835,836],{"class":362},"}",[352,838,665],{"class":366},[318,840,841],{},"Avoid anti-patterns removed in recent themes:",[843,844,845,860,879],"ul",{},[846,847,848,849,854,855,329],"li",{},"Duplicating a ",[321,850,851],{},[336,852,853],{},"paperShell"," object that repeats ",[321,856,857],{},[336,858,859],{},"defaults",[846,861,862,867,868,873,874,878],{},[321,863,864],{},[336,865,866],{},"deepMerge(deepMerge(a, b), c)"," — use ",[321,869,870],{},[336,871,872],{},"defu"," and module ",[321,875,876],{},[336,877,859],{}," instead.",[846,880,881,882,887,888,329],{},"Forcing nested keys after merge (e.g. overwriting ",[321,883,884],{},[336,885,886],{},"systemBar",") — put them in ",[321,889,890],{},[336,891,859],{},[331,893,895,896],{"id":894},"merging-runtimeconfigpublicdesktop","Merging ",[336,897,898],{},"runtimeConfig.public.desktop",[318,900,901,904,905,909,910,913],{},[321,902,903],{},"Core"," has already applied ",[321,906,907],{},[336,908,195],{},". The theme fills ",[321,911,912],{},"undefined"," keys only:",[343,915,917],{"className":345,"code":916,"language":347,"meta":348,"style":348},"defu(existingDesktop, options)\n",[336,918,919],{"__ignoreMap":348},[352,920,921,923,926,928],{"class":354,"line":355},[352,922,872],{"class":460},[352,924,925],{"class":366},"(existingDesktop",[352,927,370],{"class":362},[352,929,930],{"class":366}," options)\n",[318,932,933,936,937,329],{},[321,934,935],{},"User config wins"," on conflicts — correct for per-project overrides in ",[321,938,939],{},[336,940,195],{},[318,942,943,944,948],{},"Some themes (GNOME) also import a local ",[321,945,946],{},[336,947,195],{}," inside the theme repo for packaged defaults:",[343,950,952],{"className":345,"code":951,"language":347,"meta":348,"style":348},"const themeDefaults = (await import(resolve('.\u002Fdesktop.config.ts'))).default\nnuxt.options.runtimeConfig.public.desktop = defu(\n  nuxt.options.runtimeConfig.public.desktop ?? {},\n  defu(themeDefaults, options),\n)\n",[336,953,954,995,1026,1053,1068],{"__ignoreMap":348},[352,955,956,959,962,965,968,971,973,975,978,980,982,985,987,990,992],{"class":354,"line":355},[352,957,958],{"class":610},"const",[352,960,961],{"class":366}," themeDefaults ",[352,963,964],{"class":362},"=",[352,966,967],{"class":366}," (",[352,969,970],{"class":358},"await",[352,972,705],{"class":460},[352,974,463],{"class":366},[352,976,977],{"class":460},"resolve",[352,979,463],{"class":366},[352,981,491],{"class":362},[352,983,984],{"class":395},".\u002Fdesktop.config.ts",[352,986,491],{"class":362},[352,988,989],{"class":366},")))",[352,991,329],{"class":362},[352,993,994],{"class":366},"default\n",[352,996,997,999,1001,1003,1005,1008,1010,1013,1015,1018,1020,1023],{"class":354,"line":402},[352,998,700],{"class":366},[352,1000,329],{"class":362},[352,1002,620],{"class":366},[352,1004,329],{"class":362},[352,1006,1007],{"class":366},"runtimeConfig",[352,1009,329],{"class":362},[352,1011,1012],{"class":366},"public",[352,1014,329],{"class":362},[352,1016,1017],{"class":366},"desktop ",[352,1019,964],{"class":362},[352,1021,1022],{"class":460}," defu",[352,1024,1025],{"class":366},"(\n",[352,1027,1028,1031,1033,1035,1037,1039,1041,1043,1045,1047,1050],{"class":354,"line":423},[352,1029,1030],{"class":366},"  nuxt",[352,1032,329],{"class":362},[352,1034,620],{"class":366},[352,1036,329],{"class":362},[352,1038,1007],{"class":366},[352,1040,329],{"class":362},[352,1042,1012],{"class":366},[352,1044,329],{"class":362},[352,1046,1017],{"class":366},[352,1048,1049],{"class":362},"??",[352,1051,1052],{"class":362}," {},\n",[352,1054,1055,1058,1061,1063,1066],{"class":354,"line":444},[352,1056,1057],{"class":460},"  defu",[352,1059,1060],{"class":366},"(themeDefaults",[352,1062,370],{"class":362},[352,1064,1065],{"class":366}," options)",[352,1067,523],{"class":362},[352,1069,1070],{"class":354,"line":451},[352,1071,665],{"class":366},[331,1073,1075],{"id":1074},"desktopvue",[336,1076,1077],{},"Desktop.vue",[318,1079,1080,1085,1086,1089,1090,476],{},[321,1081,1082],{},[336,1083,1084],{},"runtime\u002Fcomponents\u002FDesktop.vue"," is the ",[321,1087,1088],{},"theme entry component",". The consumer desktop project mounts it from ",[321,1091,1092],{},[336,1093,1094],{},"app.vue",[343,1096,1100],{"className":1097,"code":1098,"language":1099,"meta":348,"style":348},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CDesktop \u002F>\n\u003C\u002Ftemplate>\n","vue",[336,1101,1102,1113,1124],{"__ignoreMap":348},[352,1103,1104,1107,1110],{"class":354,"line":355},[352,1105,1106],{"class":362},"\u003C",[352,1108,1109],{"class":472},"template",[352,1111,1112],{"class":362},">\n",[352,1114,1115,1118,1121],{"class":354,"line":402},[352,1116,1117],{"class":362},"  \u003C",[352,1119,1120],{"class":472},"Desktop",[352,1122,1123],{"class":362}," \u002F>\n",[352,1125,1126,1129,1131],{"class":354,"line":423},[352,1127,1128],{"class":362},"\u003C\u002F",[352,1130,1109],{"class":472},[352,1132,1112],{"class":362},[1134,1135,1137],"h3",{"id":1136},"responsibilities","Responsibilities",[1139,1140,1141,1157],"table",{},[1142,1143,1144],"thead",{},[1145,1146,1147,1151,1154],"tr",{},[1148,1149,1150],"th",{},"Layer",[1148,1152,1153],{},"Owner",[1148,1155,1156],{},"Role",[1158,1159,1160,1177,1191,1207],"tbody",{},[1145,1161,1162,1170,1174],{},[1163,1164,1165],"td",{},[321,1166,1167],{},[336,1168,1169],{},"DesktopCore",[1163,1171,1172],{},[336,1173,418],{},[1163,1175,1176],{},"Window manager, workspaces, app mounting, z-order",[1145,1178,1179,1185,1188],{},[1163,1180,1181],{},[321,1182,1183],{},[336,1184,1077],{},[1163,1186,1187],{},"Theme",[1163,1189,1190],{},"Shell layout — background, system bar, dock, slots",[1145,1192,1193,1198,1204],{},[1163,1194,1195],{},[321,1196,1197],{},"Window chrome",[1163,1199,1200,1201,628],{},"Theme (",[336,1202,1203],{},"Window*.vue",[1163,1205,1206],{},"Title bar, resize handles, theme styling",[1145,1208,1209,1214,1217],{},[1163,1210,1211],{},[321,1212,1213],{},"App content",[1163,1215,1216],{},"App modules",[1163,1218,1219],{},"Business UI inside window content slot",[1134,1221,1223],{"id":1222},"typical-structure","Typical structure",[343,1225,1227],{"className":1097,"code":1226,"language":1099,"meta":348,"style":348},"\u003Ctemplate>\n  \u003CDesktopCore>\n    \u003Ctemplate #background>\n      \u003CBackground \u002F>\n    \u003C\u002Ftemplate>\n    \u003Ctemplate #system-bar>\n      \u003CSystemBar \u002F>\n    \u003C\u002Ftemplate>\n    \u003Ctemplate #dock>\n      \u003CDockBar v-if=\"desktop.dockBar?.enabled\" \u002F>\n    \u003C\u002Ftemplate>\n  \u003C\u002FDesktopCore>\n\u003C\u002Ftemplate>\n",[336,1228,1229,1237,1245,1260,1270,1279,1292,1301,1309,1322,1344,1352,1361],{"__ignoreMap":348},[352,1230,1231,1233,1235],{"class":354,"line":355},[352,1232,1106],{"class":362},[352,1234,1109],{"class":472},[352,1236,1112],{"class":362},[352,1238,1239,1241,1243],{"class":354,"line":402},[352,1240,1117],{"class":362},[352,1242,1169],{"class":472},[352,1244,1112],{"class":362},[352,1246,1247,1250,1252,1255,1258],{"class":354,"line":423},[352,1248,1249],{"class":362},"    \u003C",[352,1251,1109],{"class":472},[352,1253,1254],{"class":362}," #",[352,1256,1257],{"class":610},"background",[352,1259,1112],{"class":362},[352,1261,1262,1265,1268],{"class":354,"line":444},[352,1263,1264],{"class":362},"      \u003C",[352,1266,1267],{"class":472},"Background",[352,1269,1123],{"class":362},[352,1271,1272,1275,1277],{"class":354,"line":451},[352,1273,1274],{"class":362},"    \u003C\u002F",[352,1276,1109],{"class":472},[352,1278,1112],{"class":362},[352,1280,1281,1283,1285,1287,1290],{"class":354,"line":469},[352,1282,1249],{"class":362},[352,1284,1109],{"class":472},[352,1286,1254],{"class":362},[352,1288,1289],{"class":610},"system-bar",[352,1291,1112],{"class":362},[352,1293,1294,1296,1299],{"class":354,"line":497},[352,1295,1264],{"class":362},[352,1297,1298],{"class":472},"SystemBar",[352,1300,1123],{"class":362},[352,1302,1303,1305,1307],{"class":354,"line":508},[352,1304,1274],{"class":362},[352,1306,1109],{"class":472},[352,1308,1112],{"class":362},[352,1310,1311,1313,1315,1317,1320],{"class":354,"line":526},[352,1312,1249],{"class":362},[352,1314,1109],{"class":472},[352,1316,1254],{"class":362},[352,1318,1319],{"class":610},"dock",[352,1321,1112],{"class":362},[352,1323,1324,1326,1329,1332,1334,1337,1340,1342],{"class":354,"line":570},[352,1325,1264],{"class":362},[352,1327,1328],{"class":472},"DockBar",[352,1330,1331],{"class":610}," v-if",[352,1333,964],{"class":362},[352,1335,1336],{"class":362},"\"",[352,1338,1339],{"class":395},"desktop.dockBar?.enabled",[352,1341,1336],{"class":362},[352,1343,1123],{"class":362},[352,1345,1346,1348,1350],{"class":354,"line":601},[352,1347,1274],{"class":362},[352,1349,1109],{"class":472},[352,1351,1112],{"class":362},[352,1353,1354,1357,1359],{"class":354,"line":607},[352,1355,1356],{"class":362},"  \u003C\u002F",[352,1358,1169],{"class":472},[352,1360,1112],{"class":362},[352,1362,1363,1365,1367],{"class":354,"line":633},[352,1364,1128],{"class":362},[352,1366,1109],{"class":472},[352,1368,1112],{"class":362},[318,1370,1371,1372,1376,1377,1380,1381,329],{},"Exact slot names follow ",[321,1373,1374],{},[336,1375,1169],{}," API — inspect core’s ",[336,1378,1379],{},"DesktopCore.vue"," or reference ",[326,1382,1386,1389],{"href":1383,"rel":1384},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Ftheme-nuxt-nova\u002Ftree\u002Fmain\u002Fsrc\u002Fruntime\u002Fcomponents",[1385],"nofollow",[336,1387,1388],{},"theme-nuxt-nova"," Desktop",[318,1391,1392,1395,1396,1399],{},[321,1393,1394],{},"Paper"," uses a thinner wrapper; ",[321,1397,1398],{},"Nova"," adds dock, explorer integration, and richer chrome. Start minimal, add slots as the shell grows.",[1134,1401,1403],{"id":1402},"global-registration","Global registration",[318,1405,1406,1409,1410,1412,1413,1417,1418,1422,1423,1425,1426,1429],{},[336,1407,1408],{},"addComponentsDir({ global: true })"," in ",[336,1411,338],{}," auto-imports ",[321,1414,1415],{},[336,1416,1120],{},", ",[321,1419,1420],{},[336,1421,1298],{},", etc. The component name matches the filename (",[336,1424,1077],{}," → ",[336,1427,1428],{},"\u003CDesktop \u002F>",").",[331,1431,1433],{"id":1432},"other-components","Other components",[1139,1435,1436,1445],{},[1142,1437,1438],{},[1145,1439,1440,1443],{},[1148,1441,1442],{},"File",[1148,1444,1156],{},[1158,1446,1447,1469,1483],{},[1145,1448,1449,1455],{},[1163,1450,1451],{},[321,1452,1453],{},[336,1454,1203],{},[1163,1456,1457,1458,1463,1464,329],{},"Wrap ",[321,1459,1460],{},[336,1461,1462],{},"DesktopWindow"," \u002F ",[321,1465,1466],{},[336,1467,1468],{},"DesktopWindowContent",[1145,1470,1471,1478],{},[1163,1472,1473],{},[321,1474,1475],{},[336,1476,1477],{},"DesktopWindowNavButton.vue",[1163,1479,1480,1481,329],{},"Title-bar button primitive (close, min\u002Fmax, app tools). See ",[326,1482,170],{"href":171},[1145,1484,1485,1496],{},[1163,1486,1487,1417,1491,1495],{},[321,1488,1489],{},[336,1490,1298],{},[321,1492,1493],{},[336,1494,1267],{},", …",[1163,1497,1498],{},"OS chrome",[331,1500,1502],{"id":1501},"kits-and-optional-modules","Kits and optional modules",[1139,1504,1505,1515],{},[1142,1506,1507],{},[1145,1508,1509,1512],{},[1148,1510,1511],{},"Dependency",[1148,1513,1514],{},"When",[1158,1516,1517,1528],{},[1145,1518,1519,1525],{},[1163,1520,1521],{},[321,1522,1523],{},[336,1524,685],{},[1163,1526,1527],{},"Almost always for standard themes — handles PrimeVue dialogs, Tailwind CSS, and explorer UI components.",[1145,1529,1530,1537],{},[1163,1531,1532],{},[321,1533,1534],{},[336,1535,1536],{},"@owdproject\u002Fmodule-nuxt-fs",[1163,1538,1539],{},"Required when adding filesystem support — provides headless virtual filesystem logic and explorer stores.",[318,1541,1542,1543,329],{},"See ",[326,1544,165],{"href":166},[331,1546,1548],{"id":1547},"peer-dependency","Peer dependency",[318,1550,1551,1552,1557,1558,1563,1564,1567],{},"Declare ",[321,1553,1554],{},[336,1555,1556],{},"@owdproject\u002Fcore\": \"^3.4.0\""," and ",[321,1559,1560],{},[336,1561,1562],{},"@owdproject\u002Fkit-nuxt-primevue\": \"^3.4.0\""," as ",[321,1565,1566],{},"peers"," so install warns on API skew.",[318,1569,1570,1571,1557,1576,329],{},"Themes that import PrimeVue directly should also peer ",[321,1572,1573],{},[336,1574,1575],{},"primevue",[321,1577,1578],{},[336,1579,1580],{},"@primeuix\u002Fthemes",[318,1582,1583,1584,1417,1587,1592,1593,1598,1599,329],{},"In the ",[321,1585,1586],{},"client monorepo",[321,1588,1589],{},[336,1590,1591],{},"devDependencies"," may use ",[321,1594,1595],{},[336,1596,1597],{},"workspace:*"," for core while developing kits and themes together — see ",[326,1600,185],{"href":186},[331,1602,1604],{"id":1603},"tailwind","Tailwind",[318,1606,1607,1608,1613,1614,1619,1620,1622],{},"Call ",[321,1609,1610],{},[336,1611,1612],{},"registerThemeTailwindPath"," once in theme setup, and call ",[321,1615,1616],{},[336,1617,1618],{},"registerTailwindPath"," (both imported from ",[336,1621,439],{},") for any custom paths containing Tailwind classes.",[331,1624,1626],{"id":1625},"related","Related",[843,1628,1629,1633,1637,1641,1645],{},[846,1630,1631],{},[326,1632,105],{"href":148},[846,1634,1635],{},[326,1636,170],{"href":171},[846,1638,1639],{},[326,1640,151],{"href":152},[846,1642,1643],{},[326,1644,155],{"href":156},[846,1646,1647],{},[326,1648,1649],{"href":232},"Kernel components",[1651,1652,1653],"style",{},"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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 .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);}",{"title":348,"searchDepth":402,"depth":402,"links":1655},[1656,1658,1660,1665,1666,1667,1668,1669],{"id":333,"depth":402,"text":1657},"Entry: module.ts",{"id":894,"depth":402,"text":1659},"Merging runtimeConfig.public.desktop",{"id":1074,"depth":402,"text":1077,"children":1661},[1662,1663,1664],{"id":1136,"depth":423,"text":1137},{"id":1222,"depth":423,"text":1223},{"id":1402,"depth":423,"text":1403},{"id":1432,"depth":402,"text":1433},{"id":1501,"depth":402,"text":1502},{"id":1547,"depth":402,"text":1548},{"id":1603,"depth":402,"text":1604},{"id":1625,"depth":402,"text":1626},"module.ts, desktop runtimeConfig, Desktop.vue, defu merge, and kit dependencies.","md",null,{},{"icon":146},{"title":143,"description":1670},"_enX0-UTQ513y6BoMWZDfE1j2_B7Bq1Rds7-eO9JZYU",[1678,1680],{"title":96,"path":140,"stem":141,"description":1679,"icon":99,"children":-1},"What an OWD theme is versus core and apps.",{"title":105,"path":148,"stem":149,"description":1681,"icon":108,"children":-1},"End-to-end guide to building an OWD theme — minimal Paper vs full Nova, playground deps, PrimeVue.",1795483508687]