[{"data":1,"prerenderedAt":543},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-nuxt-archive-themes-styling-and-tailwind":309,"-frameworks-nuxt-archive-themes-styling-and-tailwind-surround":538},[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":155,"body":311,"description":531,"extension":532,"links":533,"meta":534,"navigation":535,"path":156,"seo":536,"stem":157,"__hash__":537},"docs\u002F2.frameworks\u002F3.nuxt\u002F9.archive\u002F5.themes\u002F5.styling-and-tailwind.md",{"type":312,"value":313,"toc":522},"minimark",[314,330,335,361,393,397,412,457,464,468,480,484,487,505,508,512],[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],"h2",{"id":333},"tailwind","Tailwind",[318,336,337,338,344,345,350,351,354,355,360],{},"The presentation kit ",[321,339,340],{},[341,342,343],"code",{},"@owdproject\u002Fkit-nuxt-tailwind"," enables ",[321,346,347],{},[341,348,349],{},"@nuxtjs\u002Ftailwindcss"," and aggregates ",[321,352,353],{},"content paths"," from modules that call ",[321,356,357],{},[341,358,359],{},"registerTailwindPath",". In your theme:",[362,363,364,386],"ul",{},[365,366,367,368,373,374,379,380,385],"li",{},"register ",[321,369,370],{},[341,371,372],{},"runtime\u002Fcomponents",", ",[321,375,376],{},[341,377,378],{},"runtime\u002Fpages",", and any ",[321,381,382],{},[341,383,384],{},"runtime\u002Fassets"," paths if classes appear there;",[365,387,388,389,392],{},"avoid dynamic class strings the purge step cannot see (use ",[341,390,391],{},"safelist"," when unavoidable).",[331,394,396],{"id":395},"primevue","PrimeVue",[318,398,399,400,405,406,411],{},"The ",[321,401,402],{},[341,403,404],{},"@owdproject\u002Fkit-nuxt-primevue"," kit registers ",[321,407,408],{},[341,409,410],{},"@primevue\u002Fnuxt-module",". Your theme can:",[362,413,414,435,442],{},[365,415,416,417,420,421,426,427,430,431,434],{},"set ",[321,418,419],{},"presets"," \u002F PrimeVue themes via ",[321,422,423],{},[341,424,425],{},"nuxt.config"," or ",[341,428,429],{},"nuxt.options.primevue"," in ",[341,432,433],{},"module.ts",";",[365,436,437,438,441],{},"ship ",[321,439,440],{},"SCSS partials"," (Win95-style) to tune Prime components to the OS look;",[365,443,444,445,448,449,453,454,456],{},"import PrimeVue components directly in theme ",[341,446,447],{},".vue"," files — then declare ",[321,450,451],{},[341,452,395],{}," as a peer and add it to playground deps (see ",[326,455,105],{"href":148},").",[318,458,459,460,463],{},"Apps should prefer ",[321,461,462],{},"neutral"," components where possible; the theme harmonizes spacing, borders, and colours.",[331,465,467],{"id":466},"fonts-and-assets","Fonts and assets",[318,469,470,471,373,476,479],{},"Self-hosted fonts under ",[321,472,473],{},[341,474,475],{},"runtime\u002Fassets\u002Ffonts",[341,477,478],{},"@font-face"," in SCSS — same pattern as reference themes.",[331,481,483],{"id":482},"variants","Variants",[318,485,486],{},"For multi-variant themes (light\u002Fdark), prefer:",[362,488,489,492],{},[365,490,491],{},"CSS or SCSS variables for tokens;",[365,493,494,499,500,329],{},[321,495,496],{},[341,497,498],{},"defaults"," on the theme module exposed via ",[321,501,502],{},[341,503,504],{},"runtimeConfig.public.desktop",[318,506,507],{},"There is no single mandatory contract yet: document supported keys in your theme README.",[331,509,511],{"id":510},"related","Related",[362,513,514,518],{},[365,515,516],{},[326,517,143],{"href":144},[365,519,520],{},[326,521,105],{"href":148},{"title":523,"searchDepth":524,"depth":524,"links":525},"",2,[526,527,528,529,530],{"id":333,"depth":524,"text":334},{"id":395,"depth":524,"text":396},{"id":466,"depth":524,"text":467},{"id":482,"depth":524,"text":483},{"id":510,"depth":524,"text":511},"SCSS, Tailwind, PrimeVue, and consistency across theme and apps.","md",null,{},{"icon":158},{"title":155,"description":531},"gndk0rf2uDUxSoZdLA5C8fYrQYGMwLZFJM3w2ANUgoM",[539,541],{"title":151,"path":152,"stem":153,"description":540,"icon":117,"children":-1},"Client Nuxt plugins in themes — dialogs, addPlugin, ordering, and what not to put in plugins.",{"title":160,"path":161,"stem":162,"description":542,"icon":163,"children":-1},"start\u002Fboot routes, desktop lifecycle, and system composables.",1795483509614]