[{"data":1,"prerenderedAt":1032},["ShallowReactive",2],{"blog-nuxt-mobile-app":3},{"id":4,"title":5,"articleType":6,"author":7,"authorSlug":8,"body":9,"cta":1007,"date":1008,"description":1009,"extension":1010,"faq":1011,"featured":1020,"image":1021,"meta":1022,"navigation":652,"noCtaBox":1020,"path":1023,"readTime":1024,"seo":1025,"seoTitle":1026,"stem":1027,"tags":1028,"__hash__":1031},"blog\u002Fblog\u002Fnuxt-mobile-app.md","Can You Build a Mobile App With Nuxt?","TechArticle","Pavel Mironov","pavel-mironov",{"type":10,"value":11,"toc":986},"minimark",[12,16,21,24,119,123,132,160,164,167,172,183,190,221,227,510,534,538,541,544,547,551,554,568,606,611,737,742,800,813,834,845,848,852,863,866,872,876,882,892,896,899,902,910,914,927,931,935,938,942,945,949,958,962,965,969,972,976,982],[13,14,15],"p",{},"Yes, you can build a mobile app with Nuxt, but not the way you build a website with it. A phone doesn't run your Nuxt server, so the app ships as static files: installed from the browser as a PWA, or wrapped by Capacitor for the App Store and Google Play. This guide compares the options, walks through the setup for each, and covers when Nuxt is the wrong tool.",[17,18,20],"h2",{"id":19},"nuxt-mobile-app-the-short-answer","Nuxt Mobile App: The Short Answer",[13,22,23],{},"A Nuxt mobile app is a Nuxt web app packaged for phones, and there are three ways to package it. The quickest is a PWA: users install your site from the browser and it works offline. Capacitor wraps the same app in a native shell, so it can go on the stores and call device APIs. Ionic is Capacitor plus a component library that looks and behaves like iOS and Android. And when the app is the product, skip Nuxt and go native with Swift and Kotlin or React Native.",[25,26,27,49],"table",{},[28,29,30],"thead",{},[31,32,33,37,40,43,46],"tr",{},[34,35,36],"th",{},"Option",[34,38,39],{},"Store listing",[34,41,42],{},"Device APIs",[34,44,45],{},"Code reuse from web",[34,47,48],{},"Effort",[50,51,52,70,87,103],"tbody",{},[31,53,54,58,61,64,67],{},[55,56,57],"td",{},"Nuxt PWA",[55,59,60],{},"No",[55,62,63],{},"Browser APIs only, fewer on iOS",[55,65,66],{},"Almost all",[55,68,69],{},"Low",[31,71,72,75,78,81,84],{},[55,73,74],{},"Nuxt + Capacitor",[55,76,77],{},"Yes",[55,79,80],{},"Yes, through plugins",[55,82,83],{},"Most",[55,85,86],{},"Medium",[31,88,89,92,94,97,100],{},[55,90,91],{},"Nuxt + Ionic",[55,93,77],{},[55,95,96],{},"Yes, through Capacitor",[55,98,99],{},"Logic yes, UI rewritten in Ionic components",[55,101,102],{},"Medium to high",[31,104,105,108,110,113,116],{},[55,106,107],{},"Native or React Native",[55,109,77],{},[55,111,112],{},"Full",[55,114,115],{},"Little to none",[55,117,118],{},"High",[17,120,122],{"id":121},"how-nuxt-fits-into-a-mobile-build","How Nuxt Fits Into a Mobile Build",[13,124,125,126,131],{},"On the web, Nuxt usually renders pages on a server. If you need a refresher on its rendering modes, see ",[127,128,130],"a",{"href":129},"\u002Fblog\u002Fwhat-is-nuxt","What is Nuxt",". Inside a mobile app there is no server. Capacitor loads HTML, JavaScript and CSS from the device, and a PWA caches the same files in the browser.",[13,133,134,135,139,140,143,144,147,148,151,152,155,156,159],{},"So the mobile build is a client-rendered single-page app. Set ",[136,137,138],"code",{},"ssr: false"," and run ",[136,141,142],{},"nuxt generate",", and Nuxt writes an ",[136,145,146],{},"index.html"," entry point and a ",[136,149,150],{},"200.html"," fallback to ",[136,153,154],{},".output\u002Fpublic\u002F",". Your Vue components, composables, Pinia stores and routing all carry over. Server routes in ",[136,157,158],{},"server\u002Fapi"," don't: the app has to call an API hosted somewhere else.",[17,161,163],{"id":162},"option-1-nuxt-pwa","Option 1: Nuxt PWA",[13,165,166],{},"A Nuxt PWA is your site plus two things: a web app manifest, which gives it a name, icon and full-screen launch, and a service worker, which caches files so it opens offline. Users install it from the browser. On iOS 26, every site added to the Home Screen opens as a web app by default.",[168,169,171],"h3",{"id":170},"nuxt-4-pwa-setup","Nuxt 4 PWA Setup",[13,173,174,175,178,179,182],{},"The module for a Nuxt 4 PWA is ",[136,176,177],{},"@vite-pwa\u002Fnuxt",". The old ",[136,180,181],{},"@nuxtjs\u002Fpwa"," was built for Nuxt 2 and is archived.",[184,185,186],"ol",{},[187,188,189],"li",{},"Install the module:",[191,192,197],"pre",{"className":193,"code":194,"language":195,"meta":196,"style":196},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx nuxi@latest module add @vite-pwa\u002Fnuxt\n","bash","",[136,198,199],{"__ignoreMap":196},[200,201,204,208,212,215,218],"span",{"class":202,"line":203},"line",1,[200,205,207],{"class":206},"sBMFI","npx",[200,209,211],{"class":210},"sfazB"," nuxi@latest",[200,213,214],{"class":210}," module",[200,216,217],{"class":210}," add",[200,219,220],{"class":210}," @vite-pwa\u002Fnuxt\n",[184,222,224],{"start":223},2,[187,225,226],{},"Add a manifest and an update strategy:",[191,228,232],{"className":229,"code":230,"language":231,"meta":196,"style":196},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  modules: ['@vite-pwa\u002Fnuxt'],\n  pwa: {\n    registerType: 'autoUpdate',\n    manifest: {\n      name: 'Acme Field App',\n      short_name: 'Acme',\n      theme_color: '#00DC82',\n      icons: [\n        { src: '\u002Fpwa-192.png', sizes: '192x192', type: 'image\u002Fpng' },\n        { src: '\u002Fpwa-512.png', sizes: '512x512', type: 'image\u002Fpng' },\n      ],\n    },\n  },\n})\n","ts",[136,233,234,240,261,287,298,316,326,343,360,377,388,438,481,489,495,501],{"__ignoreMap":196},[200,235,236],{"class":202,"line":203},[200,237,239],{"class":238},"sHwdD","\u002F\u002F nuxt.config.ts\n",[200,241,242,246,249,253,257],{"class":202,"line":223},[200,243,245],{"class":244},"s7zQu","export",[200,247,248],{"class":244}," default",[200,250,252],{"class":251},"s2Zo4"," defineNuxtConfig",[200,254,256],{"class":255},"sTEyZ","(",[200,258,260],{"class":259},"sMK4o","{\n",[200,262,264,268,271,274,277,279,281,284],{"class":202,"line":263},3,[200,265,267],{"class":266},"swJcz","  modules",[200,269,270],{"class":259},":",[200,272,273],{"class":255}," [",[200,275,276],{"class":259},"'",[200,278,177],{"class":210},[200,280,276],{"class":259},[200,282,283],{"class":255},"]",[200,285,286],{"class":259},",\n",[200,288,290,293,295],{"class":202,"line":289},4,[200,291,292],{"class":266},"  pwa",[200,294,270],{"class":259},[200,296,297],{"class":259}," {\n",[200,299,301,304,306,309,312,314],{"class":202,"line":300},5,[200,302,303],{"class":266},"    registerType",[200,305,270],{"class":259},[200,307,308],{"class":259}," '",[200,310,311],{"class":210},"autoUpdate",[200,313,276],{"class":259},[200,315,286],{"class":259},[200,317,319,322,324],{"class":202,"line":318},6,[200,320,321],{"class":266},"    manifest",[200,323,270],{"class":259},[200,325,297],{"class":259},[200,327,329,332,334,336,339,341],{"class":202,"line":328},7,[200,330,331],{"class":266},"      name",[200,333,270],{"class":259},[200,335,308],{"class":259},[200,337,338],{"class":210},"Acme Field App",[200,340,276],{"class":259},[200,342,286],{"class":259},[200,344,346,349,351,353,356,358],{"class":202,"line":345},8,[200,347,348],{"class":266},"      short_name",[200,350,270],{"class":259},[200,352,308],{"class":259},[200,354,355],{"class":210},"Acme",[200,357,276],{"class":259},[200,359,286],{"class":259},[200,361,363,366,368,370,373,375],{"class":202,"line":362},9,[200,364,365],{"class":266},"      theme_color",[200,367,270],{"class":259},[200,369,308],{"class":259},[200,371,372],{"class":210},"#00DC82",[200,374,276],{"class":259},[200,376,286],{"class":259},[200,378,380,383,385],{"class":202,"line":379},10,[200,381,382],{"class":266},"      icons",[200,384,270],{"class":259},[200,386,387],{"class":255}," [\n",[200,389,391,394,397,399,401,404,406,409,412,414,416,419,421,423,426,428,430,433,435],{"class":202,"line":390},11,[200,392,393],{"class":259},"        {",[200,395,396],{"class":266}," src",[200,398,270],{"class":259},[200,400,308],{"class":259},[200,402,403],{"class":210},"\u002Fpwa-192.png",[200,405,276],{"class":259},[200,407,408],{"class":259},",",[200,410,411],{"class":266}," sizes",[200,413,270],{"class":259},[200,415,308],{"class":259},[200,417,418],{"class":210},"192x192",[200,420,276],{"class":259},[200,422,408],{"class":259},[200,424,425],{"class":266}," type",[200,427,270],{"class":259},[200,429,308],{"class":259},[200,431,432],{"class":210},"image\u002Fpng",[200,434,276],{"class":259},[200,436,437],{"class":259}," },\n",[200,439,441,443,445,447,449,452,454,456,458,460,462,465,467,469,471,473,475,477,479],{"class":202,"line":440},12,[200,442,393],{"class":259},[200,444,396],{"class":266},[200,446,270],{"class":259},[200,448,308],{"class":259},[200,450,451],{"class":210},"\u002Fpwa-512.png",[200,453,276],{"class":259},[200,455,408],{"class":259},[200,457,411],{"class":266},[200,459,270],{"class":259},[200,461,308],{"class":259},[200,463,464],{"class":210},"512x512",[200,466,276],{"class":259},[200,468,408],{"class":259},[200,470,425],{"class":266},[200,472,270],{"class":259},[200,474,308],{"class":259},[200,476,432],{"class":210},[200,478,276],{"class":259},[200,480,437],{"class":259},[200,482,484,487],{"class":202,"line":483},13,[200,485,486],{"class":255},"      ]",[200,488,286],{"class":259},[200,490,492],{"class":202,"line":491},14,[200,493,494],{"class":259},"    },\n",[200,496,498],{"class":202,"line":497},15,[200,499,500],{"class":259},"  },\n",[200,502,504,507],{"class":202,"line":503},16,[200,505,506],{"class":259},"}",[200,508,509],{"class":255},")\n",[184,511,512,527],{"start":263},[187,513,514,515,518,519,522,523,526],{},"Put ",[136,516,517],{},"\u003CNuxtPwaManifest \u002F>"," in ",[136,520,521],{},"app.vue",", above ",[136,524,525],{},"\u003CNuxtPage \u002F>",", so every page links the manifest.",[187,528,529,530,533],{},"Build and test the production output. In development the service worker is off unless you set ",[136,531,532],{},"devOptions: { enabled: true }",".",[168,535,537],{"id":536},"where-a-pwa-falls-short","Where a PWA Falls Short",[13,539,540],{},"iOS is the main limit. Web Push works for Home Screen web apps since iOS 16.4, but WebKit has declined to implement Web Bluetooth, Web NFC and Background Sync, so a PWA on iPhone can't talk to hardware or sync in the background.",[13,542,543],{},"Storage is less durable than in a native app. Safari can clear data a site wrote, including IndexedDB and service worker caches, after a stretch without user interaction, so keep the real copy of user data on your server.",[13,545,546],{},"And a PWA isn't in the App Store or Google Play. If your users look for apps there, they won't find you. For internal tools and repeat-visit products that's often fine; for a consumer app competing on the stores, it isn't.",[17,548,550],{"id":549},"option-2-nuxt-capacitor","Option 2: Nuxt Capacitor",[13,552,553],{},"Capacitor puts your built web app inside a real iOS and Android project, with plugins for the camera, files, push notifications and other device APIs. A Nuxt site can run inside Capacitor once it is built as static files, and that's where most failed Nuxt Capacitor builds go wrong.",[184,555,556,565],{},[187,557,558,559,518,561,564],{},"Set ",[136,560,138],{},[136,562,563],{},"nuxt.config.ts"," for the app build.",[187,566,567],{},"Install Capacitor and create its config:",[191,569,571],{"className":193,"code":570,"language":195,"meta":196,"style":196},"npm i @capacitor\u002Fcore\nnpm i -D @capacitor\u002Fcli\nnpx cap init\n",[136,572,573,584,596],{"__ignoreMap":196},[200,574,575,578,581],{"class":202,"line":203},[200,576,577],{"class":206},"npm",[200,579,580],{"class":210}," i",[200,582,583],{"class":210}," @capacitor\u002Fcore\n",[200,585,586,588,590,593],{"class":202,"line":223},[200,587,577],{"class":206},[200,589,580],{"class":210},[200,591,592],{"class":210}," -D",[200,594,595],{"class":210}," @capacitor\u002Fcli\n",[200,597,598,600,603],{"class":202,"line":263},[200,599,207],{"class":206},[200,601,602],{"class":210}," cap",[200,604,605],{"class":210}," init\n",[184,607,608],{"start":263},[187,609,610],{},"Point Capacitor at Nuxt's static output:",[191,612,614],{"className":229,"code":613,"language":231,"meta":196,"style":196},"\u002F\u002F capacitor.config.ts\nimport type { CapacitorConfig } from '@capacitor\u002Fcli'\n\nconst config: CapacitorConfig = {\n  appId: 'com.acme.fieldapp',\n  appName: 'Acme Field App',\n  webDir: '.output\u002Fpublic',\n}\n\nexport default config\n",[136,615,616,621,648,654,672,688,703,719,724,728],{"__ignoreMap":196},[200,617,618],{"class":202,"line":203},[200,619,620],{"class":238},"\u002F\u002F capacitor.config.ts\n",[200,622,623,626,628,631,634,637,640,642,645],{"class":202,"line":223},[200,624,625],{"class":244},"import",[200,627,425],{"class":244},[200,629,630],{"class":259}," {",[200,632,633],{"class":255}," CapacitorConfig",[200,635,636],{"class":259}," }",[200,638,639],{"class":244}," from",[200,641,308],{"class":259},[200,643,644],{"class":210},"@capacitor\u002Fcli",[200,646,647],{"class":259},"'\n",[200,649,650],{"class":202,"line":263},[200,651,653],{"emptyLinePlaceholder":652},true,"\n",[200,655,656,660,663,665,667,670],{"class":202,"line":289},[200,657,659],{"class":658},"spNyl","const",[200,661,662],{"class":255}," config",[200,664,270],{"class":259},[200,666,633],{"class":206},[200,668,669],{"class":259}," =",[200,671,297],{"class":259},[200,673,674,677,679,681,684,686],{"class":202,"line":300},[200,675,676],{"class":266},"  appId",[200,678,270],{"class":259},[200,680,308],{"class":259},[200,682,683],{"class":210},"com.acme.fieldapp",[200,685,276],{"class":259},[200,687,286],{"class":259},[200,689,690,693,695,697,699,701],{"class":202,"line":318},[200,691,692],{"class":266},"  appName",[200,694,270],{"class":259},[200,696,308],{"class":259},[200,698,338],{"class":210},[200,700,276],{"class":259},[200,702,286],{"class":259},[200,704,705,708,710,712,715,717],{"class":202,"line":328},[200,706,707],{"class":266},"  webDir",[200,709,270],{"class":259},[200,711,308],{"class":259},[200,713,714],{"class":210},".output\u002Fpublic",[200,716,276],{"class":259},[200,718,286],{"class":259},[200,720,721],{"class":202,"line":345},[200,722,723],{"class":259},"}\n",[200,725,726],{"class":202,"line":362},[200,727,653],{"emptyLinePlaceholder":652},[200,729,730,732,734],{"class":202,"line":379},[200,731,245],{"class":244},[200,733,248],{"class":244},[200,735,736],{"class":255}," config\n",[184,738,739],{"start":289},[187,740,741],{},"Add the platforms, build and sync:",[191,743,745],{"className":193,"code":744,"language":195,"meta":196,"style":196},"npm i @capacitor\u002Fios @capacitor\u002Fandroid\nnpx cap add ios\nnpx cap add android\nnpx nuxi generate\nnpx cap sync\n",[136,746,747,759,770,781,791],{"__ignoreMap":196},[200,748,749,751,753,756],{"class":202,"line":203},[200,750,577],{"class":206},[200,752,580],{"class":210},[200,754,755],{"class":210}," @capacitor\u002Fios",[200,757,758],{"class":210}," @capacitor\u002Fandroid\n",[200,760,761,763,765,767],{"class":202,"line":223},[200,762,207],{"class":206},[200,764,602],{"class":210},[200,766,217],{"class":210},[200,768,769],{"class":210}," ios\n",[200,771,772,774,776,778],{"class":202,"line":263},[200,773,207],{"class":206},[200,775,602],{"class":210},[200,777,217],{"class":210},[200,779,780],{"class":210}," android\n",[200,782,783,785,788],{"class":202,"line":289},[200,784,207],{"class":206},[200,786,787],{"class":210}," nuxi",[200,789,790],{"class":210}," generate\n",[200,792,793,795,797],{"class":202,"line":300},[200,794,207],{"class":206},[200,796,602],{"class":210},[200,798,799],{"class":210}," sync\n",[184,801,802],{"start":300},[187,803,804,805,808,809,812],{},"Open the native project with ",[136,806,807],{},"npx cap open ios"," or ",[136,810,811],{},"npx cap open android"," and run it.",[13,814,815,816,819,820,823,824,826,827,829,830,833],{},"The trap is step 4. ",[136,817,818],{},"nuxt build"," produces a Node server in ",[136,821,822],{},".output\u002Fserver"," and doesn't write a static ",[136,825,714],{}," you can ship, so Capacitor has nothing to load. Use ",[136,828,142],{},", and run ",[136,831,832],{},"npx cap sync"," after every build.",[13,835,836,837,840,841,844],{},"Two more things save time. API calls need an absolute URL, because the app has no server of its own; keep the address in ",[136,838,839],{},"runtimeConfig.public"," so the web and app builds can point at the same backend. And for development, Capacitor's live reload loads the app from your dev server through a ",[136,842,843],{},"server.url"," setting, so you don't rebuild for every change. Capacitor's docs warn not to commit that setting, since a release build would still point at your laptop.",[13,846,847],{},"Capacitor 8 needs Node 22 or later, Xcode 26 for iOS builds and a recent Android Studio.",[17,849,851],{"id":850},"option-3-nuxt-ionic","Option 3: Nuxt Ionic",[13,853,854,855,858,859,862],{},"Ionic adds a component library that follows iOS and Android design patterns: native-style navigation and transitions, tab bars, swipe gestures and platform-specific styling. The ",[136,856,857],{},"@nuxtjs\u002Fionic"," module wires it into Nuxt. Nuxt Ionic auto-imports Ionic components and icons, connects Ionic's router to your ",[136,860,861],{},"pages\u002F"," folder, and sets up Capacitor.",[13,864,865],{},"It's worth it when the app has to feel at home on a phone: deep navigation stacks, bottom tabs, pull to refresh. For a mostly read-only app, your existing UI in Capacitor is often enough.",[13,867,868,869,871],{},"Two catches. The module's docs build with ",[136,870,138],{},", so a Nuxt Ionic app is a client-rendered app on the web too, without SSR. And at the time of writing, its latest release bundles Ionic 8 and Capacitor 7, a major version behind each.",[17,873,875],{"id":874},"can-you-share-one-codebase-for-web-and-mobile","Can You Share One Codebase for Web and Mobile?",[13,877,878,879,881],{},"Yes, but not one build. The website wants server rendering for SEO and speed. The app needs ",[136,880,138],{}," and static files. That means two build configurations, and usually some code that only runs in one of them.",[13,883,884,888,889,891],{},[127,885,887],{"href":886},"\u002Fblog\u002Fnuxt-layers","Nuxt layers"," are the cleanest way to organize this. Put components, composables, stores and API clients in a shared base layer. The web app extends it with SSR and server routes; the mobile app extends it with ",[136,890,138],{},", Capacitor plugins and mobile-only screens. Each stays a normal Nuxt app, and the shared code lives in one place. Code that touches device APIs belongs in the mobile layer, so the website never imports a Capacitor plugin it can't use.",[17,893,895],{"id":894},"when-nuxt-is-the-wrong-choice-for-mobile","When Nuxt Is the Wrong Choice for Mobile",[13,897,898],{},"Skip the web stack when the app depends on heavy native features such as continuous Bluetooth, background location or long-running background work. The same goes for games and anything with demanding animation, where a WebView is the wrong engine.",[13,900,901],{},"Watch the store rules too. Apple's guideline 4.2 expects an app to have features, content and UI that \"elevate it beyond a repackaged website.\" A thin wrapper around your marketing site will likely be rejected.",[13,903,904,905,909],{},"If you're unsure which side of the line your app falls on, our ",[127,906,908],{"href":907},"\u002Fservices\u002Fvue-js-consulting","Vue.js consulting"," team can review the requirements before you commit to a stack.",[17,911,913],{"id":912},"conclusion","Conclusion",[13,915,916,917,921,922,926],{},"Nuxt is a good fit for mobile when you already have a Vue web app and want it on phones: a PWA for reach, Capacitor for the stores, Ionic for a native feel. It isn't a fit for hardware-heavy apps or games. As an ",[127,918,920],{"href":919},"\u002Fblog\u002Fepicmax-official-nuxt-partner","official Nuxt partner",", we can help you pick the route, and our ",[127,923,925],{"href":924},"\u002Fservices\u002Fnuxt-development","Nuxt development services"," cover the build.",[17,928,930],{"id":929},"faqs","FAQs",[168,932,934],{"id":933},"can-a-nuxt-app-go-on-the-app-store","Can a Nuxt app go on the App Store?",[13,936,937],{},"Yes, if you wrap it with Capacitor, which builds a real iOS project you submit through Xcode. Apple's review guidelines reject apps that are just a repackaged website, so the app needs features, content and UI that work like an app.",[168,939,941],{"id":940},"is-a-pwa-enough-or-do-i-need-capacitor","Is a PWA enough, or do I need Capacitor?",[13,943,944],{},"A PWA is enough when users find you through the web and the app needs offline support, push notifications and an icon on the home screen. Choose Capacitor when you need a store listing or device features the browser doesn't expose, such as Bluetooth or NFC on iPhone.",[168,946,948],{"id":947},"does-nuxt-ssr-work-in-a-capacitor-app","Does Nuxt SSR work in a Capacitor app?",[13,950,951,952,954,955,957],{},"No. Capacitor loads static files from the device, so there is no server to render pages. Build the app with ",[136,953,138],{}," and ",[136,956,142],{},", and call your API on a hosted server instead of Nuxt server routes.",[168,959,961],{"id":960},"can-i-turn-my-existing-nuxt-site-into-a-mobile-app","Can I turn my existing Nuxt site into a mobile app?",[13,963,964],{},"Often, yes. Add a PWA manifest and service worker for the quickest route, or add Capacitor and a static build for a store app. The work is in the parts that assume a server: server routes, server-only data fetching and anything that reads cookies on the server.",[168,966,968],{"id":967},"is-nuxt-better-than-react-native-for-mobile","Is Nuxt better than React Native for mobile?",[13,970,971],{},"They solve different problems. React Native renders real platform UI components, while a Nuxt app inside Capacitor renders HTML in a WebView. Pick React Native for a mobile-first product, and Nuxt with Capacitor when you want to reuse a Vue web app on phones.",[168,973,975],{"id":974},"can-i-build-a-desktop-app-with-nuxt-electron","Can I build a desktop app with Nuxt Electron?",[13,977,978,979,981],{},"You can, but the nuxt-electron module was last released in December 2023 and targets Nuxt 3. Tauri 2 has an official Nuxt guide: it runs a static Nuxt build with ",[136,980,138],{}," in the system WebView instead of bundling Chromium like Electron does.",[983,984,985],"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 .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 .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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":196,"searchDepth":263,"depth":263,"links":987},[988,989,990,994,995,996,997,998,999],{"id":19,"depth":223,"text":20},{"id":121,"depth":223,"text":122},{"id":162,"depth":223,"text":163,"children":991},[992,993],{"id":170,"depth":263,"text":171},{"id":536,"depth":263,"text":537},{"id":549,"depth":223,"text":550},{"id":850,"depth":223,"text":851},{"id":874,"depth":223,"text":875},{"id":894,"depth":223,"text":895},{"id":912,"depth":223,"text":913},{"id":929,"depth":223,"text":930,"children":1000},[1001,1002,1003,1004,1005,1006],{"id":933,"depth":263,"text":934},{"id":940,"depth":263,"text":941},{"id":947,"depth":263,"text":948},{"id":960,"depth":263,"text":961},{"id":967,"depth":263,"text":968},{"id":974,"depth":263,"text":975},null,"2026-11-22","Yes, with limits. Compare a Nuxt PWA, Nuxt Capacitor and Nuxt Ionic, see the Nuxt 4 PWA setup, and learn when Nuxt is the wrong choice.","md",[1012,1013,1014,1016,1017,1018],{"question":934,"answer":937},{"question":941,"answer":944},{"question":948,"answer":1015},"No. Capacitor loads static files from the device, so there is no server to render pages. Build the app with ssr: false and nuxt generate, and call your API on a hosted server instead of Nuxt server routes.",{"question":961,"answer":964},{"question":968,"answer":971},{"question":975,"answer":1019},"You can, but the nuxt-electron module was last released in December 2023 and targets Nuxt 3. Tauri 2 has an official Nuxt guide: it runs a static Nuxt build with ssr: false in the system WebView instead of bundling Chromium like Electron does.",false,"\u002Fimages\u002Fblog\u002Fnuxt-mobile-app\u002Fcard.png",{},"\u002Fblog\u002Fnuxt-mobile-app","9 min read",{"title":5,"description":1009},"Nuxt Mobile App: Can You Build One With PWA or Capacitor?","blog\u002Fnuxt-mobile-app",[1029,1030],"Nuxt","Mobile","Db-qJF7phnvpZJdY56mKU4tWANr9IGuGalroZKR-DRc",1795349827133]