[{"data":1,"prerenderedAt":646},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-apps-overview":309,"-frameworks-nuxt-archive-apps-overview-surround":641},[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":96,"body":311,"description":634,"extension":635,"links":636,"meta":637,"navigation":638,"path":97,"seo":639,"stem":98,"__hash__":640},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F4.apps\u002F1.overview.md",{"type":312,"value":313,"toc":625},"minimark",[314,330,355,360,459,463,526,535,555,559,562,617],[315,316,317],"blockquote",{},[318,319,320,324,325,329],"p",{},[321,322,323],"strong",{},"Archive · OWD 3.x for Nuxt."," This page describes the previous Nuxt integration. For OWD 4.x, see the ",[326,327,328],"a",{"href":36},"current Nuxt guide",".",[318,331,332,333,336,337,340,341,350,351,354],{},"An ",[321,334,335],{},"OWD app"," is a ",[321,338,339],{},"publishable Nuxt module",". When listed in ",[321,342,343,346,347],{},[344,345,195],"code",{}," → ",[344,348,349],{},"apps",", it registers ",[321,352,353],{},"desktop programs",": launcher entries, window models, and commands. Apps do not replace the client — they plug into it.",[356,357,359],"h2",{"id":358},"what-an-app-provides","What an app provides",[361,362,363,376],"table",{},[364,365,366],"thead",{},[367,368,369,373],"tr",{},[370,371,372],"th",{},"Concept",[370,374,375],{},"Role",[377,378,379,398,418,442],"tbody",{},[367,380,381,392],{},[382,383,384,387,388,391],"td",{},[321,385,386],{},"Nuxt module"," (",[344,389,390],{},"defineNuxtModule",")",[382,393,394,395,329],{},"Adds components, plugins, Tailwind paths, optional ",[344,396,397],{},"runtimeConfig",[367,399,400,405],{},[382,401,402],{},[321,403,404],{},"Runtime plugin",[382,406,407,408,411,412,417],{},"Client-only plugin named ",[344,409,410],{},"owd-\u003Cslug>-register"," calls ",[321,413,414],{},[344,415,416],{},"defineDesktopApp(...)"," with the app configuration.",[367,419,420,427],{},[382,421,422],{},[321,423,424],{},[344,425,426],{},"ApplicationConfig",[382,428,429,430,433,434,437,438,441],{},"Stable id, title, icons, ",[321,431,432],{},"windows"," (models), ",[321,435,436],{},"entries"," (menu items), ",[321,439,440],{},"commands"," (actions).",[367,443,444,452],{},[382,445,446,387,449,391],{},[321,447,448],{},"Build",[344,450,451],{},"@nuxt\u002Fmodule-builder",[382,453,454,455,458],{},"Outputs ",[344,456,457],{},"dist\u002Fmodule.mjs"," consumed by the desktop like any other Nuxt module.",[356,460,462],{"id":461},"reference-repositories","Reference repositories",[361,464,465,475],{},[364,466,467],{},[367,468,469,472],{},[370,470,471],{},"Repo",[370,473,474],{},"Why study it",[377,476,477,496,510],{},[367,478,479,489],{},[382,480,481],{},[326,482,486],{"href":483,"rel":484},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-about",[485],"nofollow",[344,487,488],{},"app-about",[382,490,491,492,495],{},"Minimal complete app — singleton window, ",[344,493,494],{},"configKey",", playground launch plugin.",[367,497,498,507],{},[382,499,500],{},[326,501,504],{"href":502,"rel":503},"https:\u002F\u002Fgithub.com\u002Fowdproject\u002Fapp-todo",[485],[344,505,506],{},"app-todo",[382,508,509],{},"Multi-window app, launch plugin pattern.",[367,511,512,520],{},[382,513,514],{},[326,515,516,519],{"href":242},[344,517,518],{},"client"," validate fixture",[382,521,522,523,329],{},"Smallest valid module checked by ",[344,524,525],{},"desktop validate",[356,527,529,530,534],{"id":528},"what-it-should-not-do","What it should ",[531,532,533],"em",{},"not"," do",[536,537,538,548],"ul",{},[539,540,541,542,547],"li",{},"Do not depend on a specific theme (Win95, Nova, etc.): depend only on ",[321,543,544],{},[344,545,546],{},"@owdproject\u002Fcore"," as a peer and its public APIs.",[539,549,550,551,554],{},"Do not assume fixed host URL routes: the app runs ",[321,552,553],{},"inside"," the desktop (windows, not necessarily global router paths).",[356,556,558],{"id":557},"learning-path","Learning path",[318,560,561],{},"Follow this order for a first app:",[563,564,565,574,579,592,597,604,609],"ol",{},[539,566,567,569,570,573],{},[326,568,101],{"href":102}," — folder tree and ",[344,571,572],{},"package.json"," exports.",[539,575,576,578],{},[326,577,105],{"href":106}," — end-to-end tutorial (recommended starting point).",[539,580,581,583,584,587,588,591],{},[326,582,110],{"href":111}," — ",[344,585,586],{},"module.ts",", ",[344,589,590],{},"app.config.ts",", Tailwind.",[539,593,594,596],{},[326,595,114],{"href":115}," — register plugin vs playground launch plugin.",[539,598,599,583,601,603],{},[326,600,119],{"href":120},[344,602,426],{}," details.",[539,605,606,608],{},[326,607,124],{"href":125}," — local dev mini-desktop.",[539,610,611,583,613,616],{},[326,612,129],{"href":130},[344,614,615],{},"prepack",", npm, validation.",[318,618,619,620,622,623,329],{},"Also see ",[326,621,195],{"href":196}," and ",[326,624,185],{"href":186},{"title":626,"searchDepth":627,"depth":627,"links":628},"",2,[629,630,631,633],{"id":358,"depth":627,"text":359},{"id":461,"depth":627,"text":462},{"id":528,"depth":627,"text":632},"What it should not do",{"id":557,"depth":627,"text":558},"What an Open Web Desktop application is and how it plugs into the core.","md",null,{},{"icon":99},{"title":96,"description":634},"KQptXgfdRmcKPNUqH64hygCktlRIp9qGyrzhZZOBLZ8",[642,644],{"title":85,"path":86,"stem":87,"description":643,"icon":88,"children":-1},"core shell\u002Fexplorer, kit-nuxt-primevue, module-nuxt-fs, and deprecated kits.",{"title":101,"path":102,"stem":103,"description":645,"icon":67,"children":-1},"Recommended folder layout for an OWD app module (src, playground, dist).",1795483508304]