[{"data":1,"prerenderedAt":47009},["ShallowReactive",2],{"blog-list":3,"blog--":1008},[4,1034,2341,2825,3986,4638,5100,6221,8269,9258,10268,11039,11881,12940,13051,13754,14598,15027,15703,16734,17410,17690,18054,19018,20862,21698,22660,25602,26502,26749,28404,29823,31034,32162,32267,32362,36351,36923,37762,37858,38469,40549,40642,40726,40813,40926,41218,41344,41469,41571,42843,43073,43147,43215,43372,43631,43709,43761,43901,43988],{"id":5,"title":6,"articleType":7,"author":8,"authorSlug":9,"body":10,"cta":1008,"date":1009,"description":1010,"extension":1011,"faq":1012,"featured":1021,"image":1022,"meta":1023,"navigation":653,"noCtaBox":1021,"path":1024,"readTime":1025,"seo":1026,"seoTitle":1027,"stem":1028,"tags":1029,"topic":1032,"video":1008,"__hash__":1033},"blog\u002Fblog\u002Fnuxt-mobile-app.md","Can You Build a Mobile App With Nuxt?","TechArticle","Pavel Mironov","pavel-mironov",{"type":11,"value":12,"toc":987},"minimark",[13,17,22,25,120,124,133,161,165,168,173,184,191,222,228,511,535,539,542,545,548,552,555,569,607,612,738,743,801,814,835,846,849,853,864,867,873,877,883,893,897,900,903,911,915,928,932,936,939,943,946,950,959,963,966,970,973,977,983],[14,15,16],"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.",[18,19,21],"h2",{"id":20},"nuxt-mobile-app-the-short-answer","Nuxt Mobile App: The Short Answer",[14,23,24],{},"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.",[26,27,28,50],"table",{},[29,30,31],"thead",{},[32,33,34,38,41,44,47],"tr",{},[35,36,37],"th",{},"Option",[35,39,40],{},"Store listing",[35,42,43],{},"Device APIs",[35,45,46],{},"Code reuse from web",[35,48,49],{},"Effort",[51,52,53,71,88,104],"tbody",{},[32,54,55,59,62,65,68],{},[56,57,58],"td",{},"Nuxt PWA",[56,60,61],{},"No",[56,63,64],{},"Browser APIs only, fewer on iOS",[56,66,67],{},"Almost all",[56,69,70],{},"Low",[32,72,73,76,79,82,85],{},[56,74,75],{},"Nuxt + Capacitor",[56,77,78],{},"Yes",[56,80,81],{},"Yes, through plugins",[56,83,84],{},"Most",[56,86,87],{},"Medium",[32,89,90,93,95,98,101],{},[56,91,92],{},"Nuxt + Ionic",[56,94,78],{},[56,96,97],{},"Yes, through Capacitor",[56,99,100],{},"Logic yes, UI rewritten in Ionic components",[56,102,103],{},"Medium to high",[32,105,106,109,111,114,117],{},[56,107,108],{},"Native or React Native",[56,110,78],{},[56,112,113],{},"Full",[56,115,116],{},"Little to none",[56,118,119],{},"High",[18,121,123],{"id":122},"how-nuxt-fits-into-a-mobile-build","How Nuxt Fits Into a Mobile Build",[14,125,126,127,132],{},"On the web, Nuxt usually renders pages on a server. If you need a refresher on its rendering modes, see ",[128,129,131],"a",{"href":130},"\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.",[14,134,135,136,140,141,144,145,148,149,152,153,156,157,160],{},"So the mobile build is a client-rendered single-page app. Set ",[137,138,139],"code",{},"ssr: false"," and run ",[137,142,143],{},"nuxt generate",", and Nuxt writes an ",[137,146,147],{},"index.html"," entry point and a ",[137,150,151],{},"200.html"," fallback to ",[137,154,155],{},".output\u002Fpublic\u002F",". Your Vue components, composables, Pinia stores and routing all carry over. Server routes in ",[137,158,159],{},"server\u002Fapi"," don't: the app has to call an API hosted somewhere else.",[18,162,164],{"id":163},"option-1-nuxt-pwa","Option 1: Nuxt PWA",[14,166,167],{},"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.",[169,170,172],"h3",{"id":171},"nuxt-4-pwa-setup","Nuxt 4 PWA Setup",[14,174,175,176,179,180,183],{},"The module for a Nuxt 4 PWA is ",[137,177,178],{},"@vite-pwa\u002Fnuxt",". The old ",[137,181,182],{},"@nuxtjs\u002Fpwa"," was built for Nuxt 2 and is archived.",[185,186,187],"ol",{},[188,189,190],"li",{},"Install the module:",[192,193,198],"pre",{"className":194,"code":195,"language":196,"meta":197,"style":197},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx nuxi@latest module add @vite-pwa\u002Fnuxt\n","bash","",[137,199,200],{"__ignoreMap":197},[201,202,205,209,213,216,219],"span",{"class":203,"line":204},"line",1,[201,206,208],{"class":207},"sBMFI","npx",[201,210,212],{"class":211},"sfazB"," nuxi@latest",[201,214,215],{"class":211}," module",[201,217,218],{"class":211}," add",[201,220,221],{"class":211}," @vite-pwa\u002Fnuxt\n",[185,223,225],{"start":224},2,[188,226,227],{},"Add a manifest and an update strategy:",[192,229,233],{"className":230,"code":231,"language":232,"meta":197,"style":197},"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",[137,234,235,241,262,288,299,317,327,344,361,378,389,439,482,490,496,502],{"__ignoreMap":197},[201,236,237],{"class":203,"line":204},[201,238,240],{"class":239},"sHwdD","\u002F\u002F nuxt.config.ts\n",[201,242,243,247,250,254,258],{"class":203,"line":224},[201,244,246],{"class":245},"s7zQu","export",[201,248,249],{"class":245}," default",[201,251,253],{"class":252},"s2Zo4"," defineNuxtConfig",[201,255,257],{"class":256},"sTEyZ","(",[201,259,261],{"class":260},"sMK4o","{\n",[201,263,265,269,272,275,278,280,282,285],{"class":203,"line":264},3,[201,266,268],{"class":267},"swJcz","  modules",[201,270,271],{"class":260},":",[201,273,274],{"class":256}," [",[201,276,277],{"class":260},"'",[201,279,178],{"class":211},[201,281,277],{"class":260},[201,283,284],{"class":256},"]",[201,286,287],{"class":260},",\n",[201,289,291,294,296],{"class":203,"line":290},4,[201,292,293],{"class":267},"  pwa",[201,295,271],{"class":260},[201,297,298],{"class":260}," {\n",[201,300,302,305,307,310,313,315],{"class":203,"line":301},5,[201,303,304],{"class":267},"    registerType",[201,306,271],{"class":260},[201,308,309],{"class":260}," '",[201,311,312],{"class":211},"autoUpdate",[201,314,277],{"class":260},[201,316,287],{"class":260},[201,318,320,323,325],{"class":203,"line":319},6,[201,321,322],{"class":267},"    manifest",[201,324,271],{"class":260},[201,326,298],{"class":260},[201,328,330,333,335,337,340,342],{"class":203,"line":329},7,[201,331,332],{"class":267},"      name",[201,334,271],{"class":260},[201,336,309],{"class":260},[201,338,339],{"class":211},"Acme Field App",[201,341,277],{"class":260},[201,343,287],{"class":260},[201,345,347,350,352,354,357,359],{"class":203,"line":346},8,[201,348,349],{"class":267},"      short_name",[201,351,271],{"class":260},[201,353,309],{"class":260},[201,355,356],{"class":211},"Acme",[201,358,277],{"class":260},[201,360,287],{"class":260},[201,362,364,367,369,371,374,376],{"class":203,"line":363},9,[201,365,366],{"class":267},"      theme_color",[201,368,271],{"class":260},[201,370,309],{"class":260},[201,372,373],{"class":211},"#00DC82",[201,375,277],{"class":260},[201,377,287],{"class":260},[201,379,381,384,386],{"class":203,"line":380},10,[201,382,383],{"class":267},"      icons",[201,385,271],{"class":260},[201,387,388],{"class":256}," [\n",[201,390,392,395,398,400,402,405,407,410,413,415,417,420,422,424,427,429,431,434,436],{"class":203,"line":391},11,[201,393,394],{"class":260},"        {",[201,396,397],{"class":267}," src",[201,399,271],{"class":260},[201,401,309],{"class":260},[201,403,404],{"class":211},"\u002Fpwa-192.png",[201,406,277],{"class":260},[201,408,409],{"class":260},",",[201,411,412],{"class":267}," sizes",[201,414,271],{"class":260},[201,416,309],{"class":260},[201,418,419],{"class":211},"192x192",[201,421,277],{"class":260},[201,423,409],{"class":260},[201,425,426],{"class":267}," type",[201,428,271],{"class":260},[201,430,309],{"class":260},[201,432,433],{"class":211},"image\u002Fpng",[201,435,277],{"class":260},[201,437,438],{"class":260}," },\n",[201,440,442,444,446,448,450,453,455,457,459,461,463,466,468,470,472,474,476,478,480],{"class":203,"line":441},12,[201,443,394],{"class":260},[201,445,397],{"class":267},[201,447,271],{"class":260},[201,449,309],{"class":260},[201,451,452],{"class":211},"\u002Fpwa-512.png",[201,454,277],{"class":260},[201,456,409],{"class":260},[201,458,412],{"class":267},[201,460,271],{"class":260},[201,462,309],{"class":260},[201,464,465],{"class":211},"512x512",[201,467,277],{"class":260},[201,469,409],{"class":260},[201,471,426],{"class":267},[201,473,271],{"class":260},[201,475,309],{"class":260},[201,477,433],{"class":211},[201,479,277],{"class":260},[201,481,438],{"class":260},[201,483,485,488],{"class":203,"line":484},13,[201,486,487],{"class":256},"      ]",[201,489,287],{"class":260},[201,491,493],{"class":203,"line":492},14,[201,494,495],{"class":260},"    },\n",[201,497,499],{"class":203,"line":498},15,[201,500,501],{"class":260},"  },\n",[201,503,505,508],{"class":203,"line":504},16,[201,506,507],{"class":260},"}",[201,509,510],{"class":256},")\n",[185,512,513,528],{"start":264},[188,514,515,516,519,520,523,524,527],{},"Put ",[137,517,518],{},"\u003CNuxtPwaManifest \u002F>"," in ",[137,521,522],{},"app.vue",", above ",[137,525,526],{},"\u003CNuxtPage \u002F>",", so every page links the manifest.",[188,529,530,531,534],{},"Build and test the production output. In development the service worker is off unless you set ",[137,532,533],{},"devOptions: { enabled: true }",".",[169,536,538],{"id":537},"where-a-pwa-falls-short","Where a PWA Falls Short",[14,540,541],{},"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.",[14,543,544],{},"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.",[14,546,547],{},"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.",[18,549,551],{"id":550},"option-2-nuxt-capacitor","Option 2: Nuxt Capacitor",[14,553,554],{},"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.",[185,556,557,566],{},[188,558,559,560,519,562,565],{},"Set ",[137,561,139],{},[137,563,564],{},"nuxt.config.ts"," for the app build.",[188,567,568],{},"Install Capacitor and create its config:",[192,570,572],{"className":194,"code":571,"language":196,"meta":197,"style":197},"npm i @capacitor\u002Fcore\nnpm i -D @capacitor\u002Fcli\nnpx cap init\n",[137,573,574,585,597],{"__ignoreMap":197},[201,575,576,579,582],{"class":203,"line":204},[201,577,578],{"class":207},"npm",[201,580,581],{"class":211}," i",[201,583,584],{"class":211}," @capacitor\u002Fcore\n",[201,586,587,589,591,594],{"class":203,"line":224},[201,588,578],{"class":207},[201,590,581],{"class":211},[201,592,593],{"class":211}," -D",[201,595,596],{"class":211}," @capacitor\u002Fcli\n",[201,598,599,601,604],{"class":203,"line":264},[201,600,208],{"class":207},[201,602,603],{"class":211}," cap",[201,605,606],{"class":211}," init\n",[185,608,609],{"start":264},[188,610,611],{},"Point Capacitor at Nuxt's static output:",[192,613,615],{"className":230,"code":614,"language":232,"meta":197,"style":197},"\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",[137,616,617,622,649,655,673,689,704,720,725,729],{"__ignoreMap":197},[201,618,619],{"class":203,"line":204},[201,620,621],{"class":239},"\u002F\u002F capacitor.config.ts\n",[201,623,624,627,629,632,635,638,641,643,646],{"class":203,"line":224},[201,625,626],{"class":245},"import",[201,628,426],{"class":245},[201,630,631],{"class":260}," {",[201,633,634],{"class":256}," CapacitorConfig",[201,636,637],{"class":260}," }",[201,639,640],{"class":245}," from",[201,642,309],{"class":260},[201,644,645],{"class":211},"@capacitor\u002Fcli",[201,647,648],{"class":260},"'\n",[201,650,651],{"class":203,"line":264},[201,652,654],{"emptyLinePlaceholder":653},true,"\n",[201,656,657,661,664,666,668,671],{"class":203,"line":290},[201,658,660],{"class":659},"spNyl","const",[201,662,663],{"class":256}," config",[201,665,271],{"class":260},[201,667,634],{"class":207},[201,669,670],{"class":260}," =",[201,672,298],{"class":260},[201,674,675,678,680,682,685,687],{"class":203,"line":301},[201,676,677],{"class":267},"  appId",[201,679,271],{"class":260},[201,681,309],{"class":260},[201,683,684],{"class":211},"com.acme.fieldapp",[201,686,277],{"class":260},[201,688,287],{"class":260},[201,690,691,694,696,698,700,702],{"class":203,"line":319},[201,692,693],{"class":267},"  appName",[201,695,271],{"class":260},[201,697,309],{"class":260},[201,699,339],{"class":211},[201,701,277],{"class":260},[201,703,287],{"class":260},[201,705,706,709,711,713,716,718],{"class":203,"line":329},[201,707,708],{"class":267},"  webDir",[201,710,271],{"class":260},[201,712,309],{"class":260},[201,714,715],{"class":211},".output\u002Fpublic",[201,717,277],{"class":260},[201,719,287],{"class":260},[201,721,722],{"class":203,"line":346},[201,723,724],{"class":260},"}\n",[201,726,727],{"class":203,"line":363},[201,728,654],{"emptyLinePlaceholder":653},[201,730,731,733,735],{"class":203,"line":380},[201,732,246],{"class":245},[201,734,249],{"class":245},[201,736,737],{"class":256}," config\n",[185,739,740],{"start":290},[188,741,742],{},"Add the platforms, build and sync:",[192,744,746],{"className":194,"code":745,"language":196,"meta":197,"style":197},"npm i @capacitor\u002Fios @capacitor\u002Fandroid\nnpx cap add ios\nnpx cap add android\nnpx nuxi generate\nnpx cap sync\n",[137,747,748,760,771,782,792],{"__ignoreMap":197},[201,749,750,752,754,757],{"class":203,"line":204},[201,751,578],{"class":207},[201,753,581],{"class":211},[201,755,756],{"class":211}," @capacitor\u002Fios",[201,758,759],{"class":211}," @capacitor\u002Fandroid\n",[201,761,762,764,766,768],{"class":203,"line":224},[201,763,208],{"class":207},[201,765,603],{"class":211},[201,767,218],{"class":211},[201,769,770],{"class":211}," ios\n",[201,772,773,775,777,779],{"class":203,"line":264},[201,774,208],{"class":207},[201,776,603],{"class":211},[201,778,218],{"class":211},[201,780,781],{"class":211}," android\n",[201,783,784,786,789],{"class":203,"line":290},[201,785,208],{"class":207},[201,787,788],{"class":211}," nuxi",[201,790,791],{"class":211}," generate\n",[201,793,794,796,798],{"class":203,"line":301},[201,795,208],{"class":207},[201,797,603],{"class":211},[201,799,800],{"class":211}," sync\n",[185,802,803],{"start":301},[188,804,805,806,809,810,813],{},"Open the native project with ",[137,807,808],{},"npx cap open ios"," or ",[137,811,812],{},"npx cap open android"," and run it.",[14,815,816,817,820,821,824,825,827,828,830,831,834],{},"The trap is step 4. ",[137,818,819],{},"nuxt build"," produces a Node server in ",[137,822,823],{},".output\u002Fserver"," and doesn't write a static ",[137,826,715],{}," you can ship, so Capacitor has nothing to load. Use ",[137,829,143],{},", and run ",[137,832,833],{},"npx cap sync"," after every build.",[14,836,837,838,841,842,845],{},"Two more things save time. API calls need an absolute URL, because the app has no server of its own; keep the address in ",[137,839,840],{},"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 ",[137,843,844],{},"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.",[14,847,848],{},"Capacitor 8 needs Node 22 or later, Xcode 26 for iOS builds and a recent Android Studio.",[18,850,852],{"id":851},"option-3-nuxt-ionic","Option 3: Nuxt Ionic",[14,854,855,856,859,860,863],{},"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 ",[137,857,858],{},"@nuxtjs\u002Fionic"," module wires it into Nuxt. Nuxt Ionic auto-imports Ionic components and icons, connects Ionic's router to your ",[137,861,862],{},"pages\u002F"," folder, and sets up Capacitor.",[14,865,866],{},"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.",[14,868,869,870,872],{},"Two catches. The module's docs build with ",[137,871,139],{},", 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.",[18,874,876],{"id":875},"can-you-share-one-codebase-for-web-and-mobile","Can You Share One Codebase for Web and Mobile?",[14,878,879,880,882],{},"Yes, but not one build. The website wants server rendering for SEO and speed. The app needs ",[137,881,139],{}," and static files. That means two build configurations, and usually some code that only runs in one of them.",[14,884,885,889,890,892],{},[128,886,888],{"href":887},"\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 ",[137,891,139],{},", 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.",[18,894,896],{"id":895},"when-nuxt-is-the-wrong-choice-for-mobile","When Nuxt Is the Wrong Choice for Mobile",[14,898,899],{},"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.",[14,901,902],{},"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.",[14,904,905,906,910],{},"If you're unsure which side of the line your app falls on, our ",[128,907,909],{"href":908},"\u002Fservices\u002Fvue-js-consulting","Vue.js consulting"," team can review the requirements before you commit to a stack.",[18,912,914],{"id":913},"conclusion","Conclusion",[14,916,917,918,922,923,927],{},"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 ",[128,919,921],{"href":920},"\u002Fblog\u002Fepicmax-official-nuxt-partner","official Nuxt partner",", we can help you pick the route, and our ",[128,924,926],{"href":925},"\u002Fservices\u002Fnuxt-development","Nuxt development services"," cover the build.",[18,929,931],{"id":930},"faqs","FAQs",[169,933,935],{"id":934},"can-a-nuxt-app-go-on-the-app-store","Can a Nuxt app go on the App Store?",[14,937,938],{},"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.",[169,940,942],{"id":941},"is-a-pwa-enough-or-do-i-need-capacitor","Is a PWA enough, or do I need Capacitor?",[14,944,945],{},"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.",[169,947,949],{"id":948},"does-nuxt-ssr-work-in-a-capacitor-app","Does Nuxt SSR work in a Capacitor app?",[14,951,952,953,955,956,958],{},"No. Capacitor loads static files from the device, so there is no server to render pages. Build the app with ",[137,954,139],{}," and ",[137,957,143],{},", and call your API on a hosted server instead of Nuxt server routes.",[169,960,962],{"id":961},"can-i-turn-my-existing-nuxt-site-into-a-mobile-app","Can I turn my existing Nuxt site into a mobile app?",[14,964,965],{},"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.",[169,967,969],{"id":968},"is-nuxt-better-than-react-native-for-mobile","Is Nuxt better than React Native for mobile?",[14,971,972],{},"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.",[169,974,976],{"id":975},"can-i-build-a-desktop-app-with-nuxt-electron","Can I build a desktop app with Nuxt Electron?",[14,978,979,980,982],{},"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 ",[137,981,139],{}," in the system WebView instead of bundling Chromium like Electron does.",[984,985,986],"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":197,"searchDepth":264,"depth":264,"links":988},[989,990,991,995,996,997,998,999,1000],{"id":20,"depth":224,"text":21},{"id":122,"depth":224,"text":123},{"id":163,"depth":224,"text":164,"children":992},[993,994],{"id":171,"depth":264,"text":172},{"id":537,"depth":264,"text":538},{"id":550,"depth":224,"text":551},{"id":851,"depth":224,"text":852},{"id":875,"depth":224,"text":876},{"id":895,"depth":224,"text":896},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":1001},[1002,1003,1004,1005,1006,1007],{"id":934,"depth":264,"text":935},{"id":941,"depth":264,"text":942},{"id":948,"depth":264,"text":949},{"id":961,"depth":264,"text":962},{"id":968,"depth":264,"text":969},{"id":975,"depth":264,"text":976},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",[1013,1014,1015,1017,1018,1019],{"question":935,"answer":938},{"question":942,"answer":945},{"question":949,"answer":1016},"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":962,"answer":965},{"question":969,"answer":972},{"question":976,"answer":1020},"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":6,"description":1010},"Nuxt Mobile App: Can You Build One With PWA or Capacitor?","blog\u002Fnuxt-mobile-app",[1030,1031],"Nuxt","Mobile","guides","mTJwcXTuEIa6kmnDSdGJJkMppcmqUV1hXITg3jqhcDo",{"id":1035,"title":1036,"articleType":7,"author":8,"authorSlug":9,"body":1037,"cta":1008,"date":2316,"description":2317,"extension":1011,"faq":2318,"featured":1021,"image":2331,"meta":2332,"navigation":653,"noCtaBox":1021,"path":2333,"readTime":2334,"seo":2335,"seoTitle":1008,"stem":2336,"tags":2337,"topic":2339,"video":1008,"__hash__":2340},"blog\u002Fblog\u002Fnuxt-performance-optimization.md","Nuxt Performance Optimization: Best Practices and Tips",{"type":11,"value":1038,"toc":2290},[1039,1042,1046,1049,1146,1149,1153,1163,1166,1169,1177,1181,1196,1200,1211,1302,1316,1320,1331,1437,1448,1459,1463,1466,1540,1543,1654,1661,1665,1668,1672,1675,1690,1693,1697,1704,1765,1771,1789,1793,1796,1803,1807,1813,1947,1961,1967,1970,2049,2056,2169,2176,2180,2187,2198,2200,2203,2213,2215,2219,2226,2230,2233,2237,2244,2248,2251,2255,2263,2267,2275,2279,2287],[14,1040,1041],{},"Nuxt performance optimization is mostly about three things: images, JavaScript and how pages are rendered and cached. Nuxt has tools for all three, but most of them are opt-in. This guide puts the fixes in priority order, shows the code for each, and explains how to measure whether they worked. The examples target Nuxt 4.",[18,1043,1045],{"id":1044},"nuxt-performance-optimization-what-to-fix-first","Nuxt Performance Optimization: What to Fix First",[14,1047,1048],{},"Start your Nuxt performance optimization with the largest image above the fold, then cut the JavaScript the page ships, then cache what doesn't change per request. Those three hit LCP, INP and server response time hardest, and the first one is usually a one-line change.",[26,1050,1051,1063],{},[29,1052,1053],{},[32,1054,1055,1058,1061],{},[35,1056,1057],{},"Fix",[35,1059,1060],{},"Metric it helps",[35,1062,49],{},[51,1064,1065,1075,1085,1095,1106,1116,1126,1136],{},[32,1066,1067,1070,1073],{},[56,1068,1069],{},"Size and preload the LCP image",[56,1071,1072],{},"LCP",[56,1074,70],{},[32,1076,1077,1080,1083],{},[56,1078,1079],{},"Lazy load images below the fold",[56,1081,1082],{},"LCP, data usage",[56,1084,70],{},[32,1086,1087,1090,1093],{},[56,1088,1089],{},"Set width and height on images and embeds",[56,1091,1092],{},"CLS",[56,1094,70],{},[32,1096,1097,1100,1103],{},[56,1098,1099],{},"Prerender or cache pages that don't change per request",[56,1101,1102],{},"TTFB, LCP",[56,1104,1105],{},"Low to medium",[32,1107,1108,1111,1114],{},[56,1109,1110],{},"Trim data payloads",[56,1112,1113],{},"TTFB, hydration time",[56,1115,70],{},[32,1117,1118,1121,1124],{},[56,1119,1120],{},"Lazy load and lazy hydrate heavy components",[56,1122,1123],{},"INP, JS size",[56,1125,87],{},[32,1127,1128,1131,1134],{},[56,1129,1130],{},"Delay third-party scripts",[56,1132,1133],{},"INP, LCP",[56,1135,87],{},[32,1137,1138,1141,1144],{},[56,1139,1140],{},"Self-host fonts with fallback metrics",[56,1142,1143],{},"CLS, LCP",[56,1145,70],{},[14,1147,1148],{},"Do them in that order unless your measurements point somewhere else.",[18,1150,1152],{"id":1151},"how-to-measure-nuxt-performance","How to Measure Nuxt Performance",[14,1154,1155,1156,955,1159,1162],{},"Measure a production build, never the dev server. Run ",[137,1157,1158],{},"npx nuxt build",[137,1160,1161],{},"npx nuxt preview",", or test the deployed site.",[14,1164,1165],{},"For the real picture, open PageSpeed Insights. Its top section shows field data from Chrome users, and that's what Google ranks on. The targets are LCP under 2.5 seconds, INP under 200 milliseconds and CLS under 0.1, measured at the 75th percentile. The Lighthouse report below it is a lab test: useful for finding causes, not for proving a fix worked.",[14,1167,1168],{},"Inside Nuxt, DevTools has a Payload tab that shows how much data each page sends to the client, an opt-in Timeline for component and composable timings, and Build Analyze for comparing bundle reports between builds.",[14,1170,1171,1172,1176],{},"Most of what slows a Nuxt app down at runtime is Vue code, and the same tools apply. Our guide to ",[128,1173,1175],{"href":1174},"\u002Fblog\u002Fvue-js-performance","Vue.js performance optimization"," covers profiling, reactivity and rendering in depth.",[18,1178,1180],{"id":1179},"nuxt-image-optimization","Nuxt Image Optimization",[14,1182,1183,1184,955,1187,1190,1191,1195],{},"Images are the largest thing on most pages, so Nuxt image optimization usually moves LCP more than anything else. It also fixes a common layout shift: an image without dimensions pushes the content below it down when it loads. Set ",[137,1185,1186],{},"width",[137,1188,1189],{},"height"," on every image, and see ",[128,1192,1194],{"href":1193},"\u002Fblog\u002Fhow-to-fix-cls","how to fix CLS"," for the other causes.",[169,1197,1199],{"id":1198},"set-up-the-nuxt-image-optimizer","Set Up the Nuxt Image Optimizer",[14,1201,1202,1203,1206,1207,1210],{},"The Nuxt image optimizer is the ",[137,1204,1205],{},"@nuxt\u002Fimage"," module. Install it with ",[137,1208,1209],{},"npm i @nuxt\u002Fimage"," and add it to your config:",[192,1212,1214],{"className":230,"code":1213,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  modules: ['@nuxt\u002Fimage'],\n  image: {\n    quality: 80,\n    format: ['webp'],\n  },\n})\n",[137,1215,1216,1220,1232,1250,1259,1272,1292,1296],{"__ignoreMap":197},[201,1217,1218],{"class":203,"line":204},[201,1219,240],{"class":239},[201,1221,1222,1224,1226,1228,1230],{"class":203,"line":224},[201,1223,246],{"class":245},[201,1225,249],{"class":245},[201,1227,253],{"class":252},[201,1229,257],{"class":256},[201,1231,261],{"class":260},[201,1233,1234,1236,1238,1240,1242,1244,1246,1248],{"class":203,"line":264},[201,1235,268],{"class":267},[201,1237,271],{"class":260},[201,1239,274],{"class":256},[201,1241,277],{"class":260},[201,1243,1205],{"class":211},[201,1245,277],{"class":260},[201,1247,284],{"class":256},[201,1249,287],{"class":260},[201,1251,1252,1255,1257],{"class":203,"line":290},[201,1253,1254],{"class":267},"  image",[201,1256,271],{"class":260},[201,1258,298],{"class":260},[201,1260,1261,1264,1266,1270],{"class":203,"line":301},[201,1262,1263],{"class":267},"    quality",[201,1265,271],{"class":260},[201,1267,1269],{"class":1268},"sbssI"," 80",[201,1271,287],{"class":260},[201,1273,1274,1277,1279,1281,1283,1286,1288,1290],{"class":203,"line":319},[201,1275,1276],{"class":267},"    format",[201,1278,271],{"class":260},[201,1280,274],{"class":256},[201,1282,277],{"class":260},[201,1284,1285],{"class":211},"webp",[201,1287,277],{"class":260},[201,1289,284],{"class":256},[201,1291,287],{"class":260},[201,1293,1294],{"class":203,"line":329},[201,1295,501],{"class":260},[201,1297,1298,1300],{"class":203,"line":346},[201,1299,507],{"class":260},[201,1301,510],{"class":256},[14,1303,1304,1305,1308,1309,1312,1313,1315],{},"Then use ",[137,1306,1307],{},"\u003CNuxtImg>"," instead of ",[137,1310,1311],{},"\u003Cimg>",". By default it resizes and converts images with IPX on your own server. On a static build, ",[137,1314,143],{}," optimizes the images at build time and saves the results with the site. That's how this site runs: Nuxt Image with the default provider and prerendered pages. If you already use an image CDN, switch the provider and keep the same markup.",[169,1317,1319],{"id":1318},"use-modern-formats-and-responsive-sizes","Use Modern Formats and Responsive Sizes",[14,1321,1322,1323,1326,1327,1330],{},"Two props do most of the work. ",[137,1324,1325],{},"format"," picks the output format, and ",[137,1328,1329],{},"sizes"," makes the module generate several widths so phones don't download desktop images:",[192,1332,1336],{"className":1333,"code":1334,"language":1335,"meta":197,"style":197},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CNuxtImg\n  src=\"\u002Fimages\u002Fteam.jpg\"\n  width=\"800\"\n  height=\"533\"\n  sizes=\"100vw sm:50vw md:400px\"\n  format=\"webp\"\n  alt=\"The team at work\"\n\u002F>\n","vue",[137,1337,1338,1346,1363,1377,1391,1405,1418,1432],{"__ignoreMap":197},[201,1339,1340,1343],{"class":203,"line":204},[201,1341,1342],{"class":260},"\u003C",[201,1344,1345],{"class":267},"NuxtImg\n",[201,1347,1348,1351,1354,1357,1360],{"class":203,"line":224},[201,1349,1350],{"class":659},"  src",[201,1352,1353],{"class":260},"=",[201,1355,1356],{"class":260},"\"",[201,1358,1359],{"class":211},"\u002Fimages\u002Fteam.jpg",[201,1361,1362],{"class":260},"\"\n",[201,1364,1365,1368,1370,1372,1375],{"class":203,"line":264},[201,1366,1367],{"class":659},"  width",[201,1369,1353],{"class":260},[201,1371,1356],{"class":260},[201,1373,1374],{"class":211},"800",[201,1376,1362],{"class":260},[201,1378,1379,1382,1384,1386,1389],{"class":203,"line":290},[201,1380,1381],{"class":659},"  height",[201,1383,1353],{"class":260},[201,1385,1356],{"class":260},[201,1387,1388],{"class":211},"533",[201,1390,1362],{"class":260},[201,1392,1393,1396,1398,1400,1403],{"class":203,"line":301},[201,1394,1395],{"class":659},"  sizes",[201,1397,1353],{"class":260},[201,1399,1356],{"class":260},[201,1401,1402],{"class":211},"100vw sm:50vw md:400px",[201,1404,1362],{"class":260},[201,1406,1407,1410,1412,1414,1416],{"class":203,"line":319},[201,1408,1409],{"class":659},"  format",[201,1411,1353],{"class":260},[201,1413,1356],{"class":260},[201,1415,1285],{"class":211},[201,1417,1362],{"class":260},[201,1419,1420,1423,1425,1427,1430],{"class":203,"line":329},[201,1421,1422],{"class":659},"  alt",[201,1424,1353],{"class":260},[201,1426,1356],{"class":260},[201,1428,1429],{"class":211},"The team at work",[201,1431,1362],{"class":260},[201,1433,1434],{"class":203,"line":346},[201,1435,1436],{"class":256},"\u002F>\n",[14,1438,1439,1440,1443,1444,1447],{},"For AVIF with a fallback, use ",[137,1441,1442],{},"\u003CNuxtPicture format=\"avif,webp\">",". It outputs a ",[137,1445,1446],{},"\u003Cpicture>"," element with both formats and adds a JPEG or PNG fallback for older browsers.",[14,1449,1450,1451,1454,1455,1458],{},"Two smaller props are worth knowing. ",[137,1452,1453],{},"densities=\"x1 x2\""," serves sharper files to high-density screens without sending them to everyone else. ",[137,1456,1457],{},"quality"," trades file size against detail; 75 to 85 is a common range for photos, and this site uses 85 as its default.",[169,1460,1462],{"id":1461},"nuxt-image-lazy-loading","Nuxt Image Lazy Loading",[14,1464,1465],{},"Nuxt image lazy loading isn't on by default. With Nuxt Image, you can lazy load anything below the fold by adding one attribute:",[192,1467,1469],{"className":1333,"code":1468,"language":1335,"meta":197,"style":197},"\u003CNuxtImg src=\"\u002Fimages\u002Foffice.jpg\" width=\"600\" height=\"400\" loading=\"lazy\" alt=\"Our office\" \u002F>\n",[137,1470,1471],{"__ignoreMap":197},[201,1472,1473,1475,1478,1480,1482,1484,1487,1489,1492,1494,1496,1499,1501,1504,1506,1508,1511,1513,1516,1518,1520,1523,1525,1528,1530,1532,1535,1537],{"class":203,"line":204},[201,1474,1342],{"class":260},[201,1476,1477],{"class":267},"NuxtImg",[201,1479,397],{"class":659},[201,1481,1353],{"class":260},[201,1483,1356],{"class":260},[201,1485,1486],{"class":211},"\u002Fimages\u002Foffice.jpg",[201,1488,1356],{"class":260},[201,1490,1491],{"class":659}," width",[201,1493,1353],{"class":260},[201,1495,1356],{"class":260},[201,1497,1498],{"class":211},"600",[201,1500,1356],{"class":260},[201,1502,1503],{"class":659}," height",[201,1505,1353],{"class":260},[201,1507,1356],{"class":260},[201,1509,1510],{"class":211},"400",[201,1512,1356],{"class":260},[201,1514,1515],{"class":659}," loading",[201,1517,1353],{"class":260},[201,1519,1356],{"class":260},[201,1521,1522],{"class":211},"lazy",[201,1524,1356],{"class":260},[201,1526,1527],{"class":659}," alt",[201,1529,1353],{"class":260},[201,1531,1356],{"class":260},[201,1533,1534],{"class":211},"Our office",[201,1536,1356],{"class":260},[201,1538,1539],{"class":260}," \u002F>\n",[14,1541,1542],{},"Don't do this for the LCP image, the largest one in the first screen. Lazy loading it delays your most important metric. Preload it instead, with a high fetch priority:",[192,1544,1546],{"className":1333,"code":1545,"language":1335,"meta":197,"style":197},"\u003CNuxtImg\n  src=\"\u002Fimages\u002Fhero.jpg\"\n  width=\"1200\"\n  height=\"630\"\n  sizes=\"100vw lg:1200px\"\n  :preload=\"{ fetchPriority: 'high' }\"\n  alt=\"Product dashboard\"\n\u002F>\n",[137,1547,1548,1554,1567,1580,1593,1606,1637,1650],{"__ignoreMap":197},[201,1549,1550,1552],{"class":203,"line":204},[201,1551,1342],{"class":260},[201,1553,1345],{"class":267},[201,1555,1556,1558,1560,1562,1565],{"class":203,"line":224},[201,1557,1350],{"class":659},[201,1559,1353],{"class":260},[201,1561,1356],{"class":260},[201,1563,1564],{"class":211},"\u002Fimages\u002Fhero.jpg",[201,1566,1362],{"class":260},[201,1568,1569,1571,1573,1575,1578],{"class":203,"line":264},[201,1570,1367],{"class":659},[201,1572,1353],{"class":260},[201,1574,1356],{"class":260},[201,1576,1577],{"class":211},"1200",[201,1579,1362],{"class":260},[201,1581,1582,1584,1586,1588,1591],{"class":203,"line":290},[201,1583,1381],{"class":659},[201,1585,1353],{"class":260},[201,1587,1356],{"class":260},[201,1589,1590],{"class":211},"630",[201,1592,1362],{"class":260},[201,1594,1595,1597,1599,1601,1604],{"class":203,"line":301},[201,1596,1395],{"class":659},[201,1598,1353],{"class":260},[201,1600,1356],{"class":260},[201,1602,1603],{"class":211},"100vw lg:1200px",[201,1605,1362],{"class":260},[201,1607,1608,1611,1614,1616,1618,1621,1624,1626,1628,1631,1633,1635],{"class":203,"line":319},[201,1609,1610],{"class":260},"  :",[201,1612,1613],{"class":659},"preload",[201,1615,1353],{"class":260},[201,1617,1356],{"class":260},[201,1619,1620],{"class":260},"{",[201,1622,1623],{"class":267}," fetchPriority",[201,1625,271],{"class":260},[201,1627,309],{"class":260},[201,1629,1630],{"class":211},"high",[201,1632,277],{"class":260},[201,1634,637],{"class":260},[201,1636,1362],{"class":260},[201,1638,1639,1641,1643,1645,1648],{"class":203,"line":329},[201,1640,1422],{"class":659},[201,1642,1353],{"class":260},[201,1644,1356],{"class":260},[201,1646,1647],{"class":211},"Product dashboard",[201,1649,1362],{"class":260},[201,1651,1652],{"class":203,"line":346},[201,1653,1436],{"class":256},[14,1655,1656,1657,1660],{},"This adds a ",[137,1658,1659],{},"\u003Clink rel=\"preload\">"," to the page head, so the browser starts the download before it reaches the image in the HTML.",[18,1662,1664],{"id":1663},"how-to-reduce-javascript-in-nuxt","How to Reduce JavaScript in Nuxt",[14,1666,1667],{},"JavaScript has to be downloaded, parsed and run, and while the main thread is busy with it, clicks and taps wait. That wait is what INP measures.",[169,1669,1671],{"id":1670},"analyze-the-bundle","Analyze the Bundle",[14,1673,1674],{},"Start by looking:",[192,1676,1678],{"className":194,"code":1677,"language":196,"meta":197,"style":197},"npx nuxt analyze\n",[137,1679,1680],{"__ignoreMap":197},[201,1681,1682,1684,1687],{"class":203,"line":204},[201,1683,208],{"class":207},[201,1685,1686],{"class":211}," nuxt",[201,1688,1689],{"class":211}," analyze\n",[14,1691,1692],{},"It builds the app and opens reports for the client and server bundles, with every dependency drawn to scale. Look for large libraries pulled into the entry chunk, full builds of date or chart libraries where a smaller import would do, and the same package bundled twice in different versions.",[169,1694,1696],{"id":1695},"lazy-components-and-lazy-hydration","Lazy Components and Lazy Hydration",[14,1698,1699,1700,1703],{},"Add the ",[137,1701,1702],{},"Lazy"," prefix to any component and Nuxt loads its code only when it renders. Since Nuxt 3.16 you can also delay hydration, so server-rendered HTML shows straight away but the component's JavaScript runs later:",[192,1705,1707],{"className":1333,"code":1706,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CLazyProductReviews hydrate-on-visible \u002F>\n  \u003CLazyNewsletterForm hydrate-on-interaction \u002F>\n  \u003CLazyRelatedPosts hydrate-on-idle \u002F>\n\u003C\u002Ftemplate>\n",[137,1708,1709,1719,1732,1744,1756],{"__ignoreMap":197},[201,1710,1711,1713,1716],{"class":203,"line":204},[201,1712,1342],{"class":260},[201,1714,1715],{"class":267},"template",[201,1717,1718],{"class":260},">\n",[201,1720,1721,1724,1727,1730],{"class":203,"line":224},[201,1722,1723],{"class":260},"  \u003C",[201,1725,1726],{"class":267},"LazyProductReviews",[201,1728,1729],{"class":659}," hydrate-on-visible",[201,1731,1539],{"class":260},[201,1733,1734,1736,1739,1742],{"class":203,"line":264},[201,1735,1723],{"class":260},[201,1737,1738],{"class":267},"LazyNewsletterForm",[201,1740,1741],{"class":659}," hydrate-on-interaction",[201,1743,1539],{"class":260},[201,1745,1746,1748,1751,1754],{"class":203,"line":290},[201,1747,1723],{"class":260},[201,1749,1750],{"class":267},"LazyRelatedPosts",[201,1752,1753],{"class":659}," hydrate-on-idle",[201,1755,1539],{"class":260},[201,1757,1758,1761,1763],{"class":203,"line":301},[201,1759,1760],{"class":260},"\u003C\u002F",[201,1762,1715],{"class":267},[201,1764,1718],{"class":260},[14,1766,1767,1768,1770],{},"The two do different jobs. ",[137,1769,1702],{}," splits the component's code into its own chunk, while the hydration props decide when that code runs on a server-rendered page.",[14,1772,1773,1776,1777,1780,1781,1784,1785,1788],{},[137,1774,1775],{},"hydrate-on-visible"," waits until the component scrolls into view, ",[137,1778,1779],{},"hydrate-on-interaction"," waits for a click, focus or hover, and ",[137,1782,1783],{},"hydrate-on-idle"," waits until the browser has nothing else to do. There's also ",[137,1786,1787],{},"hydrate-never"," for static blocks that never need JavaScript. A good rule: anything below the fold that isn't needed for the first interaction can wait.",[169,1790,1792],{"id":1791},"nuxt-minify-js-what-the-build-already-does","Nuxt Minify JS: What the Build Already Does",[14,1794,1795],{},"You don't need a plugin for Nuxt minify JS. A production build already minifies JavaScript and CSS, removes unused exports, and splits code so each page loads its own chunk. On Nuxt 4.5 and later, which build with Vite 8, the JavaScript minifier is Oxc and CSS goes through Lightning CSS.",[14,1797,1798,1799,1802],{},"What's left is up to you. Minification can't remove a library you import but barely use, code that runs on every page from a global plugin, or a component imported eagerly when it's needed on one route. Those are what ",[137,1800,1801],{},"nuxt analyze"," is for.",[18,1804,1806],{"id":1805},"nuxt-js-performance-optimization-rendering-and-caching","Nuxt JS Performance Optimization: Rendering and Caching",[14,1808,1809,1810,1812],{},"The biggest Nuxt JS performance optimization is often not rendering the same page twice. If you're new to Nuxt's rendering modes, ",[128,1811,131],{"href":130}," explains them. Route rules let you choose per path:",[192,1814,1816],{"className":230,"code":1815,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  routeRules: {\n    '\u002F': { prerender: true },\n    '\u002Fblog\u002F**': { swr: 3600 },\n    '\u002Fproducts\u002F**': { isr: 600 },\n    '\u002Fdashboard\u002F**': { ssr: false },\n  },\n})\n",[137,1817,1818,1822,1834,1843,1868,1891,1914,1937,1941],{"__ignoreMap":197},[201,1819,1820],{"class":203,"line":204},[201,1821,240],{"class":239},[201,1823,1824,1826,1828,1830,1832],{"class":203,"line":224},[201,1825,246],{"class":245},[201,1827,249],{"class":245},[201,1829,253],{"class":252},[201,1831,257],{"class":256},[201,1833,261],{"class":260},[201,1835,1836,1839,1841],{"class":203,"line":264},[201,1837,1838],{"class":267},"  routeRules",[201,1840,271],{"class":260},[201,1842,298],{"class":260},[201,1844,1845,1848,1851,1853,1855,1857,1860,1862,1866],{"class":203,"line":290},[201,1846,1847],{"class":260},"    '",[201,1849,1850],{"class":267},"\u002F",[201,1852,277],{"class":260},[201,1854,271],{"class":260},[201,1856,631],{"class":260},[201,1858,1859],{"class":267}," prerender",[201,1861,271],{"class":260},[201,1863,1865],{"class":1864},"sfNiH"," true",[201,1867,438],{"class":260},[201,1869,1870,1872,1875,1877,1879,1881,1884,1886,1889],{"class":203,"line":301},[201,1871,1847],{"class":260},[201,1873,1874],{"class":267},"\u002Fblog\u002F**",[201,1876,277],{"class":260},[201,1878,271],{"class":260},[201,1880,631],{"class":260},[201,1882,1883],{"class":267}," swr",[201,1885,271],{"class":260},[201,1887,1888],{"class":1268}," 3600",[201,1890,438],{"class":260},[201,1892,1893,1895,1898,1900,1902,1904,1907,1909,1912],{"class":203,"line":319},[201,1894,1847],{"class":260},[201,1896,1897],{"class":267},"\u002Fproducts\u002F**",[201,1899,277],{"class":260},[201,1901,271],{"class":260},[201,1903,631],{"class":260},[201,1905,1906],{"class":267}," isr",[201,1908,271],{"class":260},[201,1910,1911],{"class":1268}," 600",[201,1913,438],{"class":260},[201,1915,1916,1918,1921,1923,1925,1927,1930,1932,1935],{"class":203,"line":329},[201,1917,1847],{"class":260},[201,1919,1920],{"class":267},"\u002Fdashboard\u002F**",[201,1922,277],{"class":260},[201,1924,271],{"class":260},[201,1926,631],{"class":260},[201,1928,1929],{"class":267}," ssr",[201,1931,271],{"class":260},[201,1933,1934],{"class":1864}," false",[201,1936,438],{"class":260},[201,1938,1939],{"class":203,"line":346},[201,1940,501],{"class":260},[201,1942,1943,1945],{"class":203,"line":363},[201,1944,507],{"class":260},[201,1946,510],{"class":256},[14,1948,1949,1950,1953,1954,1957,1958,1960],{},"Prerendered pages are built once and served as files. ",[137,1951,1952],{},"swr"," caches the server response and refreshes it in the background after an hour. ",[137,1955,1956],{},"isr"," does the same on the CDN, on hosts that support it, such as Vercel and Netlify. ",[137,1959,139],{}," turns a section into a client-rendered app, which is fine behind a login and costly anywhere search engines or first-time visitors land.",[14,1962,1963,1964,1966],{},"Prerendering is the fastest option when it fits. This site prerenders every page with ",[137,1965,143],{},", so each request is a static file from the CDN with no server work at all. It fits any page whose content changes on publish rather than per visitor.",[14,1968,1969],{},"Slow APIs can be cached on the server too:",[192,1971,1973],{"className":230,"code":1972,"language":232,"meta":197,"style":197},"\u002F\u002F server\u002Fapi\u002Fproducts.get.ts\nexport default defineCachedEventHandler(async () => {\n  return await $fetch('https:\u002F\u002Fapi.example.com\u002Fproducts')\n}, { maxAge: 60 * 10 })\n",[137,1974,1975,1980,2002,2024],{"__ignoreMap":197},[201,1976,1977],{"class":203,"line":204},[201,1978,1979],{"class":239},"\u002F\u002F server\u002Fapi\u002Fproducts.get.ts\n",[201,1981,1982,1984,1986,1989,1991,1994,1997,2000],{"class":203,"line":224},[201,1983,246],{"class":245},[201,1985,249],{"class":245},[201,1987,1988],{"class":252}," defineCachedEventHandler",[201,1990,257],{"class":256},[201,1992,1993],{"class":659},"async",[201,1995,1996],{"class":260}," ()",[201,1998,1999],{"class":659}," =>",[201,2001,298],{"class":260},[201,2003,2004,2007,2010,2013,2015,2017,2020,2022],{"class":203,"line":264},[201,2005,2006],{"class":245},"  return",[201,2008,2009],{"class":245}," await",[201,2011,2012],{"class":252}," $fetch",[201,2014,257],{"class":267},[201,2016,277],{"class":260},[201,2018,2019],{"class":211},"https:\u002F\u002Fapi.example.com\u002Fproducts",[201,2021,277],{"class":260},[201,2023,510],{"class":267},[201,2025,2026,2029,2031,2034,2036,2039,2042,2045,2047],{"class":203,"line":290},[201,2027,2028],{"class":260},"},",[201,2030,631],{"class":260},[201,2032,2033],{"class":267}," maxAge",[201,2035,271],{"class":260},[201,2037,2038],{"class":1268}," 60",[201,2040,2041],{"class":260}," *",[201,2043,2044],{"class":1268}," 10",[201,2046,637],{"class":260},[201,2048,510],{"class":256},[14,2050,2051,2052,2055],{},"Last, watch the payload. Whatever ",[137,2053,2054],{},"useFetch"," returns on the server is serialized into the page for hydration, so send only what the template uses:",[192,2057,2059],{"className":230,"code":2058,"language":232,"meta":197,"style":197},"const { data: products } = await useFetch('\u002Fapi\u002Fproducts', {\n  transform: items => items.map(({ id, title, price }) => ({ id, title, price })),\n})\n",[137,2060,2061,2097,2163],{"__ignoreMap":197},[201,2062,2063,2065,2067,2070,2072,2075,2077,2079,2081,2084,2086,2088,2091,2093,2095],{"class":203,"line":204},[201,2064,660],{"class":659},[201,2066,631],{"class":260},[201,2068,2069],{"class":267}," data",[201,2071,271],{"class":260},[201,2073,2074],{"class":256}," products ",[201,2076,507],{"class":260},[201,2078,670],{"class":260},[201,2080,2009],{"class":245},[201,2082,2083],{"class":252}," useFetch",[201,2085,257],{"class":256},[201,2087,277],{"class":260},[201,2089,2090],{"class":211},"\u002Fapi\u002Fproducts",[201,2092,277],{"class":260},[201,2094,409],{"class":260},[201,2096,298],{"class":260},[201,2098,2099,2102,2104,2108,2110,2112,2114,2117,2119,2122,2125,2127,2130,2132,2135,2138,2140,2143,2145,2147,2149,2151,2153,2156,2158,2161],{"class":203,"line":224},[201,2100,2101],{"class":252},"  transform",[201,2103,271],{"class":260},[201,2105,2107],{"class":2106},"sHdIc"," items",[201,2109,1999],{"class":659},[201,2111,2107],{"class":256},[201,2113,534],{"class":260},[201,2115,2116],{"class":252},"map",[201,2118,257],{"class":256},[201,2120,2121],{"class":260},"({",[201,2123,2124],{"class":2106}," id",[201,2126,409],{"class":260},[201,2128,2129],{"class":2106}," title",[201,2131,409],{"class":260},[201,2133,2134],{"class":2106}," price",[201,2136,2137],{"class":260}," })",[201,2139,1999],{"class":659},[201,2141,2142],{"class":256}," (",[201,2144,1620],{"class":260},[201,2146,2124],{"class":256},[201,2148,409],{"class":260},[201,2150,2129],{"class":256},[201,2152,409],{"class":260},[201,2154,2155],{"class":256}," price ",[201,2157,507],{"class":260},[201,2159,2160],{"class":256},"))",[201,2162,287],{"class":260},[201,2164,2165,2167],{"class":203,"line":264},[201,2166,507],{"class":260},[201,2168,510],{"class":256},[14,2170,2171,2172,2175],{},"For a single object, the ",[137,2173,2174],{},"pick"," option does the same with a list of keys. Nuxt 4.6 also warns in development when a page's payload goes over 100 kB.",[18,2177,2179],{"id":2178},"fonts-and-third-party-scripts","Fonts and Third-Party Scripts",[14,2181,2182,2183,2186],{},"Web fonts delay text and shift the layout when they swap in. The ",[137,2184,2185],{},"@nuxt\u002Ffonts"," module downloads fonts at build time, serves them from your own domain with long cache headers, and generates a fallback font sized to match, so the swap barely moves anything. We use it on this site for Manrope.",[14,2188,2189,2190,2193,2194,2197],{},"Third-party scripts such as analytics, chat and video embeds are often the heaviest JavaScript on a page, and you don't control them. ",[137,2191,2192],{},"@nuxt\u002Fscripts"," loads them after hydration by default, can wait for cookie consent or for an element to scroll into view, and ships facade components. ",[137,2195,2196],{},"\u003CScriptYouTubePlayer>"," shows a thumbnail and loads the YouTube player only when someone interacts with it.",[18,2199,914],{"id":913},[14,2201,2202],{},"Check field data first, then work down the list: the LCP image, JavaScript, caching, fonts and scripts. Re-measure after each step, not at the end, so you know which fix did the work.",[14,2204,2205,2206,2210,2211,534],{},"If your scores still won't move, our ",[128,2207,2209],{"href":2208},"\u002Fservices\u002Ffrontend-performance","Vue and Nuxt performance optimization services"," find the bottlenecks, rank them by expected impact and implement the fixes in your codebase. For new builds and upgrades, see our ",[128,2212,926],{"href":925},[18,2214,931],{"id":930},[169,2216,2218],{"id":2217},"does-nuxt-image-lazy-load-by-default","Does Nuxt Image lazy load by default?",[14,2220,2221,2222,2225],{},"No. NuxtImg renders a normal img tag, and you opt in with ",[137,2223,2224],{},"loading=\"lazy\"",". That's deliberate, because the largest image above the fold should load as early as possible, not wait for the browser to decide it's visible.",[169,2227,2229],{"id":2228},"does-nuxt-image-work-with-a-cdn","Does Nuxt Image work with a CDN?",[14,2231,2232],{},"Yes. Nuxt Image ships with providers for more than 40 image services and CDNs, including Cloudinary, Cloudflare, imgix, Vercel and Netlify, and it detects Vercel, Netlify and AWS Amplify automatically. You keep the same NuxtImg markup and the provider builds the URLs.",[169,2234,2236],{"id":2235},"how-do-i-reduce-nuxt-bundle-size","How do I reduce Nuxt bundle size?",[14,2238,2239,2240,2243],{},"Run ",[137,2241,2242],{},"npx nuxt analyze"," to see what's in each chunk, then replace or lazy-load the biggest dependencies. Use Lazy components and lazy hydration for anything below the fold, and load third-party scripts through Nuxt Scripts instead of plugins.",[169,2245,2247],{"id":2246},"does-ssr-make-a-nuxt-app-faster","Does SSR make a Nuxt app faster?",[14,2249,2250],{},"It makes the first view faster, because the browser gets finished HTML instead of an empty page and a bundle to run. It doesn't make interactions faster, and a slow server can cancel the gain, so cache or prerender pages where you can.",[169,2252,2254],{"id":2253},"is-nuxt-faster-than-plain-vue","Is Nuxt faster than plain Vue?",[14,2256,2257,2258,2262],{},"For public pages, usually yes on first load, because Nuxt sends server-rendered or prerendered HTML while a plain Vue SPA renders in the browser. After that both run the same Vue runtime, so interaction speed depends on your code, not the framework. Our ",[128,2259,2261],{"href":2260},"\u002Fblog\u002Fnuxt-vs-vue","Nuxt vs Vue"," comparison covers the rest of the difference.",[169,2264,2266],{"id":2265},"does-upgrading-to-nuxt-4-improve-performance","Does upgrading to Nuxt 4 improve performance?",[14,2268,2269,2270,2274],{},"Mostly in development: Nuxt 4 starts faster and shares data between components that use the same key. Production speed depends more on your images, JavaScript and caching. The stronger reason to upgrade is support, since Nuxt 3 reached end of life on 31 July 2026. Our ",[128,2271,2273],{"href":2272},"\u002Fblog\u002Fnuxt4-migration","Nuxt 4 migration guide"," walks through the changes.",[169,2276,2278],{"id":2277},"when-does-a-nuxt-app-need-a-performance-audit","When does a Nuxt app need a performance audit?",[14,2280,2281,2282,2286],{},"When Core Web Vitals fail in field data, when conversion drops on mobile, or before a big redesign or migration. An audit is also worth it when the team has tried the obvious fixes and scores still don't move. Our ",[128,2283,2285],{"href":2284},"\u002Fservices\u002Fcode-audit","Vue and Nuxt code audit"," covers performance alongside code quality.",[984,2288,2289],{},"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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}",{"title":197,"searchDepth":264,"depth":264,"links":2291},[2292,2293,2294,2299,2304,2305,2306,2307],{"id":1044,"depth":224,"text":1045},{"id":1151,"depth":224,"text":1152},{"id":1179,"depth":224,"text":1180,"children":2295},[2296,2297,2298],{"id":1198,"depth":264,"text":1199},{"id":1318,"depth":264,"text":1319},{"id":1461,"depth":264,"text":1462},{"id":1663,"depth":224,"text":1664,"children":2300},[2301,2302,2303],{"id":1670,"depth":264,"text":1671},{"id":1695,"depth":264,"text":1696},{"id":1791,"depth":264,"text":1792},{"id":1805,"depth":224,"text":1806},{"id":2178,"depth":224,"text":2179},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":2308},[2309,2310,2311,2312,2313,2314,2315],{"id":2217,"depth":264,"text":2218},{"id":2228,"depth":264,"text":2229},{"id":2235,"depth":264,"text":2236},{"id":2246,"depth":264,"text":2247},{"id":2253,"depth":264,"text":2254},{"id":2265,"depth":264,"text":2266},{"id":2277,"depth":264,"text":2278},"2026-11-20","Nuxt JS performance optimization tips: Nuxt Image optimization and lazy loading, bundle size, minifying JS, caching, and how to measure it.",[2319,2321,2322,2324,2325,2327,2329],{"question":2218,"answer":2320},"No. NuxtImg renders a normal img tag, and you opt in with loading=\"lazy\". That's deliberate, because the largest image above the fold should load as early as possible, not wait for the browser to decide it's visible.",{"question":2229,"answer":2232},{"question":2236,"answer":2323},"Run npx nuxt analyze to see what's in each chunk, then replace or lazy-load the biggest dependencies. Use Lazy components and lazy hydration for anything below the fold, and load third-party scripts through Nuxt Scripts instead of plugins.",{"question":2247,"answer":2250},{"question":2254,"answer":2326},"For public pages, usually yes on first load, because Nuxt sends server-rendered or prerendered HTML while a plain Vue SPA renders in the browser. After that both run the same Vue runtime, so interaction speed depends on your code, not the framework. Our Nuxt vs Vue comparison covers the rest of the difference.",{"question":2266,"answer":2328},"Mostly in development: Nuxt 4 starts faster and shares data between components that use the same key. Production speed depends more on your images, JavaScript and caching. The stronger reason to upgrade is support, since Nuxt 3 reached end of life on 31 July 2026. Our Nuxt 4 migration guide walks through the changes.",{"question":2278,"answer":2330},"When Core Web Vitals fail in field data, when conversion drops on mobile, or before a big redesign or migration. An audit is also worth it when the team has tried the obvious fixes and scores still don't move. Our Vue and Nuxt code audit covers performance alongside code quality.","\u002Fimages\u002Fblog\u002Fnuxt-performance-optimization\u002Fcard.png",{},"\u002Fblog\u002Fnuxt-performance-optimization","10 min read",{"title":1036,"description":2317},"blog\u002Fnuxt-performance-optimization",[1030,2338],"Performance","seo-performance","ah6rCTHF7tze2i_fd04nt4Nkb6PBBQlhkqGLND2vDFs",{"id":2342,"title":2343,"articleType":7,"author":8,"authorSlug":9,"body":2344,"cta":1008,"date":2806,"description":2807,"extension":1011,"faq":2808,"featured":1021,"image":2815,"meta":2816,"navigation":653,"noCtaBox":1021,"path":2817,"readTime":2334,"seo":2818,"seoTitle":2819,"stem":2820,"tags":2821,"topic":2823,"video":1008,"__hash__":2824},"blog\u002Fblog\u002Fnuxt-alternatives.md","Nuxt Alternatives: 7 Frameworks Compared",{"type":11,"value":2345,"toc":2783},[2346,2349,2353,2356,2404,2510,2514,2519,2522,2525,2529,2532,2536,2539,2545,2564,2568,2571,2574,2579,2589,2593,2600,2603,2608,2613,2617,2620,2625,2630,2634,2641,2646,2656,2660,2671,2676,2684,2688,2691,2694,2699,2704,2708,2711,2722,2725,2727,2730,2739,2741,2745,2748,2752,2755,2759,2762,2766,2769,2773,2776,2780],[14,2347,2348],{},"Teams look for Nuxt alternatives for good reasons: a React hiring plan, a content site that ships too much JavaScript, or a PHP backend that already renders pages. This guide compares seven of them, from Next.js and SvelteKit to plain Vue with Vite. For each one we cover what it is, who it suits and where Nuxt still wins. We're a Nuxt partner, so we also say when staying put is the smarter move.",[18,2350,2352],{"id":2351},"whats-the-best-alternative-to-nuxt","What's the Best Alternative to Nuxt?",[14,2354,2355],{},"What's the best alternative to Nuxt? It depends on why you're leaving. Pick by the need, not by the benchmark:",[2357,2358,2359,2366,2372,2378,2385,2391,2397],"ul",{},[188,2360,2361,2362,534],{},"Your team writes React: ",[2363,2364,2365],"strong",{},"Next.js",[188,2367,2368,2369,534],{},"Your site is mostly content and should ship little JavaScript: ",[2363,2370,2371],{},"Astro",[188,2373,2374,2375,534],{},"You want small bundles and like a compiler-first approach: ",[2363,2376,2377],{},"SvelteKit",[188,2379,2380,2381,2384],{},"You want web standards and React-style data loading: ",[2363,2382,2383],{},"React Router",", the framework Remix became.",[188,2386,2387,2388,534],{},"You run a large enterprise codebase with strict structure: ",[2363,2389,2390],{},"Angular",[188,2392,2393,2394,534],{},"Your app sits behind a login and doesn't need SEO: ",[2363,2395,2396],{},"plain Vue with Vite",[188,2398,2399,2400,2403],{},"Your backend is PHP: ",[2363,2401,2402],{},"Laravel"," with Inertia and Vue.",[26,2405,2406,2421],{},[29,2407,2408],{},[32,2409,2410,2412,2415,2418],{},[35,2411,37],{},[35,2413,2414],{},"Built on",[35,2416,2417],{},"Best for",[35,2419,2420],{},"Keeps your Vue code?",[51,2422,2423,2435,2447,2460,2473,2484,2497],{},[32,2424,2425,2427,2430,2433],{},[56,2426,2365],{},[56,2428,2429],{},"React",[56,2431,2432],{},"React teams, large ecosystem",[56,2434,61],{},[32,2436,2437,2439,2442,2445],{},[56,2438,2377],{},[56,2440,2441],{},"Svelte",[56,2443,2444],{},"Small bundles, small teams",[56,2446,61],{},[32,2448,2449,2451,2454,2457],{},[56,2450,2371],{},[56,2452,2453],{},"Any UI library",[56,2455,2456],{},"Content sites, docs, marketing",[56,2458,2459],{},"Yes, as islands",[32,2461,2462,2465,2468,2471],{},[56,2463,2464],{},"React Router \u002F Remix",[56,2466,2467],{},"React \u002F own components",[56,2469,2470],{},"Web-standards apps",[56,2472,61],{},[32,2474,2475,2477,2479,2482],{},[56,2476,2390],{},[56,2478,2390],{},[56,2480,2481],{},"Enterprise apps",[56,2483,61],{},[32,2485,2486,2489,2492,2495],{},[56,2487,2488],{},"Vue + Vite",[56,2490,2491],{},"Vue",[56,2493,2494],{},"SPAs behind a login",[56,2496,78],{},[32,2498,2499,2501,2504,2507],{},[56,2500,2402],{},[56,2502,2503],{},"PHP",[56,2505,2506],{},"PHP teams, server-rendered apps",[56,2508,2509],{},"Yes, via Inertia",[18,2511,2513],{"id":2512},"why-teams-look-for-alternatives-to-nuxt","Why Teams Look for Alternatives to Nuxt",[14,2515,2516,2517,534],{},"Most searches for alternatives to Nuxt don't start with Nuxt failing. They start with a change in the team or the project. If you need a refresher on what the framework does, start with ",[128,2518,131],{"href":130},[14,2520,2521],{},"Hiring comes up first. React developers are easier to find: in the 2025 Stack Overflow Developer Survey, 44.7% of respondents worked with React and 17.6% with Vue.js. Then there's the project changing shape. A marketing site with three interactive widgets doesn't need a full app framework, and an internal dashboard doesn't need server rendering. And sometimes the backend team owns the pages, so a Laravel or Rails shop would rather render views where the data already lives.",[14,2523,2524],{},"Those are real reasons to switch. Two others come up just as often and usually aren't. Nuxt 2 reached end of life in June 2024, and some teams treat the forced migration as the moment to reconsider everything. And NuxtLabs joined Vercel in July 2025, which made people ask who stands behind the framework. Nuxt and Nitro stayed MIT-licensed with an open roadmap. Both of those are reasons to upgrade, which we come back to below.",[18,2526,2528],{"id":2527},"nuxt-alternatives-compared","Nuxt Alternatives Compared",[14,2530,2531],{},"Each of these Nuxt alternatives gets the same three questions: what it is, who it's best for, and where Nuxt still wins.",[169,2533,2535],{"id":2534},"nuxt-vs-react-and-nextjs","Nuxt vs React and Next.js",[14,2537,2538],{},"Nuxt vs React isn't a like-for-like comparison: React is a UI library, and its full-stack framework is Next.js. Next.js 16 makes React Server Components the default, so pages and layouts render on the server unless you mark them as client components. Vercel maintains it, and it has the largest ecosystem of any JavaScript meta-framework. In the 2025 Stack Overflow survey, 20.8% of respondents used Next.js and 4% used Nuxt.",[14,2540,2541,2544],{},[2363,2542,2543],{},"Best for:"," teams that already write React, or companies hiring at scale.",[14,2546,2547,2550,2551,955,2555,2559,2560,534],{},[2363,2548,2549],{},"Where Nuxt still wins:"," one component model on server and client, a gentler learning curve, and Nitro, which deploys to almost any host from one setting. In the React vs Nuxt choice, the team's library decides more than any feature does. For the library-level view, see our ",[128,2552,2554],{"href":2553},"\u002Fblog\u002Freact-vue","Vue vs React comparison",[128,2556,2558],{"href":2557},"\u002Fblog\u002Fvue-js-vs-next-js","Vue JS vs Next JS",". The framework head-to-head is in ",[128,2561,2563],{"href":2562},"\u002Fblog\u002Fnuxt-vs-next","Nuxt vs Next.js",[169,2565,2567],{"id":2566},"nuxt-vs-sveltekit","Nuxt vs SvelteKit",[14,2569,2570],{},"Nuxt vs SvelteKit is the closest match on this list: two full-stack frameworks of similar scope, neither built on React. Svelte compiles components to plain JavaScript with no virtual DOM, and Svelte 5 uses runes for reactivity. SvelteKit 3 shipped in October 2026, with adapters for Node, Bun, static hosting, Vercel, Netlify and Cloudflare.",[14,2572,2573],{},"Strictly, Nuxt vs Svelte compares a framework with a UI library, so the fair match is SvelteKit vs Nuxt. Choosing SvelteKit over a mature framework like Nuxt usually comes down to the UI library your team prefers.",[14,2575,2576,2578],{},[2363,2577,2543],{}," small teams that want small bundles and like writing less code per component.",[14,2580,2581,2583,2584,2588],{},[2363,2582,2549],{}," a larger module ecosystem, more developers who know Vue, and more component libraries to build on. In the Svelte vs Nuxt hiring picture, 7.2% of survey respondents used Svelte. Our ",[128,2585,2587],{"href":2586},"\u002Fblog\u002Fsvelte-vs-vue","Svelte vs Vue"," post compares the two libraries in code.",[169,2590,2592],{"id":2591},"nuxt-vs-astro","Nuxt vs Astro",[14,2594,2595,2596,2599],{},"Nuxt vs Astro is the most interesting comparison for content sites. Astro 7 renders pages to HTML and strips client-side JavaScript by default. Interactive parts are opt-in \"islands\", marked with a ",[137,2597,2598],{},"client:"," directive, and server islands defer slow parts of a page. It works with Vue, React, Svelte and others through official integrations, so your Vue components can come with you.",[14,2601,2602],{},"The Astro team joined Cloudflare in January 2026. Astro stays MIT-licensed and deploys to any platform.",[14,2604,2605,2607],{},[2363,2606,2543],{}," blogs, docs, marketing sites and anything where most pages are read, not used.",[14,2609,2610,2612],{},[2363,2611,2549],{}," apps. Once most pages need state, auth and client-side navigation, Astro vs Nuxt tips toward Nuxt, which treats the whole site as one Vue app with server routes built in.",[169,2614,2616],{"id":2615},"nuxt-vs-remix","Nuxt vs Remix",[14,2618,2619],{},"Nuxt vs Remix needs a naming note first. The Remix most people know, the React framework with loaders and actions, merged into React Router v7 as \"framework mode\" in November 2024. React Router is now on version 8, and Remix v2 has reached end of life. The Remix name now belongs to Remix 3, a separate framework that dropped React and uses its own component model. Its first stable release came in October 2026.",[14,2621,2622,2624],{},[2363,2623,2543],{}," React teams that like web-standard requests, forms and loaders (React Router), or early adopters who want a framework with few dependencies (Remix 3).",[14,2626,2627,2629],{},[2363,2628,2549],{}," stability. Remix 3 is weeks old and its ecosystem is small, while Nuxt has years of modules and production use behind it.",[169,2631,2633],{"id":2632},"nuxt-vs-angular","Nuxt vs Angular",[14,2635,2636,2637,2640],{},"Nuxt vs Angular compares a Vue meta-framework with a complete platform. Angular 22 ships routing, forms, an HTTP client and dependency injection in one package. It runs without Zone.js by default since v21, and server rendering comes from ",[137,2638,2639],{},"@angular\u002Fssr"," with incremental hydration on by default. Analog adds Nuxt-style file routing and API routes on top of Angular.",[14,2642,2643,2645],{},[2363,2644,2543],{}," large enterprise teams that want one prescribed way to do everything.",[14,2647,2648,2650,2651,2655],{},[2363,2649,2549],{}," less ceremony and faster onboarding. Angular's structure pays off at scale but slows small teams down. Our ",[128,2652,2654],{"href":2653},"\u002Fblog\u002Freact-vs-angular-vs-vue","React vs Angular vs Vue"," comparison goes deeper on the libraries.",[169,2657,2659],{"id":2658},"plain-vue-with-vite","Plain Vue With Vite",[14,2661,2662,2663,2666,2667,2670],{},"This is the alternative that keeps the most of your code. ",[137,2664,2665],{},"create-vue"," scaffolds a Vue 3 app on Vite, and Vue Router 5 now includes file-based routing, which used to be one of Nuxt's main draws. ",[137,2668,2669],{},"vite-ssg"," can prerender pages if you need static HTML.",[14,2672,2673,2675],{},[2363,2674,2543],{}," single-page apps behind a login, such as admin panels and dashboards, where search engines never see the pages.",[14,2677,2678,2680,2681,2683],{},[2363,2679,2549],{}," anything public. Server rendering, data fetching that works on both sides, server routes and SEO modules all come built in with Nuxt, and you'd assemble them by hand on plain Vue. Our ",[128,2682,2261],{"href":2260}," post covers the split in detail.",[169,2685,2687],{"id":2686},"laravel-vs-nuxt","Laravel vs Nuxt",[14,2689,2690],{},"Laravel vs Nuxt isn't like-for-like: Laravel is a PHP backend framework, and Nuxt is a frontend framework with a server layer. They often work together, with Laravel serving an API and Nuxt rendering the site.",[14,2692,2693],{},"The real alternative is Laravel's Vue starter kit, which uses Inertia 3, Vue 3, TypeScript and Tailwind. Inertia lets Laravel controllers return Vue pages directly, with no separate API, and supports server rendering.",[14,2695,2696,2698],{},[2363,2697,2543],{}," PHP teams that want Vue pages without running a second app.",[14,2700,2701,2703],{},[2363,2702,2549],{}," when the backend isn't PHP, when several clients share an API, or when the frontend team needs to deploy on its own schedule.",[18,2705,2707],{"id":2706},"when-to-stay-on-nuxt","When to Stay on Nuxt",[14,2709,2710],{},"Full disclosure: Epicmax is an official Nuxt partner, so weigh this section with that in mind. But the math is the same whoever does it. Moving to plain Vue or Astro keeps your components. Moving anywhere else means rewriting every component, every data call and every server route, then retesting the lot. That's a rebuild, and it rarely pays for itself unless the team itself is changing.",[14,2712,2713,2714,2716,2717,2721],{},"Upgrading is usually the cheaper fix. Nuxt 4 is stable at 4.6, and Nuxt 5 is on the official roadmap with Nitro v3 as its headline change. If you're stuck on Nuxt 2 or 3, our ",[128,2715,2273],{"href":2272}," shows what changes, and our ",[128,2718,2720],{"href":2719},"\u002Fservices\u002Fnuxt-migration","Nuxt migration services"," cover teams that want help with it.",[14,2723,2724],{},"Stay on Nuxt if your team writes Vue, your site needs SEO and app features at once, and the pain you're feeling is an old version, not the framework.",[18,2726,914],{"id":913},[14,2728,2729],{},"There is no single best alternative to Nuxt, only a best fit for the reason you're leaving. React team? Next.js. Content site? Astro. Dashboard behind a login? Plain Vue. But if you're a Vue team building a public app and the real problem is an old version, upgrade. It's almost always cheaper than a rewrite.",[14,2731,2732,2733,2735,2736,2738],{},"As an ",[128,2734,921],{"href":920},", we help teams make that call. If you decide to stay, our ",[128,2737,926],{"href":925}," cover new builds and upgrades.",[18,2740,931],{"id":930},[169,2742,2744],{"id":2743},"is-nuxt-still-worth-using","Is Nuxt still worth using?",[14,2746,2747],{},"Yes. Nuxt 4 is actively maintained, with 4.6 released in November 2026 and Nuxt 5 on the roadmap. It stays MIT-licensed after NuxtLabs joined Vercel in 2025, and it is still the standard full-stack framework for Vue.",[169,2749,2751],{"id":2750},"is-nextjs-better-than-nuxt","Is Next.js better than Nuxt?",[14,2753,2754],{},"Not in general. Next.js has the bigger ecosystem and job market, and Nuxt is the easier framework to learn. Both render on the server, prerender and deploy almost anywhere, so the deciding factor is whether your team writes React or Vue.",[169,2756,2758],{"id":2757},"svelte-vs-nuxt-are-they-the-same-kind-of-tool","Svelte vs Nuxt: are they the same kind of tool?",[14,2760,2761],{},"No. Svelte is a UI library, like Vue. The tool that matches Nuxt is SvelteKit, the full-stack framework built on Svelte. So the fair comparison is Svelte vs Vue at the component level and SvelteKit vs Nuxt at the framework level.",[169,2763,2765],{"id":2764},"react-vs-nuxt-which-should-i-learn-first","React vs Nuxt: which should I learn first?",[14,2767,2768],{},"They aren't alternatives at the same level: React is a UI library and Nuxt is a framework built on Vue. If you're aiming at the largest job market, learn React and then Next.js. If you want a full-stack framework that's quick to pick up, learn Vue and then Nuxt.",[169,2770,2772],{"id":2771},"is-there-an-alternative-to-nuxt-for-vue","Is there an alternative to Nuxt for Vue?",[14,2774,2775],{},"Yes, a few. Plain Vue with Vite covers single-page apps, with file-based routing now built into Vue Router 5. Astro renders Vue components as islands on content sites, and Laravel with Inertia uses Vue as the view layer of a PHP app.",[169,2777,2779],{"id":2778},"how-hard-is-it-to-move-from-nuxt-to-another-framework","How hard is it to move from Nuxt to another framework?",[14,2781,2782],{},"It depends on the target. Moving to plain Vue or to Astro keeps your Vue components, so the work is routing, data fetching and server code. Moving to Next.js, SvelteKit, Remix or Angular means rewriting every component as well, which is close to a rebuild.",{"title":197,"searchDepth":264,"depth":264,"links":2784},[2785,2786,2787,2796,2797,2798],{"id":2351,"depth":224,"text":2352},{"id":2512,"depth":224,"text":2513},{"id":2527,"depth":224,"text":2528,"children":2788},[2789,2790,2791,2792,2793,2794,2795],{"id":2534,"depth":264,"text":2535},{"id":2566,"depth":264,"text":2567},{"id":2591,"depth":264,"text":2592},{"id":2615,"depth":264,"text":2616},{"id":2632,"depth":264,"text":2633},{"id":2658,"depth":264,"text":2659},{"id":2686,"depth":264,"text":2687},{"id":2706,"depth":224,"text":2707},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":2799},[2800,2801,2802,2803,2804,2805],{"id":2743,"depth":264,"text":2744},{"id":2750,"depth":264,"text":2751},{"id":2757,"depth":264,"text":2758},{"id":2764,"depth":264,"text":2765},{"id":2771,"depth":264,"text":2772},{"id":2778,"depth":264,"text":2779},"2026-11-18","What's the best alternative to Nuxt? Compare Nuxt vs Astro, SvelteKit, Next.js, Remix and Angular, and see when staying on Nuxt is the better call.",[2809,2810,2811,2812,2813,2814],{"question":2744,"answer":2747},{"question":2751,"answer":2754},{"question":2758,"answer":2761},{"question":2765,"answer":2768},{"question":2772,"answer":2775},{"question":2779,"answer":2782},"\u002Fimages\u002Fblog\u002Fnuxt-alternatives\u002Fcard.png",{},"\u002Fblog\u002Fnuxt-alternatives",{"title":2343,"description":2807},"Alternatives to Nuxt: 7 Nuxt Alternatives Compared","blog\u002Fnuxt-alternatives",[1030,2822],"Vue.js","comparisons","81Em_S6Hlg6O2so1X0vdKDSYFvEh-_YvDhE3khnTOQk",{"id":2826,"title":2827,"articleType":7,"author":8,"authorSlug":9,"body":2828,"cta":1008,"date":3772,"description":3966,"extension":1011,"faq":3967,"featured":1021,"image":3977,"meta":3978,"navigation":653,"noCtaBox":1021,"path":3979,"readTime":1025,"seo":3980,"seoTitle":3981,"stem":3982,"tags":3983,"topic":2339,"video":1008,"__hash__":3985},"blog\u002Fblog\u002Fis-nuxt-good-for-seo.md","Is Nuxt Good for SEO? A Practical Nuxt SEO Guide",{"type":11,"value":2829,"toc":3939},[2830,2833,2837,2840,2843,2853,2857,2860,2864,2873,2876,2880,2893,2897,2900,2908,2912,2915,2919,2925,3118,3132,3136,3143,3161,3164,3254,3258,3261,3323,3495,3499,3506,3548,3555,3559,3570,3612,3624,3628,3638,3722,3787,3798,3802,3805,3811,3818,3821,3838,3844,3848,3854,3863,3865,3868,3876,3878,3882,3888,3892,3895,3899,3912,3916,3922,3926,3929,3933,3936],[14,2831,2832],{},"Is Nuxt JS good for SEO? Yes, and most of what makes it good is on by default. This Nuxt SEO guide covers what you get out of the box, how to add a sitemap, robots rules, OG images and structured data, and the mistakes that still keep Nuxt sites from ranking. The examples come from the same setup this site runs on.",[18,2834,2836],{"id":2835},"is-nuxt-js-good-for-seo","Is Nuxt JS Good for SEO?",[14,2838,2839],{},"Yes. Nuxt renders every page to HTML on the server or at build time, so search engines and AI crawlers get the full content in the first response. It also ships composables for titles and meta tags, and the free Nuxt SEO modules add a sitemap, robots rules and structured data in a few lines of config.",[14,2841,2842],{},"That's the short answer to \"is Nuxt JS good for SEO\". The longer one: Nuxt removes the biggest SEO problem of a plain Vue single-page app, the empty HTML shell. It won't rescue thin content or a sloppy setup, though. Meta tags, canonical URLs and page speed are still on you.",[14,2844,2845,2846,2848,2849,534],{},"If you're new to the framework, ",[128,2847,131],{"href":130}," covers the basics. For how each rendering mode works, see our guide to ",[128,2850,2852],{"href":2851},"\u002Fblog\u002Fnuxt-rendering","Nuxt rendering",[18,2854,2856],{"id":2855},"what-makes-nuxt-js-good-for-seo","What Makes Nuxt JS Good for SEO",[14,2858,2859],{},"Three things make Nuxt JS good for SEO without extra work: HTML that exists before JavaScript runs, a safe way to set meta tags, and a fast first load.",[169,2861,2863],{"id":2862},"server-side-rendering-and-prerendering","Server-Side Rendering and Prerendering",[14,2865,2866,2867,2869,2870,2872],{},"By default Nuxt renders pages on the server. With ",[137,2868,143],{}," it prerenders them at build time instead, starting from ",[137,2871,1850],{}," and following every link it finds. Either way, the crawler receives finished HTML.",[14,2874,2875],{},"Google does run JavaScript. Its own documentation says it renders pages with an evergreen version of Chromium, but in a separate phase, once its resources allow. It also says server-side rendering or prerendering is \"still a great idea\", because not all bots can run JavaScript. Nuxt gives you that by default.",[169,2877,2879],{"id":2878},"built-in-meta-tag-handling","Built-In Meta Tag Handling",[14,2881,2882,2883,955,2886,2889,2890,2892],{},"Nuxt has ",[137,2884,2885],{},"useSeoMeta",[137,2887,2888],{},"useHead"," built in. The Nuxt docs call ",[137,2891,2885],{}," the recommended way to add meta tags because it's XSS safe and fully typed. Each page sets its own title, description and Open Graph tags, and they're in the HTML from the first byte, not added later by JavaScript.",[169,2894,2896],{"id":2895},"speed-and-core-web-vitals","Speed and Core Web Vitals",[14,2898,2899],{},"Server-rendered HTML paints sooner than a page that waits for a JavaScript bundle, which helps Largest Contentful Paint. Nuxt also splits code per route and ships modules for images and fonts.",[14,2901,2902,2903,955,2905,2907],{},"Core Web Vitals still depend on your code. Heavy components, unoptimized images and late-loading fonts slow any framework down. Our guides to ",[128,2904,1175],{"href":1174},[128,2906,1194],{"href":1193}," cover the common fixes.",[18,2909,2911],{"id":2910},"how-to-set-up-nuxt-js-for-seo","How to Set Up Nuxt JS for SEO",[14,2913,2914],{},"Here's how to set up Nuxt JS for SEO on a new or existing project, in the order we'd do it.",[169,2916,2918],{"id":2917},"set-titles-and-meta-tags","Set Titles and Meta Tags",[14,2920,2921,2922,2924],{},"Set the title and description on every page with ",[137,2923,2885],{},". When the values come from fetched data, pass getters, as the Nuxt docs recommend for reactive values:",[192,2926,2928],{"className":1333,"code":2927,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nconst route = useRoute()\nconst { data: post } = await useFetch(`\u002Fapi\u002Fposts\u002F${route.params.slug}`)\n\nuseSeoMeta({\n  title: () => post.value?.title,\n  ogTitle: () => post.value?.title,\n  description: () => post.value?.excerpt,\n})\n\u003C\u002Fscript>\n",[137,2929,2930,2953,2968,3018,3022,3030,3057,3080,3104,3110],{"__ignoreMap":197},[201,2931,2932,2934,2937,2940,2943,2945,2947,2949,2951],{"class":203,"line":204},[201,2933,1342],{"class":260},[201,2935,2936],{"class":267},"script",[201,2938,2939],{"class":659}," setup",[201,2941,2942],{"class":659}," lang",[201,2944,1353],{"class":260},[201,2946,1356],{"class":260},[201,2948,232],{"class":211},[201,2950,1356],{"class":260},[201,2952,1718],{"class":260},[201,2954,2955,2957,2960,2962,2965],{"class":203,"line":224},[201,2956,660],{"class":659},[201,2958,2959],{"class":256}," route ",[201,2961,1353],{"class":260},[201,2963,2964],{"class":252}," useRoute",[201,2966,2967],{"class":256},"()\n",[201,2969,2970,2972,2974,2976,2978,2981,2983,2985,2987,2989,2991,2994,2997,3000,3003,3005,3008,3010,3013,3016],{"class":203,"line":264},[201,2971,660],{"class":659},[201,2973,631],{"class":260},[201,2975,2069],{"class":267},[201,2977,271],{"class":260},[201,2979,2980],{"class":256}," post ",[201,2982,507],{"class":260},[201,2984,670],{"class":260},[201,2986,2009],{"class":245},[201,2988,2083],{"class":252},[201,2990,257],{"class":256},[201,2992,2993],{"class":260},"`",[201,2995,2996],{"class":211},"\u002Fapi\u002Fposts\u002F",[201,2998,2999],{"class":260},"${",[201,3001,3002],{"class":256},"route",[201,3004,534],{"class":260},[201,3006,3007],{"class":256},"params",[201,3009,534],{"class":260},[201,3011,3012],{"class":256},"slug",[201,3014,3015],{"class":260},"}`",[201,3017,510],{"class":256},[201,3019,3020],{"class":203,"line":290},[201,3021,654],{"emptyLinePlaceholder":653},[201,3023,3024,3026,3028],{"class":203,"line":301},[201,3025,2885],{"class":252},[201,3027,257],{"class":256},[201,3029,261],{"class":260},[201,3031,3032,3035,3037,3039,3041,3044,3046,3049,3052,3055],{"class":203,"line":319},[201,3033,3034],{"class":252},"  title",[201,3036,271],{"class":260},[201,3038,1996],{"class":260},[201,3040,1999],{"class":659},[201,3042,3043],{"class":256}," post",[201,3045,534],{"class":260},[201,3047,3048],{"class":256},"value",[201,3050,3051],{"class":260},"?.",[201,3053,3054],{"class":256},"title",[201,3056,287],{"class":260},[201,3058,3059,3062,3064,3066,3068,3070,3072,3074,3076,3078],{"class":203,"line":329},[201,3060,3061],{"class":252},"  ogTitle",[201,3063,271],{"class":260},[201,3065,1996],{"class":260},[201,3067,1999],{"class":659},[201,3069,3043],{"class":256},[201,3071,534],{"class":260},[201,3073,3048],{"class":256},[201,3075,3051],{"class":260},[201,3077,3054],{"class":256},[201,3079,287],{"class":260},[201,3081,3082,3085,3087,3089,3091,3093,3095,3097,3099,3102],{"class":203,"line":346},[201,3083,3084],{"class":252},"  description",[201,3086,271],{"class":260},[201,3088,1996],{"class":260},[201,3090,1999],{"class":659},[201,3092,3043],{"class":256},[201,3094,534],{"class":260},[201,3096,3048],{"class":256},[201,3098,3051],{"class":260},[201,3100,3101],{"class":256},"excerpt",[201,3103,287],{"class":260},[201,3105,3106,3108],{"class":203,"line":363},[201,3107,507],{"class":260},[201,3109,510],{"class":256},[201,3111,3112,3114,3116],{"class":203,"line":380},[201,3113,1760],{"class":260},[201,3115,2936],{"class":267},[201,3117,1718],{"class":260},[14,3119,3120,3121,3124,3125,3127,3128,3131],{},"If you're still using ",[137,3122,3123],{},"useServerSeoMeta",", note that the Nuxt docs now mark it deprecated. Wrap ",[137,3126,2885],{}," in an ",[137,3129,3130],{},"if (import.meta.server)"," block instead.",[169,3133,3135],{"id":3134},"install-the-nuxt-seo-module","Install the Nuxt SEO Module",[14,3137,3138,3139,3142],{},"\"Nuxt SEO\" means two things. It's the topic of this guide, and it's also the name of a module set, ",[137,3140,3141],{},"@nuxtjs\u002Fseo",", maintained by Harlan Wilton. One install adds nine modules, including sitemap, robots, OG images, schema.org, canonical URLs and a link checker. Each one can also be installed on its own.",[192,3144,3146],{"className":194,"code":3145,"language":196,"meta":197,"style":197},"npx nuxt module add @nuxtjs\u002Fseo\n",[137,3147,3148],{"__ignoreMap":197},[201,3149,3150,3152,3154,3156,3158],{"class":203,"line":204},[201,3151,208],{"class":207},[201,3153,1686],{"class":211},[201,3155,215],{"class":211},[201,3157,218],{"class":211},[201,3159,3160],{"class":211}," @nuxtjs\u002Fseo\n",[14,3162,3163],{},"Then tell it where the site lives. Every module reads this site config for canonical links, sitemap URLs and absolute image paths:",[192,3165,3167],{"className":230,"code":3166,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  modules: ['@nuxtjs\u002Fseo'],\n  site: {\n    url: 'https:\u002F\u002Fexample.com',\n    name: 'Example',\n  },\n})\n",[137,3168,3169,3173,3185,3203,3212,3228,3244,3248],{"__ignoreMap":197},[201,3170,3171],{"class":203,"line":204},[201,3172,240],{"class":239},[201,3174,3175,3177,3179,3181,3183],{"class":203,"line":224},[201,3176,246],{"class":245},[201,3178,249],{"class":245},[201,3180,253],{"class":252},[201,3182,257],{"class":256},[201,3184,261],{"class":260},[201,3186,3187,3189,3191,3193,3195,3197,3199,3201],{"class":203,"line":264},[201,3188,268],{"class":267},[201,3190,271],{"class":260},[201,3192,274],{"class":256},[201,3194,277],{"class":260},[201,3196,3141],{"class":211},[201,3198,277],{"class":260},[201,3200,284],{"class":256},[201,3202,287],{"class":260},[201,3204,3205,3208,3210],{"class":203,"line":290},[201,3206,3207],{"class":267},"  site",[201,3209,271],{"class":260},[201,3211,298],{"class":260},[201,3213,3214,3217,3219,3221,3224,3226],{"class":203,"line":301},[201,3215,3216],{"class":267},"    url",[201,3218,271],{"class":260},[201,3220,309],{"class":260},[201,3222,3223],{"class":211},"https:\u002F\u002Fexample.com",[201,3225,277],{"class":260},[201,3227,287],{"class":260},[201,3229,3230,3233,3235,3237,3240,3242],{"class":203,"line":319},[201,3231,3232],{"class":267},"    name",[201,3234,271],{"class":260},[201,3236,309],{"class":260},[201,3238,3239],{"class":211},"Example",[201,3241,277],{"class":260},[201,3243,287],{"class":260},[201,3245,3246],{"class":203,"line":329},[201,3247,501],{"class":260},[201,3249,3250,3252],{"class":203,"line":346},[201,3251,507],{"class":260},[201,3253,510],{"class":256},[169,3255,3257],{"id":3256},"add-a-nuxt-sitemap","Add a Nuxt Sitemap",[14,3259,3260],{},"With the module installed, a Nuxt sitemap is built from your pages, prerendered routes and Nuxt Content collections. Exclude what shouldn't be indexed. For URLs that only exist in an API or CMS, add a source endpoint:",[192,3262,3264],{"className":230,"code":3263,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nsitemap: {\n  exclude: ['\u002Fadmin\u002F**'],\n  sources: ['\u002Fapi\u002F__sitemap__\u002Furls'],\n}\n",[137,3265,3266,3270,3279,3299,3319],{"__ignoreMap":197},[201,3267,3268],{"class":203,"line":204},[201,3269,240],{"class":239},[201,3271,3272,3275,3277],{"class":203,"line":224},[201,3273,3274],{"class":207},"sitemap",[201,3276,271],{"class":260},[201,3278,298],{"class":260},[201,3280,3281,3284,3286,3288,3290,3293,3295,3297],{"class":203,"line":264},[201,3282,3283],{"class":207},"  exclude",[201,3285,271],{"class":260},[201,3287,274],{"class":267},[201,3289,277],{"class":260},[201,3291,3292],{"class":211},"\u002Fadmin\u002F**",[201,3294,277],{"class":260},[201,3296,284],{"class":267},[201,3298,287],{"class":260},[201,3300,3301,3304,3306,3308,3310,3313,3315,3317],{"class":203,"line":290},[201,3302,3303],{"class":207},"  sources",[201,3305,271],{"class":260},[201,3307,274],{"class":267},[201,3309,277],{"class":260},[201,3311,3312],{"class":211},"\u002Fapi\u002F__sitemap__\u002Furls",[201,3314,277],{"class":260},[201,3316,284],{"class":267},[201,3318,287],{"class":260},[201,3320,3321],{"class":203,"line":301},[201,3322,724],{"class":260},[192,3324,3326],{"className":230,"code":3325,"language":232,"meta":197,"style":197},"\u002F\u002F server\u002Fapi\u002F__sitemap__\u002Furls.ts\nimport { defineSitemapEventHandler } from '#sitemap\u002Fserver'\n\nexport default defineSitemapEventHandler(async () => {\n  const posts = await $fetch\u003C{ slug: string, updated: string }[]>('https:\u002F\u002Fapi.example.com\u002Fposts')\n  return posts.map(p => ({ loc: `\u002Fblog\u002F${p.slug}`, lastmod: p.updated }))\n})\n",[137,3327,3328,3333,3353,3357,3375,3428,3489],{"__ignoreMap":197},[201,3329,3330],{"class":203,"line":204},[201,3331,3332],{"class":239},"\u002F\u002F server\u002Fapi\u002F__sitemap__\u002Furls.ts\n",[201,3334,3335,3337,3339,3342,3344,3346,3348,3351],{"class":203,"line":224},[201,3336,626],{"class":245},[201,3338,631],{"class":260},[201,3340,3341],{"class":256}," defineSitemapEventHandler",[201,3343,637],{"class":260},[201,3345,640],{"class":245},[201,3347,309],{"class":260},[201,3349,3350],{"class":211},"#sitemap\u002Fserver",[201,3352,648],{"class":260},[201,3354,3355],{"class":203,"line":264},[201,3356,654],{"emptyLinePlaceholder":653},[201,3358,3359,3361,3363,3365,3367,3369,3371,3373],{"class":203,"line":290},[201,3360,246],{"class":245},[201,3362,249],{"class":245},[201,3364,3341],{"class":252},[201,3366,257],{"class":256},[201,3368,1993],{"class":659},[201,3370,1996],{"class":260},[201,3372,1999],{"class":659},[201,3374,298],{"class":260},[201,3376,3377,3380,3383,3385,3387,3389,3392,3395,3397,3400,3402,3405,3407,3409,3411,3414,3417,3419,3421,3424,3426],{"class":203,"line":301},[201,3378,3379],{"class":659},"  const",[201,3381,3382],{"class":256}," posts",[201,3384,670],{"class":260},[201,3386,2009],{"class":245},[201,3388,2012],{"class":252},[201,3390,3391],{"class":260},"\u003C{",[201,3393,3394],{"class":267}," slug",[201,3396,271],{"class":260},[201,3398,3399],{"class":207}," string",[201,3401,409],{"class":260},[201,3403,3404],{"class":267}," updated",[201,3406,271],{"class":260},[201,3408,3399],{"class":207},[201,3410,637],{"class":260},[201,3412,3413],{"class":267},"[]",[201,3415,3416],{"class":260},">",[201,3418,257],{"class":267},[201,3420,277],{"class":260},[201,3422,3423],{"class":211},"https:\u002F\u002Fapi.example.com\u002Fposts",[201,3425,277],{"class":260},[201,3427,510],{"class":267},[201,3429,3430,3432,3434,3436,3438,3440,3442,3444,3446,3448,3451,3453,3456,3459,3461,3463,3465,3467,3469,3471,3474,3476,3479,3481,3484,3486],{"class":203,"line":319},[201,3431,2006],{"class":245},[201,3433,3382],{"class":256},[201,3435,534],{"class":260},[201,3437,2116],{"class":252},[201,3439,257],{"class":267},[201,3441,14],{"class":2106},[201,3443,1999],{"class":659},[201,3445,2142],{"class":267},[201,3447,1620],{"class":260},[201,3449,3450],{"class":267}," loc",[201,3452,271],{"class":260},[201,3454,3455],{"class":260}," `",[201,3457,3458],{"class":211},"\u002Fblog\u002F",[201,3460,2999],{"class":260},[201,3462,14],{"class":256},[201,3464,534],{"class":260},[201,3466,3012],{"class":256},[201,3468,3015],{"class":260},[201,3470,409],{"class":260},[201,3472,3473],{"class":267}," lastmod",[201,3475,271],{"class":260},[201,3477,3478],{"class":256}," p",[201,3480,534],{"class":260},[201,3482,3483],{"class":256},"updated",[201,3485,637],{"class":260},[201,3487,3488],{"class":267},"))\n",[201,3490,3491,3493],{"class":203,"line":329},[201,3492,507],{"class":260},[201,3494,510],{"class":256},[169,3496,3498],{"id":3497},"configure-nuxt-robots","Configure Nuxt Robots",[14,3500,3501,3502,3505],{},"Nuxt robots rules go in the config, and the module writes ",[137,3503,3504],{},"robots.txt"," and the robots meta tag from them:",[192,3507,3509],{"className":230,"code":3508,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nrobots: {\n  disallow: ['\u002Fadmin'],\n}\n",[137,3510,3511,3515,3524,3544],{"__ignoreMap":197},[201,3512,3513],{"class":203,"line":204},[201,3514,240],{"class":239},[201,3516,3517,3520,3522],{"class":203,"line":224},[201,3518,3519],{"class":207},"robots",[201,3521,271],{"class":260},[201,3523,298],{"class":260},[201,3525,3526,3529,3531,3533,3535,3538,3540,3542],{"class":203,"line":264},[201,3527,3528],{"class":207},"  disallow",[201,3530,271],{"class":260},[201,3532,274],{"class":267},[201,3534,277],{"class":260},[201,3536,3537],{"class":211},"\u002Fadmin",[201,3539,277],{"class":260},[201,3541,284],{"class":267},[201,3543,287],{"class":260},[201,3545,3546],{"class":203,"line":290},[201,3547,724],{"class":260},[14,3549,3550,3551,3554],{},"The useful part is environments. Staging and preview deploys shouldn't be indexed. Set ",[137,3552,3553],{},"NUXT_SITE_ENV=staging"," and the module turns indexing off for that deploy, so only production is indexable.",[169,3556,3558],{"id":3557},"generate-a-nuxt-og-image","Generate a Nuxt OG Image",[14,3560,3561,3562,3565,3566,3569],{},"A Nuxt OG image is the preview picture shown when a page is shared on social networks or in chat apps. The ",[137,3563,3564],{},"nuxt-og-image"," module renders it from a Vue component, so every page can get its own image with its title on it. Put the template in ",[137,3567,3568],{},"app\u002Fcomponents\u002FOgImage\u002FBlogPost.takumi.vue"," (the suffix picks the Takumi renderer) and call it from the page:",[192,3571,3573],{"className":230,"code":3572,"language":232,"meta":197,"style":197},"defineOgImage('BlogPost.takumi', { title: post.value?.title })\n",[137,3574,3575],{"__ignoreMap":197},[201,3576,3577,3580,3582,3584,3587,3589,3591,3593,3595,3597,3599,3601,3603,3605,3608,3610],{"class":203,"line":204},[201,3578,3579],{"class":252},"defineOgImage",[201,3581,257],{"class":256},[201,3583,277],{"class":260},[201,3585,3586],{"class":211},"BlogPost.takumi",[201,3588,277],{"class":260},[201,3590,409],{"class":260},[201,3592,631],{"class":260},[201,3594,2129],{"class":267},[201,3596,271],{"class":260},[201,3598,3043],{"class":256},[201,3600,534],{"class":260},[201,3602,3048],{"class":256},[201,3604,3051],{"class":260},[201,3606,3607],{"class":256},"title ",[201,3609,507],{"class":260},[201,3611,510],{"class":256},[14,3613,3614,3615,3618,3619,519,3622,534],{},"It works with prerendered sites too, as long as ",[137,3616,3617],{},"site.url"," is set so the image URL is absolute. You don't have to use it: this blog turns the module off and ships a hand-designed card per post, set as the ",[137,3620,3621],{},"ogImage",[137,3623,2885],{},[169,3625,3627],{"id":3626},"add-structured-data-and-canonical-urls","Add Structured Data and Canonical URLs",[14,3629,3630,3631,955,3634,3637],{},"The schema.org module adds ",[137,3632,3633],{},"WebSite",[137,3635,3636],{},"WebPage"," data from your site config automatically. Add an identity once, then describe each page type:",[192,3639,3641],{"className":230,"code":3640,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nschemaOrg: {\n  identity: { type: 'Organization', name: 'Example', url: 'https:\u002F\u002Fexample.com', logo: '\u002Flogo.png' },\n}\n",[137,3642,3643,3647,3656,3718],{"__ignoreMap":197},[201,3644,3645],{"class":203,"line":204},[201,3646,240],{"class":239},[201,3648,3649,3652,3654],{"class":203,"line":224},[201,3650,3651],{"class":207},"schemaOrg",[201,3653,271],{"class":260},[201,3655,298],{"class":260},[201,3657,3658,3661,3663,3665,3667,3669,3671,3674,3676,3678,3681,3683,3685,3687,3689,3691,3694,3696,3698,3700,3702,3704,3707,3709,3711,3714,3716],{"class":203,"line":264},[201,3659,3660],{"class":207},"  identity",[201,3662,271],{"class":260},[201,3664,631],{"class":260},[201,3666,426],{"class":207},[201,3668,271],{"class":260},[201,3670,309],{"class":260},[201,3672,3673],{"class":211},"Organization",[201,3675,277],{"class":260},[201,3677,409],{"class":260},[201,3679,3680],{"class":207}," name",[201,3682,271],{"class":260},[201,3684,309],{"class":260},[201,3686,3239],{"class":211},[201,3688,277],{"class":260},[201,3690,409],{"class":260},[201,3692,3693],{"class":207}," url",[201,3695,271],{"class":260},[201,3697,309],{"class":260},[201,3699,3223],{"class":211},[201,3701,277],{"class":260},[201,3703,409],{"class":260},[201,3705,3706],{"class":207}," logo",[201,3708,271],{"class":260},[201,3710,309],{"class":260},[201,3712,3713],{"class":211},"\u002Flogo.png",[201,3715,277],{"class":260},[201,3717,438],{"class":260},[201,3719,3720],{"class":203,"line":290},[201,3721,724],{"class":260},[192,3723,3725],{"className":230,"code":3724,"language":232,"meta":197,"style":197},"\u002F\u002F in a blog post page\nuseSchemaOrg([\n  defineArticle({ headline: 'Is Nuxt Good for SEO?', datePublished: '2026-11-16' }),\n])\n",[137,3726,3727,3732,3740,3782],{"__ignoreMap":197},[201,3728,3729],{"class":203,"line":204},[201,3730,3731],{"class":239},"\u002F\u002F in a blog post page\n",[201,3733,3734,3737],{"class":203,"line":224},[201,3735,3736],{"class":252},"useSchemaOrg",[201,3738,3739],{"class":256},"([\n",[201,3741,3742,3745,3747,3749,3752,3754,3756,3759,3761,3763,3766,3768,3770,3773,3775,3777,3780],{"class":203,"line":264},[201,3743,3744],{"class":252},"  defineArticle",[201,3746,257],{"class":256},[201,3748,1620],{"class":260},[201,3750,3751],{"class":267}," headline",[201,3753,271],{"class":260},[201,3755,309],{"class":260},[201,3757,3758],{"class":211},"Is Nuxt Good for SEO?",[201,3760,277],{"class":260},[201,3762,409],{"class":260},[201,3764,3765],{"class":267}," datePublished",[201,3767,271],{"class":260},[201,3769,309],{"class":260},[201,3771,3772],{"class":211},"2026-11-16",[201,3774,277],{"class":260},[201,3776,637],{"class":260},[201,3778,3779],{"class":256},")",[201,3781,287],{"class":260},[201,3783,3784],{"class":203,"line":290},[201,3785,3786],{"class":256},"])\n",[14,3788,3789,3790,3792,3793,3797],{},"Nuxt SEO also sets a canonical URL on every page from the site URL and the route path. Override it with ",[137,3791,2888],{}," when a page has a preferred address elsewhere. Structured data matters for AI answers as well; our guide to ",[128,3794,3796],{"href":3795},"\u002Fblog\u002Fseo-for-ai-agents-vue-nuxt","SEO for AI agents in Vue and Nuxt"," goes deeper.",[18,3799,3801],{"id":3800},"common-nuxt-seo-mistakes","Common Nuxt SEO Mistakes",[14,3803,3804],{},"Most Nuxt SEO problems we see come from four mistakes, and none of them is exotic.",[14,3806,3807,3808,3810],{},"The first is SPA mode on public pages. With ",[137,3809,139],{}," the server sends an empty shell, and the Nuxt docs say plainly that you \"will lose many SEO benefits\". SPA mode is fine for a dashboard behind a login. It's the wrong default for a marketing site.",[14,3812,3813,3814,3817],{},"The second is content wrapped in ",[137,3815,3816],{},"\u003CClientOnly>",". Its default slot is removed from the server build, so crawlers never see what's inside. Wrap the map widget, not the product description.",[14,3819,3820],{},"Third, hydration errors. When the server and the browser render different markup, the Nuxt docs warn that search engines may index content users don't see. Treat every hydration warning in the console as a bug.",[14,3822,3823,3824,955,3827,3830,3831,3834,3835,3837],{},"Last, duplicate URLs. The same page at ",[137,3825,3826],{},"\u002Fabout",[137,3828,3829],{},"\u002Fabout\u002F",", or with tracking parameters, splits ranking signals. Pick one trailing-slash style in ",[137,3832,3833],{},"site.trailingSlash"," and let the canonical tag point to it. On static hosts, put 301 redirects in the host's config: under ",[137,3836,143],{},", Nitro redirect rules become client-side redirects, which we learned on this very site.",[14,3839,3840,3841,3843],{},"If your Nuxt site is indexed but still slow, our ",[128,3842,2209],{"href":2208}," can help.",[18,3845,3847],{"id":3846},"nuxt-vs-vue-and-nextjs-for-seo","Nuxt vs Vue and Next.js for SEO",[14,3849,3850,3851,3853],{},"Compared with plain Vue, Nuxt starts ahead. A Vue app built with Vite renders in the browser, so you'd add server rendering or prerendering yourself. Nuxt does it by default. Our ",[128,3852,2261],{"href":2260}," post explains how the two relate.",[14,3855,3856,3857,3859,3860,3862],{},"Compared with Next.js, it's a tie. Both render on the server or at build time, both have solid meta and structured-data tools, and Google treats the HTML the same way. Pick by whether your team writes Vue or React. Our ",[128,3858,2558],{"href":2557}," comparison and the ",[128,3861,2563],{"href":2562}," guide cover the rest.",[18,3864,914],{"id":913},[14,3866,3867],{},"Nuxt serves full HTML by default, which already puts it ahead of most JavaScript setups. The rest is a short list: meta tags on every page, the Nuxt SEO modules for the sitemap, robots, structured data and canonical URLs, and none of the four mistakes above.",[14,3869,2732,3870,3872,3873,3875],{},[128,3871,921],{"href":920},", we build and audit Nuxt sites with SEO in mind. Our ",[128,3874,926],{"href":925}," cover the full setup.",[18,3877,931],{"id":930},[169,3879,3881],{"id":3880},"do-i-need-ssr-for-nuxt-seo","Do I need SSR for Nuxt SEO?",[14,3883,3884,3885,3887],{},"You need the HTML to exist before JavaScript runs, and server-side rendering is one way to get it. Prerendering with ",[137,3886,143],{}," is the other, and for content that doesn't change per request it's often the simpler choice. What hurts SEO is client-side rendering on public pages.",[169,3889,3891],{"id":3890},"can-a-nuxt-spa-rank-on-google","Can a Nuxt SPA rank on Google?",[14,3893,3894],{},"It can, because Google renders JavaScript with an evergreen Chromium. But rendering happens in a later phase when Google's resources allow, and not all bots run JavaScript at all. For pages that need to rank, server rendering or prerendering is the safer choice.",[169,3896,3898],{"id":3897},"does-nuxt-generate-a-sitemap-automatically","Does Nuxt generate a sitemap automatically?",[14,3900,3901,3902,809,3905,3907,3908,3911],{},"Not on its own. Nuxt core doesn't create ",[137,3903,3904],{},"sitemap.xml",[137,3906,3504],{},". Add the ",[137,3909,3910],{},"@nuxtjs\u002Fsitemap"," module, alone or as part of Nuxt SEO, and it builds the sitemap from your pages, prerendered routes and Nuxt Content collections.",[169,3913,3915],{"id":3914},"is-the-nuxt-seo-module-free","Is the Nuxt SEO module free?",[14,3917,3918,3919,3921],{},"Yes. ",[137,3920,3141],{}," and every module in it are open source under the MIT license. Nuxt SEO Pro is a separate paid service that monitors a live site; you don't need it to use the modules.",[169,3923,3925],{"id":3924},"is-nuxt-or-nextjs-better-for-seo","Is Nuxt or Next.js better for SEO?",[14,3927,3928],{},"Neither has an SEO edge on its own: both render HTML on the server or at build time, and both have first-class tools for meta tags and structured data. Choose by your team's framework, Vue or React, and get the setup right.",[169,3930,3932],{"id":3931},"is-nuxt-good-for-ai-search","Is Nuxt good for AI search?",[14,3934,3935],{},"Yes, for the same reason it's good for Google. AI crawlers read the HTML, and not all bots run JavaScript, so server-rendered or prerendered pages are the safe way to make sure they see the content. Clear structure and schema.org data help them understand the page.",[984,3937,3938],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .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 .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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .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}",{"title":197,"searchDepth":264,"depth":264,"links":3940},[3941,3942,3947,3955,3956,3957,3958],{"id":2835,"depth":224,"text":2836},{"id":2855,"depth":224,"text":2856,"children":3943},[3944,3945,3946],{"id":2862,"depth":264,"text":2863},{"id":2878,"depth":264,"text":2879},{"id":2895,"depth":264,"text":2896},{"id":2910,"depth":224,"text":2911,"children":3948},[3949,3950,3951,3952,3953,3954],{"id":2917,"depth":264,"text":2918},{"id":3134,"depth":264,"text":3135},{"id":3256,"depth":264,"text":3257},{"id":3497,"depth":264,"text":3498},{"id":3557,"depth":264,"text":3558},{"id":3626,"depth":264,"text":3627},{"id":3800,"depth":224,"text":3801},{"id":3846,"depth":224,"text":3847},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":3959},[3960,3961,3962,3963,3964,3965],{"id":3880,"depth":264,"text":3881},{"id":3890,"depth":264,"text":3891},{"id":3897,"depth":264,"text":3898},{"id":3914,"depth":264,"text":3915},{"id":3924,"depth":264,"text":3925},{"id":3931,"depth":264,"text":3932},"Nuxt JS for SEO: what works out of the box, how to add a Nuxt sitemap, robots and OG images, and the mistakes that still hold Nuxt sites back.",[3968,3970,3971,3973,3975,3976],{"question":3881,"answer":3969},"You need the HTML to exist before JavaScript runs, and server-side rendering is one way to get it. Prerendering with nuxt generate is the other, and for content that doesn't change per request it's often the simpler choice. What hurts SEO is client-side rendering on public pages.",{"question":3891,"answer":3894},{"question":3898,"answer":3972},"Not on its own. Nuxt core doesn't create sitemap.xml or robots.txt. Add the @nuxtjs\u002Fsitemap module, alone or as part of Nuxt SEO, and it builds the sitemap from your pages, prerendered routes and Nuxt Content collections.",{"question":3915,"answer":3974},"Yes. @nuxtjs\u002Fseo and every module in it are open source under the MIT license. Nuxt SEO Pro is a separate paid service that monitors a live site; you don't need it to use the modules.",{"question":3925,"answer":3928},{"question":3932,"answer":3935},"\u002Fimages\u002Fblog\u002Fis-nuxt-good-for-seo\u002Fcard.png",{},"\u002Fblog\u002Fis-nuxt-good-for-seo",{"title":2827,"description":3966},"Is Nuxt JS Good for SEO? A Practical Nuxt SEO Guide","blog\u002Fis-nuxt-good-for-seo",[1030,3984],"SEO","9QipGDAF0zzVzDxcLA-tYeeYwk-i3yqW-9dMCppmgPE",{"id":3987,"title":3988,"articleType":7,"author":8,"authorSlug":9,"body":3989,"cta":1008,"date":4617,"description":4618,"extension":1011,"faq":4619,"featured":1021,"image":4630,"meta":4631,"navigation":653,"noCtaBox":1021,"path":4632,"readTime":1025,"seo":4633,"seoTitle":3988,"stem":4634,"tags":4635,"topic":1032,"video":1008,"__hash__":4637},"blog\u002Fblog\u002Fbest-headless-cms-for-nuxt.md","Best Headless CMS for Nuxt: 6 Nuxt CMS Options Compared",{"type":11,"value":3990,"toc":4592},[3991,3994,3998,4001,4024,4162,4166,4169,4175,4179,4182,4185,4193,4196,4200,4203,4206,4244,4247,4250,4282,4285,4288,4317,4320,4323,4361,4363,4392,4395,4398,4430,4434,4449,4452,4459,4463,4466,4501,4509,4511,4514,4521,4523,4527,4530,4534,4537,4541,4547,4551,4559,4563,4566,4570,4585,4589],[14,3992,3993],{},"The best headless CMS for Nuxt depends on who edits the content and where you want it hosted. This guide compares six Nuxt CMS options on the points that matter for a Nuxt project: the Nuxt integration, live preview, hosting and pricing. It also covers when you don't need a CMS at all, because Nuxt Content and Markdown files are enough.",[18,3995,3997],{"id":3996},"what-is-the-best-headless-cms-for-nuxt","What Is the Best Headless CMS for Nuxt?",[14,3999,4000],{},"What is the best headless CMS for Nuxt? There's no single winner. There is a clear pick for each kind of project, though:",[2357,4002,4003,4006,4009,4012,4015,4018,4021],{},[188,4004,4005],{},"Marketing site where editors build pages visually: Storyblok.",[188,4007,4008],{},"Open source and self-hosted, with a JavaScript team: Strapi.",[188,4010,4011],{},"Highly structured content and a custom editing UI: Sanity.",[188,4013,4014],{},"An app that already has its own SQL database: Directus.",[188,4016,4017],{},"A large organization publishing to many sites and channels: Contentful.",[188,4019,4020],{},"Slice-based landing pages on a small budget: Prismic.",[188,4022,4023],{},"A blog or docs that only developers edit: Nuxt Content, no CMS needed.",[26,4025,4026,4045],{},[29,4027,4028],{},[32,4029,4030,4033,4036,4039,4042],{},[35,4031,4032],{},"CMS",[35,4034,4035],{},"Nuxt integration",[35,4037,4038],{},"Visual preview",[35,4040,4041],{},"Hosting",[35,4043,4044],{},"Free option",[51,4046,4047,4067,4087,4106,4126,4145],{},[32,4048,4049,4052,4058,4061,4064],{},[56,4050,4051],{},"Storyblok",[56,4053,4054,4057],{},[137,4055,4056],{},"@storyblok\u002Fnuxt"," (by Storyblok)",[56,4059,4060],{},"Visual Editor, free plan included",[56,4062,4063],{},"Hosted",[56,4065,4066],{},"Free Starter plan",[32,4068,4069,4072,4078,4081,4084],{},[56,4070,4071],{},"Strapi",[56,4073,4074,4077],{},[137,4075,4076],{},"@nuxtjs\u002Fstrapi"," (community)",[56,4079,4080],{},"Preview; side-by-side Live Preview on paid plans",[56,4082,4083],{},"Self-hosted or Strapi Cloud",[56,4085,4086],{},"Free self-hosted Community edition",[32,4088,4089,4092,4097,4100,4103],{},[56,4090,4091],{},"Sanity",[56,4093,4094,4077],{},[137,4095,4096],{},"@nuxtjs\u002Fsanity",[56,4098,4099],{},"Visual Editing and Presentation tool, all plans",[56,4101,4102],{},"Hosted Content Lake, open-source Studio",[56,4104,4105],{},"Free plan",[32,4107,4108,4111,4117,4120,4123],{},[56,4109,4110],{},"Directus",[56,4112,4113,4116],{},[137,4114,4115],{},"@directus\u002Fsdk"," in a Nuxt plugin",[56,4118,4119],{},"Visual Editor",[56,4121,4122],{},"Self-hosted or Directus Cloud",[56,4124,4125],{},"Self-hosted; no-cost grant for small orgs",[32,4127,4128,4131,4137,4140,4142],{},[56,4129,4130],{},"Contentful",[56,4132,4133,4136],{},[137,4134,4135],{},"contentful"," JS SDK",[56,4138,4139],{},"Live Preview SDK",[56,4141,4063],{},[56,4143,4144],{},"Check the pricing page",[32,4146,4147,4150,4155,4158,4160],{},[56,4148,4149],{},"Prismic",[56,4151,4152],{},[137,4153,4154],{},"@nuxtjs\u002Fprismic",[56,4156,4157],{},"Previews and Page Builder, all plans",[56,4159,4063],{},[56,4161,4105],{},[18,4163,4165],{"id":4164},"what-is-a-nuxt-js-cms","What Is a Nuxt JS CMS?",[14,4167,4168],{},"A Nuxt JS CMS is a content management system that stores your content and serves it to a Nuxt app over an API. The CMS has no theme and renders no pages. Nuxt fetches the content and turns it into HTML, on the server or at build time. That split is why a headless CMS and Nuxt pair well: editors work in the CMS dashboard, and developers keep full control of the frontend.",[14,4170,4171,4172,4174],{},"For a CMS Nuxt.js setup, the main thing to know is that Nuxt already handles routing, data fetching and SEO meta, so the CMS only has to deliver content. If you're new to the framework, ",[128,4173,131],{"href":130}," covers the basics.",[18,4176,4178],{"id":4177},"what-to-look-for-in-a-nuxt-headless-cms","What to Look For in a Nuxt Headless CMS",[14,4180,4181],{},"Almost any CMS with an API can feed a Nuxt app, so the real differences are elsewhere. When you choose a Nuxt headless CMS, start with the integration. A maintained module or SDK that supports Nuxt 3 and 4 saves you from writing and maintaining your own plugin, and npm shows quickly whether it's still being published.",[14,4183,4184],{},"Live preview comes next, and it's the feature editors will ask about first. They want to see a draft on the real Nuxt page before it goes out. Some vendors include visual editing on the free plan. Others keep it for paid tiers.",[14,4186,4187,4188,4192],{},"Then check how the CMS fits your rendering mode. A static site needs a build hook so publishing triggers a redeploy. Server-rendered pages need fast API responses and a cache. Our guide to ",[128,4189,4191],{"href":4190},"\u002Fblog\u002Fvue-js-seo-rendering","SSR, SSG and CSR in Vue"," explains the trade-offs.",[14,4194,4195],{},"The last two are content modeling (reusable blocks, references between entries, localization) and cost. Price seats and API usage for your real team, not the demo. Whichever Nuxt.js headless CMS you pick, keep the API token in private runtime config so it never ships to the browser.",[18,4197,4199],{"id":4198},"best-cms-for-nuxt-6-options","Best CMS for Nuxt: 6 Options",[14,4201,4202],{},"Here is the best CMS for Nuxt in each category, compared on the same points. Prices are from each vendor's pricing page in November 2026. Every CMS Nuxt can talk to over REST or GraphQL would technically fit; these six are the ones with real Nuxt support.",[169,4204,4051],{"id":4205},"storyblok",[2357,4207,4208,4213,4222,4232,4238],{},[188,4209,4210,4212],{},[2363,4211,2543],{}," marketing teams that build and rearrange pages themselves.",[188,4214,4215,4218,4219,4221],{},[2363,4216,4217],{},"Nuxt integration:"," ",[137,4220,4056],{},", maintained by Storyblok and compatible with Nuxt 3 and 4.",[188,4223,4224,4227,4228,4231],{},[2363,4225,4226],{},"Live preview:"," the Visual Editor shows the live Nuxt page next to the fields. Click a block on the page to edit it, which works through the ",[137,4229,4230],{},"v-editable"," directive.",[188,4233,4234,4237],{},[2363,4235,4236],{},"Hosting:"," hosted SaaS.",[188,4239,4240,4243],{},[2363,4241,4242],{},"Pricing:"," the free Starter plan includes the Visual Editor. Growth is $99 a month on monthly billing.",[14,4245,4246],{},"Content is delivered through a REST API and a read-only GraphQL API.",[169,4248,4071],{"id":4249},"strapi",[2357,4251,4252,4257,4267,4272,4277],{},[188,4253,4254,4256],{},[2363,4255,2543],{}," teams that want an open-source backend they run themselves.",[188,4258,4259,4218,4261,4263,4264,534],{},[2363,4260,4217],{},[137,4262,4076],{},", a community module in the nuxt-modules organization. Strapi also ships its own ",[137,4265,4266],{},"@strapi\u002Fclient",[188,4268,4269,4271],{},[2363,4270,4226],{}," Preview opens a draft in your frontend. The side-by-side Live Preview, still marked experimental, needs the Growth or Enterprise plan.",[188,4273,4274,4276],{},[2363,4275,4236],{}," self-host the free Community edition, or use Strapi Cloud.",[188,4278,4279,4281],{},[2363,4280,4242],{}," self-hosted Growth is $45 a month for 3 users. Strapi Cloud starts at $35 a month per project.",[14,4283,4284],{},"Strapi exposes REST by default and GraphQL through a plugin.",[169,4286,4091],{"id":4287},"sanity",[2357,4289,4290,4295,4302,4307,4312],{},[188,4291,4292,4294],{},[2363,4293,2543],{}," structured content reused across pages, apps and channels.",[188,4296,4297,4218,4299,4301],{},[2363,4298,4217],{},[137,4300,4096],{},", a community module that Sanity's own Nuxt guide uses.",[188,4303,4304,4306],{},[2363,4305,4226],{}," Visual Editing and the Presentation tool are included on every plan, Free included.",[188,4308,4309,4311],{},[2363,4310,4236],{}," content lives in Sanity's hosted Content Lake. The editing Studio is open source (MIT), so you can customize it or embed it in your app.",[188,4313,4314,4316],{},[2363,4315,4242],{}," Free costs nothing. Growth is $15 per seat per month.",[14,4318,4319],{},"You query with GROQ, Sanity's query language, or deploy a GraphQL API.",[169,4321,4110],{"id":4322},"directus",[2357,4324,4325,4330,4346,4351,4356],{},[188,4326,4327,4329],{},[2363,4328,2543],{}," data-heavy apps where content sits next to business data.",[188,4331,4332,4334,4335,4337,4338,4341,4342,4345],{},[2363,4333,4217],{}," Directus recommends its ",[137,4336,4115],{}," in a small Nuxt plugin, plus ",[137,4339,4340],{},"@directus\u002Fvisual-editing",". The community ",[137,4343,4344],{},"nuxt-directus"," module hasn't been published since 2024.",[188,4347,4348,4350],{},[2363,4349,4226],{}," a Visual Editor and a live preview guide for Nuxt.",[188,4352,4353,4355],{},[2363,4354,4236],{}," connect it to your own database and it generates REST and GraphQL APIs. You can self-host it or use Directus Cloud.",[188,4357,4358,4360],{},[2363,4359,4242],{}," Core costs $99 a month on monthly billing. Organizations under $5M in annual revenue and with fewer than 50 employees qualify for no-cost access through Directus's grant.",[169,4362,4130],{"id":4135},[2357,4364,4365,4370,4378,4383,4387],{},[188,4366,4367,4369],{},[2363,4368,2543],{}," large organizations with many sites, locales and content teams.",[188,4371,4372,4374,4375,4377],{},[2363,4373,4217],{}," no current Nuxt module. You use the ",[137,4376,4135],{}," JavaScript SDK from a Nuxt plugin or server route; the module listed on nuxt.com only supports Nuxt 2.",[188,4379,4380,4382],{},[2363,4381,4226],{}," the Live Preview SDK ships React helpers and a plain JavaScript path, so in Nuxt you wire it up yourself.",[188,4384,4385,4237],{},[2363,4386,4236],{},[188,4388,4389,4391],{},[2363,4390,4242],{}," check contentful.com\u002Fpricing. It's the one vendor here whose current plans we couldn't confirm when writing this.",[14,4393,4394],{},"Content comes from the REST Content Delivery and Preview APIs, plus a GraphQL API.",[169,4396,4149],{"id":4397},"prismic",[2357,4399,4400,4405,4412,4421,4425],{},[188,4401,4402,4404],{},[2363,4403,2543],{}," landing pages assembled from reusable sections (\"slices\").",[188,4406,4407,4218,4409,4411],{},[2363,4408,4217],{},[137,4410,4154],{},", which Prismic's docs call its first-party Nuxt integration.",[188,4413,4414,4416,4417,4420],{},[2363,4415,4226],{}," full-site previews through a ",[137,4418,4419],{},"\u002Fpreview"," route, and a Page Builder with live slice thumbnails, both included on every plan.",[188,4422,4423,4237],{},[2363,4424,4236],{},[188,4426,4427,4429],{},[2363,4428,4242],{}," there's a free plan. Starter is $10 a month per repository, billed annually.",[18,4431,4433],{"id":4432},"nuxt-content-vs-a-headless-cms","Nuxt Content vs a Headless CMS",[14,4435,4436,4437,4440,4441,4444,4445,4448],{},"Sometimes the best CMS for a Nuxt site is no CMS. Nuxt Content (",[137,4438,4439],{},"@nuxt\u002Fcontent",", now v3) reads Markdown, YAML and JSON files from your repository. You define typed collections in ",[137,4442,4443],{},"content.config.ts"," and query them with ",[137,4446,4447],{},"queryCollection",". Every change goes through Git, so you get history, review and rollbacks for free.",[14,4450,4451],{},"That's enough when developers write most of the content, or when editors are fine with a Git-based workflow. This blog is an example: every post is a Markdown file rendered by Nuxt Content, and editors who don't use Git work through Decap CMS, which commits to the repository for them.",[14,4453,4454,4455,4458],{},"It stops being enough when marketers want to rebuild pages, schedule campaigns or publish in several languages without opening a pull request. That's when a headless CMS earns its place. The free ",[137,4456,4457],{},"nuxt-studio"," module closes part of the gap with visual editing for Nuxt Content, but it needs a server-rendered deployment. A site that is pre-rendered as static files can't host it as-is.",[18,4460,4462],{"id":4461},"how-to-build-a-cms-website-with-nuxt","How to Build a CMS Website With Nuxt",[14,4464,4465],{},"The steps for a CMS website with Nuxt are the same whichever CMS you pick:",[185,4467,4468,4471,4478,4484,4487,4498],{},[188,4469,4470],{},"Model the content first. List the page types, reusable blocks and fields before you touch code.",[188,4472,4473,4474,4477],{},"Start from a Nuxt CMS starter. Storyblok, Sanity and Directus each maintain one, or run ",[137,4475,4476],{},"npm create nuxt@latest"," and add the CMS module yourself.",[188,4479,4480,4481,534],{},"Add the module or SDK and put the API token in ",[137,4482,4483],{},"runtimeConfig",[188,4485,4486],{},"Map each CMS block type to one Vue component, so editors can rearrange pages without a developer.",[188,4488,4489,4490,809,4493,4495,4496,534],{},"Fetch content in pages with ",[137,4491,4492],{},"useAsyncData",[137,4494,2054],{},", and set titles and meta from CMS fields with ",[137,4497,2885],{},[188,4499,4500],{},"Wire up previews and a publish webhook. The webhook triggers a rebuild for a static site or clears the cache for a server-rendered one.",[14,4502,4503,4504,4508],{},"The same pattern works for commerce, where products come from a commerce API instead of a CMS. Our guide to an ",[128,4505,4507],{"href":4506},"\u002Fblog\u002Fhow-to-create-medusa-js-with-nuxt-4","e-commerce store with Medusa and Nuxt 4"," walks through it.",[18,4510,914],{"id":913},[14,4512,4513],{},"Pick the CMS by who edits and where it has to run. Storyblok or Prismic if marketers build pages. Sanity for structured content. Strapi or Directus if it has to live on your own servers, and Contentful for large content teams. And if developers own the content, Nuxt Content and a folder of Markdown files may be all you need.",[14,4515,2732,4516,4518,4519,534],{},[128,4517,921],{"href":920},", we connect Nuxt to headless CMS platforms and APIs as part of our ",[128,4520,926],{"href":925},[18,4522,931],{"id":930},[169,4524,4526],{"id":4525},"which-headless-cms-works-best-with-nuxt","Which headless CMS works best with Nuxt?",[14,4528,4529],{},"Storyblok and Sanity have the tightest Nuxt fit today: both have maintained Nuxt modules and visual editing on their free plans. Pick Storyblok if marketers build pages themselves, and Sanity if your content is highly structured and developers want to shape the editing UI.",[169,4531,4533],{"id":4532},"what-are-the-best-cms-platforms-for-nuxt","What are the best CMS platforms for Nuxt?",[14,4535,4536],{},"The six worth shortlisting are Storyblok, Strapi, Sanity, Directus, Contentful and Prismic. For content that only developers edit, Nuxt Content is often enough and needs no separate service.",[169,4538,4540],{"id":4539},"what-is-the-best-cms-for-nuxt-developers","What is the best CMS for Nuxt developers?",[14,4542,4543,4544,4546],{},"If developers are the only editors, Nuxt Content: pages are Markdown or YAML files in the repo, typed through collections and queried with ",[137,4545,4447],{},". If the team wants a full backend they control, Strapi or Directus can be self-hosted and gives them both the API and the admin panel.",[169,4548,4550],{"id":4549},"can-i-use-wordpress-as-a-cms-for-nuxt","Can I use WordPress as a CMS for Nuxt?",[14,4552,4553,4554,4558],{},"Yes. WordPress works as a headless CMS through its built-in REST API or the WPGraphQL plugin, and Nuxt renders the public site. It makes most sense when editors already know WordPress. Our guide to ",[128,4555,4557],{"href":4556},"\u002Fblog\u002Fheadless-wordpress-nuxt","headless WordPress with Nuxt"," covers the setup.",[169,4560,4562],{"id":4561},"is-nuxt-content-a-cms","Is Nuxt Content a CMS?",[14,4564,4565],{},"It is a file-based content layer rather than a hosted CMS: content lives in Markdown, YAML or JSON files in your repository. With the free Nuxt Studio module, non-developers can also edit that content in a visual editor, and their changes are committed back to GitHub or GitLab.",[169,4567,4569],{"id":4568},"is-there-a-nuxt-cms-starter","Is there a Nuxt CMS starter?",[14,4571,4572,4573,4576,4577,4580,4581,4584],{},"Yes. Storyblok, Sanity and Directus each maintain a Nuxt starter: ",[137,4574,4575],{},"storyblok\u002Fblueprint-core-nuxt",", ",[137,4578,4579],{},"sanity-io\u002Fsanity-template-nuxt-clean"," and the Nuxt template in ",[137,4582,4583],{},"directus-labs\u002Fstarters",". The older Strapi and Prismic Nuxt starters are archived, so start from their docs instead.",[169,4586,4588],{"id":4587},"does-a-headless-cms-work-with-nuxt-ssr","Does a headless CMS work with Nuxt SSR?",[14,4590,4591],{},"Yes. Nuxt fetches content from the CMS API on the server or at build time, so crawlers get full HTML either way. Keep API tokens in private runtime config so they stay on the server and never reach the browser.",{"title":197,"searchDepth":264,"depth":264,"links":4593},[4594,4595,4596,4597,4605,4606,4607,4608],{"id":3996,"depth":224,"text":3997},{"id":4164,"depth":224,"text":4165},{"id":4177,"depth":224,"text":4178},{"id":4198,"depth":224,"text":4199,"children":4598},[4599,4600,4601,4602,4603,4604],{"id":4205,"depth":264,"text":4051},{"id":4249,"depth":264,"text":4071},{"id":4287,"depth":264,"text":4091},{"id":4322,"depth":264,"text":4110},{"id":4135,"depth":264,"text":4130},{"id":4397,"depth":264,"text":4149},{"id":4432,"depth":224,"text":4433},{"id":4461,"depth":224,"text":4462},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":4609},[4610,4611,4612,4613,4614,4615,4616],{"id":4525,"depth":264,"text":4526},{"id":4532,"depth":264,"text":4533},{"id":4539,"depth":264,"text":4540},{"id":4549,"depth":264,"text":4550},{"id":4561,"depth":264,"text":4562},{"id":4568,"depth":264,"text":4569},{"id":4587,"depth":264,"text":4588},"2026-11-14","Need a Nuxt JS CMS? Compare Storyblok, Strapi, Sanity and more, see what a Nuxt headless CMS should offer and when Nuxt Content is enough.",[4620,4621,4622,4624,4626,4627,4629],{"question":4526,"answer":4529},{"question":4533,"answer":4536},{"question":4540,"answer":4623},"If developers are the only editors, Nuxt Content: pages are Markdown or YAML files in the repo, typed through collections and queried with queryCollection. If the team wants a full backend they control, Strapi or Directus can be self-hosted and gives them both the API and the admin panel.",{"question":4550,"answer":4625},"Yes. WordPress works as a headless CMS through its built-in REST API or the WPGraphQL plugin, and Nuxt renders the public site. It makes most sense when editors already know WordPress. Our guide to headless WordPress with Nuxt covers the setup.",{"question":4562,"answer":4565},{"question":4569,"answer":4628},"Yes. Storyblok, Sanity and Directus each maintain a Nuxt starter: storyblok\u002Fblueprint-core-nuxt, sanity-io\u002Fsanity-template-nuxt-clean and the Nuxt template in directus-labs\u002Fstarters. The older Strapi and Prismic Nuxt starters are archived, so start from their docs instead.",{"question":4588,"answer":4591},"\u002Fimages\u002Fblog\u002Fbest-headless-cms-for-nuxt\u002Fcard.png",{},"\u002Fblog\u002Fbest-headless-cms-for-nuxt",{"title":3988,"description":4618},"blog\u002Fbest-headless-cms-for-nuxt",[1030,4636],"Headless CMS","WGiCa7vzm25wMRedDW5QbFEstuNWKCOCOs2SfSgGFbI",{"id":4639,"title":4640,"articleType":7,"author":8,"authorSlug":9,"body":4641,"cta":1008,"date":4617,"description":5082,"extension":1011,"faq":5083,"featured":1021,"image":5090,"meta":5091,"navigation":653,"noCtaBox":1021,"path":5092,"readTime":5093,"seo":5094,"seoTitle":5095,"stem":5096,"tags":5097,"topic":1032,"video":1008,"__hash__":5099},"blog\u002Fblog\u002Fnuxt-4-vs-nuxt-3.md","Nuxt 4 vs Nuxt 3: Key Differences Compared",{"type":11,"value":4642,"toc":5062},[4643,4646,4650,4659,4781,4785,4788,4792,4827,4831,4850,4854,4864,4868,4875,4879,4882,4966,4982,4986,4995,4999,5011,5013,5022,5024,5028,5031,5035,5038,5042,5045,5049,5052,5056],[14,4644,4645],{},"Nuxt 4 came out in July 2025, and Nuxt 3 reached end of life a year later. If you still run Nuxt 3, or you're starting a project and want to know what changed, this post covers the differences, the breaking changes that catch teams out, and whether to move now.",[18,4647,4649],{"id":4648},"nuxt-4-vs-nuxt-3-differences-the-short-answer","Nuxt 4 vs Nuxt 3 Differences: The Short Answer",[14,4651,4652,4653,4656,4657,534],{},"Nuxt 4 vs Nuxt 3 differences come down to defaults. It's the same Vue, the same Nitro server and the same rendering modes. It moves your code into an ",[137,4654,4655],{},"app\u002F"," directory, makes data fetching share state by key, splits TypeScript into separate projects and speeds up the dev tooling. If you're new to the framework itself, start with ",[128,4658,131],{"href":130},[26,4660,4661,4673],{},[29,4662,4663],{},[32,4664,4665,4667,4670],{},[35,4666],{},[35,4668,4669],{},"Nuxt 3",[35,4671,4672],{},"Nuxt 4",[51,4674,4675,4688,4712,4731,4749,4760,4770],{},[32,4676,4677,4680,4683],{},[56,4678,4679],{},"Source directory",[56,4681,4682],{},"Project root",[56,4684,4685,4687],{},[137,4686,4655],{}," (old layout still detected)",[32,4689,4690,4697,4700],{},[56,4691,4692,4694,4695],{},[137,4693,2054],{}," \u002F ",[137,4696,4492],{},[56,4698,4699],{},"Each call has its own state",[56,4701,4702,4703,4576,4706,955,4709],{},"Same key shares ",[137,4704,4705],{},"data",[137,4707,4708],{},"error",[137,4710,4711],{},"status",[32,4713,4714,4721,4726],{},[56,4715,4716,4717,955,4719],{},"Default ",[137,4718,4705],{},[137,4720,4708],{},[56,4722,4723],{},[137,4724,4725],{},"null",[56,4727,4728],{},[137,4729,4730],{},"undefined",[32,4732,4733,4738,4744],{},[56,4734,4735,4737],{},[137,4736,4705],{}," reactivity",[56,4739,4740,4741],{},"Deep ",[137,4742,4743],{},"ref",[56,4745,4746],{},[137,4747,4748],{},"shallowRef",[32,4750,4751,4754,4757],{},[56,4752,4753],{},"TypeScript",[56,4755,4756],{},"One project",[56,4758,4759],{},"Separate app, server, shared and node projects",[32,4761,4762,4765,4768],{},[56,4763,4764],{},"Server engine",[56,4766,4767],{},"Nitro v2",[56,4769,4767],{},[32,4771,4772,4775,4778],{},[56,4773,4774],{},"Support",[56,4776,4777],{},"End of life since July 31, 2026",[56,4779,4780],{},"Current major",[18,4782,4784],{"id":4783},"whats-new-in-nuxt-4-key-nuxt-4-features","What's New in Nuxt 4: Key Nuxt 4 Features",[14,4786,4787],{},"What's new in Nuxt 4 is mostly structure and data fetching. These are the Nuxt 4 features you'll notice first.",[169,4789,4791],{"id":4790},"the-app-directory","The app\u002F Directory",[14,4793,4794,4795,4797,4798,4801,4802,4576,4805,4576,4808,4576,4811,4576,4814,955,4817,4819,4820,955,4823,4826],{},"Your pages, components, layouts, composables and plugins now live in ",[137,4796,4655],{},", and ",[137,4799,4800],{},"~"," points there. ",[137,4803,4804],{},"server\u002F",[137,4806,4807],{},"shared\u002F",[137,4809,4810],{},"public\u002F",[137,4812,4813],{},"layers\u002F",[137,4815,4816],{},"modules\u002F",[137,4818,564],{}," stay at the root. The point is to keep your code apart from ",[137,4821,4822],{},"node_modules\u002F",[137,4824,4825],{},".git\u002F",", which the Nuxt team says makes file watching faster. Nuxt 4 still detects the Nuxt 3 layout, so moving is optional.",[169,4828,4830],{"id":4829},"singleton-data-fetching","Singleton Data Fetching",[14,4832,4833,4834,809,4836,4838,4839,4576,4841,955,4843,4845,4846,4849],{},"Calls to ",[137,4835,4492],{},[137,4837,2054],{}," with the same key now share their ",[137,4840,4705],{},[137,4842,4708],{},[137,4844,4711],{},". Two components that fetch ",[137,4847,4848],{},"cart"," read the same state instead of keeping two copies. Data is cleaned up when the components using it unmount, and a reactive key refetches when it changes. The catch: calls that share a key must not use conflicting options.",[169,4851,4853],{"id":4852},"separate-typescript-projects","Separate TypeScript Projects",[14,4855,4856,4857,4859,4860,4863],{},"Nuxt now generates separate TypeScript projects for app code, server code, ",[137,4858,4807],{}," and build-time code, and you keep a single ",[137,4861,4862],{},"tsconfig.json"," at the root. App code no longer sees server-only types, and the reverse. Project references are opt-in, so this doesn't force a migration.",[169,4865,4867],{"id":4866},"faster-cli-and-dev-server","Faster CLI and Dev Server",[14,4869,4870,4871,4874],{},"The 4.0 release lists four changes. The dev server starts noticeably faster, Nuxt reuses the V8 compile cache, and file watching uses ",[137,4872,4873],{},"fs.watch"," for fewer system resources. The CLI also talks to the Vite dev server over internal sockets instead of network ports. The Nuxt team didn't publish startup numbers.",[18,4876,4878],{"id":4877},"nuxt-4-breaking-changes","Nuxt 4 Breaking Changes",[14,4880,4881],{},"Nuxt 4 brought few breaking changes overall, but the data fetching ones catch teams out. The ones to check first:",[185,4883,4884,4898,4910,4913,4930,4944,4956],{},[188,4885,4886,955,4888,4890,4891,4893,4894,4897],{},[137,4887,4705],{},[137,4889,4708],{}," now default to ",[137,4892,4730],{},", so code that checks ",[137,4895,4896],{},"data.value === null"," stops working.",[188,4899,4900,4902,4903,4905,4906,4909],{},[137,4901,4705],{}," is a ",[137,4904,4748],{},". Mutating a nested field no longer triggers an update: replace the value, or pass ",[137,4907,4908],{},"deep: true"," for that call.",[188,4911,4912],{},"Two calls with the same key now read the same refs, so their options must not conflict.",[188,4914,4915,4918,4919,4921,4922,4925,4926,4929],{},[137,4916,4917],{},"pending"," follows ",[137,4920,4711],{},". With ",[137,4923,4924],{},"immediate: false"," it stays ",[137,4927,4928],{},"false"," until the first request starts.",[188,4931,4932,955,4935,4937,4938,809,4941,534],{},[137,4933,4934],{},"dedupe: true",[137,4936,4928],{}," are gone. Use ",[137,4939,4940],{},"'cancel'",[137,4942,4943],{},"'defer'",[188,4945,4946,4947,4576,4950,955,4953,534],{},"Head management moves to Unhead v2, which drops ",[137,4948,4949],{},"hid",[137,4951,4952],{},"vmid",[137,4954,4955],{},"children",[188,4957,4958,4959,4962,4963,534],{},"The top-level ",[137,4960,4961],{},"generate"," config is gone. Prerender options live under ",[137,4964,4965],{},"nitro.prerender",[14,4967,4968,4969,4972,4973,4975,4976,534],{},"TypeScript also gets stricter: ",[137,4970,4971],{},"noUncheckedIndexedAccess"," is on by default, so array and record lookups can now be ",[137,4974,4730],{},". Most of these changes have a flag that restores the old behavior. The full list is in the ",[128,4977,4981],{"href":4978,"rel":4979},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fupgrade",[4980],"nofollow","official upgrade guide",[18,4983,4985],{"id":4984},"nuxt-3-end-of-life-and-nuxt-5","Nuxt 3 End of Life and Nuxt 5",[14,4987,4988,4989,4994],{},"Nuxt 3 was due to lose support at the end of January 2026. The team extended that, and Nuxt 3 reached end of life on July 31, 2026. It no longer gets bug fixes or security patches. Nuxt 5 isn't out yet: the ",[128,4990,4993],{"href":4991,"rel":4992},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002F4.x\u002Fcommunity\u002Froadmap",[4980],"official roadmap"," estimates Q4 2026 and lists Nitro v3 as the main change. Nuxt 4 stays supported for six months after Nuxt 5 ships.",[18,4996,4998],{"id":4997},"should-you-move-to-nuxt-4","Should You Move to Nuxt 4?",[14,5000,5001,5002,5004,5005,5007,5008,5010],{},"Yes. Nuxt 3 gets no more security fixes, and Nuxt 4 is the version Nuxt 5 will upgrade from. The size of the job depends on how much data fetching code relies on ",[137,5003,4725],{}," checks and nested mutation. Our ",[128,5006,2273],{"href":2272}," covers the upgrade, and our ",[128,5009,2720],{"href":2719}," team can take it on.",[18,5012,914],{"id":913},[14,5014,5015,5016,5018,5019,5021],{},"Nuxt 4 tidies up Nuxt 3. The ",[137,5017,4655],{}," folder and split TypeScript are easy wins, and the data fetching changes are where upgrades break. As an ",[128,5020,921],{"href":920},", we can help you plan the move.",[18,5023,931],{"id":930},[169,5025,5027],{"id":5026},"is-nuxt-4-backward-compatible-with-nuxt-3","Is Nuxt 4 backward compatible with Nuxt 3?",[14,5029,5030],{},"Mostly. The Nuxt team calls 4.0 a stability-focused release with a few deliberate breaking changes, and most of them have a config flag that restores the Nuxt 3 behavior. Most projects upgrade with little code change, but data fetching code needs a review.",[169,5032,5034],{"id":5033},"is-nuxt-3-still-supported","Is Nuxt 3 still supported?",[14,5036,5037],{},"No. Nuxt 3 reached end of life on July 31, 2026, and no longer gets bug fixes or security patches from the Nuxt team. Some vendors sell paid security support for it, but the supported path is Nuxt 4.",[169,5039,5041],{"id":5040},"is-nuxt-4-faster-than-nuxt-3","Is Nuxt 4 faster than Nuxt 3?",[14,5043,5044],{},"In development, yes: the Nuxt team reports a faster dev server start, lighter file watching and a faster CLI. They make no runtime speed claim for Nuxt 4 itself, since both versions run on Nitro v2 and Vue 3.5. The shallow data refs can save reactivity work on large payloads.",[169,5046,5048],{"id":5047},"do-i-have-to-use-the-app-directory-in-nuxt-4","Do I have to use the app\u002F directory in Nuxt 4?",[14,5050,5051],{},"No. Nuxt 4 auto-detects the Nuxt 3 folder layout, so an upgraded project keeps working without moving files. New projects start with app\u002F, and moving to it is a one-time change you can make later.",[169,5053,5055],{"id":5054},"what-happens-to-nuxt-4-when-nuxt-5-ships","What happens to Nuxt 4 when Nuxt 5 ships?",[14,5057,5058,5059,534],{},"Nuxt 4 stays supported for 6 months after Nuxt 5 is released, according to the official roadmap. Nuxt 5 is estimated for Q4 2026 and brings Nitro v3. Nuxt 4.2 and later can already test Nuxt 5 behavior with ",[137,5060,5061],{},"future.compatibilityVersion: 5",{"title":197,"searchDepth":264,"depth":264,"links":5063},[5064,5065,5071,5072,5073,5074,5075],{"id":4648,"depth":224,"text":4649},{"id":4783,"depth":224,"text":4784,"children":5066},[5067,5068,5069,5070],{"id":4790,"depth":264,"text":4791},{"id":4829,"depth":264,"text":4830},{"id":4852,"depth":264,"text":4853},{"id":4866,"depth":264,"text":4867},{"id":4877,"depth":224,"text":4878},{"id":4984,"depth":224,"text":4985},{"id":4997,"depth":224,"text":4998},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":5076},[5077,5078,5079,5080,5081],{"id":5026,"depth":264,"text":5027},{"id":5033,"depth":264,"text":5034},{"id":5040,"depth":264,"text":5041},{"id":5047,"depth":264,"text":5048},{"id":5054,"depth":264,"text":5055},"See what's new in Nuxt 4, the Nuxt 4 features that matter, the Nuxt 4 breaking changes that catch teams out, and where Nuxt 3 stands now.",[5084,5085,5086,5087,5088],{"question":5027,"answer":5030},{"question":5034,"answer":5037},{"question":5041,"answer":5044},{"question":5048,"answer":5051},{"question":5055,"answer":5089},"Nuxt 4 stays supported for 6 months after Nuxt 5 is released, according to the official roadmap. Nuxt 5 is estimated for Q4 2026 and brings Nitro v3. Nuxt 4.2 and later can already test Nuxt 5 behavior with future.compatibilityVersion: 5.","\u002Fimages\u002Fblog\u002Fnuxt-4-vs-nuxt-3\u002Fcard.png",{},"\u002Fblog\u002Fnuxt-4-vs-nuxt-3","6 min read",{"title":4640,"description":5082},"Nuxt 4 vs Nuxt 3 Differences: What's New and What Breaks","blog\u002Fnuxt-4-vs-nuxt-3",[1030,5098],"Migration","1I-AjqIN3NTZpzyHftFoKnq6Mi533A15wdyHt6iGwpo",{"id":5101,"title":5102,"articleType":7,"author":8,"authorSlug":9,"body":5103,"cta":1008,"date":6200,"description":6201,"extension":1011,"faq":6202,"featured":1021,"image":6213,"meta":6214,"navigation":653,"noCtaBox":1021,"path":4556,"readTime":1025,"seo":6215,"seoTitle":6216,"stem":6217,"tags":6218,"topic":1032,"video":1008,"__hash__":6220},"blog\u002Fblog\u002Fheadless-wordpress-nuxt.md","What Is Headless WordPress With Nuxt and How to Get Started?",{"type":11,"value":5104,"toc":6177},[5105,5108,5112,5115,5118,5121,5125,5132,5135,5153,5159,5165,5169,5184,5187,5190,5194,5248,5251,5257,5261,5264,5268,5275,5279,5285,5348,5355,5359,5364,5621,5632,5636,5639,6045,6048,6052,6067,6080,6084,6087,6101,6103,6106,6114,6116,6120,6126,6130,6133,6137,6140,6144,6150,6154,6159,6163,6169,6174],[14,5106,5107],{},"Headless WordPress Nuxt setups keep WordPress for writing and managing content and hand the public site to Nuxt. Editors keep the dashboard they know, and developers get a fast Vue frontend. This guide explains how the two connect, when to use the REST API or WPGraphQL, the trade-offs, and how to set up your first project step by step.",[18,5109,5111],{"id":5110},"what-is-headless-wordpress-with-nuxt","What Is Headless WordPress With Nuxt?",[14,5113,5114],{},"Headless WordPress with Nuxt is a setup where WordPress only stores and manages content, and a separate Nuxt app renders the website. Nuxt reads posts, pages and media from WordPress through its REST API or GraphQL, then serves the pages as server-rendered or prerendered HTML.",[14,5116,5117],{},"\"Headless\" means the WordPress theme, the head, is removed. WordPress still runs: editors log in, write posts, upload images and manage users exactly as before. Visitors just never see a page that WordPress rendered.",[14,5119,5120],{},"This comes up a lot, because WordPress is everywhere. W3Techs counts it on 39.4% of all websites and 58.1% of sites with a known CMS (November 2026). Plenty of teams have years of posts and a trained editorial team in WordPress. They want a faster frontend, not a content migration.",[18,5122,5124],{"id":5123},"how-a-nuxt-wordpress-headless-setup-works","How a Nuxt WordPress Headless Setup Works",[14,5126,5127,5128,5131],{},"In a Nuxt WordPress headless setup there are two apps with one job each. WordPress, usually on a subdomain like ",[137,5129,5130],{},"cms.example.com",", holds the content and exposes it as JSON. Nuxt, on the main domain, fetches that JSON and turns it into pages.",[14,5133,5134],{},"The flow looks like this:",[185,5136,5137,5140,5147,5150],{},[188,5138,5139],{},"An editor publishes a post in WordPress.",[188,5141,5142,5143,5146],{},"Nuxt requests it from ",[137,5144,5145],{},"\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts"," (or the GraphQL endpoint).",[188,5148,5149],{},"Nuxt renders the page on the server or at build time and sends full HTML to the browser.",[188,5151,5152],{},"Vue hydrates the page, and navigation from there works like a single-page app.",[14,5154,5155,5156,5158],{},"When the page is rendered is up to you. With ",[137,5157,143],{},", every page is built once and served as static files, so new content needs a rebuild. With server rendering, pages are built per request and can be cached, so new posts appear without a deploy.",[14,5160,5161,5162,5164],{},"If you're new to the framework itself, our guide ",[128,5163,131],{"href":130}," covers routing, rendering and the Nitro server layer.",[18,5166,5168],{"id":5167},"rest-api-vs-wpgraphql-for-nuxt","REST API vs WPGraphQL for Nuxt",[14,5170,5171,5172,5175,5176,5179,5180,5183],{},"The REST API is built into WordPress core, so it needs no plugin. Every resource has a URL, like ",[137,5173,5174],{},"\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts?slug=hello-world",", which makes responses easy to cache on a CDN. Responses include more fields than you need, but ",[137,5177,5178],{},"_fields"," trims them and ",[137,5181,5182],{},"_embed"," pulls in featured images and authors in the same request. Yoast SEO adds its meta data to REST responses, and WooCommerce's Store API is REST too.",[14,5185,5186],{},"WPGraphQL is a plugin, and WordPress.org lists it as becoming a canonical plugin. It gives you one endpoint and a typed schema, and each page asks for exactly the fields it uses, including related content, in one request. Add-ons such as WPGraphQL for ACF expose custom fields. The cost is one more plugin to update, and GraphQL requests usually go out as POST, which CDNs don't cache by default.",[14,5188,5189],{},"Our pick: REST for blogs, marketing sites and WooCommerce stores; WPGraphQL for content models with many relations, such as ACF-heavy sites where one page pulls from several post types.",[18,5191,5193],{"id":5192},"pros-and-cons-of-nuxt-with-headless-wordpress","Pros and Cons of Nuxt With Headless WordPress",[26,5195,5196,5206],{},[29,5197,5198],{},[32,5199,5200,5203],{},[35,5201,5202],{},"Pros",[35,5204,5205],{},"Cons",[51,5207,5208,5216,5224,5232,5240],{},[32,5209,5210,5213],{},[56,5211,5212],{},"Editors keep the WordPress dashboard, roles and workflow",[56,5214,5215],{},"Two apps to host, update and monitor",[32,5217,5218,5221],{},[56,5219,5220],{},"Fast pages: prerendered or server-rendered HTML, then Vue",[56,5222,5223],{},"Theme-level plugins stop working on the frontend",[32,5225,5226,5229],{},[56,5227,5228],{},"The frontend is a normal Vue codebase with components and TypeScript",[56,5230,5231],{},"Previews need extra setup",[32,5233,5234,5237],{},[56,5235,5236],{},"WordPress admin can live off the public domain, with less exposed",[56,5238,5239],{},"New content may need a rebuild or cache rules",[32,5241,5242,5245],{},[56,5243,5244],{},"The same content can feed apps and other channels",[56,5246,5247],{},"The team needs both WordPress and Vue skills",[14,5249,5250],{},"The trade pays off on content-heavy sites with an editorial team that already lives in WordPress. It hurts on sites assembled from front-end plugins, since every one of them has to be rebuilt in Nuxt or dropped.",[14,5252,5253,5254,5256],{},"Rendering is the decision that shapes the rest. A blog that changes a few times a day can be fully prerendered. A site with thousands of pages or frequent updates is better served per request with caching. Our explainer on ",[128,5255,4191],{"href":4190}," covers the options and what each means for SEO.",[18,5258,5260],{"id":5259},"how-to-set-up-headless-wordpress-nuxt","How to Set Up Headless WordPress + Nuxt",[14,5262,5263],{},"Here's a minimal path from a WordPress install to a working Nuxt blog.",[169,5265,5267],{"id":5266},"prepare-wordpress-as-a-backend","Prepare WordPress as a Backend",[14,5269,5270,5271,5274],{},"Set permalinks to \"Post name\" so slugs are clean, and check that ",[137,5272,5273],{},"https:\u002F\u002Fcms.example.com\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts"," returns JSON. Install the plugins that add data you need, such as ACF or Yoast SEO. If you want GraphQL, install WPGraphQL now. Then keep the WordPress domain out of search results, for example with the \"Discourage search engines from indexing this site\" option under Settings → Reading, so only the Nuxt site gets indexed.",[169,5276,5278],{"id":5277},"create-the-nuxt-app","Create the Nuxt App",[14,5280,5281,5282,5284],{},"Create the app with ",[137,5283,4476],{},", then store the WordPress URL in runtime config so each environment can set its own:",[192,5286,5288],{"className":230,"code":5287,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  runtimeConfig: {\n    public: { wpUrl: 'https:\u002F\u002Fcms.example.com' },\n  },\n})\n",[137,5289,5290,5294,5306,5315,5338,5342],{"__ignoreMap":197},[201,5291,5292],{"class":203,"line":204},[201,5293,240],{"class":239},[201,5295,5296,5298,5300,5302,5304],{"class":203,"line":224},[201,5297,246],{"class":245},[201,5299,249],{"class":245},[201,5301,253],{"class":252},[201,5303,257],{"class":256},[201,5305,261],{"class":260},[201,5307,5308,5311,5313],{"class":203,"line":264},[201,5309,5310],{"class":267},"  runtimeConfig",[201,5312,271],{"class":260},[201,5314,298],{"class":260},[201,5316,5317,5320,5322,5324,5327,5329,5331,5334,5336],{"class":203,"line":290},[201,5318,5319],{"class":267},"    public",[201,5321,271],{"class":260},[201,5323,631],{"class":260},[201,5325,5326],{"class":267}," wpUrl",[201,5328,271],{"class":260},[201,5330,309],{"class":260},[201,5332,5333],{"class":211},"https:\u002F\u002Fcms.example.com",[201,5335,277],{"class":260},[201,5337,438],{"class":260},[201,5339,5340],{"class":203,"line":301},[201,5341,501],{"class":260},[201,5343,5344,5346],{"class":203,"line":319},[201,5345,507],{"class":260},[201,5347,510],{"class":256},[14,5349,5350,5351,5354],{},"The ",[137,5352,5353],{},"NUXT_PUBLIC_WP_URL"," environment variable overrides it at runtime.",[169,5356,5358],{"id":5357},"fetch-posts-and-pages","Fetch Posts and Pages",[14,5360,5361,5363],{},[137,5362,2054],{}," runs on the server during rendering and passes the result to the browser, so the request isn't repeated on hydration:",[192,5365,5367],{"className":1333,"code":5366,"language":1335,"meta":197,"style":197},"\u003C!-- app\u002Fpages\u002Fblog\u002Findex.vue -->\n\u003Cscript setup lang=\"ts\">\nconst { public: { wpUrl } } = useRuntimeConfig()\nconst { data: posts } = await useFetch(`${wpUrl}\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts`, {\n  query: { per_page: 20, _fields: 'id,slug,title,excerpt' },\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Carticle v-for=\"post in posts\" :key=\"post.id\">\n    \u003CNuxtLink :to=\"`\u002Fblog\u002F${post.slug}`\">\n      \u003Cspan v-html=\"post.title.rendered\" \u002F>\n    \u003C\u002FNuxtLink>\n  \u003C\u002Farticle>\n\u003C\u002Ftemplate>\n",[137,5368,5369,5374,5394,5421,5460,5493,5499,5507,5511,5519,5552,5574,5595,5604,5613],{"__ignoreMap":197},[201,5370,5371],{"class":203,"line":204},[201,5372,5373],{"class":239},"\u003C!-- app\u002Fpages\u002Fblog\u002Findex.vue -->\n",[201,5375,5376,5378,5380,5382,5384,5386,5388,5390,5392],{"class":203,"line":224},[201,5377,1342],{"class":260},[201,5379,2936],{"class":267},[201,5381,2939],{"class":659},[201,5383,2942],{"class":659},[201,5385,1353],{"class":260},[201,5387,1356],{"class":260},[201,5389,232],{"class":211},[201,5391,1356],{"class":260},[201,5393,1718],{"class":260},[201,5395,5396,5398,5400,5403,5405,5407,5410,5412,5414,5416,5419],{"class":203,"line":264},[201,5397,660],{"class":659},[201,5399,631],{"class":260},[201,5401,5402],{"class":267}," public",[201,5404,271],{"class":260},[201,5406,631],{"class":260},[201,5408,5409],{"class":256}," wpUrl ",[201,5411,507],{"class":260},[201,5413,637],{"class":260},[201,5415,670],{"class":260},[201,5417,5418],{"class":252}," useRuntimeConfig",[201,5420,2967],{"class":256},[201,5422,5423,5425,5427,5429,5431,5434,5436,5438,5440,5442,5444,5447,5450,5452,5454,5456,5458],{"class":203,"line":290},[201,5424,660],{"class":659},[201,5426,631],{"class":260},[201,5428,2069],{"class":267},[201,5430,271],{"class":260},[201,5432,5433],{"class":256}," posts ",[201,5435,507],{"class":260},[201,5437,670],{"class":260},[201,5439,2009],{"class":245},[201,5441,2083],{"class":252},[201,5443,257],{"class":256},[201,5445,5446],{"class":260},"`${",[201,5448,5449],{"class":256},"wpUrl",[201,5451,507],{"class":260},[201,5453,5145],{"class":211},[201,5455,2993],{"class":260},[201,5457,409],{"class":260},[201,5459,298],{"class":260},[201,5461,5462,5465,5467,5469,5472,5474,5477,5479,5482,5484,5486,5489,5491],{"class":203,"line":301},[201,5463,5464],{"class":267},"  query",[201,5466,271],{"class":260},[201,5468,631],{"class":260},[201,5470,5471],{"class":267}," per_page",[201,5473,271],{"class":260},[201,5475,5476],{"class":1268}," 20",[201,5478,409],{"class":260},[201,5480,5481],{"class":267}," _fields",[201,5483,271],{"class":260},[201,5485,309],{"class":260},[201,5487,5488],{"class":211},"id,slug,title,excerpt",[201,5490,277],{"class":260},[201,5492,438],{"class":260},[201,5494,5495,5497],{"class":203,"line":319},[201,5496,507],{"class":260},[201,5498,510],{"class":256},[201,5500,5501,5503,5505],{"class":203,"line":329},[201,5502,1760],{"class":260},[201,5504,2936],{"class":267},[201,5506,1718],{"class":260},[201,5508,5509],{"class":203,"line":346},[201,5510,654],{"emptyLinePlaceholder":653},[201,5512,5513,5515,5517],{"class":203,"line":363},[201,5514,1342],{"class":260},[201,5516,1715],{"class":267},[201,5518,1718],{"class":260},[201,5520,5521,5523,5526,5529,5531,5533,5536,5538,5541,5543,5545,5548,5550],{"class":203,"line":380},[201,5522,1723],{"class":260},[201,5524,5525],{"class":267},"article",[201,5527,5528],{"class":659}," v-for",[201,5530,1353],{"class":260},[201,5532,1356],{"class":260},[201,5534,5535],{"class":211},"post in posts",[201,5537,1356],{"class":260},[201,5539,5540],{"class":659}," :key",[201,5542,1353],{"class":260},[201,5544,1356],{"class":260},[201,5546,5547],{"class":211},"post.id",[201,5549,1356],{"class":260},[201,5551,1718],{"class":260},[201,5553,5554,5557,5560,5563,5565,5567,5570,5572],{"class":203,"line":391},[201,5555,5556],{"class":260},"    \u003C",[201,5558,5559],{"class":267},"NuxtLink",[201,5561,5562],{"class":659}," :to",[201,5564,1353],{"class":260},[201,5566,1356],{"class":260},[201,5568,5569],{"class":211},"`\u002Fblog\u002F${post.slug}`",[201,5571,1356],{"class":260},[201,5573,1718],{"class":260},[201,5575,5576,5579,5581,5584,5586,5588,5591,5593],{"class":203,"line":441},[201,5577,5578],{"class":260},"      \u003C",[201,5580,201],{"class":267},[201,5582,5583],{"class":659}," v-html",[201,5585,1353],{"class":260},[201,5587,1356],{"class":260},[201,5589,5590],{"class":211},"post.title.rendered",[201,5592,1356],{"class":260},[201,5594,1539],{"class":260},[201,5596,5597,5600,5602],{"class":203,"line":484},[201,5598,5599],{"class":260},"    \u003C\u002F",[201,5601,5559],{"class":267},[201,5603,1718],{"class":260},[201,5605,5606,5609,5611],{"class":203,"line":492},[201,5607,5608],{"class":260},"  \u003C\u002F",[201,5610,5525],{"class":267},[201,5612,1718],{"class":260},[201,5614,5615,5617,5619],{"class":203,"line":498},[201,5616,1760],{"class":260},[201,5618,1715],{"class":267},[201,5620,1718],{"class":260},[14,5622,5623,5624,5627,5628,5631],{},"WordPress returns titles and content as rendered HTML, so ",[137,5625,5626],{},"v-html"," is the simplest way to show them. The REST API returns at most 100 items per request; the ",[137,5629,5630],{},"X-WP-TotalPages"," header tells you how many pages to request.",[169,5633,5635],{"id":5634},"add-dynamic-routes-and-seo-meta","Add Dynamic Routes and SEO Meta",[14,5637,5638],{},"One file handles every post. It fetches by slug, returns a real 404 for unknown slugs and reuses the Yoast meta data:",[192,5640,5642],{"className":1333,"code":5641,"language":1335,"meta":197,"style":197},"\u003C!-- app\u002Fpages\u002Fblog\u002F[slug].vue -->\n\u003Cscript setup lang=\"ts\">\nconst route = useRoute()\nconst { public: { wpUrl } } = useRuntimeConfig()\nconst { data: post } = await useFetch(`${wpUrl}\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts`, {\n  query: { slug: route.params.slug, _embed: 1 },\n  transform: (posts: any[]) => posts[0],\n})\n\nif (!post.value) {\n  throw createError({ statusCode: 404, statusMessage: 'Post not found', fatal: true })\n}\n\nuseSeoMeta({\n  title: post.value.yoast_head_json?.title,\n  description: post.value.yoast_head_json?.description,\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Carticle>\n    \u003Ch1 v-html=\"post.title.rendered\" \u002F>\n    \u003Cdiv v-html=\"post.content.rendered\" \u002F>\n  \u003C\u002Farticle>\n\u003C\u002Ftemplate>\n",[137,5643,5644,5649,5669,5681,5705,5741,5776,5808,5814,5818,5838,5885,5889,5893,5901,5924,5947,5954,5963,5968,5977,5986,6006,6027,6036],{"__ignoreMap":197},[201,5645,5646],{"class":203,"line":204},[201,5647,5648],{"class":239},"\u003C!-- app\u002Fpages\u002Fblog\u002F[slug].vue -->\n",[201,5650,5651,5653,5655,5657,5659,5661,5663,5665,5667],{"class":203,"line":224},[201,5652,1342],{"class":260},[201,5654,2936],{"class":267},[201,5656,2939],{"class":659},[201,5658,2942],{"class":659},[201,5660,1353],{"class":260},[201,5662,1356],{"class":260},[201,5664,232],{"class":211},[201,5666,1356],{"class":260},[201,5668,1718],{"class":260},[201,5670,5671,5673,5675,5677,5679],{"class":203,"line":264},[201,5672,660],{"class":659},[201,5674,2959],{"class":256},[201,5676,1353],{"class":260},[201,5678,2964],{"class":252},[201,5680,2967],{"class":256},[201,5682,5683,5685,5687,5689,5691,5693,5695,5697,5699,5701,5703],{"class":203,"line":290},[201,5684,660],{"class":659},[201,5686,631],{"class":260},[201,5688,5402],{"class":267},[201,5690,271],{"class":260},[201,5692,631],{"class":260},[201,5694,5409],{"class":256},[201,5696,507],{"class":260},[201,5698,637],{"class":260},[201,5700,670],{"class":260},[201,5702,5418],{"class":252},[201,5704,2967],{"class":256},[201,5706,5707,5709,5711,5713,5715,5717,5719,5721,5723,5725,5727,5729,5731,5733,5735,5737,5739],{"class":203,"line":301},[201,5708,660],{"class":659},[201,5710,631],{"class":260},[201,5712,2069],{"class":267},[201,5714,271],{"class":260},[201,5716,2980],{"class":256},[201,5718,507],{"class":260},[201,5720,670],{"class":260},[201,5722,2009],{"class":245},[201,5724,2083],{"class":252},[201,5726,257],{"class":256},[201,5728,5446],{"class":260},[201,5730,5449],{"class":256},[201,5732,507],{"class":260},[201,5734,5145],{"class":211},[201,5736,2993],{"class":260},[201,5738,409],{"class":260},[201,5740,298],{"class":260},[201,5742,5743,5745,5747,5749,5751,5753,5756,5758,5760,5762,5764,5766,5769,5771,5774],{"class":203,"line":319},[201,5744,5464],{"class":267},[201,5746,271],{"class":260},[201,5748,631],{"class":260},[201,5750,3394],{"class":267},[201,5752,271],{"class":260},[201,5754,5755],{"class":256}," route",[201,5757,534],{"class":260},[201,5759,3007],{"class":256},[201,5761,534],{"class":260},[201,5763,3012],{"class":256},[201,5765,409],{"class":260},[201,5767,5768],{"class":267}," _embed",[201,5770,271],{"class":260},[201,5772,5773],{"class":1268}," 1",[201,5775,438],{"class":260},[201,5777,5778,5780,5782,5784,5787,5789,5792,5794,5796,5798,5801,5804,5806],{"class":203,"line":329},[201,5779,2101],{"class":252},[201,5781,271],{"class":260},[201,5783,2142],{"class":260},[201,5785,5786],{"class":2106},"posts",[201,5788,271],{"class":260},[201,5790,5791],{"class":207}," any",[201,5793,3413],{"class":256},[201,5795,3779],{"class":260},[201,5797,1999],{"class":659},[201,5799,5800],{"class":256}," posts[",[201,5802,5803],{"class":1268},"0",[201,5805,284],{"class":256},[201,5807,287],{"class":260},[201,5809,5810,5812],{"class":203,"line":346},[201,5811,507],{"class":260},[201,5813,510],{"class":256},[201,5815,5816],{"class":203,"line":363},[201,5817,654],{"emptyLinePlaceholder":653},[201,5819,5820,5823,5825,5828,5831,5833,5836],{"class":203,"line":380},[201,5821,5822],{"class":245},"if",[201,5824,2142],{"class":256},[201,5826,5827],{"class":260},"!",[201,5829,5830],{"class":256},"post",[201,5832,534],{"class":260},[201,5834,5835],{"class":256},"value) ",[201,5837,261],{"class":260},[201,5839,5840,5843,5846,5848,5850,5853,5855,5858,5860,5863,5865,5867,5870,5872,5874,5877,5879,5881,5883],{"class":203,"line":391},[201,5841,5842],{"class":245},"  throw",[201,5844,5845],{"class":252}," createError",[201,5847,257],{"class":267},[201,5849,1620],{"class":260},[201,5851,5852],{"class":267}," statusCode",[201,5854,271],{"class":260},[201,5856,5857],{"class":1268}," 404",[201,5859,409],{"class":260},[201,5861,5862],{"class":267}," statusMessage",[201,5864,271],{"class":260},[201,5866,309],{"class":260},[201,5868,5869],{"class":211},"Post not found",[201,5871,277],{"class":260},[201,5873,409],{"class":260},[201,5875,5876],{"class":267}," fatal",[201,5878,271],{"class":260},[201,5880,1865],{"class":1864},[201,5882,637],{"class":260},[201,5884,510],{"class":267},[201,5886,5887],{"class":203,"line":441},[201,5888,724],{"class":260},[201,5890,5891],{"class":203,"line":484},[201,5892,654],{"emptyLinePlaceholder":653},[201,5894,5895,5897,5899],{"class":203,"line":492},[201,5896,2885],{"class":252},[201,5898,257],{"class":256},[201,5900,261],{"class":260},[201,5902,5903,5905,5907,5909,5911,5913,5915,5918,5920,5922],{"class":203,"line":498},[201,5904,3034],{"class":267},[201,5906,271],{"class":260},[201,5908,3043],{"class":256},[201,5910,534],{"class":260},[201,5912,3048],{"class":256},[201,5914,534],{"class":260},[201,5916,5917],{"class":256},"yoast_head_json",[201,5919,3051],{"class":260},[201,5921,3054],{"class":256},[201,5923,287],{"class":260},[201,5925,5926,5928,5930,5932,5934,5936,5938,5940,5942,5945],{"class":203,"line":504},[201,5927,3084],{"class":267},[201,5929,271],{"class":260},[201,5931,3043],{"class":256},[201,5933,534],{"class":260},[201,5935,3048],{"class":256},[201,5937,534],{"class":260},[201,5939,5917],{"class":256},[201,5941,3051],{"class":260},[201,5943,5944],{"class":256},"description",[201,5946,287],{"class":260},[201,5948,5950,5952],{"class":203,"line":5949},17,[201,5951,507],{"class":260},[201,5953,510],{"class":256},[201,5955,5957,5959,5961],{"class":203,"line":5956},18,[201,5958,1760],{"class":260},[201,5960,2936],{"class":267},[201,5962,1718],{"class":260},[201,5964,5966],{"class":203,"line":5965},19,[201,5967,654],{"emptyLinePlaceholder":653},[201,5969,5971,5973,5975],{"class":203,"line":5970},20,[201,5972,1342],{"class":260},[201,5974,1715],{"class":267},[201,5976,1718],{"class":260},[201,5978,5980,5982,5984],{"class":203,"line":5979},21,[201,5981,1723],{"class":260},[201,5983,5525],{"class":267},[201,5985,1718],{"class":260},[201,5987,5989,5991,5994,5996,5998,6000,6002,6004],{"class":203,"line":5988},22,[201,5990,5556],{"class":260},[201,5992,5993],{"class":267},"h1",[201,5995,5583],{"class":659},[201,5997,1353],{"class":260},[201,5999,1356],{"class":260},[201,6001,5590],{"class":211},[201,6003,1356],{"class":260},[201,6005,1539],{"class":260},[201,6007,6009,6011,6014,6016,6018,6020,6023,6025],{"class":203,"line":6008},23,[201,6010,5556],{"class":260},[201,6012,6013],{"class":267},"div",[201,6015,5583],{"class":659},[201,6017,1353],{"class":260},[201,6019,1356],{"class":260},[201,6021,6022],{"class":211},"post.content.rendered",[201,6024,1356],{"class":260},[201,6026,1539],{"class":260},[201,6028,6030,6032,6034],{"class":203,"line":6029},24,[201,6031,5608],{"class":260},[201,6033,5525],{"class":267},[201,6035,1718],{"class":260},[201,6037,6039,6041,6043],{"class":203,"line":6038},25,[201,6040,1760],{"class":260},[201,6042,1715],{"class":267},[201,6044,1718],{"class":260},[14,6046,6047],{},"Add canonical URLs that point to the Nuxt domain, and generate the sitemap on the Nuxt side, for example with the Nuxt SEO module.",[169,6049,6051],{"id":6050},"set-up-previews-and-deploy","Set Up Previews and Deploy",[14,6053,6054,6055,6058,6059,6062,6063,6066],{},"Drafts aren't public, so a preview has to fetch them with credentials. WordPress has had Application Passwords since 5.6: create one for a preview user, keep it in private runtime config, and fetch drafts through a Nitro server route so the password never reaches the browser. Nuxt's ",[137,6056,6057],{},"usePreviewMode"," composable switches pages into preview when the URL has ",[137,6060,6061],{},"?preview=true",". On the WordPress side, the ",[137,6064,6065],{},"preview_post_link"," filter points the Preview button at your Nuxt URL.",[14,6068,6069,6070,6072,6073,6076,6077,6079],{},"For a static site, run ",[137,6071,143],{}," and add a deploy hook: the host gives you a build hook URL, and WordPress calls it when a post is published, through a small plugin or a few lines on the ",[137,6074,6075],{},"transition_post_status"," action. For server rendering, deploy to a Node.js host or a platform like Vercel or Netlify, and cache pages with route rules such as ",[137,6078,1952],{}," so new posts appear without a rebuild. Previews always need the server version, because a static site can't keep secrets.",[18,6081,6083],{"id":6082},"common-nuxt-wordpress-problems","Common Nuxt WordPress Problems",[14,6085,6086],{},"Most Nuxt WordPress projects hit the same four issues, usually in the week before launch.",[2357,6088,6089,6092,6095,6098],{},[188,6090,6091],{},"The Preview button keeps opening the old theme until you change its link and add an authenticated draft route, as shown above.",[188,6093,6094],{},"Plugins that output HTML through the theme, from page builders to sliders, stop working. Page-builder content can also arrive as markup that still expects the builder's CSS.",[188,6096,6097],{},"Form plugins render their own markup, so each form gets rebuilt in Vue and posts to the plugin's REST endpoint, if it has one, or to a Nitro route that sends the email.",[188,6099,6100],{},"Redirects saved in a WordPress plugin only apply to the WordPress domain. Copy them into the Nuxt host's redirect rules, or old URLs will 404.",[18,6102,914],{"id":913},[14,6104,6105],{},"Headless WordPress with Nuxt makes sense when your content and editors live in WordPress but the frontend needs to be faster or more flexible than a theme allows. Start with the REST API, decide on static or server rendering early and plan previews, forms and redirects before launch.",[14,6107,6108,6109,6111,6112,3843],{},"We're an ",[128,6110,921],{"href":920},". If you're planning a Nuxt frontend for WordPress or another CMS, our ",[128,6113,926],{"href":925},[18,6115,931],{"id":930},[169,6117,6119],{"id":6118},"is-headless-wordpress-good-for-seo","Is headless WordPress good for SEO?",[14,6121,6122,6123,6125],{},"Yes, as long as Nuxt renders the HTML on the server or at build time, so crawlers get full pages. You do have to rebuild the SEO layer in Nuxt: titles, meta tags, canonical URLs and the sitemap. If you use Yoast SEO, its meta data comes through the REST API in the ",[137,6124,5917],{}," field.",[169,6127,6129],{"id":6128},"do-wordpress-plugins-work-with-a-nuxt-frontend","Do WordPress plugins work with a Nuxt frontend?",[14,6131,6132],{},"Plugins that add data work, because the data reaches Nuxt through the API: custom fields, custom post types and SEO fields. Plugins that change what the theme outputs don't, because the theme no longer renders the site. That includes page builders, sliders, form plugins' front-end markup and caching plugins.",[169,6134,6136],{"id":6135},"do-i-need-wpgraphql-to-use-nuxt-with-wordpress","Do I need WPGraphQL to use Nuxt with WordPress?",[14,6138,6139],{},"No. The REST API is built into WordPress and covers posts, pages, media, categories and custom post types. WPGraphQL is worth adding when your content model has many relations and you want each page to load in one typed query.",[169,6141,6143],{"id":6142},"can-i-move-an-existing-wordpress-site-to-nuxt","Can I move an existing WordPress site to Nuxt?",[14,6145,6146,6147,6149],{},"Yes. Keep WordPress and its content as the backend, rebuild the theme as a Nuxt app and keep every URL the same so rankings carry over. Move redirects and meta data along with it. If the site's frontend is already an older Nuxt 2 app, our ",[128,6148,2720],{"href":2719}," cover the upgrade to Nuxt 3 and 4.",[169,6151,6153],{"id":6152},"does-woocommerce-work-with-nuxt","Does WooCommerce work with Nuxt?",[14,6155,6156,6157,534],{},"Yes. WooCommerce's Store API exposes products, the cart and checkout as public REST endpoints that a Nuxt storefront can call. Its sessions are cookie-based, so plan for that when Nuxt and WordPress run on different domains. For a new store, a dedicated commerce backend can be simpler, as in our guide to an ",[128,6158,4507],{"href":4506},[169,6160,6162],{"id":6161},"do-i-need-separate-hosting-for-wordpress-and-nuxt","Do I need separate hosting for WordPress and Nuxt?",[14,6164,6165,6166,6168],{},"Usually, yes. WordPress needs PHP and MySQL, while Nuxt runs on Node.js or as static files on a CDN like Netlify or Vercel. Many teams put WordPress on a subdomain such as ",[137,6167,5130],{}," and serve the public site from the Nuxt host.",[6170,6171],"blog-button",{"label":6172,"to":6173},"Talk to a Nuxt expert","https:\u002F\u002Fcalendar.app.google\u002FXwRzASZitZRSVLxq6",[984,6175,6176],{},"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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":197,"searchDepth":264,"depth":264,"links":6178},[6179,6180,6181,6182,6183,6190,6191,6192],{"id":5110,"depth":224,"text":5111},{"id":5123,"depth":224,"text":5124},{"id":5167,"depth":224,"text":5168},{"id":5192,"depth":224,"text":5193},{"id":5259,"depth":224,"text":5260,"children":6184},[6185,6186,6187,6188,6189],{"id":5266,"depth":264,"text":5267},{"id":5277,"depth":264,"text":5278},{"id":5357,"depth":264,"text":5358},{"id":5634,"depth":264,"text":5635},{"id":6050,"depth":264,"text":6051},{"id":6082,"depth":224,"text":6083},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":6193},[6194,6195,6196,6197,6198,6199],{"id":6118,"depth":264,"text":6119},{"id":6128,"depth":264,"text":6129},{"id":6135,"depth":264,"text":6136},{"id":6142,"depth":264,"text":6143},{"id":6152,"depth":264,"text":6153},{"id":6161,"depth":264,"text":6162},"2026-11-12","Nuxt WordPress headless setups explained: REST API vs WPGraphQL, the pros and cons, and how to connect Nuxt and WordPress step by step.",[6203,6205,6206,6207,6209,6211],{"question":6119,"answer":6204},"Yes, as long as Nuxt renders the HTML on the server or at build time, so crawlers get full pages. You do have to rebuild the SEO layer in Nuxt: titles, meta tags, canonical URLs and the sitemap. If you use Yoast SEO, its meta data comes through the REST API in the yoast_head_json field.",{"question":6129,"answer":6132},{"question":6136,"answer":6139},{"question":6143,"answer":6208},"Yes. Keep WordPress and its content as the backend, rebuild the theme as a Nuxt app and keep every URL the same so rankings carry over. Move redirects and meta data along with it. If the site's frontend is already an older Nuxt 2 app, our Nuxt migration services cover the upgrade to Nuxt 3 and 4.",{"question":6153,"answer":6210},"Yes. WooCommerce's Store API exposes products, the cart and checkout as public REST endpoints that a Nuxt storefront can call. Its sessions are cookie-based, so plan for that when Nuxt and WordPress run on different domains. For a new store, a dedicated commerce backend can be simpler, as in our guide to an e-commerce store with Medusa and Nuxt 4.",{"question":6162,"answer":6212},"Usually, yes. WordPress needs PHP and MySQL, while Nuxt runs on Node.js or as static files on a CDN like Netlify or Vercel. Many teams put WordPress on a subdomain such as cms.example.com and serve the public site from the Nuxt host.","\u002Fimages\u002Fblog\u002Fheadless-wordpress-nuxt\u002Fcard.png",{},{"title":5102,"description":6201},"Headless WordPress Nuxt Guide: What It Is and How to Start","blog\u002Fheadless-wordpress-nuxt",[1030,6219,4636],"WordPress","dl5JwlhOJa2T-5leLpjwy8LYMyA8x8_2gPGvyUVsW9k",{"id":6222,"title":6223,"articleType":7,"author":8,"authorSlug":9,"body":6224,"cta":1008,"date":8248,"description":8249,"extension":1011,"faq":8250,"featured":1021,"image":8261,"meta":8262,"navigation":653,"noCtaBox":1021,"path":2562,"readTime":8263,"seo":8264,"seoTitle":8265,"stem":8266,"tags":8267,"topic":2823,"video":1008,"__hash__":8268},"blog\u002Fblog\u002Fnuxt-vs-next.md","Nuxt vs Next.js: Which Framework Should You Choose?",{"type":11,"value":6225,"toc":8213},[6226,6229,6233,6236,6239,6361,6364,6368,6371,6375,6381,6385,6390,6394,6397,6401,6414,6417,6424,6430,6434,6437,6445,6560,6571,6581,6771,6782,6788,6792,6795,6938,7072,7078,7085,7102,7106,7113,7150,7156,7171,7422,7575,7578,7582,7611,7650,7654,7657,7685,7692,7696,7702,7713,7717,7720,7728,7734,7753,7757,7768,7774,7777,7785,7789,7792,7795,7798,7802,7805,7885,7888,7892,7909,7917,7921,7938,7942,7945,8116,8119,8122,8128,8130,8133,8140,8142,8146,8149,8153,8156,8160,8163,8167,8170,8174,8183,8187,8190,8194,8201,8205,8208,8210],[14,6227,6228],{},"Nuxt vs Next is the framework question for teams that want server rendering. Both are full-stack frameworks: Nuxt is built on Vue, Next.js on React. We have built with Nuxt since 2017 and are an official Nuxt partner, and we'll also say where Next.js is the better call. This guide compares the two on rendering, data, deployment, SEO and hiring.",[18,6230,6232],{"id":6231},"nuxt-vs-next-the-short-answer","Nuxt vs Next: The Short Answer",[14,6234,6235],{},"If your team writes Vue, choose Nuxt. If your team writes React, choose Next.js. That is the honest answer for most projects, because each framework is the standard full-stack option for its UI library, and switching libraries costs more than any feature gap between the two frameworks.",[14,6237,6238],{},"Beyond the team, the two are closer than most comparisons suggest. Both render on the server, prerender static pages, route from files, run API endpoints and deploy to serverless platforms. Here's how they line up:",[26,6240,6241,6251],{},[29,6242,6243],{},[32,6244,6245,6247,6249],{},[35,6246],{},[35,6248,1030],{},[35,6250,2365],{},[51,6252,6253,6264,6275,6286,6306,6319,6330,6340,6351],{},[32,6254,6255,6258,6261],{},[56,6256,6257],{},"UI library",[56,6259,6260],{},"Vue 3",[56,6262,6263],{},"React 19",[32,6265,6266,6269,6272],{},[56,6267,6268],{},"Current version (Nov 2026)",[56,6270,6271],{},"Nuxt 4.6",[56,6273,6274],{},"Next.js 16.4",[32,6276,6277,6280,6283],{},[56,6278,6279],{},"Rendering",[56,6281,6282],{},"SSR by default; SSG, SPA, SWR and ISR per route with route rules",[56,6284,6285],{},"Static and dynamic per route; Cache Components and partial prerendering",[32,6287,6288,6291,6298],{},[56,6289,6290],{},"Data fetching",[56,6292,6293,4694,6295,6297],{},[137,6294,2054],{},[137,6296,4492],{},", transferred to the browser with the page",[56,6299,6300,6302,6303],{},[137,6301,1993],{}," Server Components, plus ",[137,6304,6305],{},"'use cache'",[32,6307,6308,6311,6316],{},[56,6309,6310],{},"Server code",[56,6312,6313,6314],{},"Nitro routes in ",[137,6315,4804],{},[56,6317,6318],{},"Route Handlers and Server Functions",[32,6320,6321,6324,6327],{},[56,6322,6323],{},"Builder",[56,6325,6326],{},"Vite",[56,6328,6329],{},"Turbopack",[32,6331,6332,6334,6337],{},[56,6333,4041],{},[56,6335,6336],{},"Nitro presets for Node.js, static, serverless and edge",[56,6338,6339],{},"Vercel, or Node.js and Docker; adapters for other platforms",[32,6341,6342,6345,6348],{},[56,6343,6344],{},"Usage (Stack Overflow 2025)",[56,6346,6347],{},"4%",[56,6349,6350],{},"20.8%",[32,6352,6353,6356,6359],{},[56,6354,6355],{},"License",[56,6357,6358],{},"MIT",[56,6360,6358],{},[14,6362,6363],{},"The rows that change decisions are the UI library, hosting and hiring. The other rows describe the same capabilities, built differently.",[18,6365,6367],{"id":6366},"what-are-nuxt-and-nextjs","What Are Nuxt and Next.js?",[14,6369,6370],{},"Both appeared in late 2016, and they're related. Next.js brought server rendering to React, and Nuxt followed shortly after as the same idea for Vue; its first README called it inspired by Next.js. Ten years on, they have grown apart in architecture but still solve the same problem.",[169,6372,6374],{"id":6373},"what-is-nuxt","What Is Nuxt?",[14,6376,6377,6378,6380],{},"Nuxt is the full-stack framework for Vue. It adds file-based routing, server rendering, static generation, data fetching and a server layer called Nitro to Vue components. It's open source under the MIT license and builds with Vite by default. If you're new to it, our guide ",[128,6379,131],{"href":130}," covers how it works and what it's used for.",[169,6382,6384],{"id":6383},"what-is-nextjs","What Is Next.js?",[14,6386,6387,6388,534],{},"Next.js is the full-stack framework for React, created and maintained by Vercel. Its App Router makes every page a React Server Component by default, loads data on the server and builds with Turbopack. React's own docs recommend a framework like it for new apps. If you're coming from Vue and wondering how Next.js compares with plain Vue, see ",[128,6389,2558],{"href":2557},[18,6391,6393],{"id":6392},"next-vs-nuxt-key-differences","Next vs Nuxt: Key Differences",[14,6395,6396],{},"The real next vs nuxt differences are in how each one models components, caching and server code. Here they are area by area.",[169,6398,6400],{"id":6399},"vue-vs-react-underneath","Vue vs React Underneath",[14,6402,6403,6404,6407,6408,809,6410,6413],{},"Most of the differences start one layer down. Nuxt components are Vue single-file components: an HTML-like template, a ",[137,6405,6406],{},"\u003Cscript setup>"," block and scoped styles. Reactivity is built in, so a ",[137,6409,4743],{},[137,6411,6412],{},"computed"," value updates only what depends on it, without memoization hooks.",[14,6415,6416],{},"Next.js components are React functions that return JSX. State lives in hooks, re-renders follow React's rules, and the React Compiler can now handle much of the memoization that used to be manual.",[14,6418,6419,6420,6423],{},"State follows the same split. Nuxt has ",[137,6421,6422],{},"useState"," for state shared between server and client, and Pinia is the official store when an app needs more. In Next.js, Server Components can't hold state or read React context, so shared state lives in client components through context or a library like Zustand or Redux Toolkit.",[14,6425,6426,6427,6429],{},"Neither model is better in the abstract. Vue is usually quicker to pick up and has fewer ways to get re-renders wrong. React has the bigger ecosystem and more developers who already know it. Our ",[128,6428,2554],{"href":2553}," goes through both libraries in detail, including how common patterns translate.",[169,6431,6433],{"id":6432},"rendering-and-caching","Rendering and Caching",[14,6435,6436],{},"Both frameworks render on the server by default and send HTML that hydrates in the browser. They differ in where you decide how a page renders.",[14,6438,6439,6440,519,6443,271],{},"Nuxt puts that decision in one place, ",[137,6441,6442],{},"routeRules",[137,6444,564],{},[192,6446,6448],{"className":230,"code":6447,"language":232,"meta":197,"style":197},"export default defineNuxtConfig({\n  routeRules: {\n    '\u002F': { prerender: true },\n    '\u002Fblog\u002F**': { swr: 3600 },\n    '\u002Fproducts\u002F**': { isr: true },\n    '\u002Fdashboard\u002F**': { ssr: false },\n  },\n})\n",[137,6449,6450,6462,6470,6490,6510,6530,6550,6554],{"__ignoreMap":197},[201,6451,6452,6454,6456,6458,6460],{"class":203,"line":204},[201,6453,246],{"class":245},[201,6455,249],{"class":245},[201,6457,253],{"class":252},[201,6459,257],{"class":256},[201,6461,261],{"class":260},[201,6463,6464,6466,6468],{"class":203,"line":224},[201,6465,1838],{"class":267},[201,6467,271],{"class":260},[201,6469,298],{"class":260},[201,6471,6472,6474,6476,6478,6480,6482,6484,6486,6488],{"class":203,"line":264},[201,6473,1847],{"class":260},[201,6475,1850],{"class":267},[201,6477,277],{"class":260},[201,6479,271],{"class":260},[201,6481,631],{"class":260},[201,6483,1859],{"class":267},[201,6485,271],{"class":260},[201,6487,1865],{"class":1864},[201,6489,438],{"class":260},[201,6491,6492,6494,6496,6498,6500,6502,6504,6506,6508],{"class":203,"line":290},[201,6493,1847],{"class":260},[201,6495,1874],{"class":267},[201,6497,277],{"class":260},[201,6499,271],{"class":260},[201,6501,631],{"class":260},[201,6503,1883],{"class":267},[201,6505,271],{"class":260},[201,6507,1888],{"class":1268},[201,6509,438],{"class":260},[201,6511,6512,6514,6516,6518,6520,6522,6524,6526,6528],{"class":203,"line":301},[201,6513,1847],{"class":260},[201,6515,1897],{"class":267},[201,6517,277],{"class":260},[201,6519,271],{"class":260},[201,6521,631],{"class":260},[201,6523,1906],{"class":267},[201,6525,271],{"class":260},[201,6527,1865],{"class":1864},[201,6529,438],{"class":260},[201,6531,6532,6534,6536,6538,6540,6542,6544,6546,6548],{"class":203,"line":319},[201,6533,1847],{"class":260},[201,6535,1920],{"class":267},[201,6537,277],{"class":260},[201,6539,271],{"class":260},[201,6541,631],{"class":260},[201,6543,1929],{"class":267},[201,6545,271],{"class":260},[201,6547,1934],{"class":1864},[201,6549,438],{"class":260},[201,6551,6552],{"class":203,"line":329},[201,6553,501],{"class":260},[201,6555,6556,6558],{"class":203,"line":346},[201,6557,507],{"class":260},[201,6559,510],{"class":256},[14,6561,6562,6563,6566,6567,6570],{},"That one block prerenders the homepage, caches blog pages with stale-while-revalidate, keeps product pages in the CDN cache until the next deploy and turns the dashboard into a client-only app. On Vercel and Netlify, Nuxt turns these rules into the platform's own CDN rules. A number instead of ",[137,6564,6565],{},"true",", like ",[137,6568,6569],{},"isr: 3600",", regenerates the page at most once an hour.",[14,6572,6573,6574,6577,6578,6580],{},"Next.js decides inside the code. Without Cache Components, a route is static unless it reads request data like cookies or headers. Cache Components, which Next.js 16 made a top-level ",[137,6575,6576],{},"cacheComponents"," option, flips that: data is dynamic by default, and you mark what to cache with the ",[137,6579,6305],{}," directive:",[192,6582,6586],{"className":6583,"code":6584,"language":6585,"meta":197,"style":197},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Next.js: app\u002Fblog\u002Fpage.tsx, with cacheComponents: true\nimport { cacheLife, cacheTag } from 'next\u002Fcache'\n\nasync function Posts() {\n  'use cache'\n  cacheLife('hours')\n  cacheTag('posts')\n  const posts = await db.posts.findMany()\n  return \u003Cul>{posts.map(p => \u003Cli key={p.id}>{p.title}\u003C\u002Fli>)}\u003C\u002Ful>\n}\n","tsx",[137,6587,6588,6593,6618,6622,6637,6647,6663,6678,6702,6767],{"__ignoreMap":197},[201,6589,6590],{"class":203,"line":204},[201,6591,6592],{"class":239},"\u002F\u002F Next.js: app\u002Fblog\u002Fpage.tsx, with cacheComponents: true\n",[201,6594,6595,6597,6599,6602,6604,6607,6609,6611,6613,6616],{"class":203,"line":224},[201,6596,626],{"class":245},[201,6598,631],{"class":260},[201,6600,6601],{"class":256}," cacheLife",[201,6603,409],{"class":260},[201,6605,6606],{"class":256}," cacheTag",[201,6608,637],{"class":260},[201,6610,640],{"class":245},[201,6612,309],{"class":260},[201,6614,6615],{"class":211},"next\u002Fcache",[201,6617,648],{"class":260},[201,6619,6620],{"class":203,"line":264},[201,6621,654],{"emptyLinePlaceholder":653},[201,6623,6624,6626,6629,6632,6635],{"class":203,"line":290},[201,6625,1993],{"class":659},[201,6627,6628],{"class":659}," function",[201,6630,6631],{"class":252}," Posts",[201,6633,6634],{"class":260},"()",[201,6636,298],{"class":260},[201,6638,6639,6642,6645],{"class":203,"line":301},[201,6640,6641],{"class":260},"  '",[201,6643,6644],{"class":211},"use cache",[201,6646,648],{"class":260},[201,6648,6649,6652,6654,6656,6659,6661],{"class":203,"line":319},[201,6650,6651],{"class":252},"  cacheLife",[201,6653,257],{"class":267},[201,6655,277],{"class":260},[201,6657,6658],{"class":211},"hours",[201,6660,277],{"class":260},[201,6662,510],{"class":267},[201,6664,6665,6668,6670,6672,6674,6676],{"class":203,"line":329},[201,6666,6667],{"class":252},"  cacheTag",[201,6669,257],{"class":267},[201,6671,277],{"class":260},[201,6673,5786],{"class":211},[201,6675,277],{"class":260},[201,6677,510],{"class":267},[201,6679,6680,6682,6684,6686,6688,6691,6693,6695,6697,6700],{"class":203,"line":346},[201,6681,3379],{"class":659},[201,6683,3382],{"class":256},[201,6685,670],{"class":260},[201,6687,2009],{"class":245},[201,6689,6690],{"class":256}," db",[201,6692,534],{"class":260},[201,6694,5786],{"class":256},[201,6696,534],{"class":260},[201,6698,6699],{"class":252},"findMany",[201,6701,2967],{"class":267},[201,6703,6704,6706,6709,6711,6714,6716,6718,6720,6722,6724,6726,6728,6730,6733,6736,6738,6740,6743,6746,6748,6750,6752,6755,6757,6759,6761,6763,6765],{"class":203,"line":363},[201,6705,2006],{"class":245},[201,6707,6708],{"class":260}," \u003C",[201,6710,2357],{"class":267},[201,6712,6713],{"class":260},">{",[201,6715,5786],{"class":256},[201,6717,534],{"class":260},[201,6719,2116],{"class":252},[201,6721,257],{"class":256},[201,6723,14],{"class":2106},[201,6725,1999],{"class":659},[201,6727,6708],{"class":260},[201,6729,188],{"class":267},[201,6731,6732],{"class":659}," key",[201,6734,6735],{"class":260},"={",[201,6737,14],{"class":256},[201,6739,534],{"class":260},[201,6741,6742],{"class":256},"id",[201,6744,6745],{"class":260},"}>{",[201,6747,14],{"class":256},[201,6749,534],{"class":260},[201,6751,3054],{"class":256},[201,6753,6754],{"class":260},"}\u003C\u002F",[201,6756,188],{"class":267},[201,6758,3416],{"class":260},[201,6760,3779],{"class":256},[201,6762,6754],{"class":260},[201,6764,2357],{"class":267},[201,6766,1718],{"class":260},[201,6768,6769],{"class":203,"line":380},[201,6770,724],{"class":260},[14,6772,6773,6774,6777,6778,6781],{},"Cached components go into a static shell that is served at once, and anything that reads cookies or headers streams in behind a ",[137,6775,6776],{},"Suspense"," boundary. That's partial prerendering. When the data changes, a Server Action calls ",[137,6779,6780],{},"updateTag('posts')"," and the next visitor gets fresh content. You get fine control per component and on-demand invalidation by tag, but no single file tells you how the site caches.",[14,6783,6784,6785,6787],{},"If SSR, SSG and CSR are new terms, our explainer on ",[128,6786,4191],{"href":4190}," covers them first.",[169,6789,6791],{"id":6790},"data-fetching-and-server-components","Data Fetching and Server Components",[14,6793,6794],{},"Here's the same product list in both:",[192,6796,6798],{"className":1333,"code":6797,"language":1335,"meta":197,"style":197},"\u003C!-- Nuxt: app\u002Fpages\u002Fproducts.vue -->\n\u003Cscript setup lang=\"ts\">\nconst { data: products } = await useFetch('\u002Fapi\u002Fproducts')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cul>\n    \u003Cli v-for=\"p in products\" :key=\"p.id\">{{ p.name }}\u003C\u002Fli>\n  \u003C\u002Ful>\n\u003C\u002Ftemplate>\n",[137,6799,6800,6805,6825,6855,6863,6867,6875,6883,6922,6930],{"__ignoreMap":197},[201,6801,6802],{"class":203,"line":204},[201,6803,6804],{"class":239},"\u003C!-- Nuxt: app\u002Fpages\u002Fproducts.vue -->\n",[201,6806,6807,6809,6811,6813,6815,6817,6819,6821,6823],{"class":203,"line":224},[201,6808,1342],{"class":260},[201,6810,2936],{"class":267},[201,6812,2939],{"class":659},[201,6814,2942],{"class":659},[201,6816,1353],{"class":260},[201,6818,1356],{"class":260},[201,6820,232],{"class":211},[201,6822,1356],{"class":260},[201,6824,1718],{"class":260},[201,6826,6827,6829,6831,6833,6835,6837,6839,6841,6843,6845,6847,6849,6851,6853],{"class":203,"line":264},[201,6828,660],{"class":659},[201,6830,631],{"class":260},[201,6832,2069],{"class":267},[201,6834,271],{"class":260},[201,6836,2074],{"class":256},[201,6838,507],{"class":260},[201,6840,670],{"class":260},[201,6842,2009],{"class":245},[201,6844,2083],{"class":252},[201,6846,257],{"class":256},[201,6848,277],{"class":260},[201,6850,2090],{"class":211},[201,6852,277],{"class":260},[201,6854,510],{"class":256},[201,6856,6857,6859,6861],{"class":203,"line":290},[201,6858,1760],{"class":260},[201,6860,2936],{"class":267},[201,6862,1718],{"class":260},[201,6864,6865],{"class":203,"line":301},[201,6866,654],{"emptyLinePlaceholder":653},[201,6868,6869,6871,6873],{"class":203,"line":319},[201,6870,1342],{"class":260},[201,6872,1715],{"class":267},[201,6874,1718],{"class":260},[201,6876,6877,6879,6881],{"class":203,"line":329},[201,6878,1723],{"class":260},[201,6880,2357],{"class":267},[201,6882,1718],{"class":260},[201,6884,6885,6887,6889,6891,6893,6895,6898,6900,6902,6904,6906,6909,6911,6913,6916,6918,6920],{"class":203,"line":346},[201,6886,5556],{"class":260},[201,6888,188],{"class":267},[201,6890,5528],{"class":659},[201,6892,1353],{"class":260},[201,6894,1356],{"class":260},[201,6896,6897],{"class":211},"p in products",[201,6899,1356],{"class":260},[201,6901,5540],{"class":659},[201,6903,1353],{"class":260},[201,6905,1356],{"class":260},[201,6907,6908],{"class":211},"p.id",[201,6910,1356],{"class":260},[201,6912,3416],{"class":260},[201,6914,6915],{"class":256},"{{ p.name }}",[201,6917,1760],{"class":260},[201,6919,188],{"class":267},[201,6921,1718],{"class":260},[201,6923,6924,6926,6928],{"class":203,"line":363},[201,6925,5608],{"class":260},[201,6927,2357],{"class":267},[201,6929,1718],{"class":260},[201,6931,6932,6934,6936],{"class":203,"line":380},[201,6933,1760],{"class":260},[201,6935,1715],{"class":267},[201,6937,1718],{"class":260},[192,6939,6941],{"className":6583,"code":6940,"language":6585,"meta":197,"style":197},"\u002F\u002F Next.js: app\u002Fproducts\u002Fpage.tsx\nexport default async function Page() {\n  const products = await db.products.findMany()\n  return (\n    \u003Cul>\n      {products.map(p => \u003Cli key={p.id}>{p.name}\u003C\u002Fli>)}\n    \u003C\u002Ful>\n  )\n}\n",[137,6942,6943,6948,6966,6990,6997,7005,7055,7063,7068],{"__ignoreMap":197},[201,6944,6945],{"class":203,"line":204},[201,6946,6947],{"class":239},"\u002F\u002F Next.js: app\u002Fproducts\u002Fpage.tsx\n",[201,6949,6950,6952,6954,6957,6959,6962,6964],{"class":203,"line":224},[201,6951,246],{"class":245},[201,6953,249],{"class":245},[201,6955,6956],{"class":659}," async",[201,6958,6628],{"class":659},[201,6960,6961],{"class":252}," Page",[201,6963,6634],{"class":260},[201,6965,298],{"class":260},[201,6967,6968,6970,6973,6975,6977,6979,6981,6984,6986,6988],{"class":203,"line":264},[201,6969,3379],{"class":659},[201,6971,6972],{"class":256}," products",[201,6974,670],{"class":260},[201,6976,2009],{"class":245},[201,6978,6690],{"class":256},[201,6980,534],{"class":260},[201,6982,6983],{"class":256},"products",[201,6985,534],{"class":260},[201,6987,6699],{"class":252},[201,6989,2967],{"class":267},[201,6991,6992,6994],{"class":203,"line":290},[201,6993,2006],{"class":245},[201,6995,6996],{"class":267}," (\n",[201,6998,6999,7001,7003],{"class":203,"line":301},[201,7000,5556],{"class":260},[201,7002,2357],{"class":267},[201,7004,1718],{"class":260},[201,7006,7007,7010,7012,7014,7016,7018,7020,7022,7024,7026,7028,7030,7032,7034,7036,7038,7040,7042,7045,7047,7049,7051,7053],{"class":203,"line":319},[201,7008,7009],{"class":260},"      {",[201,7011,6983],{"class":256},[201,7013,534],{"class":260},[201,7015,2116],{"class":252},[201,7017,257],{"class":256},[201,7019,14],{"class":2106},[201,7021,1999],{"class":659},[201,7023,6708],{"class":260},[201,7025,188],{"class":267},[201,7027,6732],{"class":659},[201,7029,6735],{"class":260},[201,7031,14],{"class":256},[201,7033,534],{"class":260},[201,7035,6742],{"class":256},[201,7037,6745],{"class":260},[201,7039,14],{"class":256},[201,7041,534],{"class":260},[201,7043,7044],{"class":256},"name",[201,7046,6754],{"class":260},[201,7048,188],{"class":267},[201,7050,3416],{"class":260},[201,7052,3779],{"class":256},[201,7054,724],{"class":260},[201,7056,7057,7059,7061],{"class":203,"line":329},[201,7058,5599],{"class":260},[201,7060,2357],{"class":267},[201,7062,1718],{"class":260},[201,7064,7065],{"class":203,"line":346},[201,7066,7067],{"class":267},"  )\n",[201,7069,7070],{"class":203,"line":363},[201,7071,724],{"class":260},[14,7073,7074,7075,7077],{},"In Nuxt, ",[137,7076,2054],{}," runs during server rendering, and the result travels to the browser inside the page payload, so the request isn't repeated on hydration. The component itself still hydrates and can be interactive.",[14,7079,7080,7081,7084],{},"In Next.js, the page is a Server Component. It can query the database directly, and its code never reaches the browser. Anything interactive goes into a separate file marked ",[137,7082,7083],{},"'use client'",". That split is the biggest conceptual difference between the frameworks. It can cut client JavaScript on content-heavy pages, and it is also where most of the Next.js learning curve sits.",[14,7086,7087,7088,7091,7092,7094,7095,7098,7099,534],{},"After the first load, both behave like single-page apps. Nuxt components call ",[137,7089,7090],{},"$fetch"," or refresh a ",[137,7093,2054],{}," result for new data. Next.js client components use ",[137,7096,7097],{},"fetch"," or a library like TanStack Query or SWR, and server data refreshes through Server Actions or ",[137,7100,7101],{},"router.refresh()",[169,7103,7105],{"id":7104},"server-routes-nitro-vs-route-handlers-and-server-actions","Server Routes: Nitro vs Route Handlers and Server Actions",[14,7107,7108,7109,7112],{},"Nuxt's server layer is Nitro. Any file in ",[137,7110,7111],{},"server\u002Fapi\u002F"," becomes an endpoint:",[192,7114,7116],{"className":230,"code":7115,"language":232,"meta":197,"style":197},"\u002F\u002F server\u002Fapi\u002Fproducts.get.ts\nexport default defineEventHandler(() => db.products.findMany())\n",[137,7117,7118,7122],{"__ignoreMap":197},[201,7119,7120],{"class":203,"line":204},[201,7121,1979],{"class":239},[201,7123,7124,7126,7128,7131,7133,7135,7137,7139,7141,7143,7145,7147],{"class":203,"line":224},[201,7125,246],{"class":245},[201,7127,249],{"class":245},[201,7129,7130],{"class":252}," defineEventHandler",[201,7132,257],{"class":256},[201,7134,6634],{"class":260},[201,7136,1999],{"class":659},[201,7138,6690],{"class":256},[201,7140,534],{"class":260},[201,7142,6983],{"class":256},[201,7144,534],{"class":260},[201,7146,6699],{"class":252},[201,7148,7149],{"class":256},"())\n",[14,7151,7152,7153,7155],{},"Nitro routes are full HTTP endpoints with middleware, caching helpers and storage. Pages that call them through ",[137,7154,2054],{}," get the response type automatically.",[14,7157,7158,7159,7162,7163,7166,7167,7170],{},"Next.js has two tools. Route Handlers (",[137,7160,7161],{},"app\u002Fapi\u002Fproducts\u002Froute.ts"," exporting a ",[137,7164,7165],{},"GET"," function) are its HTTP endpoints. Server Functions, often called Server Actions, are async functions marked ",[137,7168,7169],{},"'use server'"," that a form or a client component calls directly, with no endpoint to write. They're convenient for mutations. Nuxt has no direct equivalent, so a form posts to a Nitro route instead. Here's the same \"create post\" mutation in both:",[192,7172,7174],{"className":6583,"code":7173,"language":6585,"meta":197,"style":197},"\u002F\u002F Next.js: a Server Action inside a Server Component\nimport { updateTag } from 'next\u002Fcache'\n\nexport default function NewPost() {\n  async function createPost(formData: FormData) {\n    'use server'\n    await db.posts.create({ data: { title: formData.get('title') } })\n    updateTag('posts')\n  }\n\n  return (\n    \u003Cform action={createPost}>\n      \u003Cinput name=\"title\" required \u002F>\n      \u003Cbutton type=\"submit\">Publish\u003C\u002Fbutton>\n    \u003C\u002Fform>\n  )\n}\n",[137,7175,7176,7181,7200,7204,7219,7243,7252,7307,7322,7327,7331,7337,7355,7377,7406,7414,7418],{"__ignoreMap":197},[201,7177,7178],{"class":203,"line":204},[201,7179,7180],{"class":239},"\u002F\u002F Next.js: a Server Action inside a Server Component\n",[201,7182,7183,7185,7187,7190,7192,7194,7196,7198],{"class":203,"line":224},[201,7184,626],{"class":245},[201,7186,631],{"class":260},[201,7188,7189],{"class":256}," updateTag",[201,7191,637],{"class":260},[201,7193,640],{"class":245},[201,7195,309],{"class":260},[201,7197,6615],{"class":211},[201,7199,648],{"class":260},[201,7201,7202],{"class":203,"line":264},[201,7203,654],{"emptyLinePlaceholder":653},[201,7205,7206,7208,7210,7212,7215,7217],{"class":203,"line":290},[201,7207,246],{"class":245},[201,7209,249],{"class":245},[201,7211,6628],{"class":659},[201,7213,7214],{"class":252}," NewPost",[201,7216,6634],{"class":260},[201,7218,298],{"class":260},[201,7220,7221,7224,7226,7229,7231,7234,7236,7239,7241],{"class":203,"line":301},[201,7222,7223],{"class":659},"  async",[201,7225,6628],{"class":659},[201,7227,7228],{"class":252}," createPost",[201,7230,257],{"class":260},[201,7232,7233],{"class":2106},"formData",[201,7235,271],{"class":260},[201,7237,7238],{"class":207}," FormData",[201,7240,3779],{"class":260},[201,7242,298],{"class":260},[201,7244,7245,7247,7250],{"class":203,"line":319},[201,7246,1847],{"class":260},[201,7248,7249],{"class":211},"use server",[201,7251,648],{"class":260},[201,7253,7254,7257,7259,7261,7263,7265,7268,7270,7272,7274,7276,7278,7280,7282,7285,7287,7290,7292,7294,7296,7298,7301,7303,7305],{"class":203,"line":329},[201,7255,7256],{"class":245},"    await",[201,7258,6690],{"class":256},[201,7260,534],{"class":260},[201,7262,5786],{"class":256},[201,7264,534],{"class":260},[201,7266,7267],{"class":252},"create",[201,7269,257],{"class":267},[201,7271,1620],{"class":260},[201,7273,2069],{"class":267},[201,7275,271],{"class":260},[201,7277,631],{"class":260},[201,7279,2129],{"class":267},[201,7281,271],{"class":260},[201,7283,7284],{"class":256}," formData",[201,7286,534],{"class":260},[201,7288,7289],{"class":252},"get",[201,7291,257],{"class":267},[201,7293,277],{"class":260},[201,7295,3054],{"class":211},[201,7297,277],{"class":260},[201,7299,7300],{"class":267},") ",[201,7302,507],{"class":260},[201,7304,637],{"class":260},[201,7306,510],{"class":267},[201,7308,7309,7312,7314,7316,7318,7320],{"class":203,"line":346},[201,7310,7311],{"class":252},"    updateTag",[201,7313,257],{"class":267},[201,7315,277],{"class":260},[201,7317,5786],{"class":211},[201,7319,277],{"class":260},[201,7321,510],{"class":267},[201,7323,7324],{"class":203,"line":363},[201,7325,7326],{"class":260},"  }\n",[201,7328,7329],{"class":203,"line":380},[201,7330,654],{"emptyLinePlaceholder":653},[201,7332,7333,7335],{"class":203,"line":391},[201,7334,2006],{"class":245},[201,7336,6996],{"class":267},[201,7338,7339,7341,7344,7347,7349,7352],{"class":203,"line":441},[201,7340,5556],{"class":260},[201,7342,7343],{"class":267},"form",[201,7345,7346],{"class":659}," action",[201,7348,6735],{"class":260},[201,7350,7351],{"class":256},"createPost",[201,7353,7354],{"class":260},"}>\n",[201,7356,7357,7359,7362,7364,7366,7368,7370,7372,7375],{"class":203,"line":484},[201,7358,5578],{"class":260},[201,7360,7361],{"class":267},"input",[201,7363,3680],{"class":659},[201,7365,1353],{"class":260},[201,7367,1356],{"class":260},[201,7369,3054],{"class":211},[201,7371,1356],{"class":260},[201,7373,7374],{"class":659}," required",[201,7376,1539],{"class":260},[201,7378,7379,7381,7384,7386,7388,7390,7393,7395,7397,7400,7402,7404],{"class":203,"line":492},[201,7380,5578],{"class":260},[201,7382,7383],{"class":267},"button",[201,7385,426],{"class":659},[201,7387,1353],{"class":260},[201,7389,1356],{"class":260},[201,7391,7392],{"class":211},"submit",[201,7394,1356],{"class":260},[201,7396,3416],{"class":260},[201,7398,7399],{"class":256},"Publish",[201,7401,1760],{"class":260},[201,7403,7383],{"class":267},[201,7405,1718],{"class":260},[201,7407,7408,7410,7412],{"class":203,"line":498},[201,7409,5599],{"class":260},[201,7411,7343],{"class":267},[201,7413,1718],{"class":260},[201,7415,7416],{"class":203,"line":504},[201,7417,7067],{"class":267},[201,7419,7420],{"class":203,"line":5949},[201,7421,724],{"class":260},[192,7423,7425],{"className":230,"code":7424,"language":232,"meta":197,"style":197},"\u002F\u002F Nuxt: server\u002Fapi\u002Fposts.post.ts\nexport default defineEventHandler(async (event) => {\n  const { title } = await readBody(event)\n  return db.posts.create({ data: { title } })\n})\n\n\u002F\u002F in a component\nawait $fetch('\u002Fapi\u002Fposts', { method: 'POST', body: { title } })\n",[137,7426,7427,7432,7455,7478,7510,7516,7520,7525],{"__ignoreMap":197},[201,7428,7429],{"class":203,"line":204},[201,7430,7431],{"class":239},"\u002F\u002F Nuxt: server\u002Fapi\u002Fposts.post.ts\n",[201,7433,7434,7436,7438,7440,7442,7444,7446,7449,7451,7453],{"class":203,"line":224},[201,7435,246],{"class":245},[201,7437,249],{"class":245},[201,7439,7130],{"class":252},[201,7441,257],{"class":256},[201,7443,1993],{"class":659},[201,7445,2142],{"class":260},[201,7447,7448],{"class":2106},"event",[201,7450,3779],{"class":260},[201,7452,1999],{"class":659},[201,7454,298],{"class":260},[201,7456,7457,7459,7461,7463,7465,7467,7469,7472,7474,7476],{"class":203,"line":264},[201,7458,3379],{"class":659},[201,7460,631],{"class":260},[201,7462,2129],{"class":256},[201,7464,637],{"class":260},[201,7466,670],{"class":260},[201,7468,2009],{"class":245},[201,7470,7471],{"class":252}," readBody",[201,7473,257],{"class":267},[201,7475,7448],{"class":256},[201,7477,510],{"class":267},[201,7479,7480,7482,7484,7486,7488,7490,7492,7494,7496,7498,7500,7502,7504,7506,7508],{"class":203,"line":290},[201,7481,2006],{"class":245},[201,7483,6690],{"class":256},[201,7485,534],{"class":260},[201,7487,5786],{"class":256},[201,7489,534],{"class":260},[201,7491,7267],{"class":252},[201,7493,257],{"class":267},[201,7495,1620],{"class":260},[201,7497,2069],{"class":267},[201,7499,271],{"class":260},[201,7501,631],{"class":260},[201,7503,2129],{"class":256},[201,7505,637],{"class":260},[201,7507,637],{"class":260},[201,7509,510],{"class":267},[201,7511,7512,7514],{"class":203,"line":301},[201,7513,507],{"class":260},[201,7515,510],{"class":256},[201,7517,7518],{"class":203,"line":319},[201,7519,654],{"emptyLinePlaceholder":653},[201,7521,7522],{"class":203,"line":329},[201,7523,7524],{"class":239},"\u002F\u002F in a component\n",[201,7526,7527,7530,7532,7534,7536,7539,7541,7543,7545,7548,7550,7552,7555,7557,7559,7562,7564,7566,7569,7571,7573],{"class":203,"line":346},[201,7528,7529],{"class":245},"await",[201,7531,2012],{"class":252},[201,7533,257],{"class":256},[201,7535,277],{"class":260},[201,7537,7538],{"class":211},"\u002Fapi\u002Fposts",[201,7540,277],{"class":260},[201,7542,409],{"class":260},[201,7544,631],{"class":260},[201,7546,7547],{"class":267}," method",[201,7549,271],{"class":260},[201,7551,309],{"class":260},[201,7553,7554],{"class":211},"POST",[201,7556,277],{"class":260},[201,7558,409],{"class":260},[201,7560,7561],{"class":267}," body",[201,7563,271],{"class":260},[201,7565,631],{"class":260},[201,7567,7568],{"class":256}," title ",[201,7570,507],{"class":260},[201,7572,637],{"class":260},[201,7574,510],{"class":256},[14,7576,7577],{},"The Nuxt version is one more file, but the result is a plain HTTP endpoint that a mobile app, a webhook or a test can call too. A Server Action is private to the app, and like any endpoint, it still needs its own auth and input checks.",[169,7579,7581],{"id":7580},"routing-and-project-structure","Routing and Project Structure",[14,7583,7584,7585,7588,7589,7592,7593,7596,7597,7600,7601,4576,7604,955,7607,7610],{},"Both route from the file system. In Nuxt 4, ",[137,7586,7587],{},"app\u002Fpages\u002Fproducts\u002F[id].vue"," is a route, and layouts live in ",[137,7590,7591],{},"app\u002Flayouts\u002F",". In Next.js, the same route is a folder, ",[137,7594,7595],{},"app\u002Fproducts\u002F[id]\u002F",", holding a ",[137,7598,7599],{},"page.tsx"," next to optional ",[137,7602,7603],{},"layout.tsx",[137,7605,7606],{},"loading.tsx",[137,7608,7609],{},"error.tsx"," files.",[14,7612,7613,7614,7616,7617,7619,7620,7623,7624,7627,7628,7631,7632,7635,7636,7638,7639,7641,7642,7645,7646,7649],{},"The Next.js convention puts more files in each route but makes loading and error states part of the file structure. It also supports parallel and intercepting routes, which help with things like modal routes. Nuxt handles the same states in code: ",[137,7615,2054],{}," returns a ",[137,7618,4711],{}," for loading UI, ",[137,7621,7622],{},"\u003CNuxtLoadingIndicator>"," shows navigation progress, ",[137,7625,7626],{},"\u003CNuxtErrorBoundary>"," catches errors in part of a page, and one ",[137,7629,7630],{},"error.vue"," file renders full-page errors. Nuxt keeps one file per route, adds route middleware in ",[137,7633,7634],{},"app\u002Fmiddleware\u002F"," and splits app code (",[137,7637,4655],{},") from server code (",[137,7640,4804],{},"). Request-level logic goes into Nitro middleware in Nuxt and into ",[137,7643,7644],{},"proxy.ts"," (formerly ",[137,7647,7648],{},"middleware.ts",") in Next.js 16.",[169,7651,7653],{"id":7652},"developer-experience-and-tooling","Developer Experience and Tooling",[14,7655,7656],{},"Nuxt auto-imports Vue APIs, your components and your composables, with generated types. Nuxt DevTools shows routes, components, payloads and server routes in the browser. Modules add features like images, content, i18n, auth and SEO with one line of config.",[14,7658,7659,7660,4576,7663,955,7666,7669,7670,7672,7673,4797,7675,7677,7678,955,7681,7684],{},"Next.js imports everything explicitly, which some teams prefer for readability. It builds more in: ",[137,7661,7662],{},"next\u002Fimage",[137,7664,7665],{},"next\u002Ffont",[137,7667,7668],{},"next\u002Fscript"," ship with the framework, where Nuxt uses official modules (",[137,7671,1205],{}," with ",[137,7674,1307],{},[137,7676,2185],{},") that you add when you need them. Turbopack is the default for ",[137,7679,7680],{},"next dev",[137,7682,7683],{},"next build"," since Next.js 16, and new React features reach Next.js first. In exchange, there are more rules to keep in your head: which components run where, what is cached, and for how long.",[14,7686,7687,7688,7691],{},"Both are TypeScript-first and test well with Vitest. Nuxt has an official ",[137,7689,7690],{},"@nuxt\u002Ftest-utils"," package that runs tests inside a Nuxt environment. Next.js documents setups for Vitest, Jest and Playwright, though async Server Components are easier to cover with end-to-end tests than with unit tests.",[169,7693,7695],{"id":7694},"deployment-and-hosting","Deployment and Hosting",[14,7697,7698,7699,7701],{},"This is where the two differ most in practice. Nitro builds a Nuxt app for whatever target you name: a Node.js server, static files with ",[137,7700,143],{},", or presets for Netlify, Vercel, Cloudflare, AWS Lambda, Deno and more. This site is a Nuxt 4 app generated to static files and served from Netlify.",[14,7703,7704,7705,7708,7709,7712],{},"Next.js runs with zero config on Vercel, which builds the platform around it. Self-hosting is fully supported with ",[137,7706,7707],{},"next start"," or the ",[137,7710,7711],{},"output: 'standalone'"," build in Docker. Other platforms rely on the Deployment Adapter API or on community projects like OpenNext. Most features work, but shared caching and image optimization can need extra setup on serverless hosts, so check what your host supports.",[18,7714,7716],{"id":7715},"nuxtjs-vs-nextjs-performance-and-seo","Nuxt.js vs Next.js: Performance and SEO",[14,7718,7719],{},"On Nuxt.js vs Next.js performance, the framework matters less than the choices you make in it. Both can serve prerendered HTML from a CDN, which is as fast as a first load gets. Both can server-render per request and cache the result. The difference shows up in how much JavaScript each page ships.",[14,7721,7722,7723,4576,7725,7727],{},"Next.js can keep large parts of a page out of the client bundle with Server Components. A blog post or product page made mostly of content may hydrate only a few interactive pieces. Nuxt hydrates the whole page by default but offers lazy hydration (",[137,7724,1775],{},[137,7726,1783],{}," and similar props on lazy components) and experimental server components for the same goal. Vue's smaller runtime and fine-grained reactivity help on the client side.",[14,7729,7730,7731,7733],{},"Either way, a slow page usually has the same causes: big dependencies, unoptimized images, third-party scripts. Be wary of benchmarks that compare two \"hello world\" apps. They measure framework overhead that real pages dwarf. Field data from your own users, in Search Console or a RUM tool, says more. Our guide to ",[128,7732,1175],{"href":1174}," covers the Nuxt side in depth.",[14,7735,7736,7737,4694,7740,7743,7744,955,7746,7748,7749,7752],{},"For SEO, there's no meaningful gap. Both send complete HTML to crawlers, including AI crawlers that don't run JavaScript. Next.js has the Metadata API and ",[137,7738,7739],{},"sitemap.ts",[137,7741,7742],{},"robots.ts"," files. Nuxt has ",[137,7745,2885],{},[137,7747,2888],{},", and the Nuxt SEO module adds sitemaps, robots rules, structured data and OG images. This site uses that module for all of its schema and sitemap output. Our post on ",[128,7750,7751],{"href":3795},"SEO for Vue and Nuxt"," explains the setup, including what AI agents need.",[18,7754,7756],{"id":7755},"ecosystem-community-and-hiring","Ecosystem, Community and Hiring",[14,7758,7759,7760,7763,7764,7767],{},"Next.js is the bigger ecosystem on every number we checked. In the week of November 1–7, 2026, the ",[137,7761,7762],{},"next"," package had about 92.6 million npm downloads against 3.3 million for ",[137,7765,7766],{},"nuxt",". The Next.js repository has around 143,000 GitHub stars, Nuxt about 61,000. The 2025 Stack Overflow Developer Survey shows the same picture: 20.8% of respondents used Next.js, 4% used Nuxt.",[14,7769,7770,7771,7773],{},"Nuxt's ecosystem is smaller but well organized. Modules are listed in one directory on nuxt.com, Nuxt UI is free and open source, and ",[128,7772,888],{"href":887}," let teams share a design system or a whole base app across projects.",[14,7775,7776],{},"The size gap shows most in third-party code. Headless CMSs, auth providers and payment SDKs usually ship React and Next.js examples first. Vue and Nuxt support exists for the major ones, but sometimes as a community package. On the UI side, Vue has Vuetify, PrimeVue, Quasar and Nuxt UI; React has MUI, Radix and shadcn\u002Fui.",[14,7778,7779,7780,7784],{},"For hiring, the numbers favour Next.js: more React developers, more candidates with framework experience. The Nuxt pool is smaller, but it sits inside the Vue pool (17.6% in the same survey), and Vue developers pick up Nuxt quickly. Senior Nuxt experience, especially SSR debugging and Nitro, is harder to find. If you need it on short notice, you can ",[128,7781,7783],{"href":7782},"\u002Fservices\u002Fhire-nuxt-developers","hire Nuxt developers"," from our team.",[18,7786,7788],{"id":7787},"nuxt-nextjs-and-vercel","Nuxt, Next.js and Vercel",[14,7790,7791],{},"Next.js is Vercel's framework. Vercel employs the core team, sets the roadmap and builds its platform features around it.",[14,7793,7794],{},"Nuxt was independent until July 2025, when NuxtLabs, the company behind Nuxt and Nitro, joined Vercel. Both sides committed that Nuxt and Nitro stay MIT-licensed, with open governance and a public roadmap, and that Nitro stays vendor-neutral. Vercel also committed to making paid NuxtLabs products free and open source, and Nuxt UI v4 now includes the components that used to be in Nuxt UI Pro.",[14,7796,7797],{},"In practice, the move gave Nuxt's core team stable funding. Nuxt still deploys to Netlify, Cloudflare or your own servers as easily as to Vercel.",[18,7799,7801],{"id":7800},"nextjs-vs-nuxtjs-which-should-you-choose","Next.js vs Nuxt.js: Which Should You Choose?",[14,7803,7804],{},"The choice of Next.js vs Nuxt.js usually follows the UI library your team already uses. When that's not settled, the project type decides:",[26,7806,7807,7817],{},[29,7808,7809],{},[32,7810,7811,7814],{},[35,7812,7813],{},"Team or project",[35,7815,7816],{},"Pick",[51,7818,7819,7826,7833,7841,7849,7857,7864,7871,7878],{},[32,7820,7821,7824],{},[56,7822,7823],{},"Existing Vue team or Vue codebase",[56,7825,1030],{},[32,7827,7828,7831],{},[56,7829,7830],{},"Existing React team or React codebase",[56,7832,2365],{},[32,7834,7835,7838],{},[56,7836,7837],{},"Content site, blog or docs",[56,7839,7840],{},"Either; Nuxt if hosting is not Vercel",[32,7842,7843,7846],{},[56,7844,7845],{},"E-commerce storefront",[56,7847,7848],{},"Either; follow the team",[32,7850,7851,7854],{},[56,7852,7853],{},"SaaS with a public site and a logged-in app",[56,7855,7856],{},"Either; Nuxt route rules make the split simple",[32,7858,7859,7862],{},[56,7860,7861],{},"Must run on several hosts or on-premises",[56,7863,1030],{},[32,7865,7866,7869],{},[56,7867,7868],{},"Depends on React-only libraries",[56,7870,2365],{},[32,7872,7873,7876],{},[56,7874,7875],{},"Needs the largest hiring pool",[56,7877,2365],{},[32,7879,7880,7883],{},[56,7881,7882],{},"Small team that wants a gentle learning curve",[56,7884,1030],{},[14,7886,7887],{},"For a greenfield project with no existing code, look at who will maintain it. If you're hiring locally, check how many Vue and React developers your market has. If an agency or partner builds it, pick the framework they know deeply. And think about hosting for the next five years, not just the launch: moving a Nuxt app between providers is a config change, while a Next.js app built around Vercel features takes more work to move.",[169,7889,7891],{"id":7890},"choose-nuxt-if","Choose Nuxt If...",[2357,7893,7894,7897,7900,7903,7906],{},[188,7895,7896],{},"Your team knows Vue, or you're building on Vue component libraries like Vuetify, PrimeVue or Nuxt UI",[188,7898,7899],{},"You want rendering, caching and redirects for the whole app in one config block",[188,7901,7902],{},"You deploy somewhere other than Vercel, or need to switch hosts later",[188,7904,7905],{},"You want one component model on server and client, with less to learn",[188,7907,7908],{},"You want auto-imports, modules and layers to cut boilerplate across projects",[14,7910,7911,7912,7916],{},"For a larger example, we've worked on a ",[128,7913,7915],{"href":7914},"\u002Fcase-studies\u002Fsocial-network","social network built on Vue and Nuxt"," since 2020, with video streaming and live messaging.",[169,7918,7920],{"id":7919},"choose-nextjs-if","Choose Next.js If...",[2357,7922,7923,7926,7929,7932,7935],{},[188,7924,7925],{},"Your team knows React and wants to stay there",[188,7927,7928],{},"You rely on React-only libraries, design systems or React Native code sharing",[188,7930,7931],{},"You plan to host on Vercel and use its platform features",[188,7933,7934],{},"You want Server Components and Server Actions as the core architecture",[188,7936,7937],{},"You need the largest pool of candidates and community answers",[18,7939,7941],{"id":7940},"moving-between-nextjs-and-nuxt","Moving Between Next.js and Nuxt",[14,7943,7944],{},"Moving in either direction is a port, not a conversion. Every component has to be rewritten from JSX to Vue templates, or back. The concepts map closely, though, so the work is mostly translation rather than redesign:",[26,7946,7947,7955],{},[29,7948,7949],{},[32,7950,7951,7953],{},[35,7952,2365],{},[35,7954,1030],{},[51,7956,7957,7968,7979,7994,8006,8019,8032,8045,8058,8071,8087,8106],{},[32,7958,7959,7964],{},[56,7960,7961],{},[137,7962,7963],{},"app\u002Fproducts\u002F[id]\u002Fpage.tsx",[56,7965,7966],{},[137,7967,7587],{},[32,7969,7970,7974],{},[56,7971,7972],{},[137,7973,7603],{},[56,7975,7976],{},[137,7977,7978],{},"app\u002Flayouts\u002F*.vue",[32,7980,7981,7985],{},[56,7982,7983],{},[137,7984,7606],{},[56,7986,7987,7989,7990,4576,7992],{},[137,7988,4711],{}," from ",[137,7991,2054],{},[137,7993,7622],{},[32,7995,7996,8000],{},[56,7997,7998],{},[137,7999,7609],{},[56,8001,8002,4576,8004],{},[137,8003,7626],{},[137,8005,7630],{},[32,8007,8008,8011],{},[56,8009,8010],{},"Async Server Component fetching data",[56,8012,8013,4694,8015,519,8017],{},[137,8014,2054],{},[137,8016,4492],{},[137,8018,6406],{},[32,8020,8021,8027],{},[56,8022,8023,8024,3779],{},"Route Handler (",[137,8025,8026],{},"route.ts",[56,8028,8029,8030],{},"Nitro route in ",[137,8031,7111],{},[32,8033,8034,8037],{},[56,8035,8036],{},"Server Action",[56,8038,8039,8040,8042,8043],{},"Nitro ",[137,8041,7554],{}," route plus ",[137,8044,7090],{},[32,8046,8047,8051],{},[56,8048,8049],{},[137,8050,7644],{},[56,8052,8053,809,8056],{},[137,8054,8055],{},"server\u002Fmiddleware\u002F",[137,8057,7634],{},[32,8059,8060,8065],{},[56,8061,8062],{},[137,8063,8064],{},"generateMetadata",[56,8066,8067,4694,8069],{},[137,8068,2885],{},[137,8070,2888],{},[32,8072,8073,8080],{},[56,8074,8075,4576,8078],{},[137,8076,8077],{},"next\u002Flink",[137,8079,7662],{},[56,8081,8082,4576,8085],{},[137,8083,8084],{},"\u003CNuxtLink>",[137,8086,1307],{},[32,8088,8089,8096],{},[56,8090,8091,4576,8093],{},[137,8092,6422],{},[137,8094,8095],{},"useEffect",[56,8097,8098,4576,8100,4576,8103],{},[137,8099,4743],{},[137,8101,8102],{},"watch",[137,8104,8105],{},"onMounted",[32,8107,8108,8111],{},[56,8109,8110],{},"Context, Zustand",[56,8112,8113,8115],{},[137,8114,6422],{},", Pinia",[14,8117,8118],{},"Code that isn't tied to React or Vue moves as is: TypeScript types, API clients, validation schemas, utility functions and most tests for them. Moving that code into shared packages first makes the rest of the port smaller.",[14,8120,8121],{},"The safest route is to move section by section behind a proxy, so both apps serve parts of the site until the old one is gone. Start with simple, high-traffic pages, compare their HTML and Core Web Vitals with the old version, then move the logged-in parts. Keep URLs, meta tags, structured data and redirects identical to protect search rankings.",[14,8123,8124,8125,8127],{},"If part of your stack is already an older Nuxt 2 app, upgrade it before or during the move so you end up on one version. Our ",[128,8126,2720],{"href":2719}," cover that upgrade to Nuxt 3 and 4.",[18,8129,914],{"id":913},[14,8131,8132],{},"Nuxt and Next.js are equals in what they can build. Both server-render, prerender, cache per route and run API code, and both produce sites that rank and load fast. The decision mostly comes down to Vue or React. After that, hosting freedom and a simpler mental model point to Nuxt, while the bigger ecosystem and hiring pool point to Next.js.",[14,8134,6108,8135,8137,8138,3843],{},[128,8136,921],{"href":920}," and have built Nuxt apps since 2017. If you're starting a Nuxt project or weighing the two, our ",[128,8139,926],{"href":925},[18,8141,931],{"id":930},[169,8143,8145],{"id":8144},"is-nuxt-better-than-nextjs","Is Nuxt better than Next.js?",[14,8147,8148],{},"Not in general. Both are mature full-stack frameworks with server rendering, file-based routing and API routes. Nuxt is the better choice for a Vue team and Next.js for a React team, and that one fact outweighs every feature difference.",[169,8150,8152],{"id":8151},"nextjs-vs-nuxt-which-is-faster","Nextjs vs Nuxt: which is faster?",[14,8154,8155],{},"Neither wins by default. Page speed depends on the rendering mode, caching and how much JavaScript each page ships, and both frameworks give you the same tools for those: prerendering, server rendering, cache rules and ways to keep code off the client. A well-built app in either one can pass Core Web Vitals.",[169,8157,8159],{"id":8158},"nextjs-vs-nuxt-which-is-better-for-seo","Next.js vs Nuxt: which is better for SEO?",[14,8161,8162],{},"They are equal where it counts. Both render full HTML on the server or at build time, and both set titles, meta tags and canonical URLs per page. Nuxt adds sitemaps, robots rules and structured data through modules, while Next.js builds them in with metadata files.",[169,8164,8166],{"id":8165},"nuxt-js-vs-nextjs-which-is-easier-to-learn","Nuxt js vs Nextjs: which is easier to learn?",[14,8168,8169],{},"Nuxt, for most people. Vue templates read like HTML, and Nuxt keeps one component model on server and client. Next.js asks you to learn React plus the split between Server and Client Components and its caching rules.",[169,8171,8173],{"id":8172},"next-js-vs-nuxt-which-has-more-jobs","Next js vs Nuxt: which has more jobs?",[14,8175,8176,8177,8182],{},"Next.js, by a wide margin. In the ",[128,8178,8181],{"href":8179,"rel":8180},"https:\u002F\u002Fsurvey.stackoverflow.co\u002F2025\u002Ftechnology",[4980],"2025 Stack Overflow Developer Survey",", 20.8% of respondents used Next.js and 4% used Nuxt. Nuxt roles are fewer, but any Vue developer can learn Nuxt quickly, which widens the pool.",[169,8184,8186],{"id":8185},"nuxt-vs-next-js-which-is-easier-to-host-outside-vercel","Nuxt vs Next js: which is easier to host outside Vercel?",[14,8188,8189],{},"Nuxt. Its Nitro server engine builds for Node.js, static hosting and most serverless and edge platforms from one setting. Next.js self-hosts well on Node.js or Docker, and other platforms depend on adapters, so check feature support before you commit.",[169,8191,8193],{"id":8192},"does-nuxt-have-server-components","Does Nuxt have Server Components?",[14,8195,8196,8197,8200],{},"Yes, but they work differently and are still experimental. A component named with a ",[137,8198,8199],{},".server.vue"," suffix renders only on the server and ships no JavaScript for itself, much like a React Server Component. Most Nuxt apps get similar savings with lazy hydration and server routes instead.",[169,8202,8204],{"id":8203},"does-vercel-own-nuxt","Does Vercel own Nuxt?",[14,8206,8207],{},"No. Vercel acquired NuxtLabs, the company behind Nuxt and Nitro, in July 2025. Nuxt and Nitro stay MIT-licensed, with open governance and a public roadmap, and Nuxt still deploys to any provider.",[6170,8209],{"label":6172,"to":6173},[984,8211,8212],{},"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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":197,"searchDepth":264,"depth":264,"links":8214},[8215,8216,8220,8229,8230,8231,8232,8236,8237,8238],{"id":6231,"depth":224,"text":6232},{"id":6366,"depth":224,"text":6367,"children":8217},[8218,8219],{"id":6373,"depth":264,"text":6374},{"id":6383,"depth":264,"text":6384},{"id":6392,"depth":224,"text":6393,"children":8221},[8222,8223,8224,8225,8226,8227,8228],{"id":6399,"depth":264,"text":6400},{"id":6432,"depth":264,"text":6433},{"id":6790,"depth":264,"text":6791},{"id":7104,"depth":264,"text":7105},{"id":7580,"depth":264,"text":7581},{"id":7652,"depth":264,"text":7653},{"id":7694,"depth":264,"text":7695},{"id":7715,"depth":224,"text":7716},{"id":7755,"depth":224,"text":7756},{"id":7787,"depth":224,"text":7788},{"id":7800,"depth":224,"text":7801,"children":8233},[8234,8235],{"id":7890,"depth":264,"text":7891},{"id":7919,"depth":264,"text":7920},{"id":7940,"depth":224,"text":7941},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":8239},[8240,8241,8242,8243,8244,8245,8246,8247],{"id":8144,"depth":264,"text":8145},{"id":8151,"depth":264,"text":8152},{"id":8158,"depth":264,"text":8159},{"id":8165,"depth":264,"text":8166},{"id":8172,"depth":264,"text":8173},{"id":8185,"depth":264,"text":8186},{"id":8192,"depth":264,"text":8193},{"id":8203,"depth":264,"text":8204},"2026-11-11","Next vs Nuxt compared by an official Nuxt partner: rendering, data fetching, deployment, SEO and hiring, plus when to pick Nuxt.js vs Next.js.",[8251,8252,8253,8254,8255,8257,8258,8260],{"question":8145,"answer":8148},{"question":8152,"answer":8155},{"question":8159,"answer":8162},{"question":8166,"answer":8169},{"question":8173,"answer":8256},"Next.js, by a wide margin. In the 2025 Stack Overflow Developer Survey, 20.8% of respondents used Next.js and 4% used Nuxt. Nuxt roles are fewer, but any Vue developer can learn Nuxt quickly, which widens the pool.",{"question":8186,"answer":8189},{"question":8193,"answer":8259},"Yes, but they work differently and are still experimental. A component named with a .server.vue suffix renders only on the server and ships no JavaScript for itself, much like a React Server Component. Most Nuxt apps get similar savings with lazy hydration and server routes instead.",{"question":8204,"answer":8207},"\u002Fimages\u002Fblog\u002Fnuxt-vs-next\u002Fcard.png",{},"15 min read",{"title":6223,"description":8249},"Nuxt vs Next.js: Which Framework Should You Choose in 2026?","blog\u002Fnuxt-vs-next",[1030,2365,2822],"8MmU5EhX0c22LQctW8jV28Qg3NjUH1pkN-fygCWilEM",{"id":8270,"title":8271,"articleType":7,"author":8,"authorSlug":9,"body":8272,"cta":1008,"date":9234,"description":9235,"extension":1011,"faq":9236,"featured":1021,"image":9250,"meta":9251,"navigation":653,"noCtaBox":1021,"path":2851,"readTime":9252,"seo":9253,"seoTitle":9254,"stem":9255,"tags":9256,"topic":1032,"video":1008,"__hash__":9257},"blog\u002Fblog\u002Fnuxt-rendering.md","Nuxt Rendering Explained: SSR, SSG, SPA and Hybrid Modes",{"type":11,"value":8273,"toc":9204},[8274,8277,8281,8389,8392,8395,8402,8406,8412,8416,8419,8435,8439,8446,8535,8550,8554,8557,8589,8612,8616,8636,8639,8645,8648,8665,8672,8676,8684,8692,8698,8702,8705,8821,8825,8848,8855,8869,8873,8882,8894,8897,8901,8904,8908,8918,8921,8925,8939,8954,8958,8961,8973,8984,8991,8995,9084,9087,9093,9099,9101,9104,9109,9111,9115,9128,9132,9138,9142,9156,9160,9168,9172,9175,9179,9187,9191,9199,9201],[14,8275,8276],{},"Nuxt rendering decides where your Vue components become HTML: on a server for each request, once at build time, or in the visitor's browser. Nuxt supports all three, and it lets each route pick its own. This guide explains how Nuxt SSR, SSG, client-side rendering and hybrid rendering work, what edge rendering and server components add, and how to choose a mode for each kind of page.",[18,8278,8280],{"id":8279},"nuxt-rendering-modes-at-a-glance","Nuxt Rendering Modes at a Glance",[26,8282,8283,8301],{},[29,8284,8285],{},[32,8286,8287,8290,8293,8296,8298],{},[35,8288,8289],{},"Mode",[35,8291,8292],{},"Where HTML is built",[35,8294,8295],{},"When",[35,8297,2417],{},[35,8299,8300],{},"Needs a server?",[51,8302,8303,8319,8335,8353,8370],{},[32,8304,8305,8308,8311,8314,8317],{},[56,8306,8307],{},"SSR (universal)",[56,8309,8310],{},"Server",[56,8312,8313],{},"Every request",[56,8315,8316],{},"Pages with fresh or per-user data",[56,8318,78],{},[32,8320,8321,8324,8327,8330,8333],{},[56,8322,8323],{},"SSG (prerender)",[56,8325,8326],{},"Build machine",[56,8328,8329],{},"At build time",[56,8331,8332],{},"Marketing pages, blogs, docs",[56,8334,61],{},[32,8336,8337,8342,8345,8348,8351],{},[56,8338,8339,8340,3779],{},"CSR (",[137,8341,139],{},[56,8343,8344],{},"Browser",[56,8346,8347],{},"After JavaScript loads",[56,8349,8350],{},"Dashboards and apps behind a login",[56,8352,61],{},[32,8354,8355,8358,8361,8364,8367],{},[56,8356,8357],{},"SWR \u002F ISR",[56,8359,8360],{},"Server, then cache",[56,8362,8363],{},"First request, then on expiry",[56,8365,8366],{},"Catalogs and listings that change hourly",[56,8368,8369],{},"Yes, or a platform that supports it",[32,8371,8372,8375,8378,8383,8386],{},[56,8373,8374],{},"Hybrid",[56,8376,8377],{},"Mixed per route",[56,8379,8380,8381],{},"Set in ",[137,8382,6442],{},[56,8384,8385],{},"Most real apps",[56,8387,8388],{},"For the non-static routes",[14,8390,8391],{},"Nuxt rendering starts from one default: universal rendering, which Nuxt calls SSR. The server renders the page, sends HTML, and the browser hydrates it into a working Vue app. After that first load, navigation happens in the browser like a single-page app.",[14,8393,8394],{},"Everything else is a variation on where and when that first HTML is produced. SSG moves rendering to build time. CSR skips the server and lets the browser do it. SWR and ISR render on the server but cache the result. Hybrid rendering mixes these per route.",[14,8396,8397,8398,8401],{},"This article stays on how each mode works in Nuxt. (New to Nuxt itself? Start with ",[128,8399,8400],{"href":130},"what Nuxt is",".)",[18,8403,8405],{"id":8404},"how-nuxtjs-ssr-works","How Nuxt.js SSR Works",[14,8407,8408,8409,534],{},"In a Nuxt.js app, SSR is on by default, so every route is rendered on the server unless you change it. Three things happen on each request: the server renders HTML, the browser hydrates it, and data loaded on the server travels with the page so it isn't fetched twice. For the general SSR vs CSR vs SSG background, outside Nuxt, see our post on ",[128,8410,8411],{"href":4190},"Vue.js rendering and SEO",[169,8413,8415],{"id":8414},"server-rendered-html-and-hydration","Server-Rendered HTML and Hydration",[14,8417,8418],{},"When a request arrives, Nuxt runs your page, layout and components on the server and returns the HTML. The browser shows that content right away, before any JavaScript has run. Then the same Vue code runs again in the browser and attaches event listeners to the existing HTML instead of rebuilding it. That second step is hydration.",[14,8420,8421,8422,8424,8425,8427,8428,809,8431,8434],{},"Code in ",[137,8423,6406],{}," runs in both places. A ",[137,8426,4743],{}," is created on the server to render the template, and again in the browser during hydration. A click handler only ever runs in the browser. Pages and route middleware run on the server and again during hydration. Plugins can be marked server-only or client-only with a ",[137,8429,8430],{},".server",[137,8432,8433],{},".client"," suffix.",[169,8436,8438],{"id":8437},"data-fetching-during-ssr","Data Fetching During SSR",[14,8440,8441,955,8443,8445],{},[137,8442,2054],{},[137,8444,4492],{}," run during server rendering and store their result in the page payload, a serialized copy of the data embedded in the HTML. During hydration, Nuxt reads the payload instead of calling the API again.",[192,8447,8449],{"className":1333,"code":8448,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nconst route = useRoute()\nconst { data: product } = await useFetch(`\u002Fapi\u002Fproducts\u002F${route.params.id}`)\n\u003C\u002Fscript>\n",[137,8450,8451,8471,8483,8527],{"__ignoreMap":197},[201,8452,8453,8455,8457,8459,8461,8463,8465,8467,8469],{"class":203,"line":204},[201,8454,1342],{"class":260},[201,8456,2936],{"class":267},[201,8458,2939],{"class":659},[201,8460,2942],{"class":659},[201,8462,1353],{"class":260},[201,8464,1356],{"class":260},[201,8466,232],{"class":211},[201,8468,1356],{"class":260},[201,8470,1718],{"class":260},[201,8472,8473,8475,8477,8479,8481],{"class":203,"line":224},[201,8474,660],{"class":659},[201,8476,2959],{"class":256},[201,8478,1353],{"class":260},[201,8480,2964],{"class":252},[201,8482,2967],{"class":256},[201,8484,8485,8487,8489,8491,8493,8496,8498,8500,8502,8504,8506,8508,8511,8513,8515,8517,8519,8521,8523,8525],{"class":203,"line":264},[201,8486,660],{"class":659},[201,8488,631],{"class":260},[201,8490,2069],{"class":267},[201,8492,271],{"class":260},[201,8494,8495],{"class":256}," product ",[201,8497,507],{"class":260},[201,8499,670],{"class":260},[201,8501,2009],{"class":245},[201,8503,2083],{"class":252},[201,8505,257],{"class":256},[201,8507,2993],{"class":260},[201,8509,8510],{"class":211},"\u002Fapi\u002Fproducts\u002F",[201,8512,2999],{"class":260},[201,8514,3002],{"class":256},[201,8516,534],{"class":260},[201,8518,3007],{"class":256},[201,8520,534],{"class":260},[201,8522,6742],{"class":256},[201,8524,3015],{"class":260},[201,8526,510],{"class":256},[201,8528,8529,8531,8533],{"class":203,"line":290},[201,8530,1760],{"class":260},[201,8532,2936],{"class":267},[201,8534,1718],{"class":260},[14,8536,8537,8538,8540,8541,8543,8544,8546,8547,8549],{},"A plain ",[137,8539,7097],{}," inside ",[137,8542,8105],{}," does the opposite: nothing on the server, so the HTML arrives without that data. For shared state, use ",[137,8545,6422],{}," rather than a module-level ",[137,8548,4743],{},", because module state on the server is shared between requests.",[169,8551,8553],{"id":8552},"hydration-mismatches-and-how-to-avoid-them","Hydration Mismatches and How to Avoid Them",[14,8555,8556],{},"A hydration mismatch happens when the HTML the browser builds doesn't match what the server sent. Vue warns in the console, and parts of the page can render wrong. The usual causes:",[2357,8558,8559,8569,8578],{},[188,8560,8561,8562,4576,8565,8568],{},"Values that differ between server and browser: ",[137,8563,8564],{},"Date.now()",[137,8566,8567],{},"Math.random()",", time zones and locale formatting",[188,8570,8571,8572,809,8575],{},"Browser-only state read during render, such as ",[137,8573,8574],{},"localStorage",[137,8576,8577],{},"window.innerWidth",[188,8579,8580,8581,8584,8585,8588],{},"Invalid HTML nesting, like a ",[137,8582,8583],{},"\u003Cdiv>"," inside a ",[137,8586,8587],{},"\u003Cp>",", which the browser silently rewrites",[14,8590,8591,8592,8594,8595,8597,8598,809,8600,8603,8604,8607,8608,8611],{},"The fixes are simple once you know them. Read browser-only values in ",[137,8593,8105],{},", or wrap the component in ",[137,8596,3816],{},". Use ",[137,8599,6422],{},[137,8601,8602],{},"useId"," for values that must match on both sides. Check ",[137,8605,8606],{},"import.meta.client"," before touching ",[137,8609,8610],{},"window"," in shared code. In development, Vue logs each mismatch with the element involved, so most are caught long before production.",[18,8613,8615],{"id":8614},"nuxt-ssg-prerendering-pages-at-build-time","Nuxt SSG: Prerendering Pages at Build Time",[14,8617,8618,8619,8621,8622,8624,8625,8628,8629,8632,8633,8635],{},"Nuxt SSG, or prerendering, does the server rendering once, at build time. Run ",[137,8620,143],{}," and Nuxt builds the app, starts it, and crawls it: it renders ",[137,8623,1850],{}," and every page in ",[137,8626,8627],{},"app\u002Fpages\u002F"," without dynamic segments, follows each internal link it finds, and saves every page as an HTML file with a ",[137,8630,8631],{},"_payload.json"," next to it. The result in ",[137,8634,715],{}," can be uploaded to any static host or CDN.",[14,8637,8638],{},"To visitors and crawlers, a prerendered page looks exactly like an SSR page: full HTML, then hydration. The difference is when the HTML is made. There's no rendering work per request, so pages are fast and cheap to serve, and there's no server to scale or keep patched.",[14,8640,8641,8642,8644],{},"This website works that way. Every page of epicmax.co is prerendered with ",[137,8643,143],{},", including this article, and served as static files. A new post is a Markdown file; merging it triggers a rebuild and a redeploy.",[14,8646,8647],{},"Three things to plan for:",[2357,8649,8650,8656,8659],{},[188,8651,8652,8653,8655],{},"Pages nothing links to won't be found by the crawler. Add them to the prerender routes list in ",[137,8654,564],{},", or make sure a sitemap or index page links to them.",[188,8657,8658],{},"Content only changes when you rebuild. That's fine for blogs and marketing pages, which usually redeploy on every edit. For data that changes every few minutes, a full rebuild is too slow, and SWR or ISR is the better fit.",[188,8660,8661,8662,8664],{},"A static build has no server, so ",[137,8663,159],{}," routes don't exist in production. Forms and dynamic data have to go to an external API or serverless function.",[14,8666,8667,8668,8671],{},"You can also prerender only part of a server-rendered app with ",[137,8669,8670],{},"prerender: true"," in route rules: static marketing pages, server-rendered everything else.",[18,8673,8675],{"id":8674},"client-side-rendering-in-nuxt","Client-Side Rendering in Nuxt",[14,8677,559,8678,8680,8681,534],{},[137,8679,139],{}," and Nuxt behaves like a classic Vue single-page app. The server, or static host, sends an empty HTML shell, and the browser downloads the JavaScript and renders the page. You can show a loading screen in the meantime with ",[137,8682,8683],{},"app\u002Fspa-loading-template.html",[14,8685,8686,8687,955,8689,8691],{},"Client-side rendering is simpler to write: no server environment, so ",[137,8688,8610],{},[137,8690,8574],{}," are always available, and there's no hydration to get wrong. It's cheap to host, since a static file server is enough. Nuxt still gives you file-based routing, auto-imports, modules and the rest of the developer experience.",[14,8693,8694,8695,8697],{},"The trade-off is the first load. Nothing appears until the JavaScript has downloaded, parsed and run, and crawlers that don't execute JavaScript see an empty page. That makes CSR a good fit for dashboards, admin panels and tools that users open often and that search engines never need to see. In a client-rendered app, bundle size is the main lever on load time, so code splitting and lazy components matter more. Our guide to ",[128,8696,1175],{"href":1174}," covers how to measure and trim it.",[18,8699,8701],{"id":8700},"hybrid-rendering-with-route-rules","Hybrid Rendering With Route Rules",[14,8703,8704],{},"Most apps don't fit one mode. A store needs a fast static homepage, product pages that stay fresh and an account area that doesn't need SSR at all. Route rules let one Nuxt app do all three:",[192,8706,8708],{"className":230,"code":8707,"language":232,"meta":197,"style":197},"export default defineNuxtConfig({\n  routeRules: {\n    '\u002F': { prerender: true },\n    '\u002Fblog\u002F**': { isr: true },\n    '\u002Fproducts\u002F**': { swr: 3600 },\n    '\u002Faccount\u002F**': { ssr: false },\n  },\n})\n",[137,8709,8710,8722,8730,8750,8770,8790,8811,8815],{"__ignoreMap":197},[201,8711,8712,8714,8716,8718,8720],{"class":203,"line":204},[201,8713,246],{"class":245},[201,8715,249],{"class":245},[201,8717,253],{"class":252},[201,8719,257],{"class":256},[201,8721,261],{"class":260},[201,8723,8724,8726,8728],{"class":203,"line":224},[201,8725,1838],{"class":267},[201,8727,271],{"class":260},[201,8729,298],{"class":260},[201,8731,8732,8734,8736,8738,8740,8742,8744,8746,8748],{"class":203,"line":264},[201,8733,1847],{"class":260},[201,8735,1850],{"class":267},[201,8737,277],{"class":260},[201,8739,271],{"class":260},[201,8741,631],{"class":260},[201,8743,1859],{"class":267},[201,8745,271],{"class":260},[201,8747,1865],{"class":1864},[201,8749,438],{"class":260},[201,8751,8752,8754,8756,8758,8760,8762,8764,8766,8768],{"class":203,"line":290},[201,8753,1847],{"class":260},[201,8755,1874],{"class":267},[201,8757,277],{"class":260},[201,8759,271],{"class":260},[201,8761,631],{"class":260},[201,8763,1906],{"class":267},[201,8765,271],{"class":260},[201,8767,1865],{"class":1864},[201,8769,438],{"class":260},[201,8771,8772,8774,8776,8778,8780,8782,8784,8786,8788],{"class":203,"line":301},[201,8773,1847],{"class":260},[201,8775,1897],{"class":267},[201,8777,277],{"class":260},[201,8779,271],{"class":260},[201,8781,631],{"class":260},[201,8783,1883],{"class":267},[201,8785,271],{"class":260},[201,8787,1888],{"class":1268},[201,8789,438],{"class":260},[201,8791,8792,8794,8797,8799,8801,8803,8805,8807,8809],{"class":203,"line":319},[201,8793,1847],{"class":260},[201,8795,8796],{"class":267},"\u002Faccount\u002F**",[201,8798,277],{"class":260},[201,8800,271],{"class":260},[201,8802,631],{"class":260},[201,8804,1929],{"class":267},[201,8806,271],{"class":260},[201,8808,1934],{"class":1864},[201,8810,438],{"class":260},[201,8812,8813],{"class":203,"line":329},[201,8814,501],{"class":260},[201,8816,8817,8819],{"class":203,"line":346},[201,8818,507],{"class":260},[201,8820,510],{"class":256},[169,8822,8824],{"id":8823},"per-route-ssr-prerendering-and-client-only-pages","Per-Route SSR, Prerendering and Client-Only Pages",[14,8826,8827,8829,8830,8832,8833,4576,8836,955,8839,8842,8843,8845,8846,534],{},[137,8828,8670],{}," builds the route at build time, ",[137,8831,139],{}," makes it client-only, and routes without a rule use the default SSR. The same config also handles ",[137,8834,8835],{},"redirect",[137,8837,8838],{},"headers",[137,8840,8841],{},"cors",", so rendering and response settings live in one place. Because some routes still render on the server, a hybrid app is deployed with ",[137,8844,819],{},", not ",[137,8847,143],{},[14,8849,8850,8851,8854],{},"Patterns are matched against the URL, and ",[137,8852,8853],{},"\u002F**"," covers everything under a path, so one line can set the mode for a whole section. In the example above, a visitor who lands on the homepage gets a static file, clicks through to a product page that was rendered and cached on the server, then signs in to an account area that renders in the browser. They never notice the switch. After the first page, Nuxt navigates client-side in all three cases.",[14,8856,8857,8858,8861,8862,8865,8866,8868],{},"Rules can also be set from a page with ",[137,8859,8860],{},"defineRouteRules",", behind the experimental ",[137,8863,8864],{},"inlineRouteRules"," flag, which keeps the rendering choice next to the page it affects. Most teams keep them in ",[137,8867,564],{},", where the whole map is visible at once.",[169,8870,8872],{"id":8871},"isr-and-swr-caching","ISR and SWR Caching",[14,8874,8875,8877,8878,8881],{},[137,8876,1952],{}," renders a page on the first request and caches it for the number of seconds you set. When the cache expires, the next visitor still gets the cached page while Nuxt regenerates it in the background. With ",[137,8879,8880],{},"swr: true",", there's no fixed lifetime. Nitro's Node.js server can cache the full response itself.",[14,8883,8884,8886,8887,8890,8891,8893],{},[137,8885,1956],{}," works the same way, but stores the page in the hosting platform's CDN cache, which Nuxt supports on Netlify and Vercel. ",[137,8888,8889],{},"isr: true"," keeps the page cached until the next deploy. Both modes also write ",[137,8892,8631],{}," files, so client-side navigation reuses the cached data.",[14,8895,8896],{},"SWR and ISR sit between SSR and SSG. Pages stay almost as fast as static files, because most requests hit the cache, but content updates without a rebuild. The price is that some visitors see a slightly old version until the background refresh finishes, so neither fits prices or stock levels that must be exact on every request.",[18,8898,8900],{"id":8899},"edge-rendering-islands-and-server-components","Edge Rendering, Islands and Server Components",[14,8902,8903],{},"Two newer options change where rendering happens and how much JavaScript a page ships.",[169,8905,8907],{"id":8906},"edge-side-rendering","Edge-Side Rendering",[14,8909,8910,8911,809,8914,8917],{},"Edge-side rendering runs your Nuxt server on a CDN's edge network, close to each visitor, instead of in one region. The Nuxt docs call it more a deployment target than a rendering mode: you build with a Nitro preset such as Cloudflare, ",[137,8912,8913],{},"vercel-edge",[137,8915,8916],{},"netlify-edge",", and route rules work as usual. Edge runtimes support only part of the Node.js API, so check that your server dependencies run there.",[14,8919,8920],{},"Edge rendering cuts network latency, not rendering time. If every page waits on a database in one region, the edge server still has to reach it, and the gain shrinks. It pays off most when the data is cached or also distributed.",[169,8922,8924],{"id":8923},"nuxt-islands-and-server-components","Nuxt Islands and Server Components",[14,8926,8927,8928,8930,8931,8934,8935,8938],{},"A server component, named with a ",[137,8929,8199],{}," suffix, renders only on the server. Its HTML goes into the page, but its JavaScript and dependencies, such as a Markdown parser or syntax highlighter, are never sent to the browser. You can also render an island anywhere with ",[137,8932,8933],{},"\u003CNuxtIsland>",". Server components are still marked experimental, and the feature switches itself on as soon as your app contains one. Inside a server component, the ",[137,8936,8937],{},"nuxt-client"," attribute can hydrate a single interactive child while the rest stays static.",[14,8940,8941,8942,8945,8946,4576,8948,8950,8951,534],{},"For components that do need JavaScript, lazy hydration delays the cost: ",[137,8943,8944],{},"\u003CLazyComments hydrate-on-visible \u002F>"," renders on the server but only hydrates when it scrolls into view. Other triggers include ",[137,8947,1783],{},[137,8949,1779],{}," and a fixed delay with ",[137,8952,8953],{},":hydrate-after",[18,8955,8957],{"id":8956},"nuxt-ssr-performance-and-seo","Nuxt SSR Performance and SEO",[14,8959,8960],{},"Nuxt SSR helps most on the first visit. The browser gets readable HTML in the first response, so the main content can paint before any JavaScript runs. That usually improves Largest Contentful Paint compared with client-side rendering, especially on slow phones and networks.",[14,8962,8963,8964,809,8966,8968,8969,8972],{},"It adds two costs. The first is server time: rendering per request raises Time to First Byte, and a slow API makes it worse because the server waits for data before sending anything. Caching with ",[137,8965,1952],{},[137,8967,1956],{},", or prerendering, removes most of that work. The second is hydration: the browser still downloads and runs the JavaScript for every component on the page, which can delay interactivity and hurt Interaction to Next Paint on heavy pages. Lazy hydration and server components are the main tools there. If you want help measuring and fixing these, our ",[128,8970,8971],{"href":2208},"frontend performance optimization"," service starts with a baseline from field data, lab tests and browser profiling.",[14,8974,8975,8976,809,8978,8980,8981,8983],{},"For SEO, server-rendered and prerendered pages are the safe choice. Titles, meta descriptions, canonical tags and structured data set with ",[137,8977,2885],{},[137,8979,2888],{}," are in the HTML that crawlers fetch. Google can render JavaScript, but it does so in a later pass when it has capacity. Most AI crawlers don't render it at all, so a client-rendered page is close to invisible to them. Our guide on ",[128,8982,3796],{"href":3795}," covers what those crawlers read.",[14,8985,8986,8987,8990],{},"Rendering mode also affects error pages. In a client-rendered app, the server answers every URL with the same shell and a 200 status, so a missing page looks real to a crawler. With Nuxt SSR, throwing ",[137,8988,8989],{},"createError({ status: 404 })"," in a page sends a proper 404, and redirects set in route rules are real HTTP redirects.",[18,8992,8994],{"id":8993},"how-to-choose-a-nuxt-rendering-mode","How to Choose a Nuxt Rendering Mode",[26,8996,8997,9009],{},[29,8998,8999],{},[32,9000,9001,9004,9006],{},[35,9002,9003],{},"Page type",[35,9005,8289],{},[35,9007,9008],{},"Route rule",[51,9010,9011,9023,9037,9052,9063,9072],{},[32,9012,9013,9016,9019],{},[56,9014,9015],{},"Homepage, landing and marketing pages",[56,9017,9018],{},"SSG",[56,9020,9021],{},[137,9022,8670],{},[32,9024,9025,9028,9031],{},[56,9026,9027],{},"Blog posts and docs",[56,9029,9030],{},"SSG, or ISR if edits must go live without a rebuild",[56,9032,9033,809,9035],{},[137,9034,8670],{},[137,9036,8889],{},[32,9038,9039,9042,9045],{},[56,9040,9041],{},"Product and category pages",[56,9043,9044],{},"SWR or ISR",[56,9046,9047,809,9050],{},[137,9048,9049],{},"swr: 3600",[137,9051,6569],{},[32,9053,9054,9057,9060],{},[56,9055,9056],{},"Search results, filters, personalized pages",[56,9058,9059],{},"SSR",[56,9061,9062],{},"(default)",[32,9064,9065,9068,9070],{},[56,9066,9067],{},"Cart and checkout",[56,9069,9059],{},[56,9071,9062],{},[32,9073,9074,9077,9080],{},[56,9075,9076],{},"Dashboard, account, admin",[56,9078,9079],{},"CSR",[56,9081,9082],{},[137,9083,139],{},[14,9085,9086],{},"Start with one question per route: does a crawler or a first-time visitor need the content in the HTML? If not, client-side rendering is the simplest option. If yes, ask how often the content changes. Content that changes with each edit can be prerendered. Content that changes hourly or daily fits SWR or ISR. Content that depends on the user or the request needs SSR.",[14,9088,9089,9090,9092],{},"Online stores show why per-route rules matter. A catalog with thousands of products is slow to prerender on every deploy, but product pages must be indexed and fast, so cached server rendering suits them. The cart and checkout depend on the user, and the account area needs no SEO at all. Our walkthrough of an ",[128,9091,4507],{"href":4506}," shows the storefront side of that setup, from product pages to the cart.",[14,9094,9095,9096,9098],{},"If you're not sure, keep the default SSR and add rules where you have a reason. If you're coming from plain Vue, our comparison of ",[128,9097,2261],{"href":2260}," explains when the server side is worth adding at all.",[18,9100,914],{"id":913},[14,9102,9103],{},"Nuxt doesn't make you pick one rendering mode for the whole app. SSR is the default, SSG prerenders what doesn't change, CSR handles private app screens, and SWR or ISR cache pages that change on a schedule. Route rules combine them in one config. Edge rendering, server components and lazy hydration are there for the pages where latency or JavaScript size is still the problem.",[14,9105,9106,9107,3843],{},"At Epicmax, we have built client projects with Nuxt since 2017. If you're planning a Nuxt app or need to fix rendering, speed or SEO in an existing one, our ",[128,9108,926],{"href":925},[18,9110,931],{"id":930},[169,9112,9114],{"id":9113},"does-nuxt-use-ssr-by-default","Does Nuxt use SSR by default?",[14,9116,9117,9118,9121,9122,9124,9125,9127],{},"Yes. Nuxt uses universal rendering out of the box: the ",[137,9119,9120],{},"ssr"," option is ",[137,9123,6565],{},", so every route is rendered to HTML on the server and then hydrated in the browser. You can switch it off globally with ",[137,9126,139],{}," or per route with route rules.",[169,9129,9131],{"id":9130},"what-is-the-difference-between-ssr-and-ssg-in-nuxt","What is the difference between SSR and SSG in Nuxt?",[14,9133,9134,9135,9137],{},"Both send finished HTML to the browser. SSR renders a page on the server for each request, so it can show fresh or per-user data. SSG renders pages once at build time with ",[137,9136,143],{},", so they are served as static files until the next build.",[169,9139,9141],{"id":9140},"can-i-mix-ssr-and-ssg-in-one-nuxt-app","Can I mix SSR and SSG in one Nuxt app?",[14,9143,9144,9145,9147,9148,809,9150,9152,9153,9155],{},"Yes, that is what hybrid rendering is for. In ",[137,9146,6442],{}," you can prerender some routes, cache others with ",[137,9149,1952],{},[137,9151,1956],{},", render others on every request and make some client-only. The app needs a server build (",[137,9154,819],{},") for anything that is not prerendered.",[169,9157,9159],{"id":9158},"is-nuxt-ssr-good-for-seo","Is Nuxt SSR good for SEO?",[14,9161,9162,9163,9167],{},"Yes. Crawlers get the full content, title, meta tags and structured data in the first HTML response, without running JavaScript. That matters for Google, which renders JavaScript on a delay, and even more for AI crawlers, most of which don't render it at all. Our guide to ",[128,9164,9166],{"href":9165},"\u002Fblog\u002Fvue-and-seo","Vue and SEO"," covers the rest of the checklist.",[169,9169,9171],{"id":9170},"does-nuxt-ssr-need-a-nodejs-server","Does Nuxt SSR need a Node.js server?",[14,9173,9174],{},"It needs a JavaScript runtime that can render pages on request, but not necessarily a Node.js server you manage. Nitro builds the same app for Node.js, serverless functions on platforms like Vercel and Netlify, or edge runtimes like Cloudflare Workers. Only prerendered (SSG) output works with no runtime at all.",[169,9176,9178],{"id":9177},"can-i-host-a-nuxt-ssg-site-on-static-hosting","Can I host a Nuxt SSG site on static hosting?",[14,9180,3918,9181,9183,9184,9186],{},[137,9182,143],{}," writes HTML, JavaScript and payload files to ",[137,9185,715],{},", which you can upload to any static host or CDN. The one limit is that server routes don't exist in a static build, so API calls must go to a separate backend.",[169,9188,9190],{"id":9189},"when-should-i-turn-off-ssr-in-nuxt","When should I turn off SSR in Nuxt?",[14,9192,9193,9194,519,9196,9198],{},"Turn it off for pages nobody needs to find in search: dashboards, admin panels and account areas behind a login, or apps that rely heavily on browser-only APIs. Usually you do this per route with ",[137,9195,139],{},[137,9197,6442],{}," and keep SSR for public pages.",[6170,9200],{"label":6172,"to":6173},[984,9202,9203],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .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 .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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":197,"searchDepth":264,"depth":264,"links":9205},[9206,9207,9212,9213,9214,9218,9222,9223,9224,9225],{"id":8279,"depth":224,"text":8280},{"id":8404,"depth":224,"text":8405,"children":9208},[9209,9210,9211],{"id":8414,"depth":264,"text":8415},{"id":8437,"depth":264,"text":8438},{"id":8552,"depth":264,"text":8553},{"id":8614,"depth":224,"text":8615},{"id":8674,"depth":224,"text":8675},{"id":8700,"depth":224,"text":8701,"children":9215},[9216,9217],{"id":8823,"depth":264,"text":8824},{"id":8871,"depth":264,"text":8872},{"id":8899,"depth":224,"text":8900,"children":9219},[9220,9221],{"id":8906,"depth":264,"text":8907},{"id":8923,"depth":264,"text":8924},{"id":8956,"depth":224,"text":8957},{"id":8993,"depth":224,"text":8994},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":9226},[9227,9228,9229,9230,9231,9232,9233],{"id":9113,"depth":264,"text":9114},{"id":9130,"depth":264,"text":9131},{"id":9140,"depth":264,"text":9141},{"id":9158,"depth":264,"text":9159},{"id":9170,"depth":264,"text":9171},{"id":9177,"depth":264,"text":9178},{"id":9189,"depth":264,"text":9190},"2026-11-05","See how Nuxt.js SSR works, when Nuxt SSG fits better, how route rules mix modes per page, and how to pick the right one for speed and SEO.",[9237,9239,9241,9243,9245,9246,9248],{"question":9114,"answer":9238},"Yes. Nuxt uses universal rendering out of the box: the ssr option is true, so every route is rendered to HTML on the server and then hydrated in the browser. You can switch it off globally with ssr: false or per route with route rules.",{"question":9131,"answer":9240},"Both send finished HTML to the browser. SSR renders a page on the server for each request, so it can show fresh or per-user data. SSG renders pages once at build time with nuxt generate, so they are served as static files until the next build.",{"question":9141,"answer":9242},"Yes, that is what hybrid rendering is for. In routeRules you can prerender some routes, cache others with swr or isr, render others on every request and make some client-only. The app needs a server build (nuxt build) for anything that is not prerendered.",{"question":9159,"answer":9244},"Yes. Crawlers get the full content, title, meta tags and structured data in the first HTML response, without running JavaScript. That matters for Google, which renders JavaScript on a delay, and even more for AI crawlers, most of which don't render it at all.",{"question":9171,"answer":9174},{"question":9178,"answer":9247},"Yes. nuxt generate writes HTML, JavaScript and payload files to .output\u002Fpublic, which you can upload to any static host or CDN. The one limit is that server routes don't exist in a static build, so API calls must go to a separate backend.",{"question":9190,"answer":9249},"Turn it off for pages nobody needs to find in search: dashboards, admin panels and account areas behind a login, or apps that rely heavily on browser-only APIs. Usually you do this per route with ssr: false in routeRules and keep SSR for public pages.","\u002Fimages\u002Fblog\u002Fnuxt-rendering\u002Fcard.png",{},"12 min read",{"title":8271,"description":9235},"Nuxt Rendering Explained: Nuxt SSR, SSG and Hybrid Modes","blog\u002Fnuxt-rendering",[1030,2822],"Yfg72DJhyPtyr5MHFSr6SSnLA9rscYpfFlP48kbMgWI",{"id":9259,"title":9260,"articleType":7,"author":8,"authorSlug":9,"body":9261,"cta":1008,"date":10245,"description":10246,"extension":1011,"faq":10247,"featured":1021,"image":10261,"meta":10262,"navigation":653,"noCtaBox":1021,"path":2260,"readTime":10263,"seo":10264,"seoTitle":1008,"stem":10265,"tags":10266,"topic":2823,"video":1008,"__hash__":10267},"blog\u002Fblog\u002Fnuxt-vs-vue.md","Nuxt vs Vue: How They Work Together and When to Add Nuxt",{"type":11,"value":9262,"toc":10217},[9263,9266,9270,9273,9276,9284,9287,9290,9294,9306,9309,9341,9348,9351,9358,9362,9367,9371,9397,9411,9415,9424,9427,9431,9445,9449,9458,9462,9465,9648,9662,9668,9804,9807,9814,9817,9821,9938,9941,9949,9952,9955,9959,9962,9966,9983,9986,9992,9996,10019,10022,10026,10029,10032,10098,10104,10110,10112,10115,10118,10123,10125,10129,10132,10136,10142,10146,10149,10153,10168,10172,10184,10188,10195,10199,10205,10209,10212,10214],[14,9264,9265],{},"Nuxt vs Vue sounds like a framework face-off, but it isn't one. Nuxt is built on Vue, and every Nuxt app is a Vue app with extra structure around it. The real question is when that structure is worth adding. This guide explains what each one does, where Vite fits in, how the same component runs in both, and when a Vue project should move to Nuxt.",[18,9267,9269],{"id":9268},"nuxt-vs-vue-the-short-answer","Nuxt vs Vue: The Short Answer",[14,9271,9272],{},"Nuxt and Vue are not competitors. Vue is the UI framework that renders components and keeps them reactive. Nuxt is a framework that runs on Vue and adds the application layer around it: routing from files, server-side rendering and static generation, data fetching, API routes and deployment.",[14,9274,9275],{},"The stack looks like this:",[192,9277,9282],{"className":9278,"code":9280,"language":9281,"meta":197},[9279],"language-text","┌───────────────────────────────────────────────┐\n│ Nuxt   routing · SSR\u002FSSG · data · server\u002FAPI  │\n│ ┌───────────────────────────────────────────┐ │\n│ │ Vue    components · reactivity · templates│ │\n│ └───────────────────────────────────────────┘ │\n│ Vite   dev server · hot reload · bundling     │\n└───────────────────────────────────────────────┘\n","text",[137,9283,9280],{"__ignoreMap":197},[14,9285,9286],{},"Vite sits underneath both. A plain Vue project is usually created with Vite, and Nuxt uses Vite as its default builder. So Nuxt vs Vite isn't a contest either. Vite builds and serves your code; Nuxt decides how the app is structured and rendered. Flip it to Vite vs Nuxt and nothing changes: one is a build tool, the other an app framework. (Nuxt can bundle with webpack or Rspack instead, but Vite is the default.)",[14,9288,9289],{},"You never pick Nuxt instead of Vue. You pick Vue alone, or Vue plus Nuxt.",[18,9291,9293],{"id":9292},"what-vue-does-on-its-own","What Vue Does on Its Own",[14,9295,9296,9297,9301,9302,9305],{},"If you need a refresher on ",[128,9298,9300],{"href":9299},"\u002Fblog\u002Fwhat-is-vue-js","what Vue.js is",", our guide covers it in depth. The short version: Vue is a JavaScript framework for building user interfaces. You write components as single-file ",[137,9303,9304],{},".vue"," components with a template, a script and styles, and Vue keeps the DOM in sync with your data through its reactivity system.",[14,9307,9308],{},"Vue calls itself a progressive framework, and it means it. You can drop it into one part of an existing page, or build a full single-page app. Out of the box, the core package gives you:",[2357,9310,9311,9314,9326,9329],{},[188,9312,9313],{},"Components, props, events and slots",[188,9315,9316,9317,4576,9319,4576,9322,955,9324],{},"Reactivity with ",[137,9318,4743],{},[137,9320,9321],{},"reactive",[137,9323,6412],{},[137,9325,8102],{},[188,9327,9328],{},"The Composition API and the Options API",[188,9330,9331,9332,4576,9335,955,9338],{},"Transitions, ",[137,9333,9334],{},"\u003CKeepAlive>",[137,9336,9337],{},"\u003CTeleport>",[137,9339,9340],{},"\u003CSuspense>",[14,9342,9343,9344,9347],{},"Everything else is a separate choice. Routing comes from Vue Router, state management from Pinia, and the build setup from Vite. The official scaffolding tool, ",[137,9345,9346],{},"npm create vue@latest",", asks which of these you want and generates a Vite project with them wired in.",[14,9349,9350],{},"What you get is a client-side app. The browser downloads JavaScript, runs it, and only then renders the page. That works well for dashboards and tools behind a login. It's weaker for pages that need to be indexed or that must show content the moment they load.",[14,9352,9353,9354,9357],{},"Vue can render on the server too. The ",[137,9355,9356],{},"vue\u002Fserver-renderer"," package turns components into HTML strings. But you have to build the rest yourself: the Node.js server, the routing on both sides, data loading before render and hydration in the browser. The Vue docs call a complete implementation \"quite complex\" and recommend a Vue framework with built-in SSR support, such as Nuxt, instead.",[18,9359,9361],{"id":9360},"what-nuxt-adds-on-top-of-vue","What Nuxt Adds on Top of Vue",[14,9363,9364,9365,8401],{},"Nuxt takes the pieces Vue leaves open and makes the decisions for you. Your components stay Vue components. What changes is everything around them. (For a full overview, see our explainer on ",[128,9366,8400],{"href":130},[169,9368,9370],{"id":9369},"file-based-routing-and-auto-imports","File-Based Routing and Auto-Imports",[14,9372,9373,9374,9376,9377,9379,9380,9383,9384,4797,9386,9389,9390,9392,9393,9396],{},"In a Vue app you write a router config by hand. In Nuxt, every ",[137,9375,9304],{}," file in ",[137,9378,8627],{}," is a route: ",[137,9381,9382],{},"pages\u002Fabout.vue"," becomes ",[137,9385,3826],{},[137,9387,9388],{},"pages\u002Fproducts\u002F[id].vue"," matches any product URL. Nested folders become nested routes, and layouts wrap pages without extra router code. Route middleware, such as an auth check, goes in ",[137,9391,7634],{}," and is attached to a page with ",[137,9394,9395],{},"definePageMeta",". Under the hood this is still Vue Router; Nuxt just writes the config for you.",[14,9398,9399,9400,4576,9402,4576,9404,955,9407,9410],{},"Nuxt also auto-imports Vue APIs, your components and your composables. ",[137,9401,4743],{},[137,9403,6412],{},[137,9405,9406],{},"\u003CProductCard>",[137,9408,9409],{},"useCart()"," are available in any file without import lines, and Nuxt generates types for all of them.",[169,9412,9414],{"id":9413},"server-side-rendering-and-static-generation","Server-Side Rendering and Static Generation",[14,9416,9417,9418,9420,9421,9423],{},"This is the big one. Nuxt renders pages on the server by default, sends full HTML, then hydrates it in the browser. You can also prerender the whole site at build time with ",[137,9419,143],{},", turn SSR off for an SPA, or mix modes per route with route rules. If these terms are new, our post on ",[128,9422,4191],{"href":4190}," explains each one.",[14,9425,9426],{},"Route rules are where this gets practical. One config line can prerender the homepage, another can cache product pages for an hour, and a third can render the admin area in the browser only. In plain Vue, each of those would be a separate setup.",[169,9428,9430],{"id":9429},"data-fetching-and-server-routes","Data Fetching and Server Routes",[14,9432,9433,955,9435,9437,9438,9440,9441,9444],{},[137,9434,2054],{},[137,9436,4492],{}," load data during server rendering and pass it to the browser with the page, so the request isn't repeated. Files in ",[137,9439,7111],{}," become API endpoints that run on Nitro, Nuxt's server engine. A small app can read from a database or call third-party services without a separate backend. Because pages and endpoints live in one project, ",[137,9442,9443],{},"useFetch('\u002Fapi\u002Fproducts')"," knows the response type from the server route.",[169,9446,9448],{"id":9447},"modules-and-layers","Modules and Layers",[14,9450,9451,9452,9454,9455,9457],{},"Nuxt modules add whole features with one line in ",[137,9453,564],{},": images, content, i18n, SEO, UI libraries. ",[128,9456,888],{"href":887}," let one Nuxt project extend another, which teams use to share a design system or a base app across products. Plain Vue has plugins too, but nothing that hooks into routing, the server and the build at once.",[18,9459,9461],{"id":9460},"how-vue-and-nuxt-work-together-in-one-project","How Vue and Nuxt Work Together in One Project",[14,9463,9464],{},"The easiest way to see the relationship is to take one component and use it in both. Here is a product card:",[192,9466,9468],{"className":1333,"code":9467,"language":1335,"meta":197,"style":197},"\u003C!-- ProductCard.vue -->\n\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{ name: string; price: number }>()\nconst added = ref(false)\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Carticle>\n    \u003Ch3>{{ name }}\u003C\u002Fh3>\n    \u003Cp>{{ price }} €\u003C\u002Fp>\n    \u003Cbutton @click=\"added = true\">{{ added ? 'Added' : 'Add to cart' }}\u003C\u002Fbutton>\n  \u003C\u002Farticle>\n\u003C\u002Ftemplate>\n",[137,9469,9470,9475,9495,9523,9541,9549,9553,9561,9569,9586,9603,9632,9640],{"__ignoreMap":197},[201,9471,9472],{"class":203,"line":204},[201,9473,9474],{"class":239},"\u003C!-- ProductCard.vue -->\n",[201,9476,9477,9479,9481,9483,9485,9487,9489,9491,9493],{"class":203,"line":224},[201,9478,1342],{"class":260},[201,9480,2936],{"class":267},[201,9482,2939],{"class":659},[201,9484,2942],{"class":659},[201,9486,1353],{"class":260},[201,9488,1356],{"class":260},[201,9490,232],{"class":211},[201,9492,1356],{"class":260},[201,9494,1718],{"class":260},[201,9496,9497,9500,9502,9504,9506,9508,9511,9513,9515,9518,9521],{"class":203,"line":264},[201,9498,9499],{"class":252},"defineProps",[201,9501,3391],{"class":260},[201,9503,3680],{"class":267},[201,9505,271],{"class":260},[201,9507,3399],{"class":207},[201,9509,9510],{"class":260},";",[201,9512,2134],{"class":267},[201,9514,271],{"class":260},[201,9516,9517],{"class":207}," number",[201,9519,9520],{"class":260}," }>",[201,9522,2967],{"class":256},[201,9524,9525,9527,9530,9532,9535,9537,9539],{"class":203,"line":290},[201,9526,660],{"class":659},[201,9528,9529],{"class":256}," added ",[201,9531,1353],{"class":260},[201,9533,9534],{"class":252}," ref",[201,9536,257],{"class":256},[201,9538,4928],{"class":1864},[201,9540,510],{"class":256},[201,9542,9543,9545,9547],{"class":203,"line":301},[201,9544,1760],{"class":260},[201,9546,2936],{"class":267},[201,9548,1718],{"class":260},[201,9550,9551],{"class":203,"line":319},[201,9552,654],{"emptyLinePlaceholder":653},[201,9554,9555,9557,9559],{"class":203,"line":329},[201,9556,1342],{"class":260},[201,9558,1715],{"class":267},[201,9560,1718],{"class":260},[201,9562,9563,9565,9567],{"class":203,"line":346},[201,9564,1723],{"class":260},[201,9566,5525],{"class":267},[201,9568,1718],{"class":260},[201,9570,9571,9573,9575,9577,9580,9582,9584],{"class":203,"line":363},[201,9572,5556],{"class":260},[201,9574,169],{"class":267},[201,9576,3416],{"class":260},[201,9578,9579],{"class":256},"{{ name }}",[201,9581,1760],{"class":260},[201,9583,169],{"class":267},[201,9585,1718],{"class":260},[201,9587,9588,9590,9592,9594,9597,9599,9601],{"class":203,"line":380},[201,9589,5556],{"class":260},[201,9591,14],{"class":267},[201,9593,3416],{"class":260},[201,9595,9596],{"class":256},"{{ price }} €",[201,9598,1760],{"class":260},[201,9600,14],{"class":267},[201,9602,1718],{"class":260},[201,9604,9605,9607,9609,9612,9614,9616,9619,9621,9623,9626,9628,9630],{"class":203,"line":391},[201,9606,5556],{"class":260},[201,9608,7383],{"class":267},[201,9610,9611],{"class":659}," @click",[201,9613,1353],{"class":260},[201,9615,1356],{"class":260},[201,9617,9618],{"class":211},"added = true",[201,9620,1356],{"class":260},[201,9622,3416],{"class":260},[201,9624,9625],{"class":256},"{{ added ? 'Added' : 'Add to cart' }}",[201,9627,1760],{"class":260},[201,9629,7383],{"class":267},[201,9631,1718],{"class":260},[201,9633,9634,9636,9638],{"class":203,"line":441},[201,9635,5608],{"class":260},[201,9637,5525],{"class":267},[201,9639,1718],{"class":260},[201,9641,9642,9644,9646],{"class":203,"line":484},[201,9643,1760],{"class":260},[201,9645,1715],{"class":267},[201,9647,1718],{"class":260},[14,9649,9650,9651,9654,9655,9658,9659,9661],{},"In a plain Vue project, the only change is an explicit import, ",[137,9652,9653],{},"import { ref } from 'vue'",", and the parent imports the component too. In Nuxt, the file goes into ",[137,9656,9657],{},"app\u002Fcomponents\u002F"," and works as written, because ",[137,9660,4743],{}," and the component are auto-imported. The template, the props, the reactivity and the click handler are identical.",[14,9663,9664,9665,9667],{},"The difference shows up in the page that uses it. In Vue, a view fetches products in ",[137,9666,8105],{},", and the cards appear after the browser has run the JavaScript. In Nuxt, the page does this:",[192,9669,9671],{"className":1333,"code":9670,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nconst { data: products } = await useFetch('\u002Fapi\u002Fproducts')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CProductCard v-for=\"p in products\" :key=\"p.id\" :name=\"p.name\" :price=\"p.price\" \u002F>\n\u003C\u002Ftemplate>\n",[137,9672,9673,9693,9723,9731,9735,9743,9796],{"__ignoreMap":197},[201,9674,9675,9677,9679,9681,9683,9685,9687,9689,9691],{"class":203,"line":204},[201,9676,1342],{"class":260},[201,9678,2936],{"class":267},[201,9680,2939],{"class":659},[201,9682,2942],{"class":659},[201,9684,1353],{"class":260},[201,9686,1356],{"class":260},[201,9688,232],{"class":211},[201,9690,1356],{"class":260},[201,9692,1718],{"class":260},[201,9694,9695,9697,9699,9701,9703,9705,9707,9709,9711,9713,9715,9717,9719,9721],{"class":203,"line":224},[201,9696,660],{"class":659},[201,9698,631],{"class":260},[201,9700,2069],{"class":267},[201,9702,271],{"class":260},[201,9704,2074],{"class":256},[201,9706,507],{"class":260},[201,9708,670],{"class":260},[201,9710,2009],{"class":245},[201,9712,2083],{"class":252},[201,9714,257],{"class":256},[201,9716,277],{"class":260},[201,9718,2090],{"class":211},[201,9720,277],{"class":260},[201,9722,510],{"class":256},[201,9724,9725,9727,9729],{"class":203,"line":264},[201,9726,1760],{"class":260},[201,9728,2936],{"class":267},[201,9730,1718],{"class":260},[201,9732,9733],{"class":203,"line":290},[201,9734,654],{"emptyLinePlaceholder":653},[201,9736,9737,9739,9741],{"class":203,"line":301},[201,9738,1342],{"class":260},[201,9740,1715],{"class":267},[201,9742,1718],{"class":260},[201,9744,9745,9747,9750,9752,9754,9756,9758,9760,9762,9764,9766,9768,9770,9773,9775,9777,9780,9782,9785,9787,9789,9792,9794],{"class":203,"line":319},[201,9746,1723],{"class":260},[201,9748,9749],{"class":267},"ProductCard",[201,9751,5528],{"class":659},[201,9753,1353],{"class":260},[201,9755,1356],{"class":260},[201,9757,6897],{"class":211},[201,9759,1356],{"class":260},[201,9761,5540],{"class":659},[201,9763,1353],{"class":260},[201,9765,1356],{"class":260},[201,9767,6908],{"class":211},[201,9769,1356],{"class":260},[201,9771,9772],{"class":659}," :name",[201,9774,1353],{"class":260},[201,9776,1356],{"class":260},[201,9778,9779],{"class":211},"p.name",[201,9781,1356],{"class":260},[201,9783,9784],{"class":659}," :price",[201,9786,1353],{"class":260},[201,9788,1356],{"class":260},[201,9790,9791],{"class":211},"p.price",[201,9793,1356],{"class":260},[201,9795,1539],{"class":260},[201,9797,9798,9800,9802],{"class":203,"line":329},[201,9799,1760],{"class":260},[201,9801,1715],{"class":267},[201,9803,1718],{"class":260},[14,9805,9806],{},"The cards are rendered to HTML on the server, so they're in the page source before any JavaScript runs. After hydration, the button works exactly as it does in the Vue app.",[14,9808,9809,9810,9813],{},"The same page can set its title and description with ",[137,9811,9812],{},"useSeoMeta({ title: 'Products' })",", and Nuxt writes those tags into the server-rendered HTML. In the Vue version, you'd add a head library and still ship an empty page to crawlers that don't run JavaScript.",[14,9815,9816],{},"Vue owns the component. Nuxt owns when and where it renders, where its data comes from and which URL it lives at.",[18,9818,9820],{"id":9819},"the-difference-between-vue-and-nuxt-in-practice","The Difference Between Vue and Nuxt in Practice",[26,9822,9823,9835],{},[29,9824,9825],{},[32,9826,9827,9829,9832],{},[35,9828],{},[35,9830,9831],{},"Vue alone (with Vite)",[35,9833,9834],{},"Vue with Nuxt",[51,9836,9837,9847,9860,9871,9888,9902,9917,9927],{},[32,9838,9839,9841,9844],{},[56,9840,6279],{},[56,9842,9843],{},"Client-side by default",[56,9845,9846],{},"SSR by default; SSG, SPA or hybrid per route",[32,9848,9849,9852,9855],{},[56,9850,9851],{},"Routing",[56,9853,9854],{},"Vue Router, configured by hand",[56,9856,9857,9858],{},"Generated from ",[137,9859,8627],{},[32,9861,9862,9865,9868],{},[56,9863,9864],{},"Imports",[56,9866,9867],{},"Explicit",[56,9869,9870],{},"Auto-imported and typed",[32,9872,9873,9876,9881],{},[56,9874,9875],{},"Data loading",[56,9877,9878,9879],{},"Your choice, usually in ",[137,9880,8105],{},[56,9882,9883,4694,9885,9887],{},[137,9884,2054],{},[137,9886,4492],{},", server-aware",[32,9889,9890,9893,9896],{},[56,9891,9892],{},"Backend",[56,9894,9895],{},"Separate service",[56,9897,9898,9899,9901],{},"API routes in ",[137,9900,4804],{},", running on Nitro",[32,9903,9904,9907,9910],{},[56,9905,9906],{},"SEO tags",[56,9908,9909],{},"Add a head library yourself",[56,9911,9912,955,9914,9916],{},[137,9913,2885],{},[137,9915,2888],{},", rendered on the server",[32,9918,9919,9921,9924],{},[56,9920,4041],{},[56,9922,9923],{},"Any static host",[56,9925,9926],{},"Static host, Node.js, serverless or edge",[32,9928,9929,9932,9935],{},[56,9930,9931],{},"Project structure",[56,9933,9934],{},"Up to you",[56,9936,9937],{},"Conventions",[14,9939,9940],{},"The main difference between Vue and Nuxt is how much of the app is decided for you. With Vue, you pick a router, a data pattern, a folder structure and a hosting model, and you own every one of those decisions. With Nuxt, those choices are made, documented and shared by every Nuxt project, so a developer joining your team already knows where things live.",[14,9942,9943,9944,955,9946,9948],{},"That has costs. Server rendering means some code runs in Node.js, where ",[137,9945,8610],{},[137,9947,8574],{}," don't exist, and a mismatch between server and browser HTML produces hydration warnings. Conventions also limit how you organize files. For a team that wants full control of a small client-side app, Vue alone is simply less to think about.",[14,9950,9951],{},"The gain is mostly at the edges of the app: the first page load, SEO, the API, deployment. Inside a component, the two are the same.",[14,9953,9954],{},"That's where a lot of Nuxt.js vs Vue.js scorecards go wrong. They rate the two side by side on speed, learning curve and ecosystem, as if you had to drop one. Every cell in the right-hand column of the table above still runs on Vue.",[18,9956,9958],{"id":9957},"vue-vs-nuxt-when-to-add-nuxt-to-a-vue-project","Vue vs Nuxt: When to Add Nuxt to a Vue Project",[14,9960,9961],{},"The Vue vs Nuxt decision usually comes down to two questions. Does the app need to show content before JavaScript runs? And do you want the server, routing and data loading handled by convention? If both answers are no, Vue on its own is the simpler tool.",[169,9963,9965],{"id":9964},"when-vue-on-its-own-is-enough","When Vue on Its Own Is Enough",[2357,9967,9968,9971,9974,9977,9980],{},[188,9969,9970],{},"Internal tools and admin panels behind a login, where search engines never see the pages",[188,9972,9973],{},"Dashboards that load data after sign-in and live for hours in one tab",[188,9975,9976],{},"Widgets embedded into an existing site or a server-rendered backend like Laravel or Django",[188,9978,9979],{},"Apps that ship inside Electron, Capacitor or a browser extension",[188,9981,9982],{},"Prototypes where speed of setup beats long-term structure",[14,9984,9985],{},"In these cases, Nuxt's server, routing conventions and SSR concerns add work without paying it back. A Vite + Vue Router + Pinia setup is small, fast to build and easy to deploy to any static host.",[14,9987,9988,9989,9991],{},"Starting with Vue alone doesn't lock you out of Nuxt later. Keep components small, keep browser-only code in ",[137,9990,8105],{},", and avoid depending on a custom router setup. Those habits make a future move much cheaper.",[169,9993,9995],{"id":9994},"when-to-add-nuxt","When to Add Nuxt",[2357,9997,9998,10004,10007,10010,10013,10016],{},[188,9999,10000,10001,10003],{},"Public pages that need to rank in search or show rich previews when shared. Server-rendered HTML is the dependable way to get there, and our guide to ",[128,10002,9166],{"href":9165}," explains why client-only Vue apps struggle.",[188,10005,10006],{},"Marketing sites, blogs and docs that should be prerendered to static HTML",[188,10008,10009],{},"E-commerce, where product pages must be indexed and fast, but the cart behaves like an app",[188,10011,10012],{},"SaaS products with a public site and a logged-in app in one codebase, using route rules to render each part differently",[188,10014,10015],{},"Apps that need a light API layer (auth callbacks, webhooks, proxies to other services) without running a separate backend",[188,10017,10018],{},"Teams that want a standard structure, so new developers can find their way around on day one",[14,10020,10021],{},"Here's a tell: if you find yourself adding a head manager, a prerender plugin and a small Node.js server to a Vue app, you're rebuilding Nuxt by hand.",[18,10023,10025],{"id":10024},"moving-a-vue-app-to-nuxt","Moving a Vue App to Nuxt",[14,10027,10028],{},"Nuxt isn't a plugin you add to an existing Vue app. It's the outer framework, so the move is a migration: you create a Nuxt project and bring your code into it. Most of the code moves without changes.",[14,10030,10031],{},"Here's the usual order:",[185,10033,10034,10040,10051,10066,10076,10093],{},[188,10035,10036,10037,10039],{},"Create a Nuxt project and copy your components into ",[137,10038,9657],{},". Single-file components work as they are.",[188,10041,10042,10043,10045,10046,7672,10049,534],{},"Turn each route in your Vue Router config into a file in ",[137,10044,8627],{},", then delete the router setup. Replace ",[137,10047,10048],{},"\u003Crouter-link>",[137,10050,8084],{},[188,10052,10053,10054,10057,10058,10061,10062,10065],{},"Move Pinia stores and add the ",[137,10055,10056],{},"@pinia\u002Fnuxt"," module. Turn ",[137,10059,10060],{},"app.use()"," calls from ",[137,10063,10064],{},"main.ts"," into Nuxt plugins.",[188,10067,10068,10069,7672,10071,809,10073,10075],{},"Replace data loading in ",[137,10070,8105],{},[137,10072,2054],{},[137,10074,4492],{}," where the data should be in the server-rendered HTML.",[188,10077,10078,10079,4576,10081,809,10084,10086,10087,10089,10090,10092],{},"Wrap browser-only code (anything touching ",[137,10080,8610],{},[137,10082,10083],{},"document",[137,10085,8574],{},") in ",[137,10088,8105],{}," or a ",[137,10091,3816],{}," component.",[188,10094,10095,10096,534],{},"Move environment variables into ",[137,10097,4483],{},[14,10099,10100,10101,10103],{},"A lower-risk path is to start with ",[137,10102,139],{},". The app then runs as an SPA inside Nuxt, and you can switch on server rendering route by route with route rules once the browser-only code is cleaned up.",[14,10105,10106,10107,10109],{},"The work depends on the size of the app and how much code assumes a browser. If you want an experienced team to plan or run it, our ",[128,10108,2720],{"href":2719}," cover moves from plain Vue as well as older Nuxt versions.",[18,10111,914],{"id":913},[14,10113,10114],{},"Nuxt vs Vue isn't a choice between two frameworks. Vue renders your components. Nuxt runs those same components and adds routing, server rendering, data fetching, API routes and deployment around them. Vite builds the code in both cases.",[14,10116,10117],{},"Choose Vue on its own when the app lives behind a login, runs inside another product, or is small enough that you want full control. Add Nuxt when pages need to be indexed, load fast on first visit, or share a codebase with a public site and an API. Moving later works. It's just cheaper when the code was written with that move in mind.",[14,10119,10120,10121,3843],{},"At Epicmax, we have built client projects with Nuxt since 2017, and this site is a Nuxt 4 app. If you're deciding between plain Vue and Nuxt for a new product, or planning to move an existing app, our ",[128,10122,926],{"href":925},[18,10124,931],{"id":930},[169,10126,10128],{"id":10127},"is-nuxt-better-than-vue","Is Nuxt better than Vue?",[14,10130,10131],{},"Neither is better, because they do different jobs. Vue renders components, and Nuxt is a framework that uses Vue for rendering and adds routing, server rendering, data fetching and an API layer. Nuxt is the better choice when you need those things, and plain Vue is simpler when you don't.",[169,10133,10135],{"id":10134},"nuxtjs-vs-vuejs-is-nuxt-harder-to-learn","Nuxt.js vs Vue.js: is Nuxt harder to learn?",[14,10137,10138,10139,10141],{},"A little. Everything you learn in Vue carries over, and on top of it Nuxt adds its conventions: the pages directory, auto-imports, ",[137,10140,2054],{}," and the difference between code that runs on the server and in the browser. The conventions are quick to pick up; server rendering bugs like hydration mismatches take longer to get used to.",[169,10143,10145],{"id":10144},"can-i-use-nuxt-without-learning-vue-first","Can I use Nuxt without learning Vue first?",[14,10147,10148],{},"You can start, but you will be learning Vue anyway. Every page, layout and component in Nuxt is a Vue single-file component, so templates, props, reactivity and the Composition API are the bulk of the work. Learn the Vue basics first and Nuxt will make sense much faster.",[169,10150,10152],{"id":10151},"nuxt-vs-vite-do-i-need-both","Nuxt vs Vite: do I need both?",[14,10154,10155,10156,10159,10160,10162,10163,10167],{},"If you use Nuxt, you already have Vite. Vite is the default builder in Nuxt, which configures it for you, so you don't install or set it up separately. You only touch Vite directly through the ",[137,10157,10158],{},"vite"," key in ",[137,10161,564],{}," when you need a plugin or a custom option. Our ",[128,10164,10166],{"href":10165},"\u002Fblog\u002Fvite-vs-webpack","Vite vs Webpack"," post explains why Vite became the default.",[169,10169,10171],{"id":10170},"vite-vs-nuxt-which-should-i-start-a-new-vue-project-with","Vite vs Nuxt: which should I start a new Vue project with?",[14,10173,10174,10175,10177,10178,10180,10181,10183],{},"Start with Vite (",[137,10176,9346],{},") for a single-page app behind a login, a widget or an internal tool. Start with Nuxt (",[137,10179,4476],{},") for anything public that needs SEO, fast first loads or its own API routes. If you are not sure yet, Nuxt with ",[137,10182,139],{}," behaves like an SPA and leaves the door open.",[169,10185,10187],{"id":10186},"is-nuxt-the-vue-version-of-nextjs","Is Nuxt the Vue version of Next.js?",[14,10189,10190,10191,10194],{},"Roughly, yes. The first Nuxt README called it a minimalistic framework for server-rendered Vue applications inspired by Next.js, and both now cover routing, server rendering and full-stack features. The difference is the component layer: Next.js uses React, Nuxt uses Vue. Our ",[128,10192,10193],{"href":2557},"Nuxt vs Next.js comparison"," goes into the details.",[169,10196,10198],{"id":10197},"does-nuxt-make-a-vue-app-faster","Does Nuxt make a Vue app faster?",[14,10200,10201,10202,10204],{},"It usually makes the first load faster, because server rendering or prerendering sends finished HTML instead of an empty page that waits for JavaScript. Once the page is interactive it runs the same Vue code, so runtime speed depends on your components. Hydration has its own cost, so large pages still need the usual ",[128,10203,1175],{"href":1174}," work.",[169,10206,10208],{"id":10207},"can-i-add-nuxt-to-an-existing-vue-project","Can I add Nuxt to an existing Vue project?",[14,10210,10211],{},"Not as a plugin you drop in. Nuxt is the app's outer framework, so you create a Nuxt project and move your components, routes, stores and plugins into it. Components usually move unchanged; the router setup, entry file and browser-only code need the most changes.",[6170,10213],{"label":6172,"to":6173},[984,10215,10216],{},"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 .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}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":197,"searchDepth":264,"depth":264,"links":10218},[10219,10220,10221,10227,10228,10229,10233,10234,10235],{"id":9268,"depth":224,"text":9269},{"id":9292,"depth":224,"text":9293},{"id":9360,"depth":224,"text":9361,"children":10222},[10223,10224,10225,10226],{"id":9369,"depth":264,"text":9370},{"id":9413,"depth":264,"text":9414},{"id":9429,"depth":264,"text":9430},{"id":9447,"depth":264,"text":9448},{"id":9460,"depth":224,"text":9461},{"id":9819,"depth":224,"text":9820},{"id":9957,"depth":224,"text":9958,"children":10230},[10231,10232],{"id":9964,"depth":264,"text":9965},{"id":9994,"depth":264,"text":9995},{"id":10024,"depth":224,"text":10025},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":10236},[10237,10238,10239,10240,10241,10242,10243,10244],{"id":10127,"depth":264,"text":10128},{"id":10134,"depth":264,"text":10135},{"id":10144,"depth":264,"text":10145},{"id":10151,"depth":264,"text":10152},{"id":10170,"depth":264,"text":10171},{"id":10186,"depth":264,"text":10187},{"id":10197,"depth":264,"text":10198},{"id":10207,"depth":264,"text":10208},"2026-11-04","Vue vs Nuxt isn't a choice between rivals. Learn the difference between Vue and Nuxt, how Nuxt vs Vite fits in, and when a Vue app needs Nuxt.",[10248,10249,10251,10252,10254,10256,10258,10260],{"question":10128,"answer":10131},{"question":10135,"answer":10250},"A little. Everything you learn in Vue carries over, and on top of it Nuxt adds its conventions: the pages directory, auto-imports, useFetch and the difference between code that runs on the server and in the browser. The conventions are quick to pick up; server rendering bugs like hydration mismatches take longer to get used to.",{"question":10145,"answer":10148},{"question":10152,"answer":10253},"If you use Nuxt, you already have Vite. Vite is the default builder in Nuxt, which configures it for you, so you don't install or set it up separately. You only touch Vite directly through the vite key in nuxt.config.ts when you need a plugin or a custom option.",{"question":10171,"answer":10255},"Start with Vite (npm create vue@latest) for a single-page app behind a login, a widget or an internal tool. Start with Nuxt (npm create nuxt@latest) for anything public that needs SEO, fast first loads or its own API routes. If you are not sure yet, Nuxt with ssr: false behaves like an SPA and leaves the door open.",{"question":10187,"answer":10257},"Roughly, yes. The first Nuxt README called it a minimalistic framework for server-rendered Vue applications inspired by Next.js, and both now cover routing, server rendering and full-stack features. The difference is the component layer: Next.js uses React, Nuxt uses Vue.",{"question":10198,"answer":10259},"It usually makes the first load faster, because server rendering or prerendering sends finished HTML instead of an empty page that waits for JavaScript. Once the page is interactive it runs the same Vue code, so runtime speed depends on your components. Hydration has its own cost, so large pages still need the usual optimization work.",{"question":10208,"answer":10211},"\u002Fimages\u002Fblog\u002Fnuxt-vs-vue\u002Fcard.png",{},"11 min read",{"title":9260,"description":10246},"blog\u002Fnuxt-vs-vue",[1030,2822],"WjKoeheFQfMrV_Gz-f-cAaUSHN74aVSOUZ156xjd6vA",{"id":10269,"title":10270,"articleType":7,"author":8,"authorSlug":9,"body":10271,"cta":1008,"date":11019,"description":11020,"extension":1011,"faq":11021,"featured":1021,"image":11032,"meta":11033,"navigation":653,"noCtaBox":1021,"path":130,"readTime":9252,"seo":11034,"seoTitle":11035,"stem":11036,"tags":11037,"topic":1032,"video":1008,"__hash__":11038},"blog\u002Fblog\u002Fwhat-is-nuxt.md","What Is Nuxt? The Vue Framework Explained",{"type":11,"value":10272,"toc":10985},[10273,10276,10280,10283,10286,10292,10296,10303,10309,10312,10316,10319,10333,10336,10340,10346,10350,10353,10362,10457,10460,10462,10487,10491,10501,10569,10579,10583,10589,10595,10599,10612,10618,10621,10645,10648,10652,10655,10659,10665,10669,10675,10679,10682,10686,10692,10695,10699,10707,10711,10717,10721,10728,10751,10755,10815,10818,10824,10827,10831,10834,10902,10905,10907,10910,10918,10920,10924,10927,10931,10937,10941,10944,10948,10954,10958,10966,10970,10973,10977,10980,10982],[14,10274,10275],{},"What is Nuxt, and why do so many Vue teams reach for it? Vue renders your interface, but a production app needs more: routing, server rendering, data loading, an API layer and a deployment story. Nuxt is the framework that supplies all of that on top of Vue. This guide explains how it works, what teams build with it, and what changed between Nuxt 2, 3 and 4.",[18,10277,10279],{"id":10278},"what-is-nuxtjs","What Is Nuxt.js?",[14,10281,10282],{},"Nuxt.js is an open-source framework built on Vue.js for creating full-stack web applications and websites. It adds server-side rendering, static generation, file-based routing, auto-imports and a built-in server engine called Nitro, so a Vue project is ready for production without assembling those pieces yourself.",[14,10284,10285],{},"That's the short answer to \"what is Nuxt js\". The longer answer is that Nuxt makes decisions you would otherwise make by hand. A plain Vue app needs Vue Router, a build tool, a way to fetch data, a plan for SEO and a server if you want pages rendered before they reach the browser. Nuxt picks sensible defaults for each of those and wires them together.",[14,10287,10288,10289,10291],{},"The project started in October 2016 and was originally written as \"Nuxt.js\". The official name today is just Nuxt, but both spellings refer to the same framework. Nuxt is MIT-licensed, has more than 61,000 stars on GitHub, and the ",[137,10290,7766],{}," package was downloaded about 3.3 million times in the last week of October 2026. The current major version is Nuxt 4.",[18,10293,10295],{"id":10294},"is-nuxt-based-on-vue","Is Nuxt Based on Vue?",[14,10297,10298,10299,10302],{},"Yes, Nuxt is based on Vue. It isn't a fork or a separate language. Every page, layout and component in a Nuxt app is a Vue single-file component, written with the same templates, props and Composition API you would use in any Vue project. If you're new to Vue itself, start with our guide ",[128,10300,10301],{"href":9299},"What is Vue.js",", then come back here.",[14,10304,10305,10306,10308],{},"The relationship is similar to the one between a library and the framework built around it. Vue handles reactivity and rendering components to the DOM. Nuxt decides when and where that rendering happens (on the server, at build time or in the browser) and adds everything around it. It generates Vue Router routes from your files, so there's no hand-written routes array. Vite comes configured, with code splitting per page. Composables such as ",[137,10307,2054],{}," load data on the server and hand it to the browser, and API endpoints live in the same project, running on Nitro.",[14,10310,10311],{},"Because Nuxt is Vue underneath, the Vue ecosystem works inside it. Pinia, VueUse, component libraries like PrimeVue and Nuxt UI, and the Vue DevTools all work in Nuxt projects. Moving an existing Vue codebase to Nuxt is mostly about restructuring files and routes, not rewriting components.",[18,10313,10315],{"id":10314},"is-nuxt-a-frontend-framework","Is Nuxt a Frontend Framework?",[14,10317,10318],{},"If you're asking whether Nuxt is a frontend framework, the honest answer is: mostly, but not only. Nuxt started as a frontend framework for server-rendering Vue apps, and the part most developers touch every day is still the frontend: pages, components and layouts.",[14,10320,10321,10322,10324,10325,10328,10329,10332],{},"Since Nuxt 3, though, every Nuxt app also ships with a server. That server runs on Nitro, an engine built by the Nuxt team, and it does two jobs. First, it renders your Vue pages to HTML on request. Second, it runs any API routes you add under the ",[137,10323,4804],{}," directory. A file like ",[137,10326,10327],{},"server\u002Fapi\u002Fproducts.get.ts"," becomes a ",[137,10330,10331],{},"GET \u002Fapi\u002Fproducts"," endpoint, with no Express setup or separate backend repo needed.",[14,10334,10335],{},"That makes Nuxt a full-stack framework. You can use it as a pure frontend that talks to an existing backend, or as a full-stack app that reads from a database directly. Nitro deploys the same code to Node.js servers, serverless platforms like Vercel and Netlify, or edge runtimes like Cloudflare Workers, using deployment presets.",[18,10337,10339],{"id":10338},"how-nuxtjs-works","How Nuxt.js Works",[14,10341,10342,10343,10345],{},"Nuxt js works by taking your Vue files, a config file and a few naming conventions, and building an app that can render on the server, in the browser or at build time. Four pieces do most of the work. If rendering terms are new to you, our article on ",[128,10344,4191],{"href":4190}," explains them in depth.",[169,10347,10349],{"id":10348},"rendering-modes-ssr-ssg-spa-and-hybrid","Rendering Modes: SSR, SSG, SPA and Hybrid",[14,10351,10352],{},"By default, Nuxt uses universal rendering (SSR): the server runs your Vue components, sends full HTML to the browser, and then Vue \"hydrates\" that HTML so it becomes interactive. Visitors see content immediately, and crawlers get a complete page.",[14,10354,10355,10356,10358,10359,10361],{},"You can change that globally or per route. For static site generation (SSG), ",[137,10357,143],{}," prerenders every page to HTML at build time. This site, epicmax.co, is a Nuxt 4 app deployed exactly that way. Set ",[137,10360,139],{}," and Nuxt behaves like a classic single-page app (SPA). And with hybrid rendering, route rules give each section of the site its own mode:",[192,10363,10365],{"className":230,"code":10364,"language":232,"meta":197,"style":197},"export default defineNuxtConfig({\n  routeRules: {\n    '\u002F': { prerender: true },\n    '\u002Fproducts\u002F**': { swr: 3600 },\n    '\u002Fadmin\u002F**': { ssr: false },\n  },\n})\n",[137,10366,10367,10379,10387,10407,10427,10447,10451],{"__ignoreMap":197},[201,10368,10369,10371,10373,10375,10377],{"class":203,"line":204},[201,10370,246],{"class":245},[201,10372,249],{"class":245},[201,10374,253],{"class":252},[201,10376,257],{"class":256},[201,10378,261],{"class":260},[201,10380,10381,10383,10385],{"class":203,"line":224},[201,10382,1838],{"class":267},[201,10384,271],{"class":260},[201,10386,298],{"class":260},[201,10388,10389,10391,10393,10395,10397,10399,10401,10403,10405],{"class":203,"line":264},[201,10390,1847],{"class":260},[201,10392,1850],{"class":267},[201,10394,277],{"class":260},[201,10396,271],{"class":260},[201,10398,631],{"class":260},[201,10400,1859],{"class":267},[201,10402,271],{"class":260},[201,10404,1865],{"class":1864},[201,10406,438],{"class":260},[201,10408,10409,10411,10413,10415,10417,10419,10421,10423,10425],{"class":203,"line":290},[201,10410,1847],{"class":260},[201,10412,1897],{"class":267},[201,10414,277],{"class":260},[201,10416,271],{"class":260},[201,10418,631],{"class":260},[201,10420,1883],{"class":267},[201,10422,271],{"class":260},[201,10424,1888],{"class":1268},[201,10426,438],{"class":260},[201,10428,10429,10431,10433,10435,10437,10439,10441,10443,10445],{"class":203,"line":301},[201,10430,1847],{"class":260},[201,10432,3292],{"class":267},[201,10434,277],{"class":260},[201,10436,271],{"class":260},[201,10438,631],{"class":260},[201,10440,1929],{"class":267},[201,10442,271],{"class":260},[201,10444,1934],{"class":1864},[201,10446,438],{"class":260},[201,10448,10449],{"class":203,"line":319},[201,10450,501],{"class":260},[201,10452,10453,10455],{"class":203,"line":329},[201,10454,507],{"class":260},[201,10456,510],{"class":256},[14,10458,10459],{},"Here the homepage is built once, product pages are rendered on demand and cached for an hour, and the admin area renders only in the browser.",[169,10461,9370],{"id":9369},[14,10463,10464,10465,9376,10467,10469,10470,10472,10473,4797,10475,10478,10479,4576,10481,10483,10484,10486],{},"Every ",[137,10466,9304],{},[137,10468,8627],{}," becomes a route. ",[137,10471,9382],{}," is ",[137,10474,3826],{},[137,10476,10477],{},"pages\u002Fblog\u002F[slug].vue"," matches any blog post URL. You don't write a router config. Nuxt also auto-imports components, composables and Vue APIs, so ",[137,10480,4743],{},[137,10482,6412],{}," and your own ",[137,10485,9409],{}," are available without import lines, and fully typed.",[169,10488,10490],{"id":10489},"data-fetching","Data Fetching",[14,10492,10493,955,10495,10497,10498,10500],{},[137,10494,2054],{},[137,10496,4492],{}," load data during server rendering and send the result to the browser in the page payload, so the request isn't repeated on hydration. ",[137,10499,7090],{}," handles calls triggered by user actions, such as submitting a form.",[192,10502,10504],{"className":1333,"code":10503,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nconst { data: products, status } = await useFetch('\u002Fapi\u002Fproducts')\n\u003C\u002Fscript>\n",[137,10505,10506,10526,10561],{"__ignoreMap":197},[201,10507,10508,10510,10512,10514,10516,10518,10520,10522,10524],{"class":203,"line":204},[201,10509,1342],{"class":260},[201,10511,2936],{"class":267},[201,10513,2939],{"class":659},[201,10515,2942],{"class":659},[201,10517,1353],{"class":260},[201,10519,1356],{"class":260},[201,10521,232],{"class":211},[201,10523,1356],{"class":260},[201,10525,1718],{"class":260},[201,10527,10528,10530,10532,10534,10536,10538,10540,10543,10545,10547,10549,10551,10553,10555,10557,10559],{"class":203,"line":224},[201,10529,660],{"class":659},[201,10531,631],{"class":260},[201,10533,2069],{"class":267},[201,10535,271],{"class":260},[201,10537,6972],{"class":256},[201,10539,409],{"class":260},[201,10541,10542],{"class":256}," status ",[201,10544,507],{"class":260},[201,10546,670],{"class":260},[201,10548,2009],{"class":245},[201,10550,2083],{"class":252},[201,10552,257],{"class":256},[201,10554,277],{"class":260},[201,10556,2090],{"class":211},[201,10558,277],{"class":260},[201,10560,510],{"class":256},[201,10562,10563,10565,10567],{"class":203,"line":264},[201,10564,1760],{"class":260},[201,10566,2936],{"class":267},[201,10568,1718],{"class":260},[14,10570,10571,10572,4576,10574,955,10576,10578],{},"The composables return reactive ",[137,10573,4705],{},[137,10575,4711],{},[137,10577,4708],{}," refs, and they refetch when a reactive parameter changes. In Nuxt 4, calls that use the same key share one copy of the data, so two components asking for the same product list don't trigger two requests.",[169,10580,10582],{"id":10581},"nitro-server-engine-and-server-routes","Nitro Server Engine and Server Routes",[14,10584,10585,10586,10588],{},"Nitro powers both server rendering and your API. Besides the ",[137,10587,159],{}," routes, it provides server middleware, storage drivers and caching. When you build, Nitro outputs a small, self-contained server bundle for the platform you target.",[14,10590,10591,10592,10594],{},"Because pages and API routes live in one Nuxt.js project, the types flow between them: when a page calls ",[137,10593,9443],{},", Nuxt knows the shape of the response from the server route. That's one of the reasons teams pick Nuxt.js for full-stack work instead of pairing Vue with a separate Node.js API.",[18,10596,10598],{"id":10597},"key-features-of-the-nuxt-framework","Key Features of the Nuxt Framework",[14,10600,10601,10602,10604,10605,10608,10609,10611],{},"Developers who ask what is the Nuxt framework really adding on top of Vue usually mean the features beyond rendering. The biggest one is modules. The Nuxt module directory lists more than 300 community and official modules, and most install with one line in ",[137,10603,564],{},": Nuxt Content for Markdown sites, Nuxt Image for optimized images, Nuxt UI for components, ",[137,10606,10607],{},"@nuxtjs\u002Fi18n"," for translations, ",[137,10610,3141],{}," for sitemaps and structured data.",[14,10613,10614,10615,10617],{},"Layers go a step further. A Nuxt app can extend another Nuxt project and inherit its components, pages and config, so teams use ",[128,10616,888],{"href":887}," to share a design system or a base app across several products.",[14,10619,10620],{},"The rest you get without asking:",[2357,10622,10623,10626,10633,10639,10642],{},[188,10624,10625],{},"Generated TypeScript types for routes, auto-imports, API responses and config",[188,10627,10628,955,10630,10632],{},[137,10629,2885],{},[137,10631,2888],{}," for titles, descriptions and Open Graph tags, rendered on the server",[188,10634,10635,10636,10638],{},"Code splitting per route, lazy components with the ",[137,10637,1702],{}," prefix, and payload extraction",[188,10640,10641],{},"A Vite dev server with hot module replacement, plus Nuxt DevTools for inspecting pages, modules and server routes",[188,10643,10644],{},"Deployment presets that ship the same code to Node.js, serverless, edge or static hosting",[14,10646,10647],{},"Is Nuxt a framework in the strict sense? Yes. It controls the app's structure and lifecycle, and you plug your code into its conventions. That's the trade: you give up some freedom in how files are organized, and in return you skip weeks of setup and get a structure every Nuxt developer already knows.",[18,10649,10651],{"id":10650},"what-is-nuxt-used-for","What Is Nuxt Used For?",[14,10653,10654],{},"So what is Nuxt used for in practice? Mostly for projects where Vue alone would leave you building infrastructure: pages that must rank in search, apps that need fast first loads, and products with both public and private areas. Four kinds of projects come up again and again.",[169,10656,10658],{"id":10657},"e-commerce-storefronts","E-commerce Storefronts",[14,10660,10661,10662,10664],{},"Online stores need product pages that load fast and get indexed, plus a cart and checkout that behave like an app. Nuxt does both: server-rendered or cached product pages for search, and client-side interactivity after hydration. It pairs well with headless commerce backends. We walked through building an ",[128,10663,4507],{"href":4506},", from setup to product management.",[169,10666,10668],{"id":10667},"saas-products-and-dashboards","SaaS Products and Dashboards",[14,10670,10671,10672,10674],{},"A typical SaaS product has a public marketing site and a logged-in app. With route rules, one Nuxt project can prerender the marketing pages and render the dashboard client-side only. Server routes handle auth callbacks, webhooks and API proxies without another service. For apps with real-time features, Nuxt works alongside WebSockets and streaming. Our ",[128,10673,7915],{"href":7914}," is one example: a TikTok-inspired platform with video streaming and live messaging.",[169,10676,10678],{"id":10677},"content-sites-blogs-and-docs","Content Sites, Blogs and Docs",[14,10680,10681],{},"Nuxt Content turns Markdown and YAML files into typed collections you can query from components. Combined with static generation, that gives you a fast site with no database. Documentation sites, company blogs and knowledge bases fit this model well. This blog is one: each article is a Markdown file in the repo, rendered by Nuxt at build time.",[169,10683,10685],{"id":10684},"marketing-sites-and-landing-pages","Marketing Sites and Landing Pages",[14,10687,10688,10689,10691],{},"Marketing pages need good Core Web Vitals, clean meta tags and quick changes. Nuxt prerenders them to static HTML, manages SEO tags per page, and with Nuxt Image serves resized, modern image formats. Developers can add new landing pages by dropping a file into ",[137,10690,862],{}," or a content folder.",[14,10693,10694],{},"Marketing sites also tend to grow into something bigger: a pricing calculator, a sign-up flow, a customer portal. With Nuxt.js, those features land in the same project instead of a second app, and the static pages stay static while the new parts render on demand.",[18,10696,10698],{"id":10697},"nuxt-2-nuxt-3-and-nuxt-4","Nuxt 2, Nuxt 3 and Nuxt 4",[14,10700,10701,10702,955,10704,10706],{},"Nuxt has had three major lines in active use. Nuxt 2 was built on Vue 2 and webpack and reached end of life on June 30, 2024. If you still run a Nuxt 2 app, our ",[128,10703,2273],{"href":2272},[128,10705,2720],{"href":2719}," cover the upgrade path.",[169,10708,10710],{"id":10709},"what-is-nuxt-3","What Is Nuxt 3?",[14,10712,10713,10714,10716],{},"What is Nuxt 3? It was a full rewrite, released on November 16, 2022. It moved Nuxt to Vue 3, the Composition API, Vite and TypeScript, and introduced the Nitro server engine, hybrid rendering and ",[137,10715,2054],{},". Almost everything modern Nuxt does started in Nuxt 3. Nuxt 3 reached end of life on July 31, 2026, so it no longer gets bug fixes or security patches.",[169,10718,10720],{"id":10719},"what-changed-in-nuxt-4","What Changed in Nuxt 4",[14,10722,10723,10724,10727],{},"Nuxt 4 came out on July 15, 2025. After the Nuxt 3 rewrite, this one is deliberately boring, which is a compliment. Nuxt 3 projects could try most of it early by setting ",[137,10725,10726],{},"compatibilityVersion: 4",", and the old folder layout still works.",[14,10729,10730,10731,10733,10734,10736,10737,4576,10739,10742,10743,955,10745,10747,10748,10750],{},"The visible change is the new ",[137,10732,4655],{}," directory. App code moves into ",[137,10735,4655],{},", separate from ",[137,10738,4804],{},[137,10740,10741],{},"content\u002F"," and config, though projects with the old layout keep working. Data fetching got smarter: ",[137,10744,2054],{},[137,10746,4492],{}," calls with the same key now share data, clean up when no component uses them, and return a ",[137,10749,4748],{}," for better performance. TypeScript now runs as separate projects for app, server and shared code, so types are more accurate, and the CLI starts faster.",[18,10752,10754],{"id":10753},"nuxt-pros-and-cons","Nuxt Pros and Cons",[26,10756,10757,10765],{},[29,10758,10759],{},[32,10760,10761,10763],{},[35,10762,5202],{},[35,10764,5205],{},[51,10766,10767,10775,10783,10791,10799,10807],{},[32,10768,10769,10772],{},[56,10770,10771],{},"SSR, SSG and hybrid rendering built in",[56,10773,10774],{},"More concepts to learn than plain Vue",[32,10776,10777,10780],{},[56,10778,10779],{},"File-based routing and auto-imports remove boilerplate",[56,10781,10782],{},"Conventions limit how you structure files",[32,10784,10785,10788],{},[56,10786,10787],{},"Full-stack: API routes in the same project",[56,10789,10790],{},"SSR means thinking about server vs browser code",[32,10792,10793,10796],{},[56,10794,10795],{},"Strong SEO defaults and meta helpers",[56,10797,10798],{},"Server rendering needs hosting that can run Node.js or serverless functions",[32,10800,10801,10804],{},[56,10802,10803],{},"Large module ecosystem and Nuxt layers",[56,10805,10806],{},"Major upgrades take planning on big codebases",[32,10808,10809,10812],{},[56,10810,10811],{},"Deploys to Node.js, serverless, edge or static hosting",[56,10813,10814],{},"Smaller hiring pool than Next.js and React",[14,10816,10817],{},"The pros matter most for public-facing apps. If search traffic, first-load speed or sharing links on social media matter to your product, Nuxt gives you server rendering without building your own SSR setup, and that alone can save weeks.",[14,10819,10820,10821,10823],{},"The cons are real but manageable. SSR adds a category of bugs that pure client apps don't have: code that touches ",[137,10822,8610],{}," during server rendering, or hydration mismatches when the server and browser render different HTML. Teams new to Nuxt hit these early, then learn the patterns. Auto-imports can also make it less obvious where a function comes from, though the generated types and IDE support close most of that gap.",[14,10825,10826],{},"For an internal tool behind a login with no SEO needs, plain Vue with Vite is often simpler, and Nuxt's extra concepts don't pay off. For anything public, Nuxt is usually the better starting point.",[18,10828,10830],{"id":10829},"how-to-get-started-with-nuxt","How to Get Started With Nuxt",[14,10832,10833],{},"You can have a Nuxt app running in a few minutes:",[185,10835,10836,10839,10845,10857,10867,10878,10892],{},[188,10837,10838],{},"Install a current LTS version of Node.js.",[188,10840,2239,10841,10844],{},[137,10842,10843],{},"npm create nuxt@latest my-app"," and follow the prompts to pick a package manager and optional modules.",[188,10846,2239,10847,955,10850,10853,10854,534],{},[137,10848,10849],{},"cd my-app",[137,10851,10852],{},"npm run dev",". The app opens at ",[137,10855,10856],{},"http:\u002F\u002Flocalhost:3000",[188,10858,10859,10860,10863,10864,10866],{},"Create ",[137,10861,10862],{},"app\u002Fpages\u002Fabout.vue"," with a template. The ",[137,10865,3826],{}," route exists as soon as you save.",[188,10868,10869,10870,10873,10874,10877],{},"Add ",[137,10871,10872],{},"server\u002Fapi\u002Fhello.ts"," that returns JSON, then call ",[137,10875,10876],{},"const { data } = await useFetch('\u002Fapi\u002Fhello')"," in a page.",[188,10879,10880,10881,10884,10885,4576,10888,10891],{},"Install official modules with ",[137,10882,10883],{},"npx nuxt module add image"," (or ",[137,10886,10887],{},"content",[137,10889,10890],{},"ui",").",[188,10893,2239,10894,10897,10898,10901],{},[137,10895,10896],{},"npm run build"," for a server build or ",[137,10899,10900],{},"npm run generate"," for a static site, then deploy to your host.",[14,10903,10904],{},"That's the whole loop. The official docs at nuxt.com go deeper on each step, and Nuxt DevTools shows you what Nuxt generated behind the scenes.",[18,10906,914],{"id":913},[14,10908,10909],{},"Nuxt is the framework that turns Vue into a complete way to build and ship web apps. It adds server rendering, routing, data fetching and a backend layer, and it lets each route pick the rendering mode that suits it. For public sites, storefronts and SaaS products, that usually means faster pages, better SEO and less setup.",[14,10911,10912,10913,10915,10916,3843],{},"At Epicmax, we have built client projects with Nuxt since 2017, and we are an ",[128,10914,921],{"href":920},". If you're planning a new app or an upgrade, our ",[128,10917,926],{"href":925},[18,10919,931],{"id":930},[169,10921,10923],{"id":10922},"is-nuxt-a-framework-or-a-library","Is Nuxt a framework or a library?",[14,10925,10926],{},"Nuxt is a framework. Vue is the library that renders components, and Nuxt is the framework around it that decides how the app is structured, rendered, routed and deployed. You write Vue components, and Nuxt calls them at the right time.",[169,10928,10930],{"id":10929},"is-nuxt-the-same-as-nextjs","Is Nuxt the same as Next.js?",[14,10932,10933,10934,10936],{},"No. Next.js is a React framework maintained by Vercel, and Nuxt is a Vue framework maintained by its own open-source team. They solve the same problems (server rendering, routing, full-stack features), but you write React with Next.js and Vue with Nuxt. Our ",[128,10935,10193],{"href":2557}," covers the differences in detail.",[169,10938,10940],{"id":10939},"do-i-need-to-know-vue-to-use-nuxt","Do I need to know Vue to use Nuxt?",[14,10942,10943],{},"Yes, at least the basics. Every page and component in a Nuxt app is a Vue single-file component, so you need templates, props and the Composition API. You don't need Vue Router or a separate build setup first, because Nuxt handles those for you.",[169,10945,10947],{"id":10946},"can-nuxt-be-used-as-a-backend","Can Nuxt be used as a backend?",[14,10949,10950,10951,10953],{},"For many apps, yes. Files in the ",[137,10952,4804],{}," directory become API endpoints that run on the Nitro server engine, so you can read a database, call third-party APIs and handle forms without a separate service. Large systems with heavy business logic usually still keep a dedicated backend and use Nuxt as the frontend and API layer in front of it.",[169,10955,10957],{"id":10956},"is-nuxt-good-for-seo","Is Nuxt good for SEO?",[14,10959,10960,10961,955,10963,10965],{},"Yes. With server-side rendering or prerendering, search engines and AI crawlers get full HTML on the first request instead of an empty page that needs JavaScript. Nuxt also ships ",[137,10962,2885],{},[137,10964,2888],{}," for titles, descriptions and Open Graph tags, and official modules add sitemaps and structured data.",[169,10967,10969],{"id":10968},"is-nuxt-free-and-open-source","Is Nuxt free and open source?",[14,10971,10972],{},"Yes. Nuxt is released under the MIT license, so you can use it in commercial projects for free. The source code lives on GitHub in the nuxt\u002Fnuxt repository, which has more than 61,000 stars.",[169,10974,10976],{"id":10975},"who-maintains-nuxt","Who maintains Nuxt?",[14,10978,10979],{},"Nuxt is maintained by an open-source core team led by Daniel Roe, with more than 400 contributors on GitHub. NuxtLabs, the company founded by Nuxt co-creator Sébastien Chopin, joined Vercel in July 2025, and Nuxt stayed open source under the MIT license.",[6170,10981],{"label":6172,"to":6173},[984,10983,10984],{},"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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":197,"searchDepth":264,"depth":264,"links":10986},[10987,10988,10989,10990,10996,10997,11003,11007,11008,11009,11010],{"id":10278,"depth":224,"text":10279},{"id":10294,"depth":224,"text":10295},{"id":10314,"depth":224,"text":10315},{"id":10338,"depth":224,"text":10339,"children":10991},[10992,10993,10994,10995],{"id":10348,"depth":264,"text":10349},{"id":9369,"depth":264,"text":9370},{"id":10489,"depth":264,"text":10490},{"id":10581,"depth":264,"text":10582},{"id":10597,"depth":224,"text":10598},{"id":10650,"depth":224,"text":10651,"children":10998},[10999,11000,11001,11002],{"id":10657,"depth":264,"text":10658},{"id":10667,"depth":264,"text":10668},{"id":10677,"depth":264,"text":10678},{"id":10684,"depth":264,"text":10685},{"id":10697,"depth":224,"text":10698,"children":11004},[11005,11006],{"id":10709,"depth":264,"text":10710},{"id":10719,"depth":264,"text":10720},{"id":10753,"depth":224,"text":10754},{"id":10829,"depth":224,"text":10830},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":11011},[11012,11013,11014,11015,11016,11017,11018],{"id":10922,"depth":264,"text":10923},{"id":10929,"depth":264,"text":10930},{"id":10939,"depth":264,"text":10940},{"id":10946,"depth":264,"text":10947},{"id":10956,"depth":264,"text":10957},{"id":10968,"depth":264,"text":10969},{"id":10975,"depth":264,"text":10976},"2026-10-30","Is Nuxt based on Vue? Yes. Learn how the Nuxt framework works, what Nuxt is used for, its pros and cons, and what changed in Nuxt 3 and 4.",[11022,11023,11025,11026,11028,11030,11031],{"question":10923,"answer":10926},{"question":10930,"answer":11024},"No. Next.js is a React framework maintained by Vercel, and Nuxt is a Vue framework maintained by its own open-source team. They solve the same problems (server rendering, routing, full-stack features), but you write React with Next.js and Vue with Nuxt. Our Nuxt vs Next.js comparison covers the differences in detail.",{"question":10940,"answer":10943},{"question":10947,"answer":11027},"For many apps, yes. Files in the server\u002F directory become API endpoints that run on the Nitro server engine, so you can read a database, call third-party APIs and handle forms without a separate service. Large systems with heavy business logic usually still keep a dedicated backend and use Nuxt as the frontend and API layer in front of it.",{"question":10957,"answer":11029},"Yes. With server-side rendering or prerendering, search engines and AI crawlers get full HTML on the first request instead of an empty page that needs JavaScript. Nuxt also ships useSeoMeta and useHead for titles, descriptions and Open Graph tags, and official modules add sitemaps and structured data.",{"question":10969,"answer":10972},{"question":10976,"answer":10979},"\u002Fimages\u002Fblog\u002Fwhat-is-nuxt\u002Fcard.png",{},{"title":10270,"description":11020},"What Is Nuxt.js? A Guide to the Nuxt Framework","blog\u002Fwhat-is-nuxt",[1030,2822],"R4nykAdg5q2zvJ-XdaCn0U2-WCrdwVuoSoOdrWQlbHk",{"id":11040,"title":11041,"articleType":7,"author":8,"authorSlug":9,"body":11042,"cta":1008,"date":11863,"description":11864,"extension":1011,"faq":11865,"featured":1021,"image":11873,"meta":11874,"navigation":653,"noCtaBox":1021,"path":1174,"readTime":11875,"seo":11876,"seoTitle":11877,"stem":11878,"tags":11879,"topic":2339,"video":1008,"__hash__":11880},"blog\u002Fblog\u002Fvue-js-performance.md","Vue.js Performance Optimization: Practical Tips for Faster Apps",{"type":11,"value":11043,"toc":11834},[11044,11047,11051,11054,11057,11064,11067,11071,11074,11078,11081,11188,11195,11253,11257,11275,11279,11286,11290,11293,11297,11300,11363,11370,11436,11440,11446,11456,11534,11540,11544,11560,11564,11567,11571,11574,11578,11585,11589,11599,11684,11688,11695,11699,11702,11752,11758,11762,11777,11779,11785,11787,11791,11794,11798,11803,11807,11810,11814,11817,11821,11828,11831],[14,11045,11046],{},"Vue.js performance is rarely the framework's fault: when a Vue app feels slow, the cause is almost always in how it's built. Too much JavaScript on the first load, lists that render ten thousand rows, reactive data that Vue has to track property by property. This guide covers the fixes we use on client projects, in the order we apply them: measure, then fix loading, then fix updates.",[18,11048,11050],{"id":11049},"how-to-measure-vue-js-performance-first","How to Measure Vue JS Performance First",[14,11052,11053],{},"Don't optimize on a hunch. Vue js performance problems fall into two groups that need different fixes: slow page loads and slow updates after the page is interactive. Measure first to find out which one you have.",[14,11055,11056],{},"For load performance, start with Lighthouse, either in Chrome DevTools or as PageSpeed Insights online. It reports Largest Contentful Paint, layout shifts and total blocking time, and points at oversized scripts and images. PageSpeed Insights also shows field data from real Chrome users when your site has enough traffic, which beats any lab score.",[14,11058,11059,11060,11063],{},"When a click or keystroke feels slow, open the browser Performance panel instead. Record the interaction and look for long tasks over 50 ms. With ",[137,11061,11062],{},"app.config.performance = true"," in development, Vue adds its own markers to that timeline, so you can see which component's render or patch took the time.",[14,11065,11066],{},"Vue DevTools fills in the rest: the component tree, each component's state, and its own performance profiling. A component that updates on every keystroke when nothing it displays has changed is a clear lead.",[18,11068,11070],{"id":11069},"page-load-optimizations","Page Load Optimizations",[14,11072,11073],{},"A page can't be used until the browser has downloaded, parsed and run its JavaScript. Ship less on the first visit and everything after gets faster.",[169,11075,11077],{"id":11076},"lazy-load-routes-and-heavy-components","Lazy Load Routes and Heavy Components",[14,11079,11080],{},"Load each route only when the user opens it. Vue Router accepts a function that returns a dynamic import, and the bundler splits that route into its own chunk:",[192,11082,11086],{"className":11083,"code":11084,"language":11085,"meta":197,"style":197},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const routes = [\n  { path: '\u002F', component: () => import('.\u002Fviews\u002FHomeView.vue') },\n  { path: '\u002Freports', component: () => import('.\u002Fviews\u002FReportsView.vue') },\n]\n","js",[137,11087,11088,11099,11143,11183],{"__ignoreMap":197},[201,11089,11090,11092,11095,11097],{"class":203,"line":204},[201,11091,660],{"class":659},[201,11093,11094],{"class":256}," routes ",[201,11096,1353],{"class":260},[201,11098,388],{"class":256},[201,11100,11101,11104,11107,11109,11111,11113,11115,11117,11120,11122,11124,11126,11129,11131,11133,11136,11138,11140],{"class":203,"line":224},[201,11102,11103],{"class":260},"  {",[201,11105,11106],{"class":267}," path",[201,11108,271],{"class":260},[201,11110,309],{"class":260},[201,11112,1850],{"class":211},[201,11114,277],{"class":260},[201,11116,409],{"class":260},[201,11118,11119],{"class":252}," component",[201,11121,271],{"class":260},[201,11123,1996],{"class":260},[201,11125,1999],{"class":659},[201,11127,11128],{"class":260}," import",[201,11130,257],{"class":256},[201,11132,277],{"class":260},[201,11134,11135],{"class":211},".\u002Fviews\u002FHomeView.vue",[201,11137,277],{"class":260},[201,11139,7300],{"class":256},[201,11141,11142],{"class":260},"},\n",[201,11144,11145,11147,11149,11151,11153,11156,11158,11160,11162,11164,11166,11168,11170,11172,11174,11177,11179,11181],{"class":203,"line":264},[201,11146,11103],{"class":260},[201,11148,11106],{"class":267},[201,11150,271],{"class":260},[201,11152,309],{"class":260},[201,11154,11155],{"class":211},"\u002Freports",[201,11157,277],{"class":260},[201,11159,409],{"class":260},[201,11161,11119],{"class":252},[201,11163,271],{"class":260},[201,11165,1996],{"class":260},[201,11167,1999],{"class":659},[201,11169,11128],{"class":260},[201,11171,257],{"class":256},[201,11173,277],{"class":260},[201,11175,11176],{"class":211},".\u002Fviews\u002FReportsView.vue",[201,11178,277],{"class":260},[201,11180,7300],{"class":256},[201,11182,11142],{"class":260},[201,11184,11185],{"class":203,"line":290},[201,11186,11187],{"class":256},"]\n",[14,11189,11190,11191,11194],{},"Vue Router's documentation recommends doing this for all routes. For heavy components inside a page, such as a chart, a rich text editor or a map, use ",[137,11192,11193],{},"defineAsyncComponent"," so they load when they first render:",[192,11196,11198],{"className":11083,"code":11197,"language":11085,"meta":197,"style":197},"import { defineAsyncComponent } from 'vue'\n\nconst SalesChart = defineAsyncComponent(() => import('.\u002FSalesChart.vue'))\n",[137,11199,11200,11219,11223],{"__ignoreMap":197},[201,11201,11202,11204,11206,11209,11211,11213,11215,11217],{"class":203,"line":204},[201,11203,626],{"class":245},[201,11205,631],{"class":260},[201,11207,11208],{"class":256}," defineAsyncComponent",[201,11210,637],{"class":260},[201,11212,640],{"class":245},[201,11214,309],{"class":260},[201,11216,1335],{"class":211},[201,11218,648],{"class":260},[201,11220,11221],{"class":203,"line":224},[201,11222,654],{"emptyLinePlaceholder":653},[201,11224,11225,11227,11230,11232,11234,11236,11238,11240,11242,11244,11246,11249,11251],{"class":203,"line":264},[201,11226,660],{"class":659},[201,11228,11229],{"class":256}," SalesChart ",[201,11231,1353],{"class":260},[201,11233,11208],{"class":252},[201,11235,257],{"class":256},[201,11237,6634],{"class":260},[201,11239,1999],{"class":659},[201,11241,11128],{"class":260},[201,11243,257],{"class":256},[201,11245,277],{"class":260},[201,11247,11248],{"class":211},".\u002FSalesChart.vue",[201,11250,277],{"class":260},[201,11252,3488],{"class":256},[169,11254,11256],{"id":11255},"cut-bundle-size-with-tree-shaking","Cut Bundle Size with Tree-Shaking",[14,11258,11259,11260,11263,11264,11267,11268,11271,11272,11274],{},"Most of Vue's APIs are tree-shakable: if you never use ",[137,11261,11262],{},"\u003CTransition>",", it isn't in your production bundle. Pre-compiling templates in a build step also saves shipping the Vue compiler, which the Vue docs put at 14 KB min+gzipped. The bigger wins are usually in your dependencies. Prefer ES module packages such as ",[137,11265,11266],{},"lodash-es"," over ",[137,11269,11270],{},"lodash",", and check what a library costs before adding it. A modern bundler does most of this work for you; our ",[128,11273,10166],{"href":10165}," comparison covers why we default to Vite for Vue projects.",[169,11276,11278],{"id":11277},"render-content-pages-on-the-server","Render Content Pages on the Server",[14,11280,11281,11282,11285],{},"A client-rendered page shows nothing useful until its JavaScript loads and runs. For landing pages, blogs, docs and product pages, render the HTML on the server or at build time instead. Nuxt does this with SSR by default and lets you prerender or cache routes individually. Users see content sooner, and search engines get full HTML on the first request. If you're planning that move, our ",[128,11283,11284],{"href":925},"Nuxt development"," team does it for production apps.",[18,11287,11289],{"id":11288},"rendering-and-update-optimizations","Rendering and Update Optimizations",[14,11291,11292],{},"After the first load, speed comes down to how much work Vue does on each state change. Vue already skips most of it on its own. These patterns cover the rest.",[169,11294,11296],{"id":11295},"keep-props-stable","Keep Props Stable",[14,11298,11299],{},"A child component updates when any of its props change. If every list item receives the same changing value, every item updates:",[192,11301,11303],{"className":1333,"code":11302,"language":1335,"meta":197,"style":197},"\u003CListItem v-for=\"item in list\" :id=\"item.id\" :active-id=\"activeId\" \u002F>\n",[137,11304,11305],{"__ignoreMap":197},[201,11306,11307,11309,11312,11314,11316,11318,11321,11324,11327,11329,11332,11334,11336,11338,11341,11343,11345,11347,11349,11352,11354,11356,11359,11361],{"class":203,"line":204},[201,11308,1342],{"class":260},[201,11310,11311],{"class":267},"ListItem",[201,11313,5528],{"class":245},[201,11315,1353],{"class":260},[201,11317,1356],{"class":260},[201,11319,11320],{"class":256},"item ",[201,11322,11323],{"class":260},"in",[201,11325,11326],{"class":256}," list",[201,11328,1356],{"class":260},[201,11330,11331],{"class":260}," :",[201,11333,6742],{"class":659},[201,11335,1353],{"class":260},[201,11337,1356],{"class":260},[201,11339,11340],{"class":256},"item",[201,11342,534],{"class":260},[201,11344,6742],{"class":256},[201,11346,1356],{"class":260},[201,11348,11331],{"class":260},[201,11350,11351],{"class":659},"active-id",[201,11353,1353],{"class":260},[201,11355,1356],{"class":260},[201,11357,11358],{"class":256},"activeId",[201,11360,1356],{"class":260},[201,11362,1539],{"class":260},[14,11364,11365,11366,11369],{},"Compute the comparison in the parent instead, so only the two items whose ",[137,11367,11368],{},"active"," value actually changes get updated:",[192,11371,11373],{"className":1333,"code":11372,"language":1335,"meta":197,"style":197},"\u003CListItem v-for=\"item in list\" :id=\"item.id\" :active=\"item.id === activeId\" \u002F>\n",[137,11374,11375],{"__ignoreMap":197},[201,11376,11377,11379,11381,11383,11385,11387,11389,11391,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11426,11429,11432,11434],{"class":203,"line":204},[201,11378,1342],{"class":260},[201,11380,11311],{"class":267},[201,11382,5528],{"class":245},[201,11384,1353],{"class":260},[201,11386,1356],{"class":260},[201,11388,11320],{"class":256},[201,11390,11323],{"class":260},[201,11392,11326],{"class":256},[201,11394,1356],{"class":260},[201,11396,11331],{"class":260},[201,11398,6742],{"class":659},[201,11400,1353],{"class":260},[201,11402,1356],{"class":260},[201,11404,11340],{"class":256},[201,11406,534],{"class":260},[201,11408,6742],{"class":256},[201,11410,1356],{"class":260},[201,11412,11331],{"class":260},[201,11414,11368],{"class":659},[201,11416,1353],{"class":260},[201,11418,1356],{"class":260},[201,11420,11340],{"class":256},[201,11422,534],{"class":260},[201,11424,11425],{"class":256},"id ",[201,11427,11428],{"class":260},"===",[201,11430,11431],{"class":256}," activeId",[201,11433,1356],{"class":260},[201,11435,1539],{"class":260},[169,11437,11439],{"id":11438},"skip-updates-with-v-once-and-v-memo","Skip Updates with v-once and v-memo",[14,11441,11442,11445],{},[137,11443,11444],{},"v-once"," renders an element or component once and treats it as static from then on. Use it for content that never changes after the first render.",[14,11447,11448,11451,11452,11455],{},[137,11449,11450],{},"v-memo"," skips an update unless the values in its array change. The Vue docs describe it as a micro-optimization that should rarely be needed, mostly for ",[137,11453,11454],{},"v-for"," lists longer than about 1,000 items:",[192,11457,11459],{"className":1333,"code":11458,"language":1335,"meta":197,"style":197},"\u003Cdiv v-for=\"item in list\" :key=\"item.id\" v-memo=\"[item.id === selectedId]\">\n  \u003Cp>{{ item.name }}: {{ item.id === selectedId ? 'selected' : '' }}\u003C\u002Fp>\n\u003C\u002Fdiv>\n",[137,11460,11461,11521,11526],{"__ignoreMap":197},[201,11462,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11486,11488,11490,11492,11494,11496,11498,11501,11503,11505,11508,11510,11512,11514,11517,11519],{"class":203,"line":204},[201,11464,1342],{"class":260},[201,11466,6013],{"class":267},[201,11468,5528],{"class":245},[201,11470,1353],{"class":260},[201,11472,1356],{"class":260},[201,11474,11320],{"class":256},[201,11476,11323],{"class":260},[201,11478,11326],{"class":256},[201,11480,1356],{"class":260},[201,11482,11331],{"class":260},[201,11484,11485],{"class":659},"key",[201,11487,1353],{"class":260},[201,11489,1356],{"class":260},[201,11491,11340],{"class":256},[201,11493,534],{"class":260},[201,11495,6742],{"class":256},[201,11497,1356],{"class":260},[201,11499,11500],{"class":659}," v-memo",[201,11502,1353],{"class":260},[201,11504,1356],{"class":260},[201,11506,11507],{"class":256},"[item",[201,11509,534],{"class":260},[201,11511,11425],{"class":256},[201,11513,11428],{"class":260},[201,11515,11516],{"class":256}," selectedId]",[201,11518,1356],{"class":260},[201,11520,1718],{"class":260},[201,11522,11523],{"class":203,"line":224},[201,11524,11525],{"class":256},"  \u003Cp>{{ item.name }}: {{ item.id === selectedId ? 'selected' : '' }}\u003C\u002Fp>\n",[201,11527,11528,11530,11532],{"class":203,"line":264},[201,11529,1760],{"class":260},[201,11531,6013],{"class":267},[201,11533,1718],{"class":260},[14,11535,11536,11537,11539],{},"Get the array wrong and the item stops updating when it should. If you reach for ",[137,11538,11450],{}," before profiling, you're guessing; add it only where a list is the measured bottleneck.",[169,11541,11543],{"id":11542},"choose-between-v-if-and-v-show","Choose Between v-if and v-show",[14,11545,11546,11549,11550,11553,11554,11556,11557,11559],{},[137,11547,11548],{},"v-if"," creates and destroys the element, so toggling it costs more. ",[137,11551,11552],{},"v-show"," always renders and toggles CSS, so the first render costs more. Use ",[137,11555,11552],{}," for things users toggle often, such as tabs and dropdowns, and ",[137,11558,11548],{}," for blocks that rarely appear.",[169,11561,11563],{"id":11562},"use-stable-keys-in-v-for","Use Stable Keys in v-for",[14,11565,11566],{},"Give each list item a key that belongs to the data, such as a database id, not its array index. With index keys, sorting or removing an item makes Vue patch every row after it, and stateful children like inputs can end up attached to the wrong item.",[18,11568,11570],{"id":11569},"handling-large-data-sets","Handling Large Data Sets",[14,11572,11573],{},"Tables with thousands of rows, live feeds, big API responses. This is where Vue apps most often slow down, and the fix is always some version of rendering or tracking less.",[169,11575,11577],{"id":11576},"virtualize-long-lists","Virtualize Long Lists",[14,11579,11580,11581,11584],{},"No framework renders 10,000 DOM rows quickly. List virtualization renders only the rows near the viewport and swaps them as the user scrolls, so the number of DOM nodes stays small however long the list gets. The Vue docs point to community libraries such as ",[137,11582,11583],{},"vue-virtual-scroller","; TanStack Virtual also ships a Vue adapter.",[169,11586,11588],{"id":11587},"use-shallowref-for-large-immutable-data","Use shallowRef for Large Immutable Data",[14,11590,11591,11592,11594,11595,11598],{},"Vue's reactivity is deep by default, so every nested property you read goes through a proxy that tracks dependencies. According to the Vue docs, this overhead becomes noticeable when a single render reads 100,000+ properties. For large data you replace rather than edit, such as an API response, use ",[137,11593,4748],{},". Only ",[137,11596,11597],{},".value"," is reactive, so update it by assigning a new array or object:",[192,11600,11602],{"className":11083,"code":11601,"language":11085,"meta":197,"style":197},"import { shallowRef } from 'vue'\n\nconst rows = shallowRef([])\n\nasync function load() {\n  rows.value = await fetchRows() \u002F\u002F replacing the array triggers updates\n}\n",[137,11603,11604,11623,11627,11641,11645,11658,11680],{"__ignoreMap":197},[201,11605,11606,11608,11610,11613,11615,11617,11619,11621],{"class":203,"line":204},[201,11607,626],{"class":245},[201,11609,631],{"class":260},[201,11611,11612],{"class":256}," shallowRef",[201,11614,637],{"class":260},[201,11616,640],{"class":245},[201,11618,309],{"class":260},[201,11620,1335],{"class":211},[201,11622,648],{"class":260},[201,11624,11625],{"class":203,"line":224},[201,11626,654],{"emptyLinePlaceholder":653},[201,11628,11629,11631,11634,11636,11638],{"class":203,"line":264},[201,11630,660],{"class":659},[201,11632,11633],{"class":256}," rows ",[201,11635,1353],{"class":260},[201,11637,11612],{"class":252},[201,11639,11640],{"class":256},"([])\n",[201,11642,11643],{"class":203,"line":290},[201,11644,654],{"emptyLinePlaceholder":653},[201,11646,11647,11649,11651,11654,11656],{"class":203,"line":301},[201,11648,1993],{"class":659},[201,11650,6628],{"class":659},[201,11652,11653],{"class":252}," load",[201,11655,6634],{"class":260},[201,11657,298],{"class":260},[201,11659,11660,11663,11665,11667,11669,11671,11674,11677],{"class":203,"line":319},[201,11661,11662],{"class":256},"  rows",[201,11664,534],{"class":260},[201,11666,3048],{"class":256},[201,11668,670],{"class":260},[201,11670,2009],{"class":245},[201,11672,11673],{"class":252}," fetchRows",[201,11675,11676],{"class":267},"() ",[201,11678,11679],{"class":239},"\u002F\u002F replacing the array triggers updates\n",[201,11681,11682],{"class":203,"line":329},[201,11683,724],{"class":260},[169,11685,11687],{"id":11686},"avoid-deep-watchers-and-expensive-computed-properties","Avoid Deep Watchers and Expensive Computed Properties",[14,11689,11690,11691,11694],{},"A deep watcher walks every nested property of its source each time it runs, which gets expensive on large objects. Watch the specific property you need, or limit depth with a number (",[137,11692,11693],{},"deep: 1",", available since Vue 3.5). Keep computed properties cheap and return primitive values where you can: since Vue 3.4, a computed only triggers its dependents when its value actually changes.",[18,11696,11698],{"id":11697},"vue-performance-and-core-web-vitals","Vue Performance and Core Web Vitals",[14,11700,11701],{},"Core Web Vitals are how Google measures user experience. Good scores are an LCP within 2.5 seconds, an INP of 200 milliseconds or less, and a CLS of 0.1 or less, measured at the 75th percentile of page loads. INP replaced First Input Delay as a Core Web Vital in March 2024.",[26,11703,11704,11717],{},[29,11705,11706],{},[32,11707,11708,11711,11714],{},[35,11709,11710],{},"Metric",[35,11712,11713],{},"What hurts it in Vue apps",[35,11715,11716],{},"Fixes from this guide",[51,11718,11719,11730,11741],{},[32,11720,11721,11724,11727],{},[56,11722,11723],{},"LCP (loading)",[56,11725,11726],{},"Large bundles, client-only rendering of content pages",[56,11728,11729],{},"Lazy routes, tree-shaking, SSR or prerendering with Nuxt",[32,11731,11732,11735,11738],{},[56,11733,11734],{},"INP (responsiveness)",[56,11736,11737],{},"Long tasks after clicks and typing",[56,11739,11740],{},"Stable props, v-memo, virtual lists, shallowRef, no deep watchers",[32,11742,11743,11746,11749],{},[56,11744,11745],{},"CLS (visual stability)",[56,11747,11748],{},"Async components and images that load without reserved space",[56,11750,11751],{},"Fixed dimensions and placeholders for lazy content",[14,11753,11754,11755,11757],{},"Carousels and image galleries are frequent CLS offenders. Our guide on ",[128,11756,1194],{"href":1193}," walks through them.",[18,11759,11761],{"id":11760},"vue-vapor-mode-and-the-future-of-vue-performance","Vue Vapor Mode and the Future of Vue Performance",[14,11763,11764,11765,11768,11769,11771,11772,11776],{},"Vapor Mode is a new compilation mode in Vue 3.6 that turns components into direct DOM updates, without the virtual DOM. It's opt-in per component with ",[137,11766,11767],{},"\u003Cscript setup vapor>",", and the Vue team calls it feature-complete in the 3.6 release candidate. In the Chrome 154 run of js-framework-benchmark, the Vapor build created 1,000 rows in 21.8 ms against 24.5 ms for Vue 3.5. It doesn't support ",[137,11770,11450],{}," or the Options API. Vue 3.6 isn't stable yet, so read our ",[128,11773,11775],{"href":11774},"\u002Fblog\u002Fvue-vapor-mode-migration","Vue Vapor Mode migration"," guide before adopting it.",[18,11778,914],{"id":913},[14,11780,11781,11782,11784],{},"Most slow Vue apps get fast again with a handful of changes: measure, split the bundle, render content on the server, keep props stable and stop rendering or tracking data nobody sees. Start with whatever your measurements show users feel most. If you need help finding it, our ",[128,11783,8971],{"href":2208}," team audits Vue and Nuxt apps and fixes what slows them down.",[18,11786,931],{"id":930},[169,11788,11790],{"id":11789},"how-do-you-optimize-the-performance-of-a-vuejs-application","How do you optimize the performance of a Vue.js application?",[14,11792,11793],{},"Measure first with Vue DevTools, the browser Performance panel and Lighthouse, then fix the biggest cost. For slow loading, lazy load routes, trim the bundle and render content pages on the server. For slow updates, keep props stable, virtualize long lists and use shallowRef for large data.",[169,11795,11797],{"id":11796},"is-vue-faster-than-react","Is Vue faster than React?",[14,11799,11800,11801,534],{},"In most benchmarks, yes, though not everywhere. In the js-framework-benchmark run for Chrome 154, Vue 3.5 created 10,000 rows in 259 ms against 401 ms for React 19.2 and shipped less than half the compressed code, while React was slightly quicker at creating 1,000 rows. In real apps, architecture matters more; see our ",[128,11802,2554],{"href":2553},[169,11804,11806],{"id":11805},"what-slows-down-a-vue-app","What slows down a Vue app?",[14,11808,11809],{},"Usually not Vue itself. The common causes are large JavaScript bundles, long lists rendered in full, deep reactivity on big data sets, deep watchers and props that change on every parent update. Unoptimized images and client-only rendering of content pages hurt load time too.",[169,11811,11813],{"id":11812},"does-vapor-mode-make-vue-faster","Does Vapor Mode make Vue faster?",[14,11815,11816],{},"Yes, for the components that use it. Vapor Mode compiles components to direct DOM updates without the virtual DOM, and in the Chrome 154 benchmark run the Vapor build of Vue 3.6 beat Vue 3.5 on every speed test we compared, used less memory and shipped a smaller bundle. Vue 3.6 is still a release candidate.",[169,11818,11820],{"id":11819},"when-does-a-vue-app-need-a-performance-audit","When does a Vue app need a performance audit?",[14,11822,11823,11824,11827],{},"When Core Web Vitals fail in field data, when users report lag that your team can't reproduce, or before a big release or migration. A ",[128,11825,11826],{"href":2284},"Vue.js code audit"," finds the bottlenecks and ranks fixes by impact, so the team works on what users actually feel.",[6170,11829],{"label":11830,"to":6173},"Talk to a Vue expert",[984,11832,11833],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .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 .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .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}",{"title":197,"searchDepth":264,"depth":264,"links":11835},[11836,11837,11842,11848,11853,11854,11855,11856],{"id":11049,"depth":224,"text":11050},{"id":11069,"depth":224,"text":11070,"children":11838},[11839,11840,11841],{"id":11076,"depth":264,"text":11077},{"id":11255,"depth":264,"text":11256},{"id":11277,"depth":264,"text":11278},{"id":11288,"depth":224,"text":11289,"children":11843},[11844,11845,11846,11847],{"id":11295,"depth":264,"text":11296},{"id":11438,"depth":264,"text":11439},{"id":11542,"depth":264,"text":11543},{"id":11562,"depth":264,"text":11563},{"id":11569,"depth":224,"text":11570,"children":11849},[11850,11851,11852],{"id":11576,"depth":264,"text":11577},{"id":11587,"depth":264,"text":11588},{"id":11686,"depth":264,"text":11687},{"id":11697,"depth":224,"text":11698},{"id":11760,"depth":224,"text":11761},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":11857},[11858,11859,11860,11861,11862],{"id":11789,"depth":264,"text":11790},{"id":11796,"depth":264,"text":11797},{"id":11805,"depth":264,"text":11806},{"id":11812,"depth":264,"text":11813},{"id":11819,"depth":264,"text":11820},"2026-10-26","Practical Vue.js performance optimization tips: profiling, lazy loading, v-memo, shallowRef, virtual lists and Core Web Vitals fixes from Epicmax's Vue team.",[11866,11867,11869,11870,11871],{"question":11790,"answer":11793},{"question":11797,"answer":11868},"In most benchmarks, yes, though not everywhere. In the js-framework-benchmark run for Chrome 154, Vue 3.5 created 10,000 rows in 259 ms against 401 ms for React 19.2 and shipped less than half the compressed code, while React was slightly quicker at creating 1,000 rows. In real apps, architecture matters more; see our Vue vs React comparison.",{"question":11806,"answer":11809},{"question":11813,"answer":11816},{"question":11820,"answer":11872},"When Core Web Vitals fail in field data, when users report lag that your team can't reproduce, or before a big release or migration. A Vue.js code audit finds the bottlenecks and ranks fixes by impact, so the team works on what users actually feel.","\u002Fimages\u002Fblog\u002Fvue-js-performance\u002Fcard.png",{},"8 min read",{"title":11041,"description":11864},"Vue.js Performance: Optimization Tips for Faster Apps","blog\u002Fvue-js-performance",[2822,2338,1030],"MrBtaaLvkA5OWLd2bu8KymAIJzwCb3lbyBSaijSi-wQ",{"id":11882,"title":11883,"articleType":7,"author":8,"authorSlug":9,"body":11884,"cta":1008,"date":12925,"description":12926,"extension":1011,"faq":12927,"featured":1021,"image":12933,"meta":12934,"navigation":653,"noCtaBox":1021,"path":12935,"readTime":9252,"seo":12936,"seoTitle":1008,"stem":12937,"tags":12938,"topic":2823,"video":1008,"__hash__":12939},"blog\u002Fblog\u002Freact-vs-vue-vs-svelte.md","React vs Vue vs Svelte: Complete Comparison 2026",{"type":11,"value":11885,"toc":12907},[11886,11889,11893,12067,12070,12073,12077,12080,12093,12212,12218,12365,12372,12375,12465,12482,12485,12489,12492,12579,12582,12585,12592,12595,12599,12614,12628,12631,12634,12638,12652,12661,12664,12667,12671,12674,12681,12691,12701,12709,12713,12716,12719,12722,12726,12729,12845,12848,12857,12859,12865,12867,12871,12874,12878,12881,12885,12888,12892,12895,12899,12902,12904],[14,11887,11888],{},"React vs Vue vs Svelte is still the comparison most teams run before a new frontend project. In 2026 all three are mature: React 19 has a stable compiler, Vue 3.6 is testing a mode without a virtual DOM, and Svelte 5 rebuilt its reactivity around runes. We work with Vue every day, and we'll tell you where React or Svelte is the better pick, with benchmark numbers and dated hiring data.",[18,11890,11892],{"id":11891},"react-vs-vue-vs-svelte-at-a-glance","React vs Vue vs Svelte at a Glance",[26,11894,11895,11908],{},[29,11896,11897],{},[32,11898,11899,11902,11904,11906],{},[35,11900,11901],{},"Criteria",[35,11903,2429],{},[35,11905,2491],{},[35,11907,2441],{},[51,11909,11910,11924,11937,11951,11970,12000,12014,12028,12042,12053],{},[32,11911,11912,11915,11918,11921],{},[56,11913,11914],{},"Current version",[56,11916,11917],{},"React 19.3",[56,11919,11920],{},"Vue 3.5 (3.6 in release candidate)",[56,11922,11923],{},"Svelte 5.57",[32,11925,11926,11929,11931,11934],{},[56,11927,11928],{},"What it is",[56,11930,6257],{},[56,11932,11933],{},"Progressive framework",[56,11935,11936],{},"Compiler-based framework",[32,11938,11939,11942,11945,11948],{},[56,11940,11941],{},"How it renders",[56,11943,11944],{},"Virtual DOM, whole component re-runs",[56,11946,11947],{},"Compiler-informed virtual DOM; Vapor Mode (opt-in, 3.6) skips it",[56,11949,11950],{},"Compiled direct DOM updates",[32,11952,11953,11956,11959,11964],{},[56,11954,11955],{},"Component format",[56,11957,11958],{},"JSX in JavaScript or TypeScript functions",[56,11960,11961,11963],{},[137,11962,9304],{}," single-file components with HTML templates",[56,11965,11966,11969],{},[137,11967,11968],{},".svelte"," files: script, markup, styles",[32,11971,11972,11975,11980,11988],{},[56,11973,11974],{},"Reactivity",[56,11976,11977,11979],{},[137,11978,6422],{},", hooks; React Compiler memoizes",[56,11981,11982,4576,11984,4576,11986],{},[137,11983,4743],{},[137,11985,9321],{},[137,11987,6412],{},[56,11989,11990,11991,4576,11994,4576,11997],{},"Runes: ",[137,11992,11993],{},"$state",[137,11995,11996],{},"$derived",[137,11998,11999],{},"$effect",[32,12001,12002,12005,12008,12011],{},[56,12003,12004],{},"Compressed size of a benchmark app",[56,12006,12007],{},"51.4 KB",[56,12009,12010],{},"23.3 KB",[56,12012,12013],{},"9.7 KB",[32,12015,12016,12019,12022,12025],{},[56,12017,12018],{},"npm downloads per week",[56,12020,12021],{},"~175 million",[56,12023,12024],{},"~15.9 million",[56,12026,12027],{},"~6.1 million",[32,12029,12030,12033,12036,12039],{},[56,12031,12032],{},"Stack Overflow 2025 usage",[56,12034,12035],{},"44.7%",[56,12037,12038],{},"17.6%",[56,12040,12041],{},"7.2%",[32,12043,12044,12047,12049,12051],{},[56,12045,12046],{},"Full-stack framework",[56,12048,2365],{},[56,12050,1030],{},[56,12052,2377],{},[32,12054,12055,12058,12061,12064],{},[56,12056,12057],{},"Backed by",[56,12059,12060],{},"Meta and the React Foundation",[56,12062,12063],{},"Independent, sponsor-funded",[56,12065,12066],{},"Independent open-source team",[14,12068,12069],{},"Read the table as three trade-offs rather than a ranking. React gives you the biggest ecosystem and hiring pool and asks you to assemble the rest yourself: routing, state management, data fetching. Vue ships official answers for those pieces and keeps templates close to HTML. Svelte moves most of the work into the compiler, so less JavaScript reaches the browser.",[14,12071,12072],{},"The usage numbers matter more than they look. React's npm figure is inflated by tooling and React Native, but it's still an order of magnitude ahead. That gap shapes everything from component libraries to how fast you can hire, and we'll come back to it.",[18,12074,12076],{"id":12075},"how-react-vue-and-svelte-handle-reactivity","How React, Vue and Svelte Handle Reactivity",[14,12078,12079],{},"Reactivity is where the three differ most, and it explains most of the performance and developer-experience gaps below.",[14,12081,12082,12083,4576,12086,955,12089,12092],{},"React treats a component as a function of state. When state changes, React calls the component function again and, by default, re-renders its children too. To avoid wasted work, developers used to wrap code in ",[137,12084,12085],{},"useMemo",[137,12087,12088],{},"useCallback",[137,12090,12091],{},"React.memo",". React Compiler 1.0, stable since October 2025, now adds that memoization automatically at build time, which removes most of the manual work:",[192,12094,12098],{"className":12095,"code":12096,"language":12097,"meta":197,"style":197},"language-jsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","function Counter() {\n  const [count, setCount] = useState(0)\n  const double = count * 2\n\n  return \u003Cbutton onClick={() => setCount(count + 1)}>{count} × 2 = {double}\u003C\u002Fbutton>\n}\n","jsx",[137,12099,12100,12112,12139,12156,12160,12208],{"__ignoreMap":197},[201,12101,12102,12105,12108,12110],{"class":203,"line":204},[201,12103,12104],{"class":659},"function",[201,12106,12107],{"class":252}," Counter",[201,12109,6634],{"class":260},[201,12111,298],{"class":260},[201,12113,12114,12116,12118,12121,12123,12126,12128,12130,12133,12135,12137],{"class":203,"line":224},[201,12115,3379],{"class":659},[201,12117,274],{"class":260},[201,12119,12120],{"class":256},"count",[201,12122,409],{"class":260},[201,12124,12125],{"class":256}," setCount",[201,12127,284],{"class":260},[201,12129,670],{"class":260},[201,12131,12132],{"class":252}," useState",[201,12134,257],{"class":267},[201,12136,5803],{"class":1268},[201,12138,510],{"class":267},[201,12140,12141,12143,12146,12148,12151,12153],{"class":203,"line":264},[201,12142,3379],{"class":659},[201,12144,12145],{"class":256}," double",[201,12147,670],{"class":260},[201,12149,12150],{"class":256}," count",[201,12152,2041],{"class":260},[201,12154,12155],{"class":1268}," 2\n",[201,12157,12158],{"class":203,"line":290},[201,12159,654],{"emptyLinePlaceholder":653},[201,12161,12162,12164,12166,12168,12171,12174,12176,12178,12181,12184,12186,12188,12190,12192,12194,12197,12199,12202,12204,12206],{"class":203,"line":301},[201,12163,2006],{"class":245},[201,12165,6708],{"class":260},[201,12167,7383],{"class":267},[201,12169,12170],{"class":659}," onClick",[201,12172,12173],{"class":260},"={()",[201,12175,1999],{"class":659},[201,12177,12125],{"class":252},[201,12179,12180],{"class":256},"(count ",[201,12182,12183],{"class":260},"+",[201,12185,5773],{"class":1268},[201,12187,3779],{"class":256},[201,12189,6745],{"class":260},[201,12191,12120],{"class":256},[201,12193,507],{"class":260},[201,12195,12196],{"class":256}," × 2 = ",[201,12198,1620],{"class":260},[201,12200,12201],{"class":256},"double",[201,12203,6754],{"class":260},[201,12205,7383],{"class":267},[201,12207,1718],{"class":260},[201,12209,12210],{"class":203,"line":319},[201,12211,724],{"class":260},[14,12213,12214,12215,12217],{},"Vue tracks dependencies instead of re-running whole components. Refs and reactive objects record who reads them, so when ",[137,12216,12120],{}," changes only the code that depends on it updates. The template compiles to render functions with patch flags that tell the runtime which parts can change:",[192,12219,12221],{"className":1333,"code":12220,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nimport { ref, computed } from 'vue'\n\nconst count = ref(0)\nconst double = computed(() => count.value * 2)\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton @click=\"count++\">{{ count }} × 2 = {{ double }}\u003C\u002Fbutton>\n\u003C\u002Ftemplate>\n",[137,12222,12223,12233,12256,12260,12277,12309,12317,12321,12329,12357],{"__ignoreMap":197},[201,12224,12225,12227,12229,12231],{"class":203,"line":204},[201,12226,1342],{"class":260},[201,12228,2936],{"class":267},[201,12230,2939],{"class":659},[201,12232,1718],{"class":260},[201,12234,12235,12237,12239,12241,12243,12246,12248,12250,12252,12254],{"class":203,"line":224},[201,12236,626],{"class":245},[201,12238,631],{"class":260},[201,12240,9534],{"class":256},[201,12242,409],{"class":260},[201,12244,12245],{"class":256}," computed",[201,12247,637],{"class":260},[201,12249,640],{"class":245},[201,12251,309],{"class":260},[201,12253,1335],{"class":211},[201,12255,648],{"class":260},[201,12257,12258],{"class":203,"line":264},[201,12259,654],{"emptyLinePlaceholder":653},[201,12261,12262,12264,12267,12269,12271,12273,12275],{"class":203,"line":290},[201,12263,660],{"class":659},[201,12265,12266],{"class":256}," count ",[201,12268,1353],{"class":260},[201,12270,9534],{"class":252},[201,12272,257],{"class":256},[201,12274,5803],{"class":1268},[201,12276,510],{"class":256},[201,12278,12279,12281,12284,12286,12288,12290,12292,12294,12296,12298,12301,12304,12307],{"class":203,"line":301},[201,12280,660],{"class":659},[201,12282,12283],{"class":256}," double ",[201,12285,1353],{"class":260},[201,12287,12245],{"class":252},[201,12289,257],{"class":256},[201,12291,6634],{"class":260},[201,12293,1999],{"class":659},[201,12295,12150],{"class":256},[201,12297,534],{"class":260},[201,12299,12300],{"class":256},"value ",[201,12302,12303],{"class":260},"*",[201,12305,12306],{"class":1268}," 2",[201,12308,510],{"class":256},[201,12310,12311,12313,12315],{"class":203,"line":319},[201,12312,1760],{"class":260},[201,12314,2936],{"class":267},[201,12316,1718],{"class":260},[201,12318,12319],{"class":203,"line":329},[201,12320,654],{"emptyLinePlaceholder":653},[201,12322,12323,12325,12327],{"class":203,"line":346},[201,12324,1342],{"class":260},[201,12326,1715],{"class":267},[201,12328,1718],{"class":260},[201,12330,12331,12333,12335,12337,12339,12341,12344,12346,12348,12351,12353,12355],{"class":203,"line":363},[201,12332,1723],{"class":260},[201,12334,7383],{"class":267},[201,12336,9611],{"class":659},[201,12338,1353],{"class":260},[201,12340,1356],{"class":260},[201,12342,12343],{"class":211},"count++",[201,12345,1356],{"class":260},[201,12347,3416],{"class":260},[201,12349,12350],{"class":256},"{{ count }} × 2 = {{ double }}",[201,12352,1760],{"class":260},[201,12354,7383],{"class":267},[201,12356,1718],{"class":260},[201,12358,12359,12361,12363],{"class":203,"line":380},[201,12360,1760],{"class":260},[201,12362,1715],{"class":267},[201,12364,1718],{"class":260},[14,12366,12367,12368,4508],{},"If this style is new to you, our guide to the ",[128,12369,12371],{"href":12370},"\u002Fblog\u002Fcomposition-api","Vue 3 Composition API",[14,12373,12374],{},"Svelte goes furthest. Its compiler reads your component and writes JavaScript that updates exactly the DOM nodes that depend on each value. There's no virtual DOM. Since Svelte 5, reactive state is explicit through runes:",[192,12376,12380],{"className":12377,"code":12378,"language":12379,"meta":197,"style":197},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript>\n  let count = $state(0)\n  let double = $derived(count * 2)\n\u003C\u002Fscript>\n\n\u003Cbutton onclick={() => count++}>{count} × 2 = {double}\u003C\u002Fbutton>\n","html",[137,12381,12382,12390,12408,12427,12435,12439],{"__ignoreMap":197},[201,12383,12384,12386,12388],{"class":203,"line":204},[201,12385,1342],{"class":260},[201,12387,2936],{"class":267},[201,12389,1718],{"class":260},[201,12391,12392,12395,12397,12399,12402,12404,12406],{"class":203,"line":224},[201,12393,12394],{"class":659},"  let",[201,12396,12266],{"class":256},[201,12398,1353],{"class":260},[201,12400,12401],{"class":252}," $state",[201,12403,257],{"class":256},[201,12405,5803],{"class":1268},[201,12407,510],{"class":256},[201,12409,12410,12412,12414,12416,12419,12421,12423,12425],{"class":203,"line":264},[201,12411,12394],{"class":659},[201,12413,12283],{"class":256},[201,12415,1353],{"class":260},[201,12417,12418],{"class":252}," $derived",[201,12420,12180],{"class":256},[201,12422,12303],{"class":260},[201,12424,12306],{"class":1268},[201,12426,510],{"class":256},[201,12428,12429,12431,12433],{"class":203,"line":290},[201,12430,1760],{"class":260},[201,12432,2936],{"class":267},[201,12434,1718],{"class":260},[201,12436,12437],{"class":203,"line":301},[201,12438,654],{"emptyLinePlaceholder":653},[201,12440,12441,12443,12445,12448,12450,12452,12454,12456,12459,12461,12463],{"class":203,"line":319},[201,12442,1342],{"class":260},[201,12444,7383],{"class":267},[201,12446,12447],{"class":659}," onclick",[201,12449,1353],{"class":260},[201,12451,1620],{"class":260},[201,12453,6634],{"class":211},[201,12455,1999],{"class":260},[201,12457,12458],{"class":256}," count++}>{count} × 2 = {double}",[201,12460,1760],{"class":260},[201,12462,7383],{"class":267},[201,12464,1718],{"class":260},[14,12466,12467,12468,12470,12471,12474,12475,12477,12478,12481],{},"Side effects split the same way. React's ",[137,12469,8095],{}," runs after render and depends on an array you keep in sync by hand, which is a classic source of bugs. Vue's ",[137,12472,12473],{},"watchEffect"," and Svelte's ",[137,12476,11999],{}," track what they read automatically, so there's no list to maintain. Shared state differs too: Vue has Pinia as the official store, Svelte lets you use runes in plain ",[137,12479,12480],{},".svelte.js"," modules, and React teams choose between Context, Redux, Zustand and others.",[14,12483,12484],{},"The practical result: Vue and Svelte update fine-grained pieces by design, while React re-renders and relies on memoization, now mostly automatic, to keep that cheap.",[18,12486,12488],{"id":12487},"svelte-vs-react-vs-vue-performance-and-bundle-size","Svelte vs React vs Vue Performance and Bundle Size",[14,12490,12491],{},"The usual reference for svelte vs react vs vue performance is the open-source js-framework-benchmark, which builds and updates large tables in Chrome. The run for Chrome 154, published on 4 October 2026, tested React 19.2 (hooks), Vue 3.5.39, Svelte 5.42 and a Vue Vapor build from 3.6.0-rc.5. Median results, keyed implementations:",[26,12493,12494,12512],{},[29,12495,12496],{},[32,12497,12498,12501,12503,12506,12509],{},[35,12499,12500],{},"Benchmark",[35,12502,6263],{},[35,12504,12505],{},"Vue 3.5",[35,12507,12508],{},"Svelte 5",[35,12510,12511],{},"Vue Vapor (3.6 RC)",[51,12513,12514,12531,12548,12562],{},[32,12515,12516,12519,12522,12525,12528],{},[56,12517,12518],{},"Create 1,000 rows",[56,12520,12521],{},"23.6 ms",[56,12523,12524],{},"24.5 ms",[56,12526,12527],{},"22.1 ms",[56,12529,12530],{},"21.8 ms",[32,12532,12533,12536,12539,12542,12545],{},[56,12534,12535],{},"Memory after creating 1,000 rows",[56,12537,12538],{},"4.4 MB",[56,12540,12541],{},"3.9 MB",[56,12543,12544],{},"2.9 MB",[56,12546,12547],{},"3.1 MB",[32,12549,12550,12553,12555,12557,12559],{},[56,12551,12552],{},"Compressed size (brotli)",[56,12554,12007],{},[56,12556,12010],{},[56,12558,12013],{},[56,12560,12561],{},"18.7 KB",[32,12563,12564,12567,12570,12573,12576],{},[56,12565,12566],{},"First paint",[56,12568,12569],{},"227 ms",[56,12571,12572],{},"102 ms",[56,12574,12575],{},"71 ms",[56,12577,12578],{},"87 ms",[14,12580,12581],{},"On raw rendering speed the three are close. Creating a thousand rows takes 22 to 25 ms in all of them, and no user can tell those apart. The real differences are in the other rows. React ships about five times more compressed JavaScript than Svelte in this test and twice as much as Vue, and its first paint is more than twice as slow as Vue's. Svelte uses the least memory and paints first.",[14,12583,12584],{},"Bundle size needs one caveat. Vue's and React's runtimes are a fixed cost, while Svelte's compiled output grows with every component, so on a large app Svelte's lead shrinks. For a widget embedded on someone else's page, Svelte's advantage is real. For a 200-screen dashboard, it matters much less than code splitting and data loading.",[14,12586,12587,12588,12591],{},"The last column shows where Vue is going. ",[128,12589,12590],{"href":11774},"Vue Vapor Mode"," compiles components to direct DOM updates the way Svelte does, and in this run it was already the fastest at creating rows. It's still opt-in and not stable: Vue 3.6.0-rc.12 shipped on 16 October 2026.",[14,12593,12594],{},"React's direction is different. Instead of removing the virtual DOM, React moves work to the server with Server Components and lets the compiler cut wasted re-renders. That helps first load in Next.js apps, which a client-side table benchmark doesn't measure.",[18,12596,12598],{"id":12597},"developer-experience-and-learning-curve","Developer Experience and Learning Curve",[14,12600,12601,12602,12605,12606,12609,12610,12613],{},"Svelte is the quickest to start with. A component is mostly HTML, CSS and JavaScript, styles are scoped by default, two-way binding is one ",[137,12603,12604],{},"bind:value",", and there are four runes to learn. The catch is timing: Svelte 5 replaced ",[137,12607,12608],{},"export let"," props and ",[137,12611,12612],{},"$:"," statements with runes, so many tutorials and answers online still show Svelte 4 syntax.",[14,12615,12616,12617,12619,12620,4576,12622,955,12624,12627],{},"Vue sits in the middle. You learn refs and ",[137,12618,11597],{},", directives like ",[137,12621,11548],{},[137,12623,11454],{},[137,12625,12626],{},"v-model",", and choose between the Options API and the Composition API. In exchange, Vue has some of the clearest official documentation in front-end, official packages for routing (Vue Router) and state (Pinia), and Vue DevTools. New developers on a Vue project rarely have to ask \"which library do we use for this?\", because the answer is usually the official one.",[14,12629,12630],{},"React has the steepest first week. JSX is easy, but the rules of hooks, effects and dependency arrays, and when components re-render take time to get right. React also leaves big decisions to you: router, state library, data fetching and styling all have several popular options. Experienced teams like that freedom. New teams often spend their first sprint arguing about it. React Compiler removes one old pain point, manual memoization, and the volume of React tutorials, courses and answered questions is unmatched.",[14,12632,12633],{},"All three have first-class TypeScript support. Vue and Svelte check types inside templates through their language tools, and React gets it directly, because TSX files are plain TypeScript.",[18,12635,12637],{"id":12636},"ecosystem-meta-frameworks-and-hiring","Ecosystem, Meta-Frameworks and Hiring",[14,12639,12640,12641,12644,12645,12647,12648,12651],{},"React's ecosystem is the largest by a wide margin. Over the 30 days to 18 October 2026, ",[137,12642,12643],{},"react"," averaged about 175 million npm downloads a week, ",[137,12646,1335],{}," about 15.9 million and ",[137,12649,12650],{},"svelte"," about 6.1 million. The Stack Overflow Developer Survey 2025 found 44.7% of respondents using React, 17.6% Vue and 7.2% Svelte. State of JS 2025 put usage at 85%, 52% and 27%. Svelte leads on affection: it was the most admired framework in the Stack Overflow survey, at 62.4%, against 52.1% for React and 50.9% for Vue.",[14,12653,12654,12655,12658,12659,534],{},"Each framework has a full-stack companion. Next.js 16 is the default for React and builds on React Server Components. Nuxt 4 does the same job for Vue, with per-route rendering rules, auto-imports and a large module ecosystem for content, images and SEO. SvelteKit 3, released on 1 October 2026, gives Svelte file-based routing, server ",[137,12656,12657],{},"load"," functions and adapters for most hosts. For a detailed look at the two biggest, read our ",[128,12660,10193],{"href":2557},[14,12662,12663],{},"Hiring follows usage. On 19 October 2026, plain keyword searches on Indeed returned 16,821 jobs for \"React\", 2,188 for \"Vue.js\" and 963 for \"Svelte\". These are keyword matches, not clean role counts, but the order is clear. React has about eight times as many listings as Vue, and Vue more than twice as many as Svelte.",[14,12665,12666],{},"Component libraries follow the same order. React has the most choice, from MUI and Ant Design to headless kits such as Radix and shadcn\u002Fui. Vue has mature, complete kits such as Vuetify, PrimeVue and Quasar. Svelte's options, like shadcn-svelte and Skeleton, are good but younger.",[18,12668,12670],{"id":12669},"react-vue-and-svelte-for-ai-assisted-development","React, Vue and Svelte for AI-Assisted Development",[14,12672,12673],{},"If your team writes code with an AI assistant, the framework changes how often you'll correct it.",[14,12675,12676,12677,12680],{},"React has the most public code for models to learn from, so assistants are fluent in it. The risk is the opposite one. With so many ways to do routing, state and data fetching, an assistant may mix patterns from different libraries or older React versions. Next.js now ships ",[137,12678,12679],{},"next-devtools-mcp",", which connects an agent to the running dev server.",[14,12682,12683,12684,12686,12687,12690],{},"Vue's single-file components give an assistant a fixed shape to fill: script, template, styles. Generated code tends to be consistent, especially with ",[137,12685,6406],{}," and the Composition API. Vue and Nuxt publish ",[137,12688,12689],{},"llms.txt"," documentation for models, and Nuxt has an official MCP server for its docs.",[14,12692,12693,12694,12697,12698,534],{},"Svelte had the hardest start, because Svelte 5 runes are newer than much of the training data, so models often wrote Svelte 4 syntax. The Svelte team responded with an official MCP server that pulls current documentation and includes ",[137,12695,12696],{},"svelte-autofixer",", a static-analysis tool that corrects common AI mistakes, plus agent skills you can add with ",[137,12699,12700],{},"npx sv add ai-tools",[14,12702,12703,12704,12708],{},"How well an assistant performs depends more on project setup than on the framework: types, lint rules, documented conventions and an agent instructions file. That's the work our ",[128,12705,12707],{"href":12706},"\u002Fservices\u002Fai-ready-frontend-setup","AI-ready frontend setup for Vue and Nuxt"," does.",[18,12710,12712],{"id":12711},"where-each-framework-falls-short","Where Each Framework Falls Short",[14,12714,12715],{},"React ships the most JavaScript of the three and leaves the most decisions to you. The move to Server Components added a new mental model, and mixing server and client components is a common source of bugs. Without the compiler, performance still depends on careful memoization. And the React docs now recommend starting new apps with a framework such as Next.js, which adds a server layer many single-page teams never needed before.",[14,12717,12718],{},"Vue's hiring pool is smaller than React's, especially in the US, and the ecosystem has fewer third-party options for niche needs. Vapor Mode, Vue's answer to Svelte's performance, is not stable yet. Teams also have to settle on one API style, Options or Composition, and some older codebases mix both. Vue 2 reached end of life on 31 December 2023, yet plenty of products still run on it and need a migration.",[14,12720,12721],{},"Svelte has the smallest ecosystem, with fewer mature component libraries, fewer integrations and fewer developers who have shipped large Svelte apps. The switch to runes split the learning material into Svelte 4 and Svelte 5. Its small-bundle advantage also shrinks as an app grows.",[18,12723,12725],{"id":12724},"svelte-vs-vue-vs-react-which-to-choose-for-your-project","Svelte vs Vue vs React: Which to Choose for Your Project",[14,12727,12728],{},"For a small marketing site, choosing Svelte vs Vue vs React matters less than picking the right rendering strategy. For everything else, start from the project type:",[26,12730,12731,12744],{},[29,12732,12733],{},[32,12734,12735,12738,12740,12742],{},[35,12736,12737],{},"Project type",[35,12739,2429],{},[35,12741,2491],{},[35,12743,2441],{},[51,12745,12746,12759,12773,12785,12797,12810,12822,12834],{},[32,12747,12748,12751,12754,12757],{},[56,12749,12750],{},"Large SaaS or enterprise dashboard",[56,12752,12753],{},"✓ biggest hiring pool",[56,12755,12756],{},"✓ structure and mature UI kits",[56,12758],{},[32,12760,12761,12764,12767,12770],{},[56,12762,12763],{},"Content, marketing or e-commerce site",[56,12765,12766],{},"✓ with Next.js",[56,12768,12769],{},"✓ with Nuxt",[56,12771,12772],{},"✓ with SvelteKit",[32,12774,12775,12778,12780,12782],{},[56,12776,12777],{},"Embeddable widget or small interactive page",[56,12779],{},[56,12781],{},[56,12783,12784],{},"✓ smallest output",[32,12786,12787,12790,12793,12795],{},[56,12788,12789],{},"Cross-platform with a native mobile app",[56,12791,12792],{},"✓ React Native",[56,12794],{},[56,12796],{},[32,12798,12799,12802,12804,12807],{},[56,12800,12801],{},"Team new to frontend frameworks",[56,12803],{},[56,12805,12806],{},"✓ gentle curve, strong docs",[56,12808,12809],{},"✓ fewest concepts",[32,12811,12812,12815,12817,12820],{},[56,12813,12814],{},"Existing Vue 2 or Vue 3 codebase",[56,12816],{},[56,12818,12819],{},"✓",[56,12821],{},[32,12823,12824,12827,12829,12832],{},[56,12825,12826],{},"Performance-critical UI on low-end devices",[56,12828],{},[56,12830,12831],{},"✓ with Vapor Mode, once stable",[56,12833,12819],{},[32,12835,12836,12839,12841,12843],{},[56,12837,12838],{},"Hiring many developers fast, in the US",[56,12840,12819],{},[56,12842],{},[56,12844],{},[14,12846,12847],{},"Two rules of thumb sit behind the table. First, the team you have matters more than the framework you want: a strong React team will ship a better product in React than in a Svelte rewrite. Second, think five years ahead. The framework with the larger ecosystem and hiring pool is usually the cheaper one to maintain.",[14,12849,12850,12851,955,12853,12856],{},"Vue is our main stack, and we pick it for products that need structure, maintainable code and a reasonable hiring pool. We'd still point you to React when you need React Native or a US team of twenty, and to Svelte for a fast widget on someone else's page. If you're deciding between two of them, our head-to-head guides on ",[128,12852,2587],{"href":2586},[128,12854,12855],{"href":2553},"React vs Vue"," go deeper.",[18,12858,914],{"id":913},[14,12860,12861,12862,12864],{},"React vs Vue vs Svelte has a different winner for each kind of project. React wins on ecosystem, hiring and mobile reach. Svelte wins on output size and simplicity. Vue sits between them, with official tooling, approachable templates, and Vapor Mode closing the performance gap. If you're choosing a stack or scaling an existing Vue app, our ",[128,12863,909],{"href":908}," team can help you decide with your real constraints on the table.",[18,12866,931],{"id":930},[169,12868,12870],{"id":12869},"which-is-better-react-vue-or-svelte","Which is better: React, Vue or Svelte?",[14,12872,12873],{},"None of them wins everywhere. React is the safest choice for hiring and has the largest ecosystem, Vue is the most balanced for teams that want structure without heavy setup, and Svelte ships the least JavaScript. Pick by project type and team, not by benchmark charts.",[169,12875,12877],{"id":12876},"which-is-fastest-react-vue-or-svelte","Which is fastest: React, Vue or Svelte?",[14,12879,12880],{},"Svelte, by a small margin. In the js-framework-benchmark run for Chrome 154, Svelte 5 created 1,000 rows in 22.1 ms, Vue 3.5 in 24.5 ms and React 19 in 23.6 ms, while Svelte also used the least memory and shipped the smallest bundle. Vue's upcoming Vapor Mode was already level with Svelte on speed in the same run.",[169,12882,12884],{"id":12883},"which-is-easiest-to-learn-react-vue-or-svelte","Which is easiest to learn: React, Vue or Svelte?",[14,12886,12887],{},"Svelte has the fewest concepts for a first component, and Vue is close behind thanks to its HTML-based templates and very good documentation. React asks you to learn JSX and the rules of hooks first, but it has the most tutorials and answered questions of the three.",[169,12889,12891],{"id":12890},"what-are-the-top-3-frontend-frameworks","What are the top 3 frontend frameworks?",[14,12893,12894],{},"By usage, React, Angular and Vue. In the Stack Overflow Developer Survey 2025, 44.7% of respondents used React, 18.2% Angular and 17.6% Vue.js, while Svelte was at 7.2%. Svelte has the highest share of developers who want to keep using it.",[169,12896,12898],{"id":12897},"is-svelte-ready-for-large-production-apps","Is Svelte ready for large production apps?",[14,12900,12901],{},"Yes, technically. Svelte 5 and SvelteKit 3 are stable, typed and fast. The limits for big products are elsewhere: fewer mature component libraries, a smaller hiring pool, and a recent move from Svelte 4 to runes that left many older tutorials and packages out of date.",[6170,12903],{"label":11830,"to":6173},[984,12905,12906],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":197,"searchDepth":264,"depth":264,"links":12908},[12909,12910,12911,12912,12913,12914,12915,12916,12917,12918],{"id":11891,"depth":224,"text":11892},{"id":12075,"depth":224,"text":12076},{"id":12487,"depth":224,"text":12488},{"id":12597,"depth":224,"text":12598},{"id":12636,"depth":224,"text":12637},{"id":12669,"depth":224,"text":12670},{"id":12711,"depth":224,"text":12712},{"id":12724,"depth":224,"text":12725},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":12919},[12920,12921,12922,12923,12924],{"id":12869,"depth":264,"text":12870},{"id":12876,"depth":264,"text":12877},{"id":12883,"depth":264,"text":12884},{"id":12890,"depth":264,"text":12891},{"id":12897,"depth":264,"text":12898},"2026-10-25","Svelte vs React vs Vue compared on performance, bundle size, learning curve, ecosystem, hiring and AI tooling, with a clear pick for each type of project.",[12928,12929,12930,12931,12932],{"question":12870,"answer":12873},{"question":12877,"answer":12880},{"question":12884,"answer":12887},{"question":12891,"answer":12894},{"question":12898,"answer":12901},"\u002Fimages\u002Fblog\u002Freact-vs-vue-vs-svelte\u002Fcard.png",{},"\u002Fblog\u002Freact-vs-vue-vs-svelte",{"title":11883,"description":12926},"blog\u002Freact-vs-vue-vs-svelte",[2822,2429,2441],"s1BYzDpvl8s-utLPKA6XUs03-Iu7qSv2SOb1bTidB7c",{"id":12941,"title":12942,"articleType":1008,"author":12943,"authorSlug":1008,"body":12944,"cta":1008,"date":13039,"description":13040,"extension":1011,"faq":1008,"featured":1021,"image":13041,"meta":13042,"navigation":653,"noCtaBox":1021,"path":13043,"readTime":1008,"seo":13044,"seoTitle":1008,"stem":13045,"tags":13046,"topic":13049,"video":1008,"__hash__":13050},"blog\u002Fblog\u002Fepicmax-premier-primeui-partner.md","Epicmax Becomes a Premier PrimeUI Partner","Epicmax Team",{"type":11,"value":12945,"toc":13034},[12946,12958,12961,12965,12973,12976,12979,12983,12986,12994,13014,13023,13027,13030],[14,12947,12948,12951,12952,12957],{},[2363,12949,12950],{},"Epicmax is now a Premier Partner of PrimeUI."," You can find us on the ",[128,12953,12956],{"href":12954,"rel":12955},"https:\u002F\u002Fprimeui.dev\u002Fpartners",[4980],"PrimeUI partners page"," in the Premier tier, which PrimeUI describes as \"our closest partners, working with us on enterprise and public-sector engagements.\"",[14,12959,12960],{},"Only three companies are in that tier today: SHI International Corp in the US, SparkDynamic GmbH in Europe, and us.",[18,12962,12964],{"id":12963},"from-primevue-to-primeui","From PrimeVue to PrimeUI",[14,12966,12967,12968,12972],{},"Our work with the Prime team started in 2023, when we ",[128,12969,12971],{"href":12970},"\u002Fblog\u002Fprimevue","announced our partnership with PrimeVue",", Prime's component library for Vue.js.",[14,12974,12975],{},"Since then, the libraries have come together under one name. PrimeUI calls itself \"the complete UI suite for the modern web\": PrimeVue for Vue, PrimeReact for React and PrimeNG for Angular, a Pro suite for each of the three, and add-ons like PrimeIcons, PrimeBlocks, the Figma UI Kit, templates and the Theme Designer.",[14,12977,12978],{},"The libraries keep their names. PrimeUI is the family they belong to, which is why we now talk about a PrimeUI partnership rather than a PrimeVue one.",[18,12980,12982],{"id":12981},"what-we-do-with-primeui","What we do with PrimeUI",[14,12984,12985],{},"Vue and Nuxt are still where we go deepest, so PrimeVue is the library we know best. But our frontend team also works with PrimeReact and PrimeNG. If your company runs Vue in one product and Angular in another, that can be one team instead of two.",[14,12987,12988,12989,12993],{},"Through our ",[128,12990,12992],{"href":12991},"\u002Fservices\u002Fprimeui-development","PrimeUI development services",", we help with:",[2357,12995,12996,12999,13002,13005,13008,13011],{},[188,12997,12998],{},"Building new applications on PrimeVue, PrimeReact or PrimeNG",[188,13000,13001],{},"Integrating PrimeUI components with forms, data flows, routing, state and backend APIs",[188,13003,13004],{},"Custom themes and design systems that survive library upgrades",[188,13006,13007],{},"Version upgrades and framework migrations, planned around ongoing product work",[188,13009,13010],{},"Architecture, performance and code audits of existing PrimeUI applications",[188,13012,13013],{},"Dedicated frontend engineers or a full team for a defined part of the product",[14,13015,13016,13017,13022],{},"We also build our own component library. ",[128,13018,13021],{"href":13019,"rel":13020},"https:\u002F\u002Fui.vuestic.dev\u002F",[4980],"Vuestic UI"," has more than 17,000 GitHub stars, and maintaining it taught us where theming, accessibility and documentation get hard. Teams adopting PrimeUI on a large product hit the same problems.",[18,13024,13026],{"id":13025},"working-with-us","Working with us",[14,13028,13029],{},"If your product runs on PrimeVue, PrimeReact or PrimeNG and you need help building, upgrading or auditing it, tell us which library you use and what you are working on. We will reply with a concrete next step, not a sales deck.",[6170,13031],{"label":13032,"to":13033},"Discuss your PrimeUI project","\u002Fservices\u002Fprimeui-development#contact-us",{"title":197,"searchDepth":264,"depth":264,"links":13035},[13036,13037,13038],{"id":12963,"depth":224,"text":12964},{"id":12981,"depth":224,"text":12982},{"id":13025,"depth":224,"text":13026},"2026-10-20","Epicmax is now a Premier PrimeUI Partner, one of three companies in PrimeUI's closest partner tier, supporting teams on PrimeVue, PrimeReact and PrimeNG.","\u002Fimages\u002Fblog\u002Fepicmax-premier-primeui-partner\u002Fcard.png",{},"\u002Fblog\u002Fepicmax-premier-primeui-partner",{"title":12942,"description":13040},"blog\u002Fepicmax-premier-primeui-partner",[13047,13048],"PrimeUI","Partnerships","company","ZK2oc0FhFB2GKFanMFDIrLzWmOIzkXO7AdjvHe9uOGc",{"id":13052,"title":13053,"articleType":7,"author":8,"authorSlug":9,"body":13054,"cta":1008,"date":13039,"description":13739,"extension":1011,"faq":13740,"featured":1021,"image":13747,"meta":13748,"navigation":653,"noCtaBox":1021,"path":2653,"readTime":10263,"seo":13749,"seoTitle":13750,"stem":13751,"tags":13752,"topic":2823,"video":1008,"__hash__":13753},"blog\u002Fblog\u002Freact-vs-angular-vs-vue.md","React vs Angular vs Vue: Which Framework Should You Choose in 2026?",{"type":11,"value":13055,"toc":13716},[13056,13059,13063,13206,13209,13212,13216,13219,13223,13231,13235,13238,13242,13247,13251,13254,13360,13363,13366,13372,13376,13386,13389,13392,13395,13399,13402,13480,13483,13486,13489,13493,13496,13502,13511,13520,13526,13530,13533,13638,13641,13649,13653,13656,13659,13662,13664,13670,13672,13676,13679,13683,13686,13690,13693,13697,13700,13704,13707,13711,13714],[14,13057,13058],{},"React vs Angular vs Vue is still the main front-end decision in 2026, and all three have changed a lot in two years. React moved to an independent foundation, Angular went zoneless and slowed its release cycle, and Vue is preparing Vapor Mode. We build with Vue, so we'll be upfront about where React or Angular is the better choice, with dated numbers for every claim.",[18,13060,13062],{"id":13061},"react-vs-vue-vs-angular-comparison-at-a-glance","React vs Vue vs Angular Comparison at a Glance",[26,13064,13065,13077],{},[29,13066,13067],{},[32,13068,13069,13071,13073,13075],{},[35,13070,11901],{},[35,13072,2429],{},[35,13074,2390],{},[35,13076,2491],{},[51,13078,13079,13090,13103,13116,13129,13143,13157,13168,13179,13193],{},[32,13080,13081,13083,13085,13088],{},[56,13082,11928],{},[56,13084,6257],{},[56,13086,13087],{},"Full platform",[56,13089,11933],{},[32,13091,13092,13094,13097,13100],{},[56,13093,11914],{},[56,13095,13096],{},"19.3",[56,13098,13099],{},"22.2",[56,13101,13102],{},"3.5 (3.6 in release candidate)",[32,13104,13105,13108,13111,13113],{},[56,13106,13107],{},"Language",[56,13109,13110],{},"JavaScript or TypeScript, JSX",[56,13112,4753],{},[56,13114,13115],{},"JavaScript or TypeScript, HTML-based templates",[32,13117,13118,13120,13123,13126],{},[56,13119,11974],{},[56,13121,13122],{},"State and hooks; React Compiler memoises",[56,13124,13125],{},"Signals, zoneless by default",[56,13127,13128],{},"Refs and reactive objects; Vapor Mode opt-in",[32,13130,13131,13134,13137,13140],{},[56,13132,13133],{},"Routing and state",[56,13135,13136],{},"Third-party or framework-provided",[56,13138,13139],{},"Built in",[56,13141,13142],{},"Official Vue Router and Pinia",[32,13144,13145,13148,13151,13154],{},[56,13146,13147],{},"Learning curve",[56,13149,13150],{},"Moderate",[56,13152,13153],{},"Steep",[56,13155,13156],{},"Gentle",[32,13158,13159,13161,13163,13166],{},[56,13160,12046],{},[56,13162,2365],{},[56,13164,13165],{},"Angular SSR",[56,13167,1030],{},[32,13169,13170,13172,13174,13177],{},[56,13171,12032],{},[56,13173,12035],{},[56,13175,13176],{},"18.2%",[56,13178,12038],{},[32,13180,13181,13184,13187,13190],{},[56,13182,13183],{},"Indeed jobs, keyword search (19 Oct 2026)",[56,13185,13186],{},"16,821",[56,13188,13189],{},"10,234",[56,13191,13192],{},"2,188",[32,13194,13195,13198,13201,13204],{},[56,13196,13197],{},"Governance",[56,13199,13200],{},"React Foundation (Linux Foundation)",[56,13202,13203],{},"Google",[56,13205,12063],{},[14,13207,13208],{},"The react vs vue vs angular comparison comes down to how much each one decides for you. React gives you a rendering library and leaves routing, data fetching and state to the ecosystem or to a framework like Next.js. Angular decides almost everything: project structure, dependency injection, forms, HTTP and testing come in the box. Vue sits in between, with official libraries for the common needs and nothing forced on you.",[14,13210,13211],{},"The other axis is reach. React leads every popularity measure by a wide margin. Angular and Vue are close to each other on usage, while Angular has far more job listings and Vue has happier developers. If you're comparing React vs Vue vs Angular for a new product, those two axes, structure and reach, answer most of the question before performance even comes up.",[18,13213,13215],{"id":13214},"vue-vs-react-vs-angular-how-they-differ-under-the-hood","Vue vs React vs Angular: How They Differ Under the Hood",[14,13217,13218],{},"In the vue vs react vs angular matchup, the biggest differences aren't in syntax. They're in how each tool finds out that something changed and updates the page.",[169,13220,13222],{"id":13221},"react-a-ui-library","React: A UI Library",[14,13224,13225,13226,955,13228,13230],{},"React describes the UI as a function of state. When state changes, the component function runs again and React compares the new virtual DOM with the old one. Because a whole component re-runs, performance used to depend on manual memoisation with ",[137,13227,12085],{},[137,13229,12088],{},". The React Compiler, stable since October 2025, now adds that memoisation automatically at build time. React 19 also brought Server Components, which frameworks such as Next.js use to render parts of the page on the server only.",[169,13232,13234],{"id":13233},"angular-a-full-platform","Angular: A Full Platform",[14,13236,13237],{},"Angular is a complete platform written in TypeScript. Components, services and dependency injection are part of the core, along with the router, forms and an HTTP client. For years Angular detected changes with Zone.js, which patched browser APIs and re-checked the component tree. Signals replaced that model: zoneless change detection became stable in Angular 20.2 and is the default for new apps since Angular 21. Components are standalone by default since version 19, so NgModules are now optional.",[169,13239,13241],{"id":13240},"vue-a-progressive-framework","Vue: A Progressive Framework",[14,13243,13244,13245,534],{},"Vue tracks dependencies automatically. Reactive objects are Proxies and refs use getters and setters, so Vue knows exactly which component depends on which value and re-renders only that one. Templates compile to a virtual DOM with hints about what can change, so static content is skipped. \"Progressive\" means you can drop Vue into one page of an existing site or build a full app with Nuxt. If you're new to it, start with ",[128,13246,9300],{"href":9299},[18,13248,13250],{"id":13249},"angular-vs-vue-vs-react-performance","Angular vs Vue vs React Performance",[14,13252,13253],{},"For an angular vs vue vs react performance check, the most-cited public source is js-framework-benchmark, which builds and updates large tables in Chrome. Its Chrome 154 run, published on 4 October 2026, tested React 19.2, Angular 22.2 (the signals and zoneless variant) and Vue 3.5, plus a build of Vue's upcoming Vapor Mode. Median results:",[26,13255,13256,13272],{},[29,13257,13258],{},[32,13259,13260,13262,13265,13268,13270],{},[35,13261,12500],{},[35,13263,13264],{},"React 19.2",[35,13266,13267],{},"Angular 22.2",[35,13269,12505],{},[35,13271,12511],{},[51,13273,13274,13287,13304,13321,13334,13347],{},[32,13275,13276,13278,13280,13283,13285],{},[56,13277,12518],{},[56,13279,12521],{},[56,13281,13282],{},"33.7 ms",[56,13284,12524],{},[56,13286,12530],{},[32,13288,13289,13292,13295,13298,13301],{},[56,13290,13291],{},"Swap two rows",[56,13293,13294],{},"89.7 ms",[56,13296,13297],{},"14.5 ms",[56,13299,13300],{},"13.1 ms",[56,13302,13303],{},"12.3 ms",[32,13305,13306,13309,13312,13315,13318],{},[56,13307,13308],{},"Clear 1,000 rows",[56,13310,13311],{},"17.6 ms",[56,13313,13314],{},"19.8 ms",[56,13316,13317],{},"12.6 ms",[56,13319,13320],{},"9.2 ms",[32,13322,13323,13325,13327,13330,13332],{},[56,13324,12535],{},[56,13326,12538],{},[56,13328,13329],{},"3.7 MB",[56,13331,12541],{},[56,13333,12547],{},[32,13335,13336,13338,13340,13343,13345],{},[56,13337,12552],{},[56,13339,12007],{},[56,13341,13342],{},"34.5 KB",[56,13344,12010],{},[56,13346,12561],{},[32,13348,13349,13351,13353,13356,13358],{},[56,13350,12566],{},[56,13352,12569],{},[56,13354,13355],{},"143 ms",[56,13357,12572],{},[56,13359,12578],{},[14,13361,13362],{},"Vue is the lightest of the three stable releases and fastest on most updates. React is quick to create rows but slow on operations that move existing ones, and it ships the most JavaScript. Angular starts slower but updates efficiently, and its signals-based build uses the least memory of the three stable versions.",[14,13364,13365],{},"These are micro-benchmarks. In a real product, the choice of React vs Angular vs Vue matters less for speed than rendering strategy, data fetching and bundle discipline.",[14,13367,13368,13369,13371],{},"Vue's next step is ",[128,13370,12590],{"href":11774},", an opt-in compilation mode that skips the virtual DOM. In this run it was faster than all three stable frameworks on every row above. Vue 3.6 is still a release candidate (rc.12 shipped on 16 October 2026), so treat it as a targeted upgrade rather than a reason to choose Vue on its own.",[18,13373,13375],{"id":13374},"learning-curve-and-developer-experience","Learning Curve and Developer Experience",[14,13377,13378,13379,4576,13381,955,13383,13385],{},"Vue has the gentlest start. Its docs ask for HTML, CSS and JavaScript, and nothing else. Templates are HTML with directives like ",[137,13380,11548],{},[137,13382,11454],{},[137,13384,12626],{},", single-file components keep template, logic and styles together, and TypeScript is optional. The Options API is friendly for beginners, and the Composition API scales to bigger codebases. For anyone who already writes JavaScript, that's a short list.",[14,13387,13388],{},"React's API is small, but the model takes longer to master than it looks. JSX mixes markup and JavaScript, which some developers love and others find noisy. Hooks have rules about call order, and effects with dependency arrays are a common source of bugs. The React Compiler removes much of the manual memoisation, yet a team still has to choose a router, a data-fetching library and a state solution, or adopt Next.js and learn its conventions too.",[14,13390,13391],{},"Angular asks for the most up front. The docs assume TypeScript, and a new developer meets decorators, dependency injection, services and Angular's CLI on day one. RxJS is no longer required for most work now that signals cover component state, but it's still common in existing codebases. The payoff is consistency: every Angular project looks roughly the same, so a developer can move between teams in a large company and find their way around quickly.",[14,13393,13394],{},"Developer tooling is strong for all three. Vue and Angular have official CLIs and DevTools; React's tooling comes mostly through frameworks and Vite.",[18,13396,13398],{"id":13397},"react-vs-vue-vs-angular-popularity-surveys-jobs-and-salaries","React vs Vue vs Angular Popularity: Surveys, Jobs and Salaries",[14,13400,13401],{},"When you compare React vs Vue vs Angular on popularity, surveys, downloads and job boards agree on the leader and disagree on second place.",[26,13403,13404,13417],{},[29,13405,13406],{},[32,13407,13408,13411,13413,13415],{},[35,13409,13410],{},"Measure",[35,13412,2429],{},[35,13414,2390],{},[35,13416,2491],{},[51,13418,13419,13430,13443,13457,13469],{},[32,13420,13421,13424,13426,13428],{},[56,13422,13423],{},"Stack Overflow 2025, used",[56,13425,12035],{},[56,13427,13176],{},[56,13429,12038],{},[32,13431,13432,13435,13438,13440],{},[56,13433,13434],{},"Stack Overflow 2025, admired",[56,13436,13437],{},"52.1%",[56,13439,12035],{},[56,13441,13442],{},"50.9%",[32,13444,13445,13448,13451,13454],{},[56,13446,13447],{},"State of JS 2025, used",[56,13449,13450],{},"85%",[56,13452,13453],{},"48%",[56,13455,13456],{},"52%",[32,13458,13459,13462,13464,13467],{},[56,13460,13461],{},"npm downloads per week (30-day average)",[56,13463,12021],{},[56,13465,13466],{},"~5.8 million",[56,13468,12024],{},[32,13470,13471,13474,13476,13478],{},[56,13472,13473],{},"Indeed job listings, keyword search, 19 Oct 2026",[56,13475,13186],{},[56,13477,13189],{},[56,13479,13192],{},[14,13481,13482],{},"React leads every row. Second place depends on who you ask. Angular edges Vue among Stack Overflow's broad developer audience, Vue is ahead in State of JS, which polls more front-end specialists, and Vue's npm downloads are almost three times Angular's. Job listings tell the clearest story: Angular has about five times as many US listings on Indeed as Vue, a sign of how deep it runs in large companies. The exact counts depend on how you search. A plain keyword search also catches related terms, while an exact-phrase search such as \"Angular\" in quotes returns about half as many results (5,325 for Angular and 962 for Vue.js on the same day). The ratio holds either way, so read these as ratios rather than exact role counts.",[14,13484,13485],{},"Developers who use Vue like it: in State of JS 2025, 84% of Vue users were positive about it, against 72% for React and 48% for Angular.",[14,13487,13488],{},"On salaries, there's no reliable framework-level comparison. The Stack Overflow survey reports pay by developer type, not by framework, and salary sites mix seniority, country and role. In practice, pay follows seniority and location far more than whether the job says React, Angular or Vue.",[18,13490,13492],{"id":13491},"ecosystem-and-meta-frameworks","Ecosystem and Meta-Frameworks",[14,13494,13495],{},"Each framework now has a full-stack layer for server rendering, routing and data loading.",[14,13497,13498,13501],{},[2363,13499,13500],{},"Next.js (React)."," The most widely used meta-framework, now at version 16. It's built around React Server Components, with file-based routing, streaming and caching. It runs best on Vercel, and self-hosting needs more setup.",[14,13503,13504,13507,13508,13510],{},[2363,13505,13506],{},"Nuxt (Vue)."," Version 4.6, with server rendering, static generation and per-route rules that mix both in one app. Its Nitro engine deploys the same code to Node, static hosts, Netlify, Vercel or Cloudflare. Our ",[128,13509,10193],{"href":2557}," covers the two side by side.",[14,13512,13513,13516,13517,13519],{},[2363,13514,13515],{},"Angular SSR."," Server rendering and prerendering ship as part of the Angular CLI through ",[137,13518,2639],{},", with hydration built in. It's less of a separate ecosystem and more a mode of Angular itself.",[14,13521,13522,13523,534],{},"Beyond that, React has by far the most third-party packages: component kits, form libraries, animation and charting. Vue's ecosystem is smaller but well curated, with official libraries for routing and state, Vite from Vue's creator, and mature component sets such as Vuetify, PrimeVue and Quasar. Angular relies on its own built-in pieces plus Angular Material, so teams install fewer dependencies and keep them up to date with the CLI's ",[137,13524,13525],{},"ng update",[18,13527,13529],{"id":13528},"when-to-choose-react-angular-or-vue","When to Choose React, Angular or Vue",[14,13531,13532],{},"In vue js vs react vs angular decisions, start with your team and your existing code, then look at the product:",[26,13534,13535,13548],{},[29,13536,13537],{},[32,13538,13539,13542,13544,13546],{},[35,13540,13541],{},"Situation",[35,13543,2429],{},[35,13545,2390],{},[35,13547,2491],{},[51,13549,13550,13561,13572,13583,13594,13605,13616,13627],{},[32,13551,13552,13555,13557,13559],{},[56,13553,13554],{},"You need to hire many developers fast",[56,13556,12819],{},[56,13558],{},[56,13560],{},[32,13562,13563,13566,13568,13570],{},[56,13564,13565],{},"Large enterprise team that wants one prescribed structure",[56,13567],{},[56,13569,12819],{},[56,13571],{},[32,13573,13574,13577,13579,13581],{},[56,13575,13576],{},"Small or mid-size team that wants to ship quickly",[56,13578],{},[56,13580],{},[56,13582,12819],{},[32,13584,13585,13588,13590,13592],{},[56,13586,13587],{},"Adding interactivity to an existing site or legacy app",[56,13589],{},[56,13591],{},[56,13593,12819],{},[32,13595,13596,13599,13601,13603],{},[56,13597,13598],{},"Product depends on React-only libraries or React Native",[56,13600,12819],{},[56,13602],{},[56,13604],{},[32,13606,13607,13610,13612,13614],{},[56,13608,13609],{},"Long-lived internal tools with strict conventions",[56,13611],{},[56,13613,12819],{},[56,13615,12819],{},[32,13617,13618,13621,13623,13625],{},[56,13619,13620],{},"Dashboards and admin panels on mature component libraries",[56,13622,12819],{},[56,13624,12819],{},[56,13626,12819],{},[32,13628,13629,13632,13634,13636],{},[56,13630,13631],{},"Juniors or backend developers will write front-end code",[56,13633],{},[56,13635],{},[56,13637,12819],{},[14,13639,13640],{},"Choose React when hiring and third-party libraries matter most, or when a React Native mobile app will share code with the web. Choose Angular when a large organisation wants every team to work the same way and values a published support schedule. Choose Vue when you want a productive team quickly, an easy path for developers coming from other stacks, and the option to adopt it one screen at a time.",[14,13642,13643,13644,13648],{},"We've seen that last point play out on a large product. The ",[128,13645,13647],{"href":13646},"\u002Fcase-studies\u002Fekool","eKool education platform built with Vue",", used by 90% of Estonian schools, runs on several microservices that share one Vue UI library we built on top of Vuetify. Vue let the team align structure and styles across services without a rewrite.",[18,13650,13652],{"id":13651},"backing-release-cycles-and-long-term-support","Backing, Release Cycles and Long-Term Support",[14,13654,13655],{},"React is no longer Meta's project. Since 24 February 2026 it has belonged to the React Foundation, hosted by the Linux Foundation, whose founding members include Meta, Microsoft, Amazon and Vercel. It doesn't follow a fixed calendar: 19.0 shipped in December 2024, 19.2 in October 2025 and 19.3 in September 2026.",[14,13657,13658],{},"Angular is the most predictable of the three. Google builds it, and starting with version 22 it ships one major release every 12 months instead of every six. Each major gets 12 months of active support and then 12 months of long-term support, which is exactly the kind of schedule procurement teams ask for.",[14,13660,13661],{},"Vue is independent and funded by sponsors. It has no fixed release cycle; minor versions arrive every three to six months. Vue 2 reached end of life on 31 December 2023. Evan You also leads VoidZero, the company behind Vite, which joined Cloudflare in June 2026; VoidZero is a separate business from Vue.",[18,13663,914],{"id":913},[14,13665,13666,13667,13669],{},"React vs Angular vs Vue has no universal winner. React is the default for reach, Angular for structure at enterprise scale, and Vue for speed of development, a gentle learning curve and strong performance with less code. Pick the one that fits your team and product, not the one that tops a chart. If you're weighing Vue for a new build or a migration, our ",[128,13668,909],{"href":908}," team can help you make the call.",[18,13671,931],{"id":930},[169,13673,13675],{"id":13674},"which-is-better-vue-react-or-angular","Which is better, Vue, React or Angular?",[14,13677,13678],{},"None of them wins everywhere. React has the biggest ecosystem and hiring pool, Angular gives large teams the most structure out of the box, and Vue is the quickest to learn with strong performance and official tooling. The right pick depends on your team, your existing code and the size of the product.",[169,13680,13682],{"id":13681},"which-is-easiest-to-learn-react-angular-or-vue","Which is easiest to learn: React, Angular or Vue?",[14,13684,13685],{},"Vue, for most developers. Its templates are HTML with a few directives and its docs follow one recommended path. React is next: JSX and hooks are a small API but need care. Angular has the steepest curve, because TypeScript, dependency injection and its own project structure come as one package.",[169,13687,13689],{"id":13688},"is-angular-still-relevant-in-2026","Is Angular still relevant in 2026?",[14,13691,13692],{},"Yes. Angular 22 shipped in June 2026, signals and zoneless change detection have modernised the framework, and Google builds products such as Google Cloud on it. It was used by 18.2% of Stack Overflow's 2025 respondents, slightly ahead of Vue, and it's especially common in enterprise and regulated industries.",[169,13694,13696],{"id":13695},"is-vue-worth-learning-in-2026","Is Vue worth learning in 2026?",[14,13698,13699],{},"Yes. Vue averages about 16 million npm downloads a week, Nuxt 4 is a mature full-stack framework, and Vue 3.6 with Vapor Mode is in release candidate. React has more jobs, but Vue is quick to learn, popular with developers who use it, and common in European companies and SaaS products.",[169,13701,13703],{"id":13702},"is-react-still-the-safest-choice-in-2026","Is React still the safest choice in 2026?",[14,13705,13706],{},"For hiring and third-party libraries, yes. React has the largest pool of developers and the most packages, and since February 2026 it's governed by the React Foundation under the Linux Foundation rather than by Meta alone. It's not the fastest or simplest option, though, so safe doesn't automatically mean best for your project.",[169,13708,13710],{"id":13709},"which-framework-is-best-for-enterprise-applications","Which framework is best for enterprise applications?",[14,13712,13713],{},"Angular is the traditional enterprise pick because it comes with routing, forms, HTTP and dependency injection built in, plus a published support schedule. Vue and React run large enterprise apps too. Vue suits teams that want structure without Angular's weight; React suits companies that need the biggest hiring pool.",[6170,13715],{"label":11830,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":13717},[13718,13719,13724,13725,13726,13727,13728,13729,13730,13731],{"id":13061,"depth":224,"text":13062},{"id":13214,"depth":224,"text":13215,"children":13720},[13721,13722,13723],{"id":13221,"depth":264,"text":13222},{"id":13233,"depth":264,"text":13234},{"id":13240,"depth":264,"text":13241},{"id":13249,"depth":224,"text":13250},{"id":13374,"depth":224,"text":13375},{"id":13397,"depth":224,"text":13398},{"id":13491,"depth":224,"text":13492},{"id":13528,"depth":224,"text":13529},{"id":13651,"depth":224,"text":13652},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":13732},[13733,13734,13735,13736,13737,13738],{"id":13674,"depth":264,"text":13675},{"id":13681,"depth":264,"text":13682},{"id":13688,"depth":264,"text":13689},{"id":13695,"depth":264,"text":13696},{"id":13702,"depth":264,"text":13703},{"id":13709,"depth":264,"text":13710},"React vs Vue vs Angular compared on performance, learning curve, popularity, jobs and ecosystem, with a clear guide to when React, Angular or Vue fits best.",[13741,13742,13743,13744,13745,13746],{"question":13675,"answer":13678},{"question":13682,"answer":13685},{"question":13689,"answer":13692},{"question":13696,"answer":13699},{"question":13703,"answer":13706},{"question":13710,"answer":13713},"\u002Fimages\u002Fblog\u002Freact-vs-angular-vs-vue\u002Fcard.png",{},{"title":13053,"description":13739},"React vs Angular vs Vue: 2026 Comparison and Which to Pick","blog\u002Freact-vs-angular-vs-vue",[2822,2429,2390],"xE4KqBs5Al3gpz3_ZleRdgGREe_BJEZ8HKulOyaJ67c",{"id":13755,"title":13756,"articleType":7,"author":8,"authorSlug":9,"body":13757,"cta":1008,"date":14583,"description":14584,"extension":1011,"faq":14585,"featured":1021,"image":14591,"meta":14592,"navigation":653,"noCtaBox":1021,"path":2586,"readTime":1025,"seo":14593,"seoTitle":14594,"stem":14595,"tags":14596,"topic":2823,"video":1008,"__hash__":14597},"blog\u002Fblog\u002Fsvelte-vs-vue.md","Svelte vs Vue: Which Framework Should You Choose in 2026?",{"type":11,"value":13758,"toc":14566},[13759,13762,13766,13882,13885,13889,13892,13907,13989,13992,14130,14141,14145,14148,14236,14239,14242,14248,14250,14259,14272,14281,14283,14292,14295,14298,14301,14305,14308,14409,14422,14426,14429,14509,14516,14518,14524,14526,14530,14533,14537,14540,14544,14547,14551,14554,14558,14561,14563],[14,13760,13761],{},"Svelte vs Vue is a closer race than it used to be. Svelte 5 rebuilt its reactivity around runes, Vue 3.6 is bringing a compiler mode without a virtual DOM, and both now have full-stack frameworks in SvelteKit 3 and Nuxt 4. We build with Vue every day, so we'll say where Svelte is the better pick, with benchmark numbers and a dated hiring snapshot to back it.",[18,13763,13765],{"id":13764},"vue-vs-svelte-at-a-glance","Vue vs Svelte at a Glance",[26,13767,13768,13778],{},[29,13769,13770],{},[32,13771,13772,13774,13776],{},[35,13773,11901],{},[35,13775,2441],{},[35,13777,2491],{},[51,13779,13780,13790,13800,13825,13839,13847,13855,13863,13871],{},[32,13781,13782,13784,13787],{},[56,13783,11914],{},[56,13785,13786],{},"Svelte 5.57; SvelteKit 3.1",[56,13788,13789],{},"Vue 3.5 (3.6 in release candidate); Nuxt 4.6",[32,13791,13792,13794,13797],{},[56,13793,11941],{},[56,13795,13796],{},"Compiler turns components into direct DOM updates",[56,13798,13799],{},"Compiler-informed virtual DOM; Vapor Mode skips it (opt-in, 3.6)",[32,13801,13802,13804,13815],{},[56,13803,11974],{},[56,13805,11990,13806,4576,13808,4576,13810,4576,13812],{},[137,13807,11993],{},[137,13809,11996],{},[137,13811,11999],{},[137,13813,13814],{},"$props",[56,13816,13817,4576,13819,4576,13821,4576,13823],{},[137,13818,4743],{},[137,13820,9321],{},[137,13822,6412],{},[137,13824,8102],{},[32,13826,13827,13829,13834],{},[56,13828,11955],{},[56,13830,13831,13833],{},[137,13832,11968],{}," file: script, markup, styles",[56,13835,13836,13838],{},[137,13837,9304],{}," single-file component: script, template, styles",[32,13840,13841,13843,13845],{},[56,13842,12004],{},[56,13844,12013],{},[56,13846,12010],{},[32,13848,13849,13851,13853],{},[56,13850,12018],{},[56,13852,12027],{},[56,13854,12024],{},[32,13856,13857,13859,13861],{},[56,13858,12032],{},[56,13860,12041],{},[56,13862,12038],{},[32,13864,13865,13867,13869],{},[56,13866,12046],{},[56,13868,2377],{},[56,13870,1030],{},[32,13872,13873,13876,13879],{},[56,13874,13875],{},"UI component libraries",[56,13877,13878],{},"Younger: shadcn-svelte, Skeleton, Bits UI",[56,13880,13881],{},"Mature: Vuetify, PrimeVue, Quasar, Nuxt UI",[14,13883,13884],{},"The core trade-off in vue vs svelte hasn't changed in years, even if the details have. Svelte does more work at build time and ships less JavaScript, which makes it light and pleasant for smaller interfaces. Vue carries a small runtime and gets, in return, a bigger ecosystem, more developers and a longer record in large products.",[18,13886,13888],{"id":13887},"how-sveltejs-and-vue-work-differently","How Svelte.js and Vue Work Differently",[14,13890,13891],{},"Svelte.js compiles components into plain JavaScript at build time, which is the main difference vs. Vue and its runtime renderer. A Svelte component has no virtual DOM to diff: the compiler knows which variables each piece of markup depends on and writes code that updates exactly those DOM nodes.",[14,13893,13894,13895,13897,13898,13900,13901,13903,13904,13906],{},"Since Svelte 5, reactivity is explicit. You declare state with ",[137,13896,11993],{},", derive values with ",[137,13899,11996],{},", run side effects with ",[137,13902,11999],{}," and read props with ",[137,13905,13814],{},". These \"runes\" look like functions, but they're instructions to the compiler:",[192,13908,13909],{"className":12377,"code":12378,"language":12379,"meta":197,"style":197},[137,13910,13911,13919,13935,13953,13961,13965],{"__ignoreMap":197},[201,13912,13913,13915,13917],{"class":203,"line":204},[201,13914,1342],{"class":260},[201,13916,2936],{"class":267},[201,13918,1718],{"class":260},[201,13920,13921,13923,13925,13927,13929,13931,13933],{"class":203,"line":224},[201,13922,12394],{"class":659},[201,13924,12266],{"class":256},[201,13926,1353],{"class":260},[201,13928,12401],{"class":252},[201,13930,257],{"class":256},[201,13932,5803],{"class":1268},[201,13934,510],{"class":256},[201,13936,13937,13939,13941,13943,13945,13947,13949,13951],{"class":203,"line":264},[201,13938,12394],{"class":659},[201,13940,12283],{"class":256},[201,13942,1353],{"class":260},[201,13944,12418],{"class":252},[201,13946,12180],{"class":256},[201,13948,12303],{"class":260},[201,13950,12306],{"class":1268},[201,13952,510],{"class":256},[201,13954,13955,13957,13959],{"class":203,"line":290},[201,13956,1760],{"class":260},[201,13958,2936],{"class":267},[201,13960,1718],{"class":260},[201,13962,13963],{"class":203,"line":301},[201,13964,654],{"emptyLinePlaceholder":653},[201,13966,13967,13969,13971,13973,13975,13977,13979,13981,13983,13985,13987],{"class":203,"line":319},[201,13968,1342],{"class":260},[201,13970,7383],{"class":267},[201,13972,12447],{"class":659},[201,13974,1353],{"class":260},[201,13976,1620],{"class":260},[201,13978,6634],{"class":211},[201,13980,1999],{"class":260},[201,13982,12458],{"class":256},[201,13984,1760],{"class":260},[201,13986,7383],{"class":267},[201,13988,1718],{"class":260},[14,13990,13991],{},"Vue takes a hybrid route. Reactive objects are JavaScript Proxies, refs use getters and setters, and the template compiles into render functions for a virtual DOM. The compiler marks which parts of a template can change (Vue calls these patch flags), so at runtime Vue skips static content instead of diffing the whole tree. The same counter in Vue:",[192,13993,13994],{"className":1333,"code":12220,"language":1335,"meta":197,"style":197},[137,13995,13996,14006,14028,14032,14048,14076,14084,14088,14096,14122],{"__ignoreMap":197},[201,13997,13998,14000,14002,14004],{"class":203,"line":204},[201,13999,1342],{"class":260},[201,14001,2936],{"class":267},[201,14003,2939],{"class":659},[201,14005,1718],{"class":260},[201,14007,14008,14010,14012,14014,14016,14018,14020,14022,14024,14026],{"class":203,"line":224},[201,14009,626],{"class":245},[201,14011,631],{"class":260},[201,14013,9534],{"class":256},[201,14015,409],{"class":260},[201,14017,12245],{"class":256},[201,14019,637],{"class":260},[201,14021,640],{"class":245},[201,14023,309],{"class":260},[201,14025,1335],{"class":211},[201,14027,648],{"class":260},[201,14029,14030],{"class":203,"line":264},[201,14031,654],{"emptyLinePlaceholder":653},[201,14033,14034,14036,14038,14040,14042,14044,14046],{"class":203,"line":290},[201,14035,660],{"class":659},[201,14037,12266],{"class":256},[201,14039,1353],{"class":260},[201,14041,9534],{"class":252},[201,14043,257],{"class":256},[201,14045,5803],{"class":1268},[201,14047,510],{"class":256},[201,14049,14050,14052,14054,14056,14058,14060,14062,14064,14066,14068,14070,14072,14074],{"class":203,"line":301},[201,14051,660],{"class":659},[201,14053,12283],{"class":256},[201,14055,1353],{"class":260},[201,14057,12245],{"class":252},[201,14059,257],{"class":256},[201,14061,6634],{"class":260},[201,14063,1999],{"class":659},[201,14065,12150],{"class":256},[201,14067,534],{"class":260},[201,14069,12300],{"class":256},[201,14071,12303],{"class":260},[201,14073,12306],{"class":1268},[201,14075,510],{"class":256},[201,14077,14078,14080,14082],{"class":203,"line":319},[201,14079,1760],{"class":260},[201,14081,2936],{"class":267},[201,14083,1718],{"class":260},[201,14085,14086],{"class":203,"line":329},[201,14087,654],{"emptyLinePlaceholder":653},[201,14089,14090,14092,14094],{"class":203,"line":346},[201,14091,1342],{"class":260},[201,14093,1715],{"class":267},[201,14095,1718],{"class":260},[201,14097,14098,14100,14102,14104,14106,14108,14110,14112,14114,14116,14118,14120],{"class":203,"line":363},[201,14099,1723],{"class":260},[201,14101,7383],{"class":267},[201,14103,9611],{"class":659},[201,14105,1353],{"class":260},[201,14107,1356],{"class":260},[201,14109,12343],{"class":211},[201,14111,1356],{"class":260},[201,14113,3416],{"class":260},[201,14115,12350],{"class":256},[201,14117,1760],{"class":260},[201,14119,7383],{"class":267},[201,14121,1718],{"class":260},[201,14123,14124,14126,14128],{"class":203,"line":380},[201,14125,1760],{"class":260},[201,14127,1715],{"class":267},[201,14129,1718],{"class":260},[14,14131,14132,14133,955,14135,14137,14138,14140],{},"If the ",[137,14134,4743],{},[137,14136,6412],{}," style is new to you, our guide to the ",[128,14139,12371],{"href":12370}," covers it. The two models are now closer than they look: both track dependencies at a fine-grained level, and neither asks you to memoise by hand.",[18,14142,14144],{"id":14143},"svelte-vs-vue-performance-bundle-size-speed-and-memory","Svelte vs. Vue Performance: Bundle Size, Speed and Memory",[14,14146,14147],{},"The most-cited source for svelte vs. vue performance is the open-source js-framework-benchmark, which renders and updates large tables in Chrome. The latest run, for Chrome 154, was published on 4 October 2026. It tested Svelte 5.42, Vue 3.5.39 and a Vue Vapor build from 3.6.0-rc.5. Median results, keyed implementations:",[26,14149,14150,14165],{},[29,14151,14152],{},[32,14153,14154,14156,14158,14160,14162],{},[35,14155,12500],{},[35,14157,12508],{},[35,14159,12505],{},[35,14161,12511],{},[35,14163,14164],{},"Vanilla JS",[51,14166,14167,14180,14197,14210,14223],{},[32,14168,14169,14171,14173,14175,14177],{},[56,14170,12518],{},[56,14172,12527],{},[56,14174,12524],{},[56,14176,12530],{},[56,14178,14179],{},"20.6 ms",[32,14181,14182,14185,14188,14191,14194],{},[56,14183,14184],{},"Create 10,000 rows",[56,14186,14187],{},"232 ms",[56,14189,14190],{},"259 ms",[56,14192,14193],{},"230 ms",[56,14195,14196],{},"213 ms",[32,14198,14199,14201,14203,14205,14207],{},[56,14200,12535],{},[56,14202,12544],{},[56,14204,12541],{},[56,14206,12547],{},[56,14208,14209],{},"1.9 MB",[32,14211,14212,14214,14216,14218,14220],{},[56,14213,12552],{},[56,14215,12013],{},[56,14217,12010],{},[56,14219,12561],{},[56,14221,14222],{},"2.5 KB",[32,14224,14225,14227,14229,14231,14233],{},[56,14226,12566],{},[56,14228,12575],{},[56,14230,12572],{},[56,14232,12578],{},[56,14234,14235],{},"54 ms",[14,14237,14238],{},"Svelte leads stable Vue on every row. Now read the units. Creating a thousand rows takes 2.4 ms longer in Vue, and no user will ever feel that. The bigger differences are size and memory: a Svelte app starts with less JavaScript to download and parse, which helps on slow phones and on pages that load many small widgets.",[14,14240,14241],{},"Bundle size has a catch, though. Svelte's advantage is largest on small apps. Vue's runtime is a fixed cost, around 16 KB min+brotli for a minimal app according to the Vue FAQ, while Svelte's compiled output grows with every component. On a large app the totals get closer.",[14,14243,14244,14245,14247],{},"The third column is where things are heading. ",[128,14246,12590],{"href":11774}," compiles Vue components to direct DOM updates, as Svelte does, and in this run it was already level with Svelte on speed. It isn't stable yet: 3.6.0-rc.12 shipped on 16 October 2026, and Vapor is opt-in per component.",[18,14249,12598],{"id":12597},[14,14251,14252,14253,14255,14256,14258],{},"Svelte's pitch is that a component is mostly HTML, CSS and JavaScript, and that holds up. There's less ceremony: no ",[137,14254,11597],{},", two-way binding with ",[137,14257,12604],{},", scoped styles by default, and only four runes to learn. For someone coming from plain JavaScript, there's very little new to absorb.",[14,14260,14261,14262,14264,14265,4576,14267,955,14269,14271],{},"Vue asks for slightly more up front: refs and ",[137,14263,11597],{},", directives such as ",[137,14266,11548],{},[137,14268,11454],{},[137,14270,12626],{},", and a choice between the Options API and the Composition API. In return it has one of the best official documentation sites in front-end, Vue DevTools, and many years of courses, answered questions and examples. When something breaks at 6 p.m., that volume matters.",[14,14273,14274,14275,14277,14278,14280],{},"There's also a timing issue on the Svelte side. Svelte 5 replaced the old ",[137,14276,12612],{}," reactive statements and ",[137,14279,12608],{}," props with runes, so a lot of tutorials and community answers still show Svelte 4 syntax. The legacy syntax keeps working, but new developers have to learn to tell the two apart. Both frameworks support TypeScript well.",[18,14282,7756],{"id":7755},[14,14284,14285,14286,14288,14289,14291],{},"Popularity numbers all point the same way. Over the 30 days to 18 October 2026, the ",[137,14287,1335],{}," package averaged about 15.9 million npm downloads a week and ",[137,14290,12650],{}," about 6.1 million. The Stack Overflow Developer Survey 2025 found 17.6% of respondents using Vue and 7.2% using Svelte. State of JS 2025 put usage at 52% for Vue and 27% for Svelte.",[14,14293,14294],{},"Svelte wins on affection. It was the most admired framework in the Stack Overflow survey (62.4%, against 50.9% for Vue), and it edges Vue on satisfaction in State of JS. People who use Svelte like it a lot. There are just fewer of them.",[14,14296,14297],{},"Hiring follows the usage gap. On 19 October 2026, a keyword search on Indeed returned 2,188 jobs for \"Vue.js\" and 963 for \"Svelte\". Those are keyword matches, not clean role counts, but the ratio of about 2.3 to 1 matches the survey data.",[14,14299,14300],{},"Component libraries are where the gap is widest. On the Vue side, Vuetify, Quasar and PrimeVue have years of production use and full data tables, date pickers and form systems. Svelte's best options, shadcn-svelte, Skeleton, Bits UI and Flowbite Svelte, are good but younger and smaller. For a dashboard with dozens of complex screens, that difference is weeks of work.",[18,14302,14304],{"id":14303},"sveltekit-vs-nuxt","SvelteKit vs Nuxt",[14,14306,14307],{},"Both are full-stack, file-routed frameworks, and they cover the same ground.",[26,14309,14310,14321],{},[29,14311,14312],{},[32,14313,14314,14316,14319],{},[35,14315],{},[35,14317,14318],{},"SvelteKit 3",[35,14320,4672],{},[51,14322,14323,14339,14360,14382,14398],{},[32,14324,14325,14327,14334],{},[56,14326,9851],{},[56,14328,14329,14330,14333],{},"Folders with ",[137,14331,14332],{},"+page.svelte"," files",[56,14335,14336,14338],{},[137,14337,862],{}," directory",[32,14340,14341,14343,14355],{},[56,14342,6279],{},[56,14344,14345,14346,4576,14349,955,14351,14354],{},"SSR by default; per-route ",[137,14347,14348],{},"prerender",[137,14350,9120],{},[137,14352,14353],{},"csr"," options",[56,14356,14345,14357,14359],{},[137,14358,6442],{}," for prerendering, SWR\u002FISR caching or client-only",[32,14361,14362,14364,14375],{},[56,14363,9875],{},[56,14365,14366,14368,14369,809,14372],{},[137,14367,12657],{}," functions in ",[137,14370,14371],{},"+page.js",[137,14373,14374],{},"+page.server.js",[56,14376,14377,955,14379,14381],{},[137,14378,2054],{},[137,14380,4492],{},", which pass server data to the client without a second request",[32,14383,14384,14387,14393],{},[56,14385,14386],{},"Server routes",[56,14388,14389,14392],{},[137,14390,14391],{},"+server.js"," endpoints",[56,14394,14395,14397],{},[137,14396,159],{}," routes on the Nitro engine",[32,14399,14400,14403,14406],{},[56,14401,14402],{},"Deployment",[56,14404,14405],{},"Adapters for Node, Bun, static, Vercel, Netlify, Cloudflare",[56,14407,14408],{},"Nitro presets for the same targets and more",[14,14410,14411,14412,14415,14416,14418,14419,14421],{},"SvelteKit 3 shipped on 1 October 2026 with config moved into ",[137,14413,14414],{},"vite.config.ts",". Its load functions keep data fetching in one predictable place per route. Nuxt's route rules let one app mix prerendered marketing pages, cached product pages and a client-only dashboard. Nuxt also has a larger module ecosystem for content, images, SEO and auth. For how Nuxt compares on the React side, see our ",[128,14417,10193],{"href":2557},". If you're planning a Nuxt build, our ",[128,14420,926],{"href":925}," team can help.",[18,14423,14425],{"id":14424},"svelte-vs-vue-when-to-choose-each","Svelte vs Vue: When to Choose Each",[14,14427,14428],{},"Picking between svelte vs. vue usually comes down to the size of the app and the size of the team. Vue is our main stack, and we'd still point you to Svelte for a widget that has to load fast on someone else's page:",[26,14430,14431,14443],{},[29,14432,14433],{},[32,14434,14435,14437,14440],{},[35,14436,13541],{},[35,14438,14439],{},"Lean Svelte",[35,14441,14442],{},"Lean Vue",[51,14444,14445,14454,14463,14472,14481,14490,14499],{},[32,14446,14447,14450,14452],{},[56,14448,14449],{},"Embeddable widgets and small interactive pages",[56,14451,12784],{},[56,14453],{},[32,14455,14456,14459,14461],{},[56,14457,14458],{},"Content and marketing sites",[56,14460,12772],{},[56,14462,12769],{},[32,14464,14465,14468,14470],{},[56,14466,14467],{},"Large SaaS or dashboard with many developers",[56,14469],{},[56,14471,12819],{},[32,14473,14474,14477,14479],{},[56,14475,14476],{},"Existing Vue codebase",[56,14478],{},[56,14480,12819],{},[32,14482,14483,14486,14488],{},[56,14484,14485],{},"Need for mature UI component libraries",[56,14487],{},[56,14489,12819],{},[32,14491,14492,14495,14497],{},[56,14493,14494],{},"Hiring at scale",[56,14496],{},[56,14498,12819],{},[32,14500,14501,14503,14506],{},[56,14502,12801],{},[56,14504,14505],{},"✓ fewer concepts",[56,14507,14508],{},"✓ more learning material",[14,14510,14511,14512,14515],{},"If React is also on your list, our ",[128,14513,14514],{"href":2553},"React vs Vue comparison for 2026"," covers that matchup.",[18,14517,914],{"id":913},[14,14519,14520,14521,14523],{},"Svelte vs Vue has no losing side: both frameworks are production-ready, and the gap is narrower than it was two years ago. Svelte wins on output size and simplicity, which makes it a strong choice for widgets, small apps and teams that love it. Vue wins on ecosystem, hiring and long-term maintenance at scale, and Vapor Mode is closing the performance gap. If you're choosing a stack or scaling a Vue app, our ",[128,14522,909],{"href":908}," team can help you decide with your own constraints on the table.",[18,14525,931],{"id":930},[169,14527,14529],{"id":14528},"is-svelte-faster-than-vue","Is Svelte faster than Vue?",[14,14531,14532],{},"Slightly, in most benchmarks. In the js-framework-benchmark run for Chrome 154, Svelte 5 created 1,000 rows in about 22 ms against 24.5 ms for Vue 3.5, used less memory and shipped a smaller bundle. In a real app the difference is rarely what users notice; data fetching and rendering strategy matter more.",[169,14534,14536],{"id":14535},"is-svelte-easier-to-learn-than-vue","Is Svelte easier to learn than Vue?",[14,14538,14539],{},"For a first component, a little. Svelte files are close to plain HTML and JavaScript, with four runes to learn. Vue asks for a few more concepts, such as refs and directives, but its documentation and the volume of tutorials, courses and answered questions make the path past the basics easier.",[169,14541,14543],{"id":14542},"what-are-the-disadvantages-of-svelte-compared-to-vue","What are the disadvantages of Svelte compared to Vue?",[14,14545,14546],{},"A smaller ecosystem and hiring pool. Vue has more mature UI component libraries, about two and a half times the npm downloads and more than twice the job listings we counted. Svelte 5 also changed the reactivity model, so many older tutorials and libraries still use Svelte 4 syntax.",[169,14548,14550],{"id":14549},"is-svelte-or-vue-better-for-large-projects","Is Svelte or Vue better for large projects?",[14,14552,14553],{},"Vue, in most cases. Both handle large codebases technically, but Vue has the longer track record in big SaaS products, more component libraries built for dashboards, and a larger pool of developers who have worked on big Vue apps. Svelte suits large projects too when the team already knows it well.",[169,14555,14557],{"id":14556},"will-vue-vapor-mode-close-the-performance-gap-with-svelte","Will Vue Vapor Mode close the performance gap with Svelte?",[14,14559,14560],{},"Mostly, yes. Vapor Mode compiles Vue components to direct DOM updates, like Svelte does, and the Vue 3.6 release notes report the same level of performance as Solid and Svelte 5. In the Chrome 154 benchmark run, the Vapor build already matched Svelte on speed but still shipped a larger bundle. Vue 3.6 is a release candidate, not stable yet.",[6170,14562],{"label":11830,"to":6173},[984,14564,14565],{},"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}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":197,"searchDepth":264,"depth":264,"links":14567},[14568,14569,14570,14571,14572,14573,14574,14575,14576],{"id":13764,"depth":224,"text":13765},{"id":13887,"depth":224,"text":13888},{"id":14143,"depth":224,"text":14144},{"id":12597,"depth":224,"text":12598},{"id":7755,"depth":224,"text":7756},{"id":14303,"depth":224,"text":14304},{"id":14424,"depth":224,"text":14425},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":14577},[14578,14579,14580,14581,14582],{"id":14528,"depth":264,"text":14529},{"id":14535,"depth":264,"text":14536},{"id":14542,"depth":264,"text":14543},{"id":14549,"depth":264,"text":14550},{"id":14556,"depth":264,"text":14557},"2026-10-18","Vue vs Svelte compared by a Vue team: Svelte 5 runes vs Vue reactivity, bundle size, SvelteKit vs Nuxt, hiring and when to pick each framework.",[14586,14587,14588,14589,14590],{"question":14529,"answer":14532},{"question":14536,"answer":14539},{"question":14543,"answer":14546},{"question":14550,"answer":14553},{"question":14557,"answer":14560},"\u002Fimages\u002Fblog\u002Fsvelte-vs-vue\u002Fcard.png",{},{"title":13756,"description":14584},"Svelte vs Vue in 2026: Performance and Which to Choose","blog\u002Fsvelte-vs-vue",[2822,2441,1030],"mKyHMSDNC5e8xyLXjpXqiZLuIsEcrX-YLfimU05PyfY",{"id":14599,"title":14600,"articleType":1008,"author":12943,"authorSlug":1008,"body":14601,"cta":1008,"date":15014,"description":15015,"extension":1011,"faq":1008,"featured":1021,"image":15016,"meta":15017,"navigation":653,"noCtaBox":1021,"path":15018,"readTime":5093,"seo":15019,"seoTitle":15020,"stem":15021,"tags":15022,"topic":15025,"video":1008,"__hash__":15026},"blog\u002Fblog\u002Fpragvue-2026.md","Epicmax at PragVue 2026: Your AI Agrees With You. That's the Problem.",{"type":11,"value":14602,"toc":14999},[14603,14612,14619,14623,14626,14629,14632,14636,14639,14643,14646,14650,14653,14843,14850,14854,14857,14874,14877,14881,14889,14893,14896,14899,14903,14906,14920,14923,14927,14936,14952,14956,14963,14966,14970,14973,14981,14985,14988,14994,14996],[14,14604,14605,14606,14611],{},"On 29 September our Senior Frontend Developer, Pavel Mironov, took the stage at ",[128,14607,14610],{"href":14608,"rel":14609},"https:\u002F\u002Fpragvue.com\u002F2026",[4980],"PragVue 2026",", the Czech Vue.js conference, held at Arthur's Pub in Prague's Karlín district. Epicmax was also one of the event's sponsors. Pavel's talk was called \"Your AI Agrees With You. That's the Problem.\" Here is what it covered, and the habits he suggests to anyone who works with coding agents every day.",[14,14613,14614],{},[14615,14616],"img",{"alt":14617,"src":14618},"PragVue 2026 at Arthur's Pub in Prague: attendees at tables with laptops in front of the stage and the PragVue banner","\u002Fimages\u002Fblog\u002Fpragvue-2026\u002Fpragvue-2026-venue.jpg",[18,14620,14622],{"id":14621},"a-talk-that-changed-while-it-was-being-written","A talk that changed while it was being written",[14,14624,14625],{},"It started as a simple talk about working better with AI agents: how to write instructions, how to use MCP, skills and agent personas. All of that is still useful. But while preparing it, Pavel kept running into a deeper problem. We talk a lot about how to configure AI, and much less about how well we are configured ourselves.",[14,14627,14628],{},"Look at how fast the job changed. First came autocomplete, then chat in the IDE, then tools that could see the whole codebase. Then agents doing small tasks, then big ones, and now agents that split the work, start their own subagents and pick their own tools. We used to control the code. Then we controlled the tasks. Now we control the goal, the limits and the proof. The agent works alone for a while and comes back with one word: \"Done.\" The responsibility is still ours.",[14,14630,14631],{},"Pavel compared it to the move from horses to cars. You get more speed, and more ways to crash.",[18,14633,14635],{"id":14634},"four-biases-four-habits","Four biases, four habits",[14,14637,14638],{},"The core of the talk was about us, not the model. AI can be very convincing when it's wrong, and we are very good at believing it.",[169,14640,14642],{"id":14641},"conviction-ask-for-evidence-not-an-explanation","Conviction: ask for evidence, not an explanation",[14,14644,14645],{},"When the agent says it fixed the hydration mismatch and the result is \"production-ready\", don't ask it to explain why. An explanation is just more text from the same agent. Ask for proof that doesn't depend on what it says: the test output, a screenshot, a log.",[169,14647,14649],{"id":14648},"fluency-bias-read-the-diff-not-the-summary","Fluency bias: read the diff, not the summary",[14,14651,14652],{},"Code that reads smoothly feels correct. This cache from the talk is short, typed and well named:",[192,14654,14656],{"className":230,"code":14655,"language":232,"meta":197,"style":197},"const cache = new Map\u003Cstring, Product[]>()\n\nexport async function getProducts(q: ProductQuery) {\n  const key = `products:${q.category}`\n  if (cache.has(key)) return cache.get(key)!\n  const products = await api.products.list(q)\n  cache.set(key, products)\n  return products\n}\n",[137,14657,14658,14689,14693,14718,14743,14784,14812,14832,14839],{"__ignoreMap":197},[201,14659,14660,14662,14665,14667,14670,14673,14675,14678,14680,14683,14685,14687],{"class":203,"line":204},[201,14661,660],{"class":659},[201,14663,14664],{"class":256}," cache ",[201,14666,1353],{"class":260},[201,14668,14669],{"class":260}," new",[201,14671,14672],{"class":252}," Map",[201,14674,1342],{"class":260},[201,14676,14677],{"class":207},"string",[201,14679,409],{"class":260},[201,14681,14682],{"class":207}," Product",[201,14684,3413],{"class":256},[201,14686,3416],{"class":260},[201,14688,2967],{"class":256},[201,14690,14691],{"class":203,"line":224},[201,14692,654],{"emptyLinePlaceholder":653},[201,14694,14695,14697,14699,14701,14704,14706,14709,14711,14714,14716],{"class":203,"line":264},[201,14696,246],{"class":245},[201,14698,6956],{"class":659},[201,14700,6628],{"class":659},[201,14702,14703],{"class":252}," getProducts",[201,14705,257],{"class":260},[201,14707,14708],{"class":2106},"q",[201,14710,271],{"class":260},[201,14712,14713],{"class":207}," ProductQuery",[201,14715,3779],{"class":260},[201,14717,298],{"class":260},[201,14719,14720,14722,14724,14726,14728,14731,14733,14735,14737,14740],{"class":203,"line":290},[201,14721,3379],{"class":659},[201,14723,6732],{"class":256},[201,14725,670],{"class":260},[201,14727,3455],{"class":260},[201,14729,14730],{"class":211},"products:",[201,14732,2999],{"class":260},[201,14734,14708],{"class":256},[201,14736,534],{"class":260},[201,14738,14739],{"class":256},"category",[201,14741,14742],{"class":260},"}`\n",[201,14744,14745,14748,14750,14753,14755,14758,14760,14762,14765,14768,14771,14773,14775,14777,14779,14781],{"class":203,"line":301},[201,14746,14747],{"class":245},"  if",[201,14749,2142],{"class":267},[201,14751,14752],{"class":256},"cache",[201,14754,534],{"class":260},[201,14756,14757],{"class":252},"has",[201,14759,257],{"class":267},[201,14761,11485],{"class":256},[201,14763,14764],{"class":267},")) ",[201,14766,14767],{"class":245},"return",[201,14769,14770],{"class":256}," cache",[201,14772,534],{"class":260},[201,14774,7289],{"class":252},[201,14776,257],{"class":267},[201,14778,11485],{"class":256},[201,14780,3779],{"class":267},[201,14782,14783],{"class":260},"!\n",[201,14785,14786,14788,14790,14792,14794,14797,14799,14801,14803,14806,14808,14810],{"class":203,"line":319},[201,14787,3379],{"class":659},[201,14789,6972],{"class":256},[201,14791,670],{"class":260},[201,14793,2009],{"class":245},[201,14795,14796],{"class":256}," api",[201,14798,534],{"class":260},[201,14800,6983],{"class":256},[201,14802,534],{"class":260},[201,14804,14805],{"class":252},"list",[201,14807,257],{"class":267},[201,14809,14708],{"class":256},[201,14811,510],{"class":267},[201,14813,14814,14817,14819,14822,14824,14826,14828,14830],{"class":203,"line":329},[201,14815,14816],{"class":256},"  cache",[201,14818,534],{"class":260},[201,14820,14821],{"class":252},"set",[201,14823,257],{"class":267},[201,14825,11485],{"class":256},[201,14827,409],{"class":260},[201,14829,6972],{"class":256},[201,14831,510],{"class":267},[201,14833,14834,14836],{"class":203,"line":346},[201,14835,2006],{"class":245},[201,14837,14838],{"class":256}," products\n",[201,14840,14841],{"class":203,"line":363},[201,14842,724],{"class":260},[14,14844,14845,14846,14849],{},"It's also wrong. The key ignores ",[137,14847,14848],{},"q.page",", so everyone who opens page two gets page one. Our brain quietly swaps the question \"is this correct?\" for \"does this look correct?\" Before you approve a change, try to name one input that breaks it. Here, that input is simply \"page two\".",[169,14851,14853],{"id":14852},"satisficing-read-from-the-bottom-up-and-ask-for-alternatives","Satisficing: read from the bottom up, and ask for alternatives",[14,14855,14856],{},"We stop at the first answer that looks good enough, and AI hands us one in seconds. In the talk's example, a re-rendering product list got \"fixed\" with a memoized computed, and the answer ended with \"Looks fine. Ready to merge.\" The real cause was index keys: when a product was added at the top, each row kept its local state while a different product moved into it.",[192,14858,14862],{"className":14859,"code":14860,"language":14861,"meta":197,"style":197},"language-diff shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","- \u003CRow v-for=\"(p, i) in rows\" :key=\"i\" :product=\"p\" \u002F>\n+ \u003CRow v-for=\"p in rows\" :key=\"p.id\" :product=\"p\" \u002F>\n","diff",[137,14863,14864,14869],{"__ignoreMap":197},[201,14865,14866],{"class":203,"line":204},[201,14867,14868],{},"- \u003CRow v-for=\"(p, i) in rows\" :key=\"i\" :product=\"p\" \u002F>\n",[201,14870,14871],{"class":203,"line":224},[201,14872,14873],{},"+ \u003CRow v-for=\"p in rows\" :key=\"p.id\" :product=\"p\" \u002F>\n",[14,14875,14876],{},"Read the answer from the bottom up, starting with the conclusion, and ask whether the code above really proves it. Then ask for two or three approaches instead of one. Seen side by side, \"looks fine\" stops being enough.",[169,14878,14880],{"id":14879},"confirmation-bias-ask-it-to-prove-you-wrong","Confirmation bias: ask it to prove you wrong",[14,14882,14883,14884,14888],{},"\"I think the checkout bug is in the cart store, check it\" will very often get you \"You're right, and here's why.\" But you were the one who told the agent where to look. Ask it to prove the bug is ",[14885,14886,14887],"em",{},"not"," in the cart store and you may get a different cause. Neither answer is automatically right, but now you have two answers that disagree and something real to check. Sometimes the best move is not to share your guess at all: describe the symptom and let the agent find the cause.",[18,14890,14892],{"id":14891},"one-wrong-assumption-travels-far","One wrong assumption travels far",[14,14894,14895],{},"When AI completed a few lines, a mistake was cheap. An agent can make one wrong decision at the start and then build everything around it very well: research, architecture, several changed files, tests, fixes and tokens. The result looks complete and convincing, and it all rests on that one assumption.",[14,14897,14898],{},"The cheapest place to catch it is before any code exists. Ask the agent to list its assumptions and what would prove each one wrong, then wait for your OK. Reading five assumptions takes a minute. Reading five changed files built on the wrong one takes an hour.",[18,14900,14902],{"id":14901},"define-the-task-before-anyone-starts","Define the task before anyone starts",[14,14904,14905],{},"This isn't about better prompts. It's about thinking a task through before anyone starts on it, whether that's you, a colleague or an agent. Pavel's four questions:",[185,14907,14908,14911,14914,14917],{},[188,14909,14910],{},"What is the real problem?",[188,14912,14913],{},"What must not break?",[188,14915,14916],{},"What counts as \"done\"?",[188,14918,14919],{},"How will I know it works?",[14,14921,14922],{},"For the hydration bug, that turns \"fix the hydration mismatch\" into \"find the root cause and fix it\", with conditions attached. The order summary must still render on the server, otherwise turning SSR off is a perfectly valid fix from the agent's point of view. Done means no warnings, SSR still working and tests passing. And the agent comes back with an evidence report: the commands it ran, tests passed and failed, warnings before and after. If you can't answer the four questions, the agent can't either. It will guess, confidently.",[18,14924,14926],{"id":14925},"evidence-not-prose","Evidence, not prose",[14,14928,14929,14930,14935],{},"The agent writes the code, then writes the story about the code, and \"I ran the tests and they pass\" reads the same whether the tests ran or not. Pavel's colleague Andrii Bohdanov built ",[128,14931,14934],{"href":14932,"rel":14933},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fevidence-layer",[4980],"evidence-layer"," to make that report checkable. Tests run before the review is written, every \"verified\" points to a real result from the commit, cited files are checked against git, and the output is machine-readable so CI can check it again. It's a fresh experiment rather than a standard, but worth trying on one project:",[192,14937,14939],{"className":194,"code":14938,"language":196,"meta":197,"style":197},"npm i -D evidence-layer\n",[137,14940,14941],{"__ignoreMap":197},[201,14942,14943,14945,14947,14949],{"class":203,"line":204},[201,14944,578],{"class":207},[201,14946,581],{"class":211},[201,14948,593],{"class":211},[201,14950,14951],{"class":211}," evidence-layer\n",[18,14953,14955],{"id":14954},"more-than-code","More than code",[14,14957,14958,14959,14962],{},"If we write less code by hand, our value moves to what we understand: the business, the users and the risks. The same Vue skills mean different things on different projects. An admin dashboard sits behind a login, is fine as an SPA and is used by trained staff on one browser. An online shop lives on SEO, needs content ",[128,14960,14961],{"href":4190},"rendered on the server",", loses a sale on every slow page and is used by anyone on any phone. An agent will write the code for either, but it won't tell you SEO matters unless you know to ask.",[14,14964,14965],{},"And treat today's AI practices as guidelines rather than rules. Every new model changes what an agent can do on its own, so some of today's careful process will be unnecessary in six months. The skill that lasts is adapting.",[18,14967,14969],{"id":14968},"back-to-the-title","Back to the title",[14,14971,14972],{},"Your AI agrees with you, and that's the problem, because it no longer just agrees. It takes your assumption and turns it into working code in minutes. When the assumption is right, that's amazing. When it's wrong, the same speed gets you to the wrong place fast. Pavel's closing point: the skill worth building is a process where both you and the AI can be wrong, and where you notice quickly.",[14,14974,14975,14976],{},"The slides are online: ",[128,14977,14980],{"href":14978,"rel":14979},"https:\u002F\u002Funtael-pragvue.netlify.app\u002Fpragvue-2026\u002F1",[4980],"Your AI Agrees With You. That's the Problem.",[18,14982,14984],{"id":14983},"thanks-pragvue","Thanks, PragVue",[14,14986,14987],{},"The morning line-up also included Alois Seckar, Estéban Soubiran, Jakub Andrzejewski and Daniel Roe, and the day mixed talks with hands-on hacking. A big thank-you to the organisers, and to everyone who stayed for the questions after Pavel's talk.",[14,14989,14990],{},[14615,14991],{"alt":14992,"src":14993},"Prizes laid out at PragVue 2026: Epicmax gift vouchers, Atos notebooks, books, wireless earbuds and a speaker","\u002Fimages\u002Fblog\u002Fpragvue-2026\u002Fpragvue-2026-prizes.jpg",[6170,14995],{"label":11830,"to":6173},[984,14997,14998],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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":197,"searchDepth":264,"depth":264,"links":15000},[15001,15002,15008,15009,15010,15011,15012,15013],{"id":14621,"depth":224,"text":14622},{"id":14634,"depth":224,"text":14635,"children":15003},[15004,15005,15006,15007],{"id":14641,"depth":264,"text":14642},{"id":14648,"depth":264,"text":14649},{"id":14852,"depth":264,"text":14853},{"id":14879,"depth":264,"text":14880},{"id":14891,"depth":224,"text":14892},{"id":14901,"depth":224,"text":14902},{"id":14925,"depth":224,"text":14926},{"id":14954,"depth":224,"text":14955},{"id":14968,"depth":224,"text":14969},{"id":14983,"depth":224,"text":14984},"2026-10-16","Pavel Mironov of Epicmax spoke at PragVue 2026 in Prague on working with AI coding agents: the biases that make us trust them and habits that catch mistakes.","\u002Fimages\u002Fblog\u002Fpragvue-2026\u002Fcard.png",{},"\u002Fblog\u002Fpragvue-2026",{"title":14600,"description":15015},"PragVue 2026 Talk: Your AI Agrees With You","blog\u002Fpragvue-2026",[15023,2822,15024],"Events","AI","events","ghWbsL2DJSOCX2YDhw9CN8THgnPus56Kl8nU5-Z8RIg",{"id":15028,"title":15029,"articleType":7,"author":8,"authorSlug":9,"body":15030,"cta":1008,"date":15014,"description":15689,"extension":1011,"faq":15690,"featured":1021,"image":15696,"meta":15697,"navigation":653,"noCtaBox":1021,"path":15698,"readTime":11875,"seo":15699,"seoTitle":1008,"stem":15700,"tags":15701,"topic":1032,"video":1008,"__hash__":15702},"blog\u002Fblog\u002Fvue-benefits.md","Vue Benefits: Why Use Vue.js for Your Next Project",{"type":11,"value":15031,"toc":15674},[15032,15035,15039,15135,15141,15145,15148,15158,15164,15504,15507,15535,15541,15547,15551,15554,15557,15563,15566,15573,15576,15580,15583,15589,15592,15595,15599,15602,15619,15624,15626,15632,15634,15638,15641,15645,15648,15652,15655,15659,15662,15666,15669,15671],[14,15033,15034],{},"Vue benefits are easy to list and harder to prove. Every framework claims speed and simplicity, so this guide sticks to what we've seen in eight years of building with Vue: what it gives developers, what it gives the business paying for the code, how far it scales, and where we'd tell you to pick something else.",[18,15036,15038],{"id":15037},"why-use-vuejs-vue-benefits-at-a-glance","Why Use Vue.js? Vue Benefits at a Glance",[26,15040,15041,15054],{},[29,15042,15043],{},[32,15044,15045,15048,15051],{},[35,15046,15047],{},"Benefit",[35,15049,15050],{},"What it means in practice",[35,15052,15053],{},"Who gains most",[51,15055,15056,15067,15081,15092,15102,15113,15124],{},[32,15057,15058,15061,15064],{},[56,15059,15060],{},"Gentle learning curve",[56,15062,15063],{},"Templates are HTML; a JavaScript developer is productive within days",[56,15065,15066],{},"New hires, mixed teams",[32,15068,15069,15072,15078],{},[56,15070,15071],{},"Single-file components",[56,15073,15074,15075,15077],{},"Template, logic and styles live in one ",[137,15076,9304],{}," file",[56,15079,15080],{},"Developers, reviewers",[32,15082,15083,15086,15089],{},[56,15084,15085],{},"Built-in reactivity",[56,15087,15088],{},"Change the data and the page follows, with no manual DOM code",[56,15090,15091],{},"Developers",[32,15093,15094,15097,15100],{},[56,15095,15096],{},"Vite tooling",[56,15098,15099],{},"Instant dev server and hot updates that keep page state",[56,15101,15091],{},[32,15103,15104,15107,15110],{},[56,15105,15106],{},"Incremental adoption",[56,15108,15109],{},"Start with one screen of an existing app and grow from there",[56,15111,15112],{},"Companies with a legacy product",[32,15114,15115,15118,15121],{},[56,15116,15117],{},"Official core libraries",[56,15119,15120],{},"Router, state management and devtools from the Vue team",[56,15122,15123],{},"Long-lived products",[32,15125,15126,15129,15132],{},[56,15127,15128],{},"Compiler-optimised rendering",[56,15130,15131],{},"Updates touch only the parts of the page that can change",[56,15133,15134],{},"Users on slow devices",[14,15136,15137,15138,15140],{},"If you're new to the framework, read ",[128,15139,9300],{"href":9299}," first and come back. The short answer to why use Vue.js: it lets a small team ship a maintainable interface quickly, and it doesn't demand a rewrite to get started. The sections below take each row in turn, first from a developer's seat and then from a CTO's.",[18,15142,15144],{"id":15143},"benefits-of-vuejs-for-developers","Benefits of Vue.js for Developers",[14,15146,15147],{},"The benefits of Vue.js for developers come down to how little stands between an idea and working code.",[14,15149,15150,15151,4576,15153,955,15155,15157],{},"Start with the learning curve, because it's the one people notice first. Vue templates are plain HTML plus a handful of directives such as ",[137,15152,11548],{},[137,15154,11454],{},[137,15156,12626],{},". The official guide asks for basic HTML and JavaScript and nothing else, and it teaches one recommended way of doing things rather than a menu of competing patterns. A developer who knows JavaScript can usually ship a first real component in their first week. Backend engineers can review front-end pull requests without a crash course, which matters more than it sounds on a small team.",[14,15159,15160,15161,15163],{},"Then there are single-file components. A ",[137,15162,9304],{}," file holds a component's template, logic and styles together:",[192,15165,15167],{"className":1333,"code":15166,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nimport { ref, computed } from 'vue'\n\nconst items = ref([\n  { name: 'Seat upgrade', price: 40 },\n  { name: 'Extra bag', price: 25 },\n])\nconst total = computed(() => items.value.reduce((sum, item) => sum + item.price, 0))\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cul>\n    \u003Cli v-for=\"item in items\" :key=\"item.name\">{{ item.name }}: €{{ item.price }}\u003C\u002Fli>\n  \u003C\u002Ful>\n  \u003Cp class=\"total\">Total: €{{ total }}\u003C\u002Fp>\n\u003C\u002Ftemplate>\n\n\u003Cstyle scoped>\n.total { font-weight: 700; }\n\u003C\u002Fstyle>\n",[137,15168,15169,15189,15211,15215,15228,15254,15280,15284,15347,15355,15359,15367,15375,15414,15422,15451,15459,15463,15474,15496],{"__ignoreMap":197},[201,15170,15171,15173,15175,15177,15179,15181,15183,15185,15187],{"class":203,"line":204},[201,15172,1342],{"class":260},[201,15174,2936],{"class":267},[201,15176,2939],{"class":659},[201,15178,2942],{"class":659},[201,15180,1353],{"class":260},[201,15182,1356],{"class":260},[201,15184,232],{"class":211},[201,15186,1356],{"class":260},[201,15188,1718],{"class":260},[201,15190,15191,15193,15195,15197,15199,15201,15203,15205,15207,15209],{"class":203,"line":224},[201,15192,626],{"class":245},[201,15194,631],{"class":260},[201,15196,9534],{"class":256},[201,15198,409],{"class":260},[201,15200,12245],{"class":256},[201,15202,637],{"class":260},[201,15204,640],{"class":245},[201,15206,309],{"class":260},[201,15208,1335],{"class":211},[201,15210,648],{"class":260},[201,15212,15213],{"class":203,"line":264},[201,15214,654],{"emptyLinePlaceholder":653},[201,15216,15217,15219,15222,15224,15226],{"class":203,"line":290},[201,15218,660],{"class":659},[201,15220,15221],{"class":256}," items ",[201,15223,1353],{"class":260},[201,15225,9534],{"class":252},[201,15227,3739],{"class":256},[201,15229,15230,15232,15234,15236,15238,15241,15243,15245,15247,15249,15252],{"class":203,"line":301},[201,15231,11103],{"class":260},[201,15233,3680],{"class":267},[201,15235,271],{"class":260},[201,15237,309],{"class":260},[201,15239,15240],{"class":211},"Seat upgrade",[201,15242,277],{"class":260},[201,15244,409],{"class":260},[201,15246,2134],{"class":267},[201,15248,271],{"class":260},[201,15250,15251],{"class":1268}," 40",[201,15253,438],{"class":260},[201,15255,15256,15258,15260,15262,15264,15267,15269,15271,15273,15275,15278],{"class":203,"line":319},[201,15257,11103],{"class":260},[201,15259,3680],{"class":267},[201,15261,271],{"class":260},[201,15263,309],{"class":260},[201,15265,15266],{"class":211},"Extra bag",[201,15268,277],{"class":260},[201,15270,409],{"class":260},[201,15272,2134],{"class":267},[201,15274,271],{"class":260},[201,15276,15277],{"class":1268}," 25",[201,15279,438],{"class":260},[201,15281,15282],{"class":203,"line":329},[201,15283,3786],{"class":256},[201,15285,15286,15288,15291,15293,15295,15297,15299,15301,15303,15305,15307,15309,15312,15314,15316,15319,15321,15324,15326,15328,15331,15333,15335,15337,15340,15342,15345],{"class":203,"line":346},[201,15287,660],{"class":659},[201,15289,15290],{"class":256}," total ",[201,15292,1353],{"class":260},[201,15294,12245],{"class":252},[201,15296,257],{"class":256},[201,15298,6634],{"class":260},[201,15300,1999],{"class":659},[201,15302,2107],{"class":256},[201,15304,534],{"class":260},[201,15306,3048],{"class":256},[201,15308,534],{"class":260},[201,15310,15311],{"class":252},"reduce",[201,15313,257],{"class":256},[201,15315,257],{"class":260},[201,15317,15318],{"class":2106},"sum",[201,15320,409],{"class":260},[201,15322,15323],{"class":2106}," item",[201,15325,3779],{"class":260},[201,15327,1999],{"class":659},[201,15329,15330],{"class":256}," sum ",[201,15332,12183],{"class":260},[201,15334,15323],{"class":256},[201,15336,534],{"class":260},[201,15338,15339],{"class":256},"price",[201,15341,409],{"class":260},[201,15343,15344],{"class":1268}," 0",[201,15346,3488],{"class":256},[201,15348,15349,15351,15353],{"class":203,"line":363},[201,15350,1760],{"class":260},[201,15352,2936],{"class":267},[201,15354,1718],{"class":260},[201,15356,15357],{"class":203,"line":380},[201,15358,654],{"emptyLinePlaceholder":653},[201,15360,15361,15363,15365],{"class":203,"line":391},[201,15362,1342],{"class":260},[201,15364,1715],{"class":267},[201,15366,1718],{"class":260},[201,15368,15369,15371,15373],{"class":203,"line":441},[201,15370,1723],{"class":260},[201,15372,2357],{"class":267},[201,15374,1718],{"class":260},[201,15376,15377,15379,15381,15383,15385,15387,15390,15392,15394,15396,15398,15401,15403,15405,15408,15410,15412],{"class":203,"line":484},[201,15378,5556],{"class":260},[201,15380,188],{"class":267},[201,15382,5528],{"class":659},[201,15384,1353],{"class":260},[201,15386,1356],{"class":260},[201,15388,15389],{"class":211},"item in items",[201,15391,1356],{"class":260},[201,15393,5540],{"class":659},[201,15395,1353],{"class":260},[201,15397,1356],{"class":260},[201,15399,15400],{"class":211},"item.name",[201,15402,1356],{"class":260},[201,15404,3416],{"class":260},[201,15406,15407],{"class":256},"{{ item.name }}: €{{ item.price }}",[201,15409,1760],{"class":260},[201,15411,188],{"class":267},[201,15413,1718],{"class":260},[201,15415,15416,15418,15420],{"class":203,"line":492},[201,15417,5608],{"class":260},[201,15419,2357],{"class":267},[201,15421,1718],{"class":260},[201,15423,15424,15426,15428,15431,15433,15435,15438,15440,15442,15445,15447,15449],{"class":203,"line":498},[201,15425,1723],{"class":260},[201,15427,14],{"class":267},[201,15429,15430],{"class":659}," class",[201,15432,1353],{"class":260},[201,15434,1356],{"class":260},[201,15436,15437],{"class":211},"total",[201,15439,1356],{"class":260},[201,15441,3416],{"class":260},[201,15443,15444],{"class":256},"Total: €{{ total }}",[201,15446,1760],{"class":260},[201,15448,14],{"class":267},[201,15450,1718],{"class":260},[201,15452,15453,15455,15457],{"class":203,"line":504},[201,15454,1760],{"class":260},[201,15456,1715],{"class":267},[201,15458,1718],{"class":260},[201,15460,15461],{"class":203,"line":5949},[201,15462,654],{"emptyLinePlaceholder":653},[201,15464,15465,15467,15469,15472],{"class":203,"line":5956},[201,15466,1342],{"class":260},[201,15468,984],{"class":267},[201,15470,15471],{"class":659}," scoped",[201,15473,1718],{"class":260},[201,15475,15476,15478,15480,15482,15486,15488,15491,15493],{"class":203,"line":5965},[201,15477,534],{"class":260},[201,15479,15437],{"class":207},[201,15481,631],{"class":260},[201,15483,15485],{"class":15484},"sqsOY"," font-weight",[201,15487,271],{"class":260},[201,15489,15490],{"class":1268}," 700",[201,15492,9510],{"class":260},[201,15494,15495],{"class":260}," }\n",[201,15497,15498,15500,15502],{"class":203,"line":5970},[201,15499,1760],{"class":260},[201,15501,984],{"class":267},[201,15503,1718],{"class":260},[14,15505,15506],{},"Scoped styles apply to this component only, so restyling one screen can't break another. A reviewer sees everything that matters in one file.",[14,15508,15509,15510,15512,15513,15516,15517,15519,15520,4576,15522,4576,15524,15526,15527,4576,15529,4576,15532,15534],{},"Notice what the example doesn't do: it never tells the page to update. ",[137,15511,15437],{}," recalculates whenever ",[137,15514,15515],{},"items"," changes because Vue 3 tracks which data each computed value and template actually reads, using JavaScript Proxies, and re-runs only what depends on the value that changed. No dependency arrays to keep in sync, no manual memoisation to forget. The ",[128,15518,12371],{"href":12370}," is built on the same primitives (",[137,15521,4743],{},[137,15523,6412],{},[137,15525,8102],{},") and lets you move shared logic into composables, plain functions you can reuse and test on their own. The older Options API (",[137,15528,4705],{},[137,15530,15531],{},"methods",[137,15533,6412],{},") is still fully supported and reads well in small components. Both styles can live in one app, so a team can move over file by file.",[14,15536,15537,15538,15540],{},"TypeScript support is first-class, since Vue 3 itself is written in it. Props, emits and slots are typed in ",[137,15539,6406],{},", and editors autocomplete them in templates.",[14,15542,15543,15544,15546],{},"Tooling is the last piece. Evan You, who created Vue, also created Vite, and it has since become the default build tool well beyond Vue: the vite package averaged about 188 million npm downloads a week in the four weeks to 14 October 2026. The dev server starts almost instantly, and hot module replacement swaps the code you edit without a full page reload, usually keeping its state. Since Vite 8, production builds run on Rolldown, a single Rust-based bundler. ",[137,15545,9346],{}," sets up Vite with TypeScript, Vue Router, Pinia and testing in one go.",[18,15548,15550],{"id":15549},"vue-benefits-for-businesses-and-teams","Vue Benefits for Businesses and Teams",[14,15552,15553],{},"Ask a CTO about Vue benefits and syntax rarely comes up. Risk does, and cost, and how long the code will stay pleasant to work on. The biggest benefits of a framework like Vue.js show up after launch, when the codebase has to be maintained.",[14,15555,15556],{},"The first is that you don't have to bet the product on it. Vue's documentation lists uses that run from enhancing static HTML without a build step to full server-rendered apps, so you can replace a legacy jQuery or server-rendered front end one screen at a time, ship each step, and never freeze the roadmap for a rewrite. Vue components can even be compiled into standard Web Components and dropped into pages built with other frameworks.",[14,15558,15559,15560,15562],{},"Maintainability is the second, and it's where we have the most evidence. The ",[128,15561,13647],{"href":13646}," is used by 90% of Estonian schools and is split into multiple microservices. To keep them consistent, we built a shared UI library on top of Vuetify, documented it in Storybook and added a boilerplate for new services, so every team starts from the same components and conventions. We've worked on eKool since July 2021. Two other client platforms, ECFX Notice and sustainabill, have been in continuous development since 2019.",[14,15564,15565],{},"The ecosystem helps here too. Routing (Vue Router), state management (Pinia) and devtools come from the Vue team, and Nuxt covers server rendering, so you depend on fewer third-party packages that could be abandoned. Vue 2 to 3 was the one breaking upgrade. Vue 2 reached end of life on 31 December 2023, and every release since Vue 3.0 in 2020 has been a minor version of the same line.",[14,15567,15568,15569,15572],{},"You also won't build every component yourself. Open-source libraries cover most interface needs; ours, ",[128,15570,13021],{"href":15571},"\u002Fblog\u002Fvuestic-ui",", has 60+ customizable components, and the Vuestic Admin dashboard template built on it has about 11,000 GitHub stars.",[14,15574,15575],{},"Hiring is the honest caveat. The pool is smaller than React's: 17.6% of respondents to the 2025 Stack Overflow survey used Vue, against 44.7% for React. The gentle learning curve offsets a lot of that, because you can hire for strong JavaScript and teach the framework in weeks.",[18,15577,15579],{"id":15578},"performance-and-scalability","Performance and Scalability",[14,15581,15582],{},"Vue 3's compiler reads your templates at build time. It hoists static content out of the render path and tags every dynamic binding with a patch flag, so on an update the runtime checks only the parts that can change. Combined with fine-grained reactivity, a typical Vue app is fast without hand-tuned optimisation.",[14,15584,15585,15586,15588],{},"It's also small. According to the Vue documentation, a minimal app ships about 16 KB of runtime after minification and brotli compression, and one that uses every feature about 27 KB, because built-ins such as ",[137,15587,11262],{}," are left out of the bundle when unused.",[14,15590,15591],{},"The next step is Vapor Mode, an opt-in compilation strategy in Vue 3.6 that skips the virtual DOM and turns components into direct DOM updates. As of 15 October 2026, 3.6 is in release candidate (3.6.0-rc.11 on npm), and you can enable Vapor Mode per component.",[14,15593,15594],{},"For first paint and SEO, Nuxt adds server-side rendering, static generation and hybrid rendering per route. Scaling a codebase is mostly about structure: TypeScript throughout, Pinia stores per domain, composables for shared logic and Nuxt layers to split a large app into packages that teams own separately.",[18,15596,15598],{"id":15597},"when-vuejs-is-not-the-best-fit","When Vue.js Is Not the Best Fit",[14,15600,15601],{},"Vue is our main stack, and we'd still point you elsewhere in these cases:",[2357,15603,15604,15607,15610,15613,15616],{},[188,15605,15606],{},"Native mobile is the main product. React Native has a far larger ecosystem for native apps. Vue can reach mobile through Ionic Vue with Capacitor or through NativeScript-Vue, but those communities are smaller.",[188,15608,15609],{},"You need to hire at React scale. If the plan is dozens of front-end engineers across several cities, React's bigger talent pool is a real advantage.",[188,15611,15612],{},"Your team and product already run on React or Angular. If that code works, the switching cost will usually outweigh anything Vue adds.",[188,15614,15615],{},"The site is mostly static content. For a marketing site or documentation with a few interactive widgets, plain HTML or a content-first tool like Astro may be lighter, and Astro can still render Vue components for the interactive bits.",[188,15617,15618],{},"A key vendor only ships React components. Some SDKs and design systems support React first, so check yours before you commit.",[14,15620,5350,15621,15623],{},[128,15622,2554],{"href":2553}," goes through these trade-offs in more detail, including the ones where React wins.",[18,15625,914],{"id":913},[14,15627,15628,15629,15631],{},"For developers, Vue is a short path from idea to working code. For a business, it's a framework that can enter a legacy product one screen at a time and still be easy to change years later. It's the weaker pick for native mobile and for very large hiring plans. If you're weighing Vue for your next project, our ",[128,15630,909],{"href":908}," team will tell you whether it fits, and we'll say so when it doesn't.",[18,15633,931],{"id":930},[169,15635,15637],{"id":15636},"what-are-the-main-benefits-of-vuejs","What are the main benefits of Vue.js?",[14,15639,15640],{},"A short learning curve, single-file components that keep template, logic and styles together, and reactivity that updates the page without manual DOM code. For businesses, the big ones are incremental adoption, official core libraries and codebases that stay maintainable for years.",[169,15642,15644],{"id":15643},"is-vuejs-good-for-large-applications","Is Vue.js good for large applications?",[14,15646,15647],{},"Yes. Vue 3 is written in TypeScript, Pinia handles shared state, and Nuxt adds server rendering and layers for splitting a big codebase. Two client platforms we work on have been in continuous development since 2019.",[169,15649,15651],{"id":15650},"is-vue-easier-to-learn-than-react","Is Vue easier to learn than React?",[14,15653,15654],{},"For most people, yes. Vue templates are HTML with a few extra attributes, while React asks you to learn JSX and hook rules first. Vue's documentation also follows one recommended path, so beginners spend less time choosing between patterns.",[169,15656,15658],{"id":15657},"why-do-companies-choose-vuejs","Why do companies choose Vue.js?",[14,15660,15661],{},"Mostly for speed and lower risk. Vue can be added to one screen of an existing product without a rewrite, small teams ship quickly with it, and the official router, state library and Nuxt mean fewer third-party dependencies to keep alive.",[169,15663,15665],{"id":15664},"is-vuejs-still-worth-learning-in-2026","Is Vue.js still worth learning in 2026?",[14,15667,15668],{},"Yes. The vue package averages about 17 million npm downloads a week, Vue 3.6 with Vapor Mode is in release candidate, and Nuxt 4 is the current major. React has more job openings, but Vue is quick to pick up and its ideas transfer to other frameworks.",[6170,15670],{"label":11830,"to":6173},[984,15672,15673],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}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":197,"searchDepth":264,"depth":264,"links":15675},[15676,15677,15678,15679,15680,15681,15682],{"id":15037,"depth":224,"text":15038},{"id":15143,"depth":224,"text":15144},{"id":15549,"depth":224,"text":15550},{"id":15578,"depth":224,"text":15579},{"id":15597,"depth":224,"text":15598},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":15683},[15684,15685,15686,15687,15688],{"id":15636,"depth":264,"text":15637},{"id":15643,"depth":264,"text":15644},{"id":15650,"depth":264,"text":15651},{"id":15657,"depth":264,"text":15658},{"id":15664,"depth":264,"text":15665},"Benefits of Vue.js for developers and businesses: easy learning curve, reactivity, Vite tooling, incremental adoption and when Vue is not the best fit.",[15691,15692,15693,15694,15695],{"question":15637,"answer":15640},{"question":15644,"answer":15647},{"question":15651,"answer":15654},{"question":15658,"answer":15661},{"question":15665,"answer":15668},"\u002Fimages\u002Fblog\u002Fvue-benefits\u002Fcard.png",{},"\u002Fblog\u002Fvue-benefits",{"title":15029,"description":15689},"blog\u002Fvue-benefits",[2822,1030],"jZSIhlJzCkeBsw4SVndNifCmQadNgy8hnGsvj9EjlL0",{"id":15704,"title":15705,"articleType":7,"author":8,"authorSlug":9,"body":15706,"cta":1008,"date":16716,"description":16717,"extension":1011,"faq":16718,"featured":1021,"image":16727,"meta":16728,"navigation":653,"noCtaBox":1021,"path":9165,"readTime":2334,"seo":16729,"seoTitle":16730,"stem":16731,"tags":16732,"topic":2339,"video":1008,"__hash__":16733},"blog\u002Fblog\u002Fvue-and-seo.md","Vue SEO: Best Practices and Techniques for Vue.js Apps",{"type":11,"value":15707,"toc":16694},[15708,15711,15715,15730,15737,15744,15748,15760,15770,15969,15972,15978,15982,15985,16127,16131,16145,16211,16225,16228,16232,16235,16291,16308,16312,16319,16403,16413,16417,16432,16435,16487,16498,16502,16519,16522,16525,16528,16541,16544,16559,16562,16566,16578,16582,16585,16616,16622,16624,16634,16636,16640,16643,16647,16650,16654,16661,16665,16680,16684,16689,16691],[14,15709,15710],{},"Vue SEO is a strategy problem before it is a technical one. Vue will happily build a fast, pleasant app that search engines barely see, and just as happily one that ranks. The difference is a handful of decisions made early: how pages are rendered, how each route describes itself, how URLs and links are formed. This guide, from a team that has shipped Vue and Nuxt sites since 2017, covers those decisions and the techniques behind them.",[18,15712,15714],{"id":15713},"why-vuejs-seo-needs-extra-attention","Why Vue.js SEO Needs Extra Attention",[14,15716,15717,15718,15721,15722,15725,15726,15729],{},"A plain Vue app is a single HTML file and a JavaScript bundle. The file has one ",[137,15719,15720],{},"\u003Ctitle>",", one ",[137,15723,15724],{},"\u003Cmeta name=\"description\">"," and an empty ",[137,15727,15728],{},"\u003Cdiv id=\"app\">","; everything else, including the text a crawler would index, is built in the browser after the bundle runs. That is the root of every Vue JS SEO complaint.",[14,15731,15732,15733,15736],{},"Rendering is the first consequence, and the biggest. Google can run your JavaScript, but it queues pages for rendering and gets to them when it has capacity, and most other crawlers never run it. The fix is to produce HTML on the server or at build time, and we cover that choice in a separate guide to ",[128,15734,15735],{"href":4190},"Vue SEO rendering",". This article assumes you have read it and focuses on everything else.",[14,15738,15739,15740,15743],{},"Everything else is not small. One HTML file means one title unless you change it per route. Client-side routing means the server answers 200 for any path, so missing pages look like real ones. Links built with click handlers instead of anchors are invisible. Meta tags written by JavaScript arrive late or, for ",[137,15741,15742],{},"noindex",", may not be honoured at all. None of these is hard to fix. All of them are easy to forget, because the app works perfectly for a human with a browser.",[18,15745,15747],{"id":15746},"how-vue-handles-dynamic-seo","How Vue Handles Dynamic SEO",[14,15749,15750,15751,15756,15757,534],{},"How Vue handles dynamic SEO is the question behind \"my title never changes\". Vue core deliberately has no opinion about the document head; it manages what is inside your root element and nothing above it. The head is handled by the ecosystem, and today that means ",[128,15752,15755],{"href":15753,"rel":15754},"https:\u002F\u002Funhead.unjs.io\u002F",[4980],"Unhead",", the library Nuxt ships by default and that any Vue 3 app can install as ",[137,15758,15759],{},"@unhead\u002Fvue",[14,15761,15762,15763,809,15766,15769],{},"Unhead treats head tags like reactive state. Call ",[137,15764,15765],{},"useHead()",[137,15767,15768],{},"useSeoMeta()"," in a page component, pass refs or computed values, and the title, description, canonical and Open Graph tags follow the route and the data:",[192,15771,15773],{"className":1333,"code":15772,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nconst { data: product } = await useFetch(`\u002Fapi\u002Fproducts\u002F${useRoute().params.slug}`)\n\nuseSeoMeta({\n  title: () => product.value?.name ?? 'Product',\n  description: () => product.value?.summary,\n  ogTitle: () => product.value?.name,\n  ogImage: () => product.value?.image,\n})\n\u003C\u002Fscript>\n",[137,15774,15775,15795,15840,15844,15852,15886,15909,15931,15955,15961],{"__ignoreMap":197},[201,15776,15777,15779,15781,15783,15785,15787,15789,15791,15793],{"class":203,"line":204},[201,15778,1342],{"class":260},[201,15780,2936],{"class":267},[201,15782,2939],{"class":659},[201,15784,2942],{"class":659},[201,15786,1353],{"class":260},[201,15788,1356],{"class":260},[201,15790,232],{"class":211},[201,15792,1356],{"class":260},[201,15794,1718],{"class":260},[201,15796,15797,15799,15801,15803,15805,15807,15809,15811,15813,15815,15817,15819,15821,15823,15826,15828,15830,15832,15834,15836,15838],{"class":203,"line":224},[201,15798,660],{"class":659},[201,15800,631],{"class":260},[201,15802,2069],{"class":267},[201,15804,271],{"class":260},[201,15806,8495],{"class":256},[201,15808,507],{"class":260},[201,15810,670],{"class":260},[201,15812,2009],{"class":245},[201,15814,2083],{"class":252},[201,15816,257],{"class":256},[201,15818,2993],{"class":260},[201,15820,8510],{"class":211},[201,15822,2999],{"class":260},[201,15824,15825],{"class":252},"useRoute",[201,15827,6634],{"class":256},[201,15829,534],{"class":260},[201,15831,3007],{"class":256},[201,15833,534],{"class":260},[201,15835,3012],{"class":256},[201,15837,3015],{"class":260},[201,15839,510],{"class":256},[201,15841,15842],{"class":203,"line":264},[201,15843,654],{"emptyLinePlaceholder":653},[201,15845,15846,15848,15850],{"class":203,"line":290},[201,15847,2885],{"class":252},[201,15849,257],{"class":256},[201,15851,261],{"class":260},[201,15853,15854,15856,15858,15860,15862,15865,15867,15869,15871,15874,15877,15879,15882,15884],{"class":203,"line":301},[201,15855,3034],{"class":252},[201,15857,271],{"class":260},[201,15859,1996],{"class":260},[201,15861,1999],{"class":659},[201,15863,15864],{"class":256}," product",[201,15866,534],{"class":260},[201,15868,3048],{"class":256},[201,15870,3051],{"class":260},[201,15872,15873],{"class":256},"name ",[201,15875,15876],{"class":260},"??",[201,15878,309],{"class":260},[201,15880,15881],{"class":211},"Product",[201,15883,277],{"class":260},[201,15885,287],{"class":260},[201,15887,15888,15890,15892,15894,15896,15898,15900,15902,15904,15907],{"class":203,"line":319},[201,15889,3084],{"class":252},[201,15891,271],{"class":260},[201,15893,1996],{"class":260},[201,15895,1999],{"class":659},[201,15897,15864],{"class":256},[201,15899,534],{"class":260},[201,15901,3048],{"class":256},[201,15903,3051],{"class":260},[201,15905,15906],{"class":256},"summary",[201,15908,287],{"class":260},[201,15910,15911,15913,15915,15917,15919,15921,15923,15925,15927,15929],{"class":203,"line":329},[201,15912,3061],{"class":252},[201,15914,271],{"class":260},[201,15916,1996],{"class":260},[201,15918,1999],{"class":659},[201,15920,15864],{"class":256},[201,15922,534],{"class":260},[201,15924,3048],{"class":256},[201,15926,3051],{"class":260},[201,15928,7044],{"class":256},[201,15930,287],{"class":260},[201,15932,15933,15936,15938,15940,15942,15944,15946,15948,15950,15953],{"class":203,"line":346},[201,15934,15935],{"class":252},"  ogImage",[201,15937,271],{"class":260},[201,15939,1996],{"class":260},[201,15941,1999],{"class":659},[201,15943,15864],{"class":256},[201,15945,534],{"class":260},[201,15947,3048],{"class":256},[201,15949,3051],{"class":260},[201,15951,15952],{"class":256},"image",[201,15954,287],{"class":260},[201,15956,15957,15959],{"class":203,"line":363},[201,15958,507],{"class":260},[201,15960,510],{"class":256},[201,15962,15963,15965,15967],{"class":203,"line":380},[201,15964,1760],{"class":260},[201,15966,2936],{"class":267},[201,15968,1718],{"class":260},[14,15970,15971],{},"Two things make this \"dynamic SEO\" rather than a title swap. The tags are resolved on the server when the page is rendered there, so the crawler receives them in the HTML, not after a script runs. And they are scoped: when the user navigates away, the page's tags are removed and the next page's take over, so a product title never leaks onto the checkout.",[14,15973,15974,15975,15977],{},"Mind the traps, though. Tags that only exist after client-side rendering are read by Google late and by other crawlers never, which is the rendering problem again. And Google's own documentation warns that if the raw HTML already carries ",[137,15976,15742],{},", Googlebot may skip rendering entirely, so changing or removing a robots tag with JavaScript may not work as expected. Decide indexability on the server.",[18,15979,15981],{"id":15980},"vuejs-seo-best-practices","Vue.js SEO Best Practices",[14,15983,15984],{},"The Vue JS SEO best practices below are the ones we apply on every project, and the Vue SEO techniques behind them are mostly configuration, not code. The table is the checklist; the sections after it explain each row.",[26,15986,15987,16002],{},[29,15988,15989],{},[32,15990,15991,15994,15997,16000],{},[35,15992,15993],{},"Practice",[35,15995,15996],{},"What it fixes",[35,15998,15999],{},"Vue\u002FNuxt tool",[35,16001,49],{},[51,16003,16004,16021,16038,16056,16076,16093,16108],{},[32,16005,16006,16009,16012,16019],{},[56,16007,16008],{},"Use History Mode and clean URLs",[56,16010,16011],{},"Hash URLs that crawlers cannot resolve; ugly, duplicate or inconsistent paths",[56,16013,16014,16015,16018],{},"Vue Router ",[137,16016,16017],{},"createWebHistory()","; Nuxt file-based routing",[56,16020,70],{},[32,16022,16023,16026,16029,16036],{},[56,16024,16025],{},"Set unique titles, descriptions and canonicals per route",[56,16027,16028],{},"One title for the whole site; duplicate-content signals",[56,16030,16031,4576,16033,16035],{},[137,16032,15768],{},[137,16034,15765],{},"; Nuxt site config",[56,16037,70],{},[32,16039,16040,16043,16046,16054],{},[56,16041,16042],{},"Add structured data with JSON-LD",[56,16044,16045],{},"Missing rich results; unclear page type and author",[56,16047,16048,4694,16051],{},[137,16049,16050],{},"useSchemaOrg()",[137,16052,16053],{},"nuxt-schema-org",[56,16055,87],{},[32,16057,16058,16061,16064,16074],{},[56,16059,16060],{},"Keep sitemap, robots.txt and 404s in sync with routes",[56,16062,16063],{},"Orphan pages; crawled junk; soft 404s",[56,16065,16066,4576,16068,4576,16071],{},[137,16067,3910],{},[137,16069,16070],{},"@nuxtjs\u002Frobots",[137,16072,16073],{},"createError()",[56,16075,70],{},[32,16077,16078,16081,16084,16091],{},[56,16079,16080],{},"Make internal links crawlable",[56,16082,16083],{},"Links hidden in click handlers; crawl paths that end early",[56,16085,16086,4694,16088],{},[137,16087,8084],{},[137,16089,16090],{},"\u003CRouterLink>",[56,16092,70],{},[32,16094,16095,16098,16101,16106],{},[56,16096,16097],{},"Optimise Core Web Vitals",[56,16099,16100],{},"Slow LCP, janky INP, layout shifts that cost rankings",[56,16102,16103,16105],{},[137,16104,1307],{},", lazy hydration, code splitting",[56,16107,103],{},[32,16109,16110,16113,16119,16125],{},[56,16111,16112],{},"Keep key content visible to crawlers",[56,16114,16115,16116,16118],{},"Text hidden behind ",[137,16117,11548],{},", tabs, infinite scroll or client-only widgets",[56,16120,16121,16122,16124],{},"Server data fetching, ",[137,16123,11552],{},", paginated URLs",[56,16126,87],{},[169,16128,16130],{"id":16129},"use-history-mode-and-clean-urls","Use History Mode and Clean URLs",[14,16132,16133,16134,16137,16138,955,16141,16144],{},"Vue Router offers two URL styles. Hash history puts the route after a ",[137,16135,16136],{},"#",", which the browser never sends to the server, so ",[137,16139,16140],{},"\u002F#\u002Fpricing",[137,16142,16143],{},"\u002F#\u002Fabout"," are one page to a crawler; the Vue Router docs say it has a negative impact on SEO. Use HTML5 history mode:",[192,16146,16148],{"className":230,"code":16147,"language":232,"meta":197,"style":197},"import { createRouter, createWebHistory } from 'vue-router'\n\nconst router = createRouter({ history: createWebHistory(), routes })\n",[137,16149,16150,16175,16179],{"__ignoreMap":197},[201,16151,16152,16154,16156,16159,16161,16164,16166,16168,16170,16173],{"class":203,"line":204},[201,16153,626],{"class":245},[201,16155,631],{"class":260},[201,16157,16158],{"class":256}," createRouter",[201,16160,409],{"class":260},[201,16162,16163],{"class":256}," createWebHistory",[201,16165,637],{"class":260},[201,16167,640],{"class":245},[201,16169,309],{"class":260},[201,16171,16172],{"class":211},"vue-router",[201,16174,648],{"class":260},[201,16176,16177],{"class":203,"line":224},[201,16178,654],{"emptyLinePlaceholder":653},[201,16180,16181,16183,16186,16188,16190,16192,16194,16197,16199,16201,16203,16205,16207,16209],{"class":203,"line":264},[201,16182,660],{"class":659},[201,16184,16185],{"class":256}," router ",[201,16187,1353],{"class":260},[201,16189,16158],{"class":252},[201,16191,257],{"class":256},[201,16193,1620],{"class":260},[201,16195,16196],{"class":267}," history",[201,16198,271],{"class":260},[201,16200,16163],{"class":252},[201,16202,6634],{"class":256},[201,16204,409],{"class":260},[201,16206,11094],{"class":256},[201,16208,507],{"class":260},[201,16210,510],{"class":256},[14,16212,16213,16214,16216,16217,16220,16221,16224],{},"History mode needs the server to return ",[137,16215,147],{}," for unknown paths so a direct visit to ",[137,16218,16219],{},"\u002Fpricing"," does not 404; in nginx that is ",[137,16222,16223],{},"try_files $uri $uri\u002F \u002Findex.html;",". Nuxt handles the router and the server side for you, with file-based routes.",[14,16226,16227],{},"Clean also means consistent: lowercase paths, hyphens between words, one trailing-slash policy, no tracking parameters in internal links. Every URL variant that returns the same page is a duplicate your canonical tag then has to clean up.",[169,16229,16231],{"id":16230},"set-unique-titles-descriptions-and-canonicals-per-route","Set Unique Titles, Descriptions and Canonicals per Route",[14,16233,16234],{},"Every indexable route needs its own title, description and canonical URL, generated from the page's data rather than a hand-maintained list. With Unhead that is one call per page, as in the example above. Then make it scale. A title template adds the site name once:",[192,16236,16238],{"className":230,"code":16237,"language":232,"meta":197,"style":197},"useHead({ titleTemplate: (title) => title ? `${title} | Epicmax` : 'Epicmax' })\n",[137,16239,16240],{"__ignoreMap":197},[201,16241,16242,16244,16246,16248,16251,16253,16255,16257,16259,16261,16263,16266,16269,16271,16273,16276,16278,16280,16282,16285,16287,16289],{"class":203,"line":204},[201,16243,2888],{"class":252},[201,16245,257],{"class":256},[201,16247,1620],{"class":260},[201,16249,16250],{"class":252}," titleTemplate",[201,16252,271],{"class":260},[201,16254,2142],{"class":260},[201,16256,3054],{"class":2106},[201,16258,3779],{"class":260},[201,16260,1999],{"class":659},[201,16262,7568],{"class":256},[201,16264,16265],{"class":260},"?",[201,16267,16268],{"class":260}," `${",[201,16270,3054],{"class":256},[201,16272,507],{"class":260},[201,16274,16275],{"class":211}," | Epicmax",[201,16277,2993],{"class":260},[201,16279,11331],{"class":260},[201,16281,309],{"class":260},[201,16283,16284],{"class":211},"Epicmax",[201,16286,277],{"class":260},[201,16288,637],{"class":260},[201,16290,510],{"class":256},[14,16292,16293,16294,16296,16297,16299,16300,16303,16304,16307],{},"And the canonical should be absolute and point at the one URL you want indexed, which matters most for filtered listings and paginated pages. In Nuxt with the SEO modules installed, set ",[137,16295,3617],{}," once in ",[137,16298,564],{}," and a canonical is generated for every route; override it only where it differs from the current path. In plain Vue, add it with ",[137,16301,16302],{},"useHead({ link: [{ rel: 'canonical', href }] })"," and build the href from a configured origin, never from ",[137,16305,16306],{},"window.location",". Keep descriptions under about 160 characters and specific to the page; a description repeated across routes counts for nothing.",[169,16309,16311],{"id":16310},"add-structured-data-with-json-ld","Add Structured Data with JSON-LD",[14,16313,16314,16315,16318],{},"Structured data tells search engines what a page is: an article with an author and date, a product with a price, an organisation with a logo. It feeds rich results and, increasingly, how AI answers attribute sources. JSON-LD in a ",[137,16316,16317],{},"\u003Cscript type=\"application\u002Fld+json\">"," is the format Google recommends, and Unhead's Schema.org integration writes it from typed helpers:",[192,16320,16322],{"className":230,"code":16321,"language":232,"meta":197,"style":197},"useSchemaOrg([\n  defineArticle({\n    headline: 'Vue SEO: Best Practices and Techniques for Vue.js Apps',\n    datePublished: '2026-10-08',\n    author: { name: 'Pavel Mironov' },\n  }),\n])\n",[137,16323,16324,16330,16338,16353,16369,16390,16399],{"__ignoreMap":197},[201,16325,16326,16328],{"class":203,"line":204},[201,16327,3736],{"class":252},[201,16329,3739],{"class":256},[201,16331,16332,16334,16336],{"class":203,"line":224},[201,16333,3744],{"class":252},[201,16335,257],{"class":256},[201,16337,261],{"class":260},[201,16339,16340,16343,16345,16347,16349,16351],{"class":203,"line":264},[201,16341,16342],{"class":267},"    headline",[201,16344,271],{"class":260},[201,16346,309],{"class":260},[201,16348,15705],{"class":211},[201,16350,277],{"class":260},[201,16352,287],{"class":260},[201,16354,16355,16358,16360,16362,16365,16367],{"class":203,"line":290},[201,16356,16357],{"class":267},"    datePublished",[201,16359,271],{"class":260},[201,16361,309],{"class":260},[201,16363,16364],{"class":211},"2026-10-08",[201,16366,277],{"class":260},[201,16368,287],{"class":260},[201,16370,16371,16374,16376,16378,16380,16382,16384,16386,16388],{"class":203,"line":301},[201,16372,16373],{"class":267},"    author",[201,16375,271],{"class":260},[201,16377,631],{"class":260},[201,16379,3680],{"class":267},[201,16381,271],{"class":260},[201,16383,309],{"class":260},[201,16385,8],{"class":211},[201,16387,277],{"class":260},[201,16389,438],{"class":260},[201,16391,16392,16395,16397],{"class":203,"line":319},[201,16393,16394],{"class":260},"  }",[201,16396,3779],{"class":256},[201,16398,287],{"class":260},[201,16400,16401],{"class":203,"line":329},[201,16402,3786],{"class":256},[14,16404,16405,16406,16408,16409,16412],{},"In Nuxt the ",[137,16407,16053],{}," module adds the site-wide Organization and WebSite nodes, breadcrumbs and per-page types, linked by ",[137,16410,16411],{},"@id"," so one graph describes the site; this page's own JSON-LD is produced that way. Validate with Google's Rich Results Test before shipping, and keep it honest: the visible page must contain what the schema claims.",[169,16414,16416],{"id":16415},"keep-your-sitemap-robotstxt-and-404s-in-sync-with-your-routes","Keep Your Sitemap, Robots.txt and 404s in Sync with Your Routes",[14,16418,16419,16420,16422,16423,16425,16426,16428,16429,16431],{},"A sitemap built from your routes is a crawl map; one built by hand is a list of pages you remembered. ",[137,16421,3910],{}," generates it from the app's routes and content collections at build time, so a new blog post is in the sitemap the moment it exists. ",[137,16424,16070],{}," writes ",[137,16427,3504],{}," from config, which is also where you decide which AI crawlers to allow; our guide to ",[128,16430,3796],{"href":3795}," lists them.",[14,16433,16434],{},"Missing pages need real status codes. A client-side app answers 200 for every path, so Google sees a thin live page instead of a 404 and files it as a soft 404. In Nuxt, throw from the page and the server answers correctly:",[192,16436,16438],{"className":230,"code":16437,"language":232,"meta":197,"style":197},"if (!product.value) throw createError({ statusCode: 404, statusMessage: 'Product not found' })\n",[137,16439,16440],{"__ignoreMap":197},[201,16441,16442,16444,16446,16448,16451,16453,16455,16458,16460,16462,16464,16466,16468,16470,16472,16474,16476,16478,16481,16483,16485],{"class":203,"line":204},[201,16443,5822],{"class":245},[201,16445,2142],{"class":256},[201,16447,5827],{"class":260},[201,16449,16450],{"class":256},"product",[201,16452,534],{"class":260},[201,16454,5835],{"class":256},[201,16456,16457],{"class":245},"throw",[201,16459,5845],{"class":252},[201,16461,257],{"class":256},[201,16463,1620],{"class":260},[201,16465,5852],{"class":267},[201,16467,271],{"class":260},[201,16469,5857],{"class":1268},[201,16471,409],{"class":260},[201,16473,5862],{"class":267},[201,16475,271],{"class":260},[201,16477,309],{"class":260},[201,16479,16480],{"class":211},"Product not found",[201,16482,277],{"class":260},[201,16484,637],{"class":260},[201,16486,510],{"class":256},[14,16488,16489,16490,16493,16494,16497],{},"Moved pages should answer 301. On a server-rendered Nuxt deployment a route rule does it without code: ",[137,16491,16492],{},"'\u002Fold-path': { redirect: { to: '\u002Fnew-path', statusCode: 301 } }",". On a statically generated site, put the redirects in the host's own file instead, Netlify's ",[137,16495,16496],{},"_redirects"," for example: the prerendered stub a route rule emits is a client-side redirect, which passes no link equity. We learned that one on this site.",[169,16499,16501],{"id":16500},"make-internal-links-crawlable","Make Internal Links Crawlable",[14,16503,16504,16505,16508,16509,16512,16513,16515,16516,16518],{},"Crawlers discover pages by following ",[137,16506,16507],{},"\u003Ca href>",". A ",[137,16510,16511],{},"\u003Cdiv @click=\"router.push('\u002Fpricing')\">"," navigates fine for people and is invisible to a crawler, as is a button that calls a store action or a card that becomes a link only after a script attaches a listener. Use ",[137,16514,8084],{}," in Nuxt or ",[137,16517,16090],{}," in plain Vue: both render a real anchor with an href and intercept clicks for client-side navigation, and Nuxt's prefetches the target page's code when the link enters the viewport.",[14,16520,16521],{},"Then think about paths. Every important page should be reachable within a few clicks of the home page, with descriptive anchor text rather than \"click here\", and listings need paginated URLs as well as a \"load more\" button. Run a link checker too: Nuxt SEO's reports broken and redirected internal links at build time, which is how the links in this article were verified.",[169,16523,16097],{"id":16524},"optimise-core-web-vitals",[14,16526,16527],{},"Core Web Vitals are a ranking signal and, more to the point, the difference between a page that feels instant and one that does not. Three metrics, three Vue-specific levers.",[14,16529,16530,16531,16533,16534,16537,16538,534],{},"Largest Contentful Paint is usually the hero image or first block of text. Serve images through ",[137,16532,1307],{}," so they are resized and converted to modern formats, give the hero ",[137,16535,16536],{},"fetchpriority=\"high\"",", and self-host fonts with ",[137,16539,16540],{},"font-display: swap",[14,16542,16543],{},"Interaction to Next Paint suffers when the main thread is busy. Ship less JavaScript: split routes, lazy-load heavy components, and use lazy hydration so a component below the fold renders on the server but only becomes interactive when seen:",[192,16545,16547],{"className":1333,"code":16546,"language":1335,"meta":197,"style":197},"\u003CLazyProductReviews hydrate-on-visible \u002F>\n",[137,16548,16549],{"__ignoreMap":197},[201,16550,16551,16553,16555,16557],{"class":203,"line":204},[201,16552,1342],{"class":260},[201,16554,1726],{"class":267},[201,16556,1729],{"class":659},[201,16558,1539],{"class":260},[14,16560,16561],{},"Cumulative Layout Shift comes from content arriving without reserved space: give images width and height, give async sections a fixed-height skeleton, never inject a banner above content after load. Measure with Lighthouse in development and the Core Web Vitals report in Search Console in production; the second reflects real users and is what ranking uses.",[169,16563,16565],{"id":16564},"keep-key-content-visible-to-crawlers","Keep Key Content Visible to Crawlers",[14,16567,16568,16569,16571,16572,16574,16575,16577],{},"The content a page should rank for has to be in the HTML the crawler receives, which starts with fetching data where the server can see it, as the rendering guide explains. Beyond that, a few Vue habits quietly hide content. ",[137,16570,11548],{}," removes an element from the DOM; ",[137,16573,11552],{}," keeps it and hides it with CSS, so for tabs, accordions and \"read more\" sections whose text matters, keep it in the markup. ",[137,16576,3816],{}," is for widgets with no SEO value, maps, charts, chat, and should always have a fallback. Back infinite scroll with paginated URLs. Put real text next to text in images, and an alt attribute on every image. And render a sensible default for personalised content on the server, so the crawler sees a complete page rather than a placeholder.",[18,16579,16581],{"id":16580},"how-to-test-your-vue-seo-and-check-the-app-is-seo-friendly","How to Test Your Vue SEO and Check the App Is SEO Friendly",[14,16583,16584],{},"A Vue.js app only becomes SEO friendly when every route ships its own title, description and canonical URL, and the only way to know is to look at what a crawler receives, not what your browser shows. This checklist takes ten minutes per page type:",[2357,16586,16587,16594,16597,16600,16603,16610],{},[188,16588,16589,16590,16593],{},"View the source, not the DOM. ",[137,16591,16592],{},"curl"," the URL or open view-source and confirm the title, description, canonical and main content are in the raw HTML. Anything present in DevTools but not here is only visible after JavaScript runs.",[188,16595,16596],{},"Inspect it as Google. In Search Console, run URL Inspection, choose \"Test live URL\" and open \"View crawled page\" for the HTML Googlebot rendered and any resources it could not load.",[188,16598,16599],{},"Run Lighthouse. The SEO audit catches missing descriptions, uncrawlable links and blocked resources; the performance audit gives you lab Core Web Vitals.",[188,16601,16602],{},"Validate structured data in the Rich Results Test and preview Open Graph tags with a social sharing debugger.",[188,16604,16605,16606,16609],{},"Check status codes with ",[137,16607,16608],{},"curl -I"," for a real page, a missing page and a moved page: 200, 404 and 301.",[188,16611,16612,16613,16615],{},"Confirm the sitemap lists the page and ",[137,16614,3504],{}," does not block it, then submit the sitemap once.",[14,16617,16618,16619,16621],{},"Repeat after every rendering or routing change. Most regressions we see in a ",[128,16620,11826],{"href":2284}," are pages that passed once and quietly broke in a refactor.",[18,16623,914],{"id":913},[14,16625,16626,16627,16630,16631,16633],{},"Vue SEO optimization is a strategy: decide how pages are rendered, make every route describe itself, keep URLs and links crawlable, and measure with the tools crawlers use. The techniques are small. Unhead for meta tags, JSON-LD from typed helpers, a sitemap built from routes, real status codes, anchors instead of click handlers, and a performance budget. Nuxt packages most of this as defaults, which is why ",[128,16628,16629],{"href":2272},"migrating to Nuxt 4"," is often the first SEO fix we recommend. If you want a second pair of eyes on an existing Vue app, or a Nuxt build that gets it right from the start, our ",[128,16632,926],{"href":925}," team does both.",[18,16635,931],{"id":930},[169,16637,16639],{"id":16638},"is-vuejs-good-for-seo","Is Vue.js good for SEO?",[14,16641,16642],{},"Yes, once it is set up for it. Vue itself is neutral: it renders what you tell it, where you tell it. A Vue app with server-rendered or prerendered HTML, per-route meta tags, clean URLs and a sitemap ranks like any other site. A default single-page app with none of that is where the bad reputation comes from.",[169,16644,16646],{"id":16645},"does-google-index-vuejs-single-page-apps","Does Google index Vue.js single-page apps?",[14,16648,16649],{},"Yes, with a delay. Googlebot fetches the HTML, queues the page for rendering, runs the JavaScript in a headless Chromium when resources allow, and indexes the result. Content that loads late or fails after mount is missed, and other crawlers, including most AI bots, do not render at all.",[169,16651,16653],{"id":16652},"do-i-need-nuxt-for-vue-seo","Do I need Nuxt for Vue SEO?",[14,16655,16656,16657,16660],{},"Not strictly, but it removes most of the work. Nuxt gives you server rendering or prerendering per route, Unhead for meta tags, and modules for sitemaps, robots, schema and link checking. A plain Vue app can reach the same result with Unhead, Vue Router history mode and a rendering strategy; our ",[128,16658,16659],{"href":4190},"rendering guide"," covers that choice.",[169,16662,16664],{"id":16663},"how-do-i-add-meta-tags-in-vue-3","How do I add meta tags in Vue 3?",[14,16666,16667,16668,16670,16671,16674,16675,809,16677,16679],{},"Use Unhead. Install ",[137,16669,15759],{},", register ",[137,16672,16673],{},"createHead()"," as a plugin, then call ",[137,16676,15765],{},[137,16678,15768],{}," inside any component or page. The tags are reactive, so they update with route and data, and the same calls work on the server. In Nuxt both composables are built in and auto-imported.",[169,16681,16683],{"id":16682},"does-vue-seo-affect-visibility-in-ai-search-tools","Does Vue SEO affect visibility in AI search tools?",[14,16685,16686,16687,534],{},"Yes, and more directly than classic search. Most AI crawlers fetch raw HTML and do not execute JavaScript, so a Vue page whose content only appears after rendering is invisible to them. The same fixes apply: ship content in the HTML, keep meta and structured data accurate, and allow the search bots you want in ",[137,16688,3504],{},[6170,16690],{"label":6172,"to":6173},[984,16692,16693],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .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 .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":197,"searchDepth":264,"depth":264,"links":16695},[16696,16697,16698,16707,16708,16709],{"id":15713,"depth":224,"text":15714},{"id":15746,"depth":224,"text":15747},{"id":15980,"depth":224,"text":15981,"children":16699},[16700,16701,16702,16703,16704,16705,16706],{"id":16129,"depth":264,"text":16130},{"id":16230,"depth":264,"text":16231},{"id":16310,"depth":264,"text":16311},{"id":16415,"depth":264,"text":16416},{"id":16500,"depth":264,"text":16501},{"id":16524,"depth":264,"text":16097},{"id":16564,"depth":264,"text":16565},{"id":16580,"depth":224,"text":16581},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":16710},[16711,16712,16713,16714,16715],{"id":16638,"depth":264,"text":16639},{"id":16645,"depth":264,"text":16646},{"id":16652,"depth":264,"text":16653},{"id":16663,"depth":264,"text":16664},{"id":16682,"depth":264,"text":16683},"2026-10-15","Vue SEO optimization guide: how Vue handles dynamic SEO, per-route meta, structured data and how to make a Vue.js app SEO friendly. By Epicmax.",[16719,16720,16721,16723,16725],{"question":16639,"answer":16642},{"question":16646,"answer":16649},{"question":16653,"answer":16722},"Not strictly, but it removes most of the work. Nuxt gives you server rendering or prerendering per route, Unhead for meta tags, and modules for sitemaps, robots, schema and link checking. A plain Vue app can reach the same result with Unhead, Vue Router history mode and a rendering strategy; our rendering guide covers that choice.",{"question":16664,"answer":16724},"Use Unhead. Install @unhead\u002Fvue, register createHead() as a plugin, then call useHead() or useSeoMeta() inside any component or page. The tags are reactive, so they update with route and data, and the same calls work on the server. In Nuxt both composables are built in and auto-imported.",{"question":16683,"answer":16726},"Yes, and more directly than classic search. Most AI crawlers fetch raw HTML and do not execute JavaScript, so a Vue page whose content only appears after rendering is invisible to them. The same fixes apply: ship content in the HTML, keep meta and structured data accurate, and allow the search bots you want in robots.txt.","\u002Fimages\u002Fblog\u002Fvue-and-seo\u002Fcard.png",{},{"title":15705,"description":16717},"Vue SEO-Friendly: Best Practices and Techniques","blog\u002Fvue-and-seo",[2822,1030,3984],"t_EiuamBfWMT9Tq1r0kshJ71ipqJT62kvY1SBxIHEgA",{"id":16735,"title":16736,"articleType":7,"author":8,"authorSlug":9,"body":16737,"cta":1008,"date":17392,"description":17393,"extension":1011,"faq":17394,"featured":1021,"image":17402,"meta":17403,"navigation":653,"noCtaBox":1021,"path":4190,"readTime":17404,"seo":17405,"seoTitle":17406,"stem":17407,"tags":17408,"topic":2339,"video":1008,"__hash__":17409},"blog\u002Fblog\u002Fvue-js-seo-rendering.md","Vue Server-Side Rendering SEO: How to Pick the Right Rendering Mode",{"type":11,"value":16738,"toc":17373},[16739,16746,16750,16760,16769,16786,16793,16797,16800,16926,16932,17047,17050,17054,17064,17067,17144,17147,17150,17201,17207,17211,17214,17218,17221,17230,17233,17237,17240,17277,17281,17284,17310,17312,17315,17319,17323,17326,17330,17340,17344,17347,17351,17354,17358,17361,17365,17368,17370],[14,16740,16741,16742,16745],{},"Vue server-side rendering SEO questions reach us in one form: \"Google cannot see our pages, do we need SSR?\" The usual answer is \"for some of them\". Vue can render in the browser, on the server, at build time, or a mix per route, and each mode changes what a crawler receives. This guide compares the modes and shows how to choose. Meta tags, sitemaps and structured data live in our ",[128,16743,16744],{"href":9165},"Vue SEO best practices"," guide; this one covers rendering only.",[18,16747,16749],{"id":16748},"vue-client-side-rendering-and-why-it-hurts-seo","Vue Client-Side Rendering and Why It Hurts SEO",[14,16751,16752,16753,16755,16756,16759],{},"A default Vue app, the kind ",[137,16754,2665],{}," scaffolds, is client-side rendered. The server sends an HTML file with an empty ",[137,16757,16758],{},"\u003Cdiv id=\"app\">\u003C\u002Fdiv>"," and a script tag; the browser downloads the JavaScript, runs Vue, calls your API and builds the page. People see a finished page. A crawler sees the empty div first.",[14,16761,16762,16763,16768],{},"Google copes, on its own schedule. Its ",[128,16764,16767],{"href":16765,"rel":16766},"https:\u002F\u002Fdevelopers.google.com\u002Fsearch\u002Fdocs\u002Fcrawling-indexing\u002Fjavascript\u002Fjavascript-seo-basics",[4980],"JavaScript SEO documentation"," describes three phases: crawl the HTML, queue the page for rendering, render it in an evergreen headless Chromium \"once Google's resources allow\", then index the result. A page \"may stay on this queue for a few seconds, but it can take longer than that.\" Four things go wrong in that gap:",[2357,16770,16771,16774,16777,16780],{},[188,16772,16773],{},"New or changed content is indexed late, or from a stale copy.",[188,16775,16776],{},"Links that only appear after rendering are discovered late, which slows crawling of the whole site.",[188,16778,16779],{},"Anything fetched after mount that fails, times out or needs a cookie is missing from the indexed page.",[188,16781,16782,16783,16785],{},"The SPA returns 200 for every path, so a deleted product page looks like a thin live page unless you redirect or add ",[137,16784,15742],{}," yourself.",[14,16787,16788,16789,16792],{},"And Google is the generous one. Bing renders less, and most AI crawlers, OpenAI's and Anthropic's included, fetch raw HTML and never run JavaScript, which is why our guide to ",[128,16790,16791],{"href":3795},"SEO for AI agents"," treats rendering mode as the biggest technical risk. Vue client-side rendering is fine for an app behind a login. For a public page it is a problem statement.",[18,16794,16796],{"id":16795},"vue-seo-rendering-modes-compared","Vue SEO Rendering Modes Compared",[14,16798,16799],{},"Vue gives you several SEO-friendly options for rendering, from full SSR to static generation, and Nuxt adds a fourth that mixes them per route. The three base modes differ in the one thing a crawler cares about: when the HTML is produced.",[26,16801,16802,16815],{},[29,16803,16804],{},[32,16805,16806,16808,16810,16812],{},[35,16807],{},[35,16809,9079],{},[35,16811,9059],{},[35,16813,16814],{},"SSG \u002F prerendering",[51,16816,16817,16831,16845,16859,16871,16885,16898],{},[32,16818,16819,16822,16825,16828],{},[56,16820,16821],{},"What the crawler gets on first request",[56,16823,16824],{},"Empty root element plus JavaScript",[56,16826,16827],{},"Complete HTML, rendered for that request",[56,16829,16830],{},"Complete HTML, rendered at build time",[32,16832,16833,16836,16839,16842],{},[56,16834,16835],{},"When HTML is produced",[56,16837,16838],{},"In the browser",[56,16840,16841],{},"Per request, on a Node or edge server",[56,16843,16844],{},"Once, at deploy",[32,16846,16847,16850,16853,16856],{},[56,16848,16849],{},"Content freshness",[56,16851,16852],{},"Live",[56,16854,16855],{},"Live, or cached for a chosen time",[56,16857,16858],{},"As of the last build, unless refreshed with SWR or ISR",[32,16860,16861,16863,16865,16868],{},[56,16862,4041],{},[56,16864,9923],{},[56,16866,16867],{},"Server runtime (Node, edge, serverless)",[56,16869,16870],{},"Any static host or CDN",[32,16872,16873,16876,16879,16882],{},[56,16874,16875],{},"Time to first byte",[56,16877,16878],{},"Fast shell, content arrives later",[56,16880,16881],{},"Depends on render time and caching",[56,16883,16884],{},"Fastest, content included",[32,16886,16887,16889,16892,16895],{},[56,16888,2417],{},[56,16890,16891],{},"Dashboards and apps behind login",[56,16893,16894],{},"Catalogues, search results, personalised or fast-changing pages",[56,16896,16897],{},"Marketing pages, docs, blogs",[32,16899,16900,16903,16908,16918],{},[56,16901,16902],{},"Vue tooling",[56,16904,16905,16907],{},[137,16906,2665],{}," + Vue Router",[56,16909,16910,16911,16914,16915],{},"Nuxt (default mode), or ",[137,16912,16913],{},"createSSRApp"," + ",[137,16916,16917],{},"renderToString",[56,16919,16920,16922,16923,16925],{},[137,16921,143],{},", or ",[137,16924,14348],{}," route rules",[14,16927,16928,16929,16931],{},"The fourth mode is hybrid rendering. Nuxt sets the mode per route in ",[137,16930,564],{},", so one app can prerender the marketing pages, server-render and cache the catalogue, and skip the server entirely for the account area:",[192,16933,16935],{"className":230,"code":16934,"language":232,"meta":197,"style":197},"export default defineNuxtConfig({\n  routeRules: {\n    '\u002F': { prerender: true },\n    '\u002Fblog\u002F**': { prerender: true },\n    '\u002Fproducts\u002F**': { swr: 3600 },\n    '\u002Faccount\u002F**': { ssr: false },\n  },\n})\n",[137,16936,16937,16949,16957,16977,16997,17017,17037,17041],{"__ignoreMap":197},[201,16938,16939,16941,16943,16945,16947],{"class":203,"line":204},[201,16940,246],{"class":245},[201,16942,249],{"class":245},[201,16944,253],{"class":252},[201,16946,257],{"class":256},[201,16948,261],{"class":260},[201,16950,16951,16953,16955],{"class":203,"line":224},[201,16952,1838],{"class":267},[201,16954,271],{"class":260},[201,16956,298],{"class":260},[201,16958,16959,16961,16963,16965,16967,16969,16971,16973,16975],{"class":203,"line":264},[201,16960,1847],{"class":260},[201,16962,1850],{"class":267},[201,16964,277],{"class":260},[201,16966,271],{"class":260},[201,16968,631],{"class":260},[201,16970,1859],{"class":267},[201,16972,271],{"class":260},[201,16974,1865],{"class":1864},[201,16976,438],{"class":260},[201,16978,16979,16981,16983,16985,16987,16989,16991,16993,16995],{"class":203,"line":290},[201,16980,1847],{"class":260},[201,16982,1874],{"class":267},[201,16984,277],{"class":260},[201,16986,271],{"class":260},[201,16988,631],{"class":260},[201,16990,1859],{"class":267},[201,16992,271],{"class":260},[201,16994,1865],{"class":1864},[201,16996,438],{"class":260},[201,16998,16999,17001,17003,17005,17007,17009,17011,17013,17015],{"class":203,"line":301},[201,17000,1847],{"class":260},[201,17002,1897],{"class":267},[201,17004,277],{"class":260},[201,17006,271],{"class":260},[201,17008,631],{"class":260},[201,17010,1883],{"class":267},[201,17012,271],{"class":260},[201,17014,1888],{"class":1268},[201,17016,438],{"class":260},[201,17018,17019,17021,17023,17025,17027,17029,17031,17033,17035],{"class":203,"line":319},[201,17020,1847],{"class":260},[201,17022,8796],{"class":267},[201,17024,277],{"class":260},[201,17026,271],{"class":260},[201,17028,631],{"class":260},[201,17030,1929],{"class":267},[201,17032,271],{"class":260},[201,17034,1934],{"class":1864},[201,17036,438],{"class":260},[201,17038,17039],{"class":203,"line":329},[201,17040,501],{"class":260},[201,17042,17043,17045],{"class":203,"line":346},[201,17044,507],{"class":260},[201,17046,510],{"class":256},[14,17048,17049],{},"One app, four behaviours, no second framework. Dynamic rendering is deliberately absent from the table. It is not a rendering mode for users, only a workaround for bots, and it gets its own section below.",[18,17051,17053],{"id":17052},"vue-server-side-rendering-seo-in-practice","Vue Server-Side Rendering SEO in Practice",[14,17055,17056,17057,17060,17061,17063],{},"For most teams, Vue server-side rendering SEO work starts and ends with Nuxt. It renders on the server by default, fetches data in the right place, manages the ",[137,17058,17059],{},"\u003Chead>",", hydrates on the client and deploys to any host. Our ",[128,17062,926],{"href":925}," team starts every SEO-critical Vue project there.",[14,17065,17066],{},"Custom SSR exists for the cases with a reason: an existing Express or Fastify app you cannot replace, or Vue embedded in a non-Nuxt stack. Vue's own API is small:",[192,17068,17070],{"className":11083,"code":17069,"language":11085,"meta":197,"style":197},"import { createSSRApp } from 'vue'\nimport { renderToString } from 'vue\u002Fserver-renderer'\n\nconst app = createSSRApp(App)\nconst html = await renderToString(app)\n",[137,17071,17072,17091,17110,17114,17128],{"__ignoreMap":197},[201,17073,17074,17076,17078,17081,17083,17085,17087,17089],{"class":203,"line":204},[201,17075,626],{"class":245},[201,17077,631],{"class":260},[201,17079,17080],{"class":256}," createSSRApp",[201,17082,637],{"class":260},[201,17084,640],{"class":245},[201,17086,309],{"class":260},[201,17088,1335],{"class":211},[201,17090,648],{"class":260},[201,17092,17093,17095,17097,17100,17102,17104,17106,17108],{"class":203,"line":224},[201,17094,626],{"class":245},[201,17096,631],{"class":260},[201,17098,17099],{"class":256}," renderToString",[201,17101,637],{"class":260},[201,17103,640],{"class":245},[201,17105,309],{"class":260},[201,17107,9356],{"class":211},[201,17109,648],{"class":260},[201,17111,17112],{"class":203,"line":264},[201,17113,654],{"emptyLinePlaceholder":653},[201,17115,17116,17118,17121,17123,17125],{"class":203,"line":290},[201,17117,660],{"class":659},[201,17119,17120],{"class":256}," app ",[201,17122,1353],{"class":260},[201,17124,17080],{"class":252},[201,17126,17127],{"class":256},"(App)\n",[201,17129,17130,17132,17135,17137,17139,17141],{"class":203,"line":301},[201,17131,660],{"class":659},[201,17133,17134],{"class":256}," html ",[201,17136,1353],{"class":260},[201,17138,2009],{"class":245},[201,17140,17099],{"class":252},[201,17142,17143],{"class":256},"(app)\n",[14,17145,17146],{},"Everything after that line, routing, data, head tags, hydration, bundling and caching, is yours to build. That is the job Nuxt already does.",[14,17148,17149],{},"Whichever path you take, the SEO pitfalls are the same four:",[185,17151,17152,17163,17181,17193],{},[188,17153,17154,17155,809,17157,17159,17160,17162],{},"Fetch data where the server can see it. In Nuxt that means ",[137,17156,4492],{},[137,17158,2054],{},", which run during SSR and ship the result in the payload so the client does not refetch. A fetch in ",[137,17161,8105],{}," runs only in the browser, so the server HTML has no content and crawlers are back to CSR.",[188,17164,17165,17166,4576,17168,955,17170,17172,17173,17175,17176,17178,17179,534],{},"Guard browser APIs. ",[137,17167,8610],{},[137,17169,10083],{},[137,17171,8574],{}," do not exist on the server. Put that code in ",[137,17174,8105],{},", behind ",[137,17177,8606],{},", or inside ",[137,17180,3816],{},[188,17182,17183,17184,8584,17186,17188,17189,17192],{},"Avoid hydration mismatches. A ",[137,17185,8583],{},[137,17187,8587],{},", a random ID, a date in the server's timezone or ",[137,17190,17191],{},"v-if=\"window.innerWidth > 768\""," all render differently on the client. Vue repairs it, but you pay in performance, and the crawler indexed the server version anyway.",[188,17194,17195,17196,809,17198,17200],{},"Keep time to first byte low. SSR costs render time per request. Cache with ",[137,17197,1952],{},[137,17199,1956],{}," route rules, Nitro's cache layer or a CDN, and only render live what has to be live.",[14,17202,17203,17204,17206],{},"Still on Nuxt 3? The ",[128,17205,2273],{"href":2272}," is the first step: same rendering model, better data-fetching defaults.",[18,17208,17210],{"id":17209},"vue-dynamic-rendering-best-practices","Vue Dynamic Rendering: Best Practices",[14,17212,17213],{},"Vue dynamic rendering means two unrelated things, and search results mix them up: a crawler-only serving trick, and the ordinary work of showing content that changes. They need different advice.",[169,17215,17217],{"id":17216},"dynamic-rendering-for-search-engine-crawlers","Dynamic Rendering for Search Engine Crawlers",[14,17219,17220],{},"Dynamic rendering detects a bot by its user agent and serves it a prerendered HTML snapshot, made with a headless browser such as Rendertron, Prerender.io or your own Puppeteer script, while people get the normal SPA. Google suggested it for JavaScript sites around 2018.",[14,17222,17223,17224,17229],{},"It no longer does. Google's ",[128,17225,17228],{"href":17226,"rel":17227},"https:\u002F\u002Fdevelopers.google.com\u002Fsearch\u002Fdocs\u002Fcrawling-indexing\u002Fjavascript\u002Fdynamic-rendering",[4980],"dynamic rendering page",", updated in December 2025, calls it \"a workaround and not a long-term solution\" and does not recommend it because of the extra complexity and resources. The alternatives it recommends are server-side rendering, static rendering and hydration: in Vue, Nuxt SSR, prerendering, or both.",[14,17231,17232],{},"If you inherited one, the best practices for dynamic rendering in Vue are about leaving it safely. Serve bots exactly what users see, or it looks like cloaking. Keep status codes honest, so a missing page is a 404 in the snapshot too. Cache snapshots and refresh them when content changes. Then set an end date and move the key routes to prerendering.",[169,17234,17236],{"id":17235},"rendering-dynamic-content-in-vue-components","Rendering Dynamic Content in Vue Components",[14,17238,17239],{},"The second meaning is Vue dynamic content rendering: pages whose content comes from a CMS, an API or the user. The rule is simple. If a crawler should see it, render it on the server.",[2357,17241,17242,17250,17258,17261,17268,17271],{},[188,17243,17244,17245,809,17247,17249],{},"Fetch with ",[137,17246,4492],{},[137,17248,2054],{}," so the content is in the HTML, not added after mount.",[188,17251,17252,17254,17255,17257],{},[137,17253,11548],{}," removes an element from the HTML; ",[137,17256,11552],{}," keeps it in the DOM and hides it. Collapsed sections that matter for search should stay in the markup.",[188,17259,17260],{},"Give infinite scroll real paginated URLs. Crawlers do not scroll.",[188,17262,17263,17264,17267],{},"Lazy-hydrate heavy components below the fold: ",[137,17265,17266],{},"\u003CLazyMyComponent hydrate-on-visible \u002F>"," still renders the HTML on the server and only delays the JavaScript.",[188,17269,17270],{},"Render a sensible default for personalised content on the server, then swap it on the client.",[188,17272,17273,17274,17276],{},"Keep ",[137,17275,3816],{}," for widgets with no SEO value, such as maps and charts, and give it a fallback.",[18,17278,17280],{"id":17279},"how-to-choose-a-rendering-strategy-for-your-vue-app","How to Choose a Rendering Strategy for Your Vue App",[14,17282,17283],{},"Pick the mode per page type. A project rarely needs just one.",[2357,17285,17286,17289,17297,17303],{},[188,17287,17288],{},"Marketing pages, docs and blog: static generation. The content changes with deploys, the HTML is ready before anyone asks for it, and hosting is a CDN. This site is a Nuxt app generated to static files.",[188,17290,17291,17292,809,17294,17296],{},"Catalogue, listings and e-commerce: server-side rendering with a cache. Use ",[137,17293,1952],{},[137,17295,1956],{}," route rules so a product page renders once per hour, not once per visit.",[188,17298,17299,17300,17302],{},"Dashboards and anything behind login: client-side rendering with ",[137,17301,139],{}," on those routes. No crawler will ever see them, and your build gets faster.",[188,17304,17305,17306,17309],{},"An old Vue SPA you need to rescue: move it to Nuxt and prerender the routes that earn traffic first, usually the homepage and a handful of landing pages, while the rest stays client-rendered. Expand from there. This is the shape most of our ",[128,17307,17308],{"href":2719},"migrating to Nuxt"," projects take.",[18,17311,914],{"id":913},[14,17313,17314],{},"Client-side rendering makes a crawler wait for JavaScript, and some crawlers never run it. Server-side rendering and static generation both hand over complete HTML; they differ in when it is produced and what it costs to serve. Nuxt lets you pick per route, which settles most \"SSR or SSG?\" debates: both, in the right places. Dynamic rendering is a bridge, not a destination. Pick the mode by page type, fetch data where the server can see it, and the rest of your Vue SEO work starts on solid ground.",[18,17316,17318],{"id":17317},"vuejs-seo-rendering-faqs","Vue.js SEO Rendering FAQs",[169,17320,17322],{"id":17321},"does-google-index-client-side-rendered-vue-apps","Does Google index client-side rendered Vue apps?",[14,17324,17325],{},"Yes, on a delay and with risks. Googlebot queues the page, renders it in a headless Chromium when resources allow, then indexes the result, so new content waits and anything that fails to load after mount is missing. Bing renders less; most AI crawlers do not run JavaScript at all.",[169,17327,17329],{"id":17328},"do-i-need-nuxt-for-server-side-rendering-in-vue","Do I need Nuxt for server-side rendering in Vue?",[14,17331,17332,17333,955,17335,7989,17337,17339],{},"No. Vue ships its own SSR APIs, ",[137,17334,16913],{},[137,17336,16917],{},[137,17338,9356],{},", and they work in any Node server. You then own routing, data fetching, head management, hydration and the build. Nuxt does all of that, which is why we treat custom SSR as the exception.",[169,17341,17343],{"id":17342},"is-ssg-better-than-ssr-for-seo","Is SSG better than SSR for SEO?",[14,17345,17346],{},"A crawler gets the same complete HTML either way, so neither ranks better by itself. SSG is cheaper and faster to serve because the HTML exists before the request. SSR fits pages that change per request or too often to rebuild. Most sites mix the two per route.",[169,17348,17350],{"id":17349},"does-ssr-make-a-vue-app-slower","Does SSR make a Vue app slower?",[14,17352,17353],{},"It moves work to the server: every uncached request costs render time before the first byte. In return users and crawlers get a complete page sooner instead of a blank shell. Cache rendered responses with route rules or a CDN and most of the cost disappears.",[169,17355,17357],{"id":17356},"is-dynamic-rendering-still-recommended-by-google","Is dynamic rendering still recommended by Google?",[14,17359,17360],{},"No. Google's documentation calls dynamic rendering a workaround rather than a long-term solution and does not recommend it because of the extra complexity and resources. It recommends server-side rendering, static rendering or hydration, which in Vue terms means Nuxt SSR, prerendering or a mix.",[169,17362,17364],{"id":17363},"what-is-hydration-in-vue","What is hydration in Vue?",[14,17366,17367],{},"Hydration is the step where the Vue app in the browser attaches to HTML rendered on the server instead of building the DOM from scratch: Vue walks the existing nodes, links them to components and adds event listeners. Different server and client markup causes a hydration mismatch, which Vue repairs at a performance cost.",[6170,17369],{"label":6172,"to":6173},[984,17371,17372],{},"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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":197,"searchDepth":264,"depth":264,"links":17374},[17375,17376,17377,17378,17382,17383,17384],{"id":16748,"depth":224,"text":16749},{"id":16795,"depth":224,"text":16796},{"id":17052,"depth":224,"text":17053},{"id":17209,"depth":224,"text":17210,"children":17379},[17380,17381],{"id":17216,"depth":264,"text":17217},{"id":17235,"depth":264,"text":17236},{"id":17279,"depth":224,"text":17280},{"id":913,"depth":224,"text":914},{"id":17317,"depth":224,"text":17318,"children":17385},[17386,17387,17388,17389,17390,17391],{"id":17321,"depth":264,"text":17322},{"id":17328,"depth":264,"text":17329},{"id":17342,"depth":264,"text":17343},{"id":17349,"depth":264,"text":17350},{"id":17356,"depth":264,"text":17357},{"id":17363,"depth":264,"text":17364},"2026-10-14","Vue SSR for SEO explained: how Vue client-side rendering affects indexing, SEO-friendly rendering options and best practices for dynamic content.",[17395,17396,17398,17399,17400,17401],{"question":17322,"answer":17325},{"question":17329,"answer":17397},"No. Vue ships its own SSR APIs, createSSRApp and renderToString from vue\u002Fserver-renderer, and they work in any Node server. You then own routing, data fetching, head management, hydration and the build. Nuxt does all of that, which is why we treat custom SSR as the exception.",{"question":17343,"answer":17346},{"question":17350,"answer":17353},{"question":17357,"answer":17360},{"question":17364,"answer":17367},"\u002Fimages\u002Fblog\u002Fvue-js-seo-rendering\u002Fcard.png",{},"7 min read",{"title":16736,"description":17393},"Vue SEO rendering: Full guide to SSR, CSR and Dynamic","blog\u002Fvue-js-seo-rendering",[2822,1030,3984],"yWFGllLPKmx63U0goKTDHv6CT-crfO48y41V-J64YkE",{"id":17411,"title":17412,"articleType":7,"author":8,"authorSlug":9,"body":17413,"cta":1008,"date":17671,"description":17672,"extension":1011,"faq":17673,"featured":1021,"image":17681,"meta":17682,"navigation":653,"noCtaBox":1021,"path":17683,"readTime":17684,"seo":17685,"seoTitle":17686,"stem":17687,"tags":17688,"topic":1032,"video":1008,"__hash__":17689},"blog\u002Fblog\u002Fis-vue-js-still-worth-using.md","Is Vue.js in Demand in 2026? Why It Is Still Worth Using",{"type":11,"value":17414,"toc":17657},[17415,17418,17422,17425,17496,17510,17513,17522,17526,17529,17548,17551,17554,17557,17561,17564,17570,17573,17579,17587,17591,17594,17597,17607,17609,17613,17616,17620,17623,17627,17630,17634,17637,17641,17644,17648,17655],[14,17416,17417],{},"Is Vue JS in demand in 2026? Yes. Vue is the second most-used front-end framework behind React in the State of JS survey, its users rate it higher than React users rate React, and its job market is smaller than React's but steady. One thing up front: React has more openings, and the numbers below say so. Here is where Vue stands, from a team that has built with Vue since 2017.",[18,17419,17421],{"id":17420},"how-popular-is-vuejs-in-2026","How Popular Is Vue.js in 2026?",[14,17423,17424],{},"How popular is Vue JS right now? Two developer surveys and the npm registry measure different things, and they agree on the order: React first, Vue second, Angular close behind, Svelte growing from a smaller base.",[26,17426,17427,17443],{},[29,17428,17429],{},[32,17430,17431,17434,17437,17440],{},[35,17432,17433],{},"Framework",[35,17435,17436],{},"Developer usage (State of JS 2025 \u002F Stack Overflow 2025)",[35,17438,17439],{},"Satisfaction (State of JS 2025)",[35,17441,17442],{},"Weekly npm downloads (average, 4 weeks to 4 Oct 2026)",[51,17444,17445,17458,17471,17483],{},[32,17446,17447,17449,17452,17455],{},[56,17448,2429],{},[56,17450,17451],{},"85% \u002F 44.7%",[56,17453,17454],{},"72%",[56,17456,17457],{},"~176M",[32,17459,17460,17462,17465,17468],{},[56,17461,2822],{},[56,17463,17464],{},"52% \u002F 17.6%",[56,17466,17467],{},"84%",[56,17469,17470],{},"~16M",[32,17472,17473,17475,17478,17480],{},[56,17474,2390],{},[56,17476,17477],{},"48% \u002F 18.2%",[56,17479,13453],{},[56,17481,17482],{},"~5.9M",[32,17484,17485,17487,17490,17493],{},[56,17486,2441],{},[56,17488,17489],{},"27% \u002F 7.2%",[56,17491,17492],{},"86%",[56,17494,17495],{},"~5.8M",[14,17497,17498,17499,17504,17505,17509],{},"The two surveys ask different crowds. ",[128,17500,17503],{"href":17501,"rel":17502},"https:\u002F\u002F2025.stateofjs.com\u002Fen-US\u002Flibraries\u002Ffront-end-frameworks\u002F",[4980],"State of JS 2025"," polls people who chose to fill in a JavaScript survey, so every number runs high. The ",[128,17506,17508],{"href":8179,"rel":17507},[4980],"Stack Overflow Developer Survey 2025"," asks all developers what they worked with in the past year, and there Angular edges Vue by half a point. Either way Vue is a clear second tier with Angular, far behind React and far ahead of everything else.",[14,17511,17512],{},"Satisfaction is where Vue looks best. In State of JS 2025, 84% of Vue users had a positive view of it, against 72% for React and 48% for Angular; only Svelte scores higher. Stack Overflow's \"admired\" metric tells the same story in a narrower band: Svelte 62%, React 52%, Vue 51%, Angular 45%.",[14,17514,17515,17516,17521],{},"Downloads show the size gap most plainly. Over the four weeks to 4 October 2026, the ",[128,17517,17520],{"href":17518,"rel":17519},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fvue",[4980],"vue package"," averaged about 16 million downloads a week on npm, roughly eleven times fewer than React and almost three times more than Angular's core package or Svelte.",[18,17523,17525],{"id":17524},"is-vuejs-in-demand-what-the-job-market-says","Is Vue.js in Demand? What the Job Market Says",[14,17527,17528],{},"The question people ask on Reddit is whether Vue is still in demand and well paid. Here is a snapshot we took on 8 October 2026:",[2357,17530,17531,17534,17537,17540],{},[188,17532,17533],{},"LinkedIn, United States: 9,000+ postings mentioning Vue.js against 10,000+ for React.js. LinkedIn stops counting at 10,000, so the real React figure is higher.",[188,17535,17536],{},"LinkedIn, European Union: 8,000+ Vue.js postings, nearly as many as in the US.",[188,17538,17539],{},"Indeed, United States: about 1,000 Vue.js postings against about 16,000 for React.js.",[188,17541,17542,17547],{},[128,17543,17546],{"href":17544,"rel":17545},"https:\u002F\u002Fvuejobs.com\u002F",[4980],"VueJobs",", the Vue-only board: 1,306 open listings, 174 of them added that week.",[14,17549,17550],{},"So the honest answer is: fewer postings than React, by a wide margin on Indeed and a narrower one on LinkedIn. Two things soften that. The pool of Vue developers is smaller as well, 17.6% of developers against 44.7% for React in the Stack Overflow survey, so a Vue opening is often harder for an employer to fill, which is leverage for the candidate. And the market is more European than React's: the EU and US LinkedIn counts for Vue are nearly level, which is also what we see from our own office in Vilnius.",[14,17552,17553],{},"On pay, be careful with claims in either direction. No major 2025 survey breaks salary down by front-end framework. Stack Overflow reports it by developer type, and a Vue developer and a React developer are both \"front-end developer\" there. Seniority, location and domain move the number far more than the framework does.",[14,17555,17556],{},"Two skills raise a Vue CV. Nuxt, because server-rendered Vue is what most companies ship now, and TypeScript, because Vue 3 is written in it and the ecosystem assumes you use it.",[18,17558,17560],{"id":17559},"the-future-of-vuejs","The Future of Vue.js",[14,17562,17563],{},"The future of Vue JS rests on three things that are already shipping or in release candidate.",[14,17565,17566,17567,17569],{},"Vapor Mode is the big one. Vue 3.6 adds a compilation mode that skips the virtual DOM, opt-in per component, with performance in the same league as Solid and Svelte. As of 8 October 2026, 3.6 is at release candidate 10 (published 30 September) and the stable tag on npm is still 3.5.43, so plan it as a targeted optimisation rather than a rewrite. Our guide to ",[128,17568,12590],{"href":11774}," covers how to decide.",[14,17571,17572],{},"Tooling gets less attention but touches every project. VoidZero, the company Evan You founded around Vue's build chain, shipped Vite 8 in March 2026 on Rolldown, a Rust bundler that reached 1.0 in May, with the Oxc compiler underneath. Upgrade and you inherit the speed.",[14,17574,17575,17576,17578],{},"Then there is Nuxt 4, which is not future at all. It shipped in July 2025, reached 4.6 on 5 October 2026, and is now the default way to build a Vue app that needs server rendering. Our ",[128,17577,2273],{"href":2272}," covers the upgrade.",[14,17580,17581,17582,17586],{},"One date that worries people: Vue 2 reached end of life on 31 December 2023. Teams still on it are facing a migration, not a dying framework, and ",[128,17583,17585],{"href":17584},"\u002Fservices\u002Fvue-3-migration","migrating from Vue 2 to Vue 3"," is routine work for us.",[18,17588,17590],{"id":17589},"conclusion-is-vuejs-still-worth-using","Conclusion: Is Vue.js Still Worth Using?",[14,17592,17593],{},"Yes, with a clear split on who it is for.",[14,17595,17596],{},"SaaS dashboards and admin panels are the obvious fit: Vue's component libraries and reactivity keep large forms and tables manageable. So is the gradual migration of a legacy front-end, because Vue drops into existing server-rendered pages one widget at a time. Small and mid-sized teams get one official path through routing, state and server rendering instead of a stack of choices. And any team that wants server-side rendering without adopting React gets exactly that from Nuxt.",[14,17598,17599,17600,17602,17603,17606],{},"The fit weakens where hiring at React scale matters most. If you plan to hire dozens of front-end engineers across several cities, React's larger pool is a real advantage, and our ",[128,17601,2554],{"href":2553}," goes through the trade-offs without a thumb on the scale. Weighing Vue for a new product or a migration? Our ",[128,17604,17605],{"href":908},"Vue.js consulting services"," team will give you a straight answer.",[18,17608,931],{"id":930},[169,17610,17612],{"id":17611},"is-vuejs-dying","Is Vue.js dying?",[14,17614,17615],{},"No. In State of JS 2025, 52% of respondents had used Vue, the vue package averages about 16 million npm downloads a week, Vue 3.6 with Vapor Mode is in release candidate and Nuxt 4.6 shipped in October 2026. Frameworks in decline do not ship two major lines at once.",[169,17617,17619],{"id":17618},"is-vuejs-good-for-beginners-in-2026","Is Vue.js good for beginners in 2026?",[14,17621,17622],{},"Yes, and it is the easiest of the big three to start with. Templates are HTML with a few extra attributes, the docs follow one path, and the official stack of Vue Router, Pinia and Nuxt removes most decisions. Learn plain JavaScript first; Vue rewards it.",[169,17624,17626],{"id":17625},"is-vuejs-used-by-big-companies","Is Vue.js used by big companies?",[14,17628,17629],{},"Yes. GitLab's web interface is built with Vue, Alibaba has been a major adopter since Vue's early days, and Laravel ships Vue-based tools such as Nova. Many more SaaS products and internal platforms, including the ones our team maintains for clients, run on Vue without ever making a logo wall.",[169,17631,17633],{"id":17632},"should-i-learn-vue-or-react-first","Should I learn Vue or React first?",[14,17635,17636],{},"Pick by the jobs you want. If you are targeting the US market or large product companies, React has more openings. If you want to ship something this month, Vue is faster to learn and its ideas, components, reactivity and routing, transfer to React later. Neither choice locks you in.",[169,17638,17640],{"id":17639},"do-vuejs-developers-earn-less-than-react-developers","Do Vue.js developers earn less than React developers?",[14,17642,17643],{},"No primary source shows that. The Stack Overflow 2025 survey reports pay by developer type, not by framework, and Vue and React developers sit in the same front-end bucket. In practice pay tracks seniority, location and domain far more than the framework on your CV.",[169,17645,17647],{"id":17646},"is-vue-2-still-supported","Is Vue 2 still supported?",[14,17649,17650,17651,17654],{},"No. Vue 2 reached end of life on 31 December 2023 and no longer receives security fixes. A paid extended-support option exists from HeroDevs, but for most teams the right move is a planned ",[128,17652,17653],{"href":17584},"Vue 3 migration",", which also unlocks Nuxt 4, Vite 8 and Vapor Mode.",[6170,17656],{"label":11830,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":17658},[17659,17660,17661,17662,17663],{"id":17420,"depth":224,"text":17421},{"id":17524,"depth":224,"text":17525},{"id":17559,"depth":224,"text":17560},{"id":17589,"depth":224,"text":17590},{"id":930,"depth":224,"text":931,"children":17664},[17665,17666,17667,17668,17669,17670],{"id":17611,"depth":264,"text":17612},{"id":17618,"depth":264,"text":17619},{"id":17625,"depth":264,"text":17626},{"id":17632,"depth":264,"text":17633},{"id":17639,"depth":264,"text":17640},{"id":17646,"depth":264,"text":17647},"2026-10-13","Is Vue.js in demand? See how popular Vue.js is in 2026, what the job market looks like and where Vapor Mode takes it next. By Epicmax's Vue team.",[17674,17675,17676,17677,17678,17679],{"question":17612,"answer":17615},{"question":17619,"answer":17622},{"question":17626,"answer":17629},{"question":17633,"answer":17636},{"question":17640,"answer":17643},{"question":17647,"answer":17680},"No. Vue 2 reached end of life on 31 December 2023 and no longer receives security fixes. A paid extended-support option exists from HeroDevs, but for most teams the right move is a planned Vue 3 migration, which also unlocks Nuxt 4, Vite 8 and Vapor Mode.","\u002Fimages\u002Fblog\u002Fis-vue-js-still-worth-using\u002Fcard.png",{},"\u002Fblog\u002Fis-vue-js-still-worth-using","5 min read",{"title":17412,"description":17672},"Is Vue.js in Demand in 2026? Popularity and Future","blog\u002Fis-vue-js-still-worth-using",[2822,1030],"fAeJTO1fKcgDNLRPghpt8xLWhkO7INjt2mLvEoCV8QA",{"id":17691,"title":17692,"articleType":7,"author":8,"authorSlug":9,"body":17693,"cta":1008,"date":18034,"description":18035,"extension":1011,"faq":18036,"featured":1021,"image":18047,"meta":18048,"navigation":653,"noCtaBox":1021,"path":2557,"readTime":17684,"seo":18049,"seoTitle":18050,"stem":18051,"tags":18052,"topic":2823,"video":1008,"__hash__":18053},"blog\u002Fblog\u002Fvue-js-vs-next-js.md","Vue JS vs Next JS: Which One Should You Choose?",{"type":11,"value":17694,"toc":18010},[17695,17698,17702,17708,17816,17819,17823,17829,17833,17836,17840,17843,17847,17852,17854,17865,17867,17873,17877,17883,17887,17890,17893,17910,17913,17930,17933,17935,17941,17943,17947,17950,17954,17957,17959,17962,17966,17969,17973,17976,17980,17983,17987,17994,17998,18008],[14,17696,17697],{},"Vue JS vs Next JS is one of the most common framework questions we get, and the honest answer starts with a correction. They are not the same kind of tool. Vue is a front-end framework; Next.js is a full-stack framework built on React. The fair comparisons are Vue vs React and Nuxt vs Next.js, and this guide covers both, from a team that builds with Vue and Nuxt daily.",[18,17699,17701],{"id":17700},"vuejs-vs-nextjs-why-it-is-not-a-like-for-like-comparison","Vue.js vs Next.js - Why It Is Not a Like-for-Like Comparison",[14,17703,17704,17705,17707],{},"Most next js vs vue articles line the two up feature by feature and declare a winner. That misses the point. Vue.js is a front-end framework, the same category as React. Next.js is a full-stack framework that wraps React with routing, server rendering, data fetching and a build pipeline; its Vue equivalent is Nuxt. So \"Vue or Next.js?\" is really two questions: React or Vue for the UI layer, and whether you want a full-stack framework on top. Our ",[128,17706,2554],{"href":2553}," answers the first. This article answers the second.",[26,17709,17710,17721],{},[29,17711,17712],{},[32,17713,17714,17716,17719],{},[35,17715,11901],{},[35,17717,17718],{},"Vue.js (with Nuxt)",[35,17720,2365],{},[51,17722,17723,17733,17742,17753,17763,17774,17784,17794,17805],{},[32,17724,17725,17728,17731],{},[56,17726,17727],{},"Type of tool",[56,17729,17730],{},"Front-end framework; Nuxt adds the full-stack layer",[56,17732,12046],{},[32,17734,17735,17738,17740],{},[56,17736,17737],{},"Underlying library",[56,17739,6260],{},[56,17741,6263],{},[32,17743,17744,17747,17750],{},[56,17745,17746],{},"Rendering modes",[56,17748,17749],{},"SPA alone; SSR, SSG and per-route hybrid with Nuxt route rules",[56,17751,17752],{},"Static, dynamic and streaming per route; Cache Components for partial prerendering",[32,17754,17755,17757,17760],{},[56,17756,9851],{},[56,17758,17759],{},"Vue Router; file-based in Nuxt",[56,17761,17762],{},"File-based App Router",[32,17764,17765,17768,17771],{},[56,17766,17767],{},"State management",[56,17769,17770],{},"Pinia (official)",[56,17772,17773],{},"React state plus Zustand, Redux Toolkit or similar",[32,17775,17776,17778,17781],{},[56,17777,13147],{},[56,17779,17780],{},"Gentle; HTML-like templates",[56,17782,17783],{},"Steeper; JSX, hooks, server\u002Fclient boundary",[32,17785,17786,17789,17792],{},[56,17787,17788],{},"SEO out of the box",[56,17790,17791],{},"Plain Vue: no. Nuxt: yes",[56,17793,78],{},[32,17795,17796,17799,17802],{},[56,17797,17798],{},"Backing \u002F governance",[56,17800,17801],{},"Independent, sponsor-funded teams",[56,17803,17804],{},"Vercel",[32,17806,17807,17810,17813],{},[56,17808,17809],{},"Hiring pool",[56,17811,17812],{},"Smaller: Vue 17.6% (Stack Overflow 2025)",[56,17814,17815],{},"Larger: React 44.7%, Next.js 20.8%",[14,17817,17818],{},"Two rows matter most. Rendering: plain Vue renders in the browser, so an SEO-critical site needs Nuxt, while Next.js renders on the server from day one. Governance: Vercel builds Next.js around its platform; Vue and Nuxt are run by independent teams and deploy anywhere. One more thing, because people search for nuxt js vs vue js: they are not rivals. Nuxt is Vue plus the server, routing and build layer.",[169,17820,17822],{"id":17821},"what-vuejs-is","What Vue.js Is",[14,17824,17825,17826],{},"Vue.js is a progressive JavaScript framework for building user interfaces: reactive templates, components and an official ecosystem of Vue Router, Pinia and Vite. Alone, it produces client-rendered apps. The fundamentals are in ",[128,17827,17828],{"href":9299},"What is Vue.js?",[169,17830,17832],{"id":17831},"what-nextjs-is","What Next.js Is",[14,17834,17835],{},"Next.js is Vercel's full-stack framework for React. Pages and layouts are React Server Components by default, data loads in async components on the server, the App Router handles file-based routing and Turbopack builds it. React's own docs recommend it for new React apps.",[18,17837,17839],{"id":17838},"nuxt-vs-nextjs-the-real-comparison","Nuxt vs Next.js - The Real Comparison",[14,17841,17842],{},"Put Nuxt next to Next.js and the comparison becomes fair: both are full-stack, file-routed, server-rendering frameworks. The differences are in the how.",[169,17844,17846],{"id":17845},"rendering-and-seo","Rendering and SEO",[14,17848,17849,17850,534],{},"Nuxt renders on the server by default and sets rendering per route with route rules: prerender the marketing pages, server-render the product pages, cache the dashboard with stale-while-revalidate, all in one app. Next.js also decides per route, through Server Components, static, dynamic and streaming rendering, and Cache Components for partial prerendering. Both produce crawlable HTML. We go deeper in ",[128,17851,7751],{"href":3795},[169,17853,9430],{"id":9429},[14,17855,17856,17857,955,17859,17861,17862,17864],{},"Nuxt fetches with ",[137,17858,2054],{},[137,17860,4492],{},", which run during SSR and hydrate without a second request, and its Nitro engine serves routes from ",[137,17863,159],{}," with no setup. Next.js fetches inside async Server Components and adds Route Handlers and Server Actions. Nuxt keeps one component model; Next.js splits server and client components.",[169,17866,7695],{"id":7694},[14,17868,17869,17870,17872],{},"Nitro compiles a Nuxt app for the target you pick: Node, static hosting, Netlify, Vercel, Cloudflare and more, from one config flag. This very site is a Nuxt app generated to static files and served from Netlify. Next.js runs best on Vercel. Self-hosting works through ",[137,17871,7711],{}," on Node or Docker, and adapters such as OpenNext cover other platforms, sometimes with features behind extra work.",[169,17874,17876],{"id":17875},"developer-experience","Developer Experience",[14,17878,17879,17880,17882],{},"Nuxt auto-imports components and composables, ships DevTools and has modules for content, images, SEO and auth; ",[128,17881,4672],{"href":2272}," tidied the project structure and data fetching. Next.js has Turbopack, the Metadata API and the deepest integration with React's newest features. Both are pleasant. The choice usually follows the UI library.",[18,17884,17886],{"id":17885},"when-to-choose-vuejs-vs-nextjs","When to Choose Vue.js vs Next.js",[14,17888,17889],{},"When weighing Next JS against Vue JS, start with what your team already knows: React or Vue. Everything else follows. The short version of vue vs next js:",[14,17891,17892],{},"Choose Vue (with Nuxt) if:",[2357,17894,17895,17898,17901,17904,17907],{},[188,17896,17897],{},"your team knows Vue, or you hire juniors and want the gentler curve",[188,17899,17900],{},"you are adding interactivity to an existing site, not rebuilding it",[188,17902,17903],{},"you build dashboards and admin tools on Vue component libraries",[188,17905,17906],{},"you want server-side rendering without adopting React",[188,17908,17909],{},"you want to deploy to any host with the same effort",[14,17911,17912],{},"Choose Next.js if:",[2357,17914,17915,17918,17921,17924,17927],{},[188,17916,17917],{},"your team is a React team and wants to stay one",[188,17919,17920],{},"you depend on React-only libraries or design systems",[188,17922,17923],{},"you want the biggest hiring pool",[188,17925,17926],{},"you build heavily on Vercel's platform features",[188,17928,17929],{},"you want the most complete React Server Components implementation",[14,17931,17932],{},"If you want Next.js-style server rendering but prefer Vue, that is exactly what Nuxt is.",[18,17934,914],{"id":913},[14,17936,17937,17938,17940],{},"Vue JS vs Next JS is a category mistake hiding two real decisions: Vue or React for the UI layer, and whether you need a full-stack framework on top. Vue gives you a gentler framework run by independent teams; Next.js gives you the most complete React stack and the largest hiring pool. Need Vue with SSR? That is Nuxt, and our ",[128,17939,926],{"href":925}," team takes it from architecture to production.",[18,17942,931],{"id":930},[169,17944,17946],{"id":17945},"is-nextjs-better-than-vue","Is Next.js better than Vue?",[14,17948,17949],{},"Neither; they do different jobs. Next.js is a full-stack React framework, Vue is a front-end framework. Compare Next.js with Nuxt, or Vue with React. A React team should pick Next.js, a Vue team Nuxt, and the gap between those two full-stack frameworks is small.",[169,17951,17953],{"id":17952},"can-you-use-vue-with-nextjs","Can you use Vue with Next.js?",[14,17955,17956],{},"No. Next.js is built on React, and its routing, Server Components and data fetching assume React components, so Vue components cannot run inside it. If you want Vue with the same framework features, use Nuxt. Astro is the usual option for mixing both frameworks on one site.",[169,17958,10187],{"id":10186},[14,17960,17961],{},"Yes, in the sense that matters. Nuxt is the full-stack framework for Vue, with file-based routing, server rendering, static generation, server routes and a deployment layer, just as Next.js is for React. The internals differ, notably the Nitro engine and per-route rendering rules, but the role is the same.",[169,17963,17965],{"id":17964},"is-vue-faster-than-nextjs","Is Vue faster than Next.js?",[14,17967,17968],{},"The question mixes a front-end framework with a full-stack one. Vue's runtime is small and its reactivity avoids manual memoisation; Next.js gets its speed from server rendering and streaming. Page speed depends on how you render and what you ship, and both Nuxt and Next.js can score well on Core Web Vitals.",[169,17970,17972],{"id":17971},"which-is-better-for-seo-vue-or-nextjs","Which is better for SEO, Vue or Next.js?",[14,17974,17975],{},"Out of the box, Next.js, because it renders HTML on the server while plain Vue renders in the browser. Add Nuxt and the gap closes: server rendering, prerendering, meta tags and sitemaps are built in. For SEO the real comparison is Nuxt vs Next.js, and both do the job.",[169,17977,17979],{"id":17978},"is-nextjs-harder-to-learn-than-vue","Is Next.js harder to learn than Vue?",[14,17981,17982],{},"Yes. Vue's templates read like HTML and the official docs follow one path. Next.js adds React, JSX and hooks, plus its own concepts: the server and client component boundary, caching rules and App Router conventions. Nuxt sits between the two: more than Vue alone, less than Next.js.",[169,17984,17986],{"id":17985},"are-there-more-jobs-for-nextjs-or-vue","Are there more jobs for Next.js or Vue?",[14,17988,17989,17990,17993],{},"More on the React side. In the ",[128,17991,8181],{"href":8179,"rel":17992},[4980],", 44.7% of respondents used React and 20.8% Next.js, against 17.6% for Vue. Vue roles are fewer but less contested, and common at companies that chose Vue deliberately, GitLab and Alibaba among them.",[169,17995,17997],{"id":17996},"can-you-migrate-from-nextjs-to-nuxt","Can you migrate from Next.js to Nuxt?",[14,17999,18000,18001,18003,18004,18007],{},"Yes, but it is a port, not a conversion. React components become Vue components, hooks become composables, Server Components become server-rendered pages with ",[137,18002,2054],{},", and Route Handlers become Nitro routes. Most of the work is rewriting UI; our ",[128,18005,18006],{"href":2553},"Vue vs React pattern map"," shows how each concept translates.",[6170,18009],{"label":6172,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":18011},[18012,18016,18022,18023,18024],{"id":17700,"depth":224,"text":17701,"children":18013},[18014,18015],{"id":17821,"depth":264,"text":17822},{"id":17831,"depth":264,"text":17832},{"id":17838,"depth":224,"text":17839,"children":18017},[18018,18019,18020,18021],{"id":17845,"depth":264,"text":17846},{"id":9429,"depth":264,"text":9430},{"id":7694,"depth":264,"text":7695},{"id":17875,"depth":264,"text":17876},{"id":17885,"depth":224,"text":17886},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":18025},[18026,18027,18028,18029,18030,18031,18032,18033],{"id":17945,"depth":264,"text":17946},{"id":17952,"depth":264,"text":17953},{"id":10186,"depth":264,"text":10187},{"id":17964,"depth":264,"text":17965},{"id":17971,"depth":264,"text":17972},{"id":17978,"depth":264,"text":17979},{"id":17985,"depth":264,"text":17986},{"id":17996,"depth":264,"text":17997},"2026-10-05","Next.js vs Vue compared: rendering, SEO, learning curve and ecosystem. See where Nuxt JS vs Vue JS fits in and which framework suits your project.",[18037,18038,18039,18040,18041,18042,18043,18045],{"question":17946,"answer":17949},{"question":17953,"answer":17956},{"question":10187,"answer":17961},{"question":17965,"answer":17968},{"question":17972,"answer":17975},{"question":17979,"answer":17982},{"question":17986,"answer":18044},"More on the React side. In the 2025 Stack Overflow Developer Survey, 44.7% of respondents used React and 20.8% Next.js, against 17.6% for Vue. Vue roles are fewer but less contested, and common at companies that chose Vue deliberately, GitLab and Alibaba among them.",{"question":17997,"answer":18046},"Yes, but it is a port, not a conversion. React components become Vue components, hooks become composables, Server Components become server-rendered pages with useFetch, and Route Handlers become Nitro routes. Most of the work is rewriting UI; our Vue vs React pattern map shows how each concept translates.","\u002Fimages\u002Fblog\u002Fvue-js-vs-next-js\u002Fcard.png",{},{"title":17692,"description":18035},"Vue JS vs Next JS: Which to Choose in 2026?","blog\u002Fvue-js-vs-next-js",[2822,1030,2365],"ak9X75SmxlcdIf1Rpf2_9GD1YdYn_SD2FczXuyNXzlM",{"id":18055,"title":18056,"articleType":7,"author":8,"authorSlug":9,"body":18057,"cta":1008,"date":19002,"description":19003,"extension":1011,"faq":19004,"featured":1021,"image":19012,"meta":19013,"navigation":653,"noCtaBox":1021,"path":9299,"readTime":1025,"seo":19014,"seoTitle":1008,"stem":19015,"tags":19016,"topic":1032,"video":1008,"__hash__":19017},"blog\u002Fblog\u002Fwhat-is-vue-js.md","What Is Vue JS? Framework Explained, Uses & Examples",{"type":11,"value":18058,"toc":18973},[18059,18062,18066,18073,18076,18083,18086,18090,18093,18306,18310,18329,18332,18350,18354,18360,18364,18371,18482,18486,18505,18509,18512,18516,18519,18615,18618,18731,18737,18741,18744,18748,18751,18755,18758,18762,18767,18771,18776,18779,18786,18790,18793,18796,18857,18861,18864,18900,18906,18909,18911,18917,18919,18923,18926,18930,18933,18937,18940,18944,18955,18959,18968,18970],[14,18060,18061],{},"What is Vue JS? The short answer: Vue.js is an open-source JavaScript framework for building user interfaces, from one interactive widget to a complete web application. This guide gives you the plain-English explanation, shows how Vue works, why it is so powerful, what Vue.js is used for and real examples from our own projects. We are Epicmax, a team that has built with Vue since 2017.",[18,18063,18065],{"id":18064},"what-is-vuejs","What Is Vue.js?",[14,18067,18068,18069,18072],{},"Vue.js (usually just \"Vue\", pronounced like ",[14885,18070,18071],{},"view",") is a progressive JavaScript framework for building web user interfaces. Evan You created it in 2014, and an independent, sponsor-funded core team maintains it today. The current major version is Vue 3, released in 2020 and now at 3.5, with Vue 3.6 in release candidate as of September 2026.",[14,18074,18075],{},"So what is Vue JS framework in practice? It is the layer between your data and what the user sees. You describe the interface in HTML-like templates, tell Vue which data drives it, and Vue keeps the page in sync whenever that data changes. You never write the code that finds an element and updates its text. Vue does that.",[14,18077,18078,18079,18082],{},"The word ",[14885,18080,18081],{},"progressive"," is the key. You can drop Vue into one corner of an existing page with a single script tag, or use it as the foundation of a large application with routing, state management and server-side rendering. It grows with your needs instead of forcing an all-or-nothing decision.",[14,18084,18085],{},"Compared to React and Angular, Vue sits in the middle: more opinionated than React, lighter than Angular. We break that down, with a side-by-side table, in the section on why Vue is so powerful.",[18,18087,18089],{"id":18088},"how-vuejs-works","How Vue.js Works?",[14,18091,18092],{},"Under the hood, Vue has one job: keep your data and your template in sync. Here is a complete component we will refer back to:",[192,18094,18096],{"className":1333,"code":18095,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nimport { ref, computed } from 'vue'\n\nconst count = ref(0)\nconst doubled = computed(() => count.value * 2)\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton @click=\"count++\">Clicked {{ count }} times\u003C\u002Fbutton>\n  \u003Cp v-if=\"count > 0\">Double that is {{ doubled }}.\u003C\u002Fp>\n\u003C\u002Ftemplate>\n\n\u003Cstyle scoped>\nbutton { padding: 0.5rem 1rem; }\n\u003C\u002Fstyle>\n",[137,18097,18098,18108,18130,18134,18150,18179,18187,18191,18199,18226,18255,18263,18267,18277,18298],{"__ignoreMap":197},[201,18099,18100,18102,18104,18106],{"class":203,"line":204},[201,18101,1342],{"class":260},[201,18103,2936],{"class":267},[201,18105,2939],{"class":659},[201,18107,1718],{"class":260},[201,18109,18110,18112,18114,18116,18118,18120,18122,18124,18126,18128],{"class":203,"line":224},[201,18111,626],{"class":245},[201,18113,631],{"class":260},[201,18115,9534],{"class":256},[201,18117,409],{"class":260},[201,18119,12245],{"class":256},[201,18121,637],{"class":260},[201,18123,640],{"class":245},[201,18125,309],{"class":260},[201,18127,1335],{"class":211},[201,18129,648],{"class":260},[201,18131,18132],{"class":203,"line":264},[201,18133,654],{"emptyLinePlaceholder":653},[201,18135,18136,18138,18140,18142,18144,18146,18148],{"class":203,"line":290},[201,18137,660],{"class":659},[201,18139,12266],{"class":256},[201,18141,1353],{"class":260},[201,18143,9534],{"class":252},[201,18145,257],{"class":256},[201,18147,5803],{"class":1268},[201,18149,510],{"class":256},[201,18151,18152,18154,18157,18159,18161,18163,18165,18167,18169,18171,18173,18175,18177],{"class":203,"line":301},[201,18153,660],{"class":659},[201,18155,18156],{"class":256}," doubled ",[201,18158,1353],{"class":260},[201,18160,12245],{"class":252},[201,18162,257],{"class":256},[201,18164,6634],{"class":260},[201,18166,1999],{"class":659},[201,18168,12150],{"class":256},[201,18170,534],{"class":260},[201,18172,12300],{"class":256},[201,18174,12303],{"class":260},[201,18176,12306],{"class":1268},[201,18178,510],{"class":256},[201,18180,18181,18183,18185],{"class":203,"line":319},[201,18182,1760],{"class":260},[201,18184,2936],{"class":267},[201,18186,1718],{"class":260},[201,18188,18189],{"class":203,"line":329},[201,18190,654],{"emptyLinePlaceholder":653},[201,18192,18193,18195,18197],{"class":203,"line":346},[201,18194,1342],{"class":260},[201,18196,1715],{"class":267},[201,18198,1718],{"class":260},[201,18200,18201,18203,18205,18207,18209,18211,18213,18215,18217,18220,18222,18224],{"class":203,"line":363},[201,18202,1723],{"class":260},[201,18204,7383],{"class":267},[201,18206,9611],{"class":659},[201,18208,1353],{"class":260},[201,18210,1356],{"class":260},[201,18212,12343],{"class":211},[201,18214,1356],{"class":260},[201,18216,3416],{"class":260},[201,18218,18219],{"class":256},"Clicked {{ count }} times",[201,18221,1760],{"class":260},[201,18223,7383],{"class":267},[201,18225,1718],{"class":260},[201,18227,18228,18230,18232,18235,18237,18239,18242,18244,18246,18249,18251,18253],{"class":203,"line":380},[201,18229,1723],{"class":260},[201,18231,14],{"class":267},[201,18233,18234],{"class":659}," v-if",[201,18236,1353],{"class":260},[201,18238,1356],{"class":260},[201,18240,18241],{"class":211},"count > 0",[201,18243,1356],{"class":260},[201,18245,3416],{"class":260},[201,18247,18248],{"class":256},"Double that is {{ doubled }}.",[201,18250,1760],{"class":260},[201,18252,14],{"class":267},[201,18254,1718],{"class":260},[201,18256,18257,18259,18261],{"class":203,"line":391},[201,18258,1760],{"class":260},[201,18260,1715],{"class":267},[201,18262,1718],{"class":260},[201,18264,18265],{"class":203,"line":441},[201,18266,654],{"emptyLinePlaceholder":653},[201,18268,18269,18271,18273,18275],{"class":203,"line":484},[201,18270,1342],{"class":260},[201,18272,984],{"class":267},[201,18274,15471],{"class":659},[201,18276,1718],{"class":260},[201,18278,18279,18281,18283,18286,18288,18291,18294,18296],{"class":203,"line":492},[201,18280,7383],{"class":207},[201,18282,631],{"class":260},[201,18284,18285],{"class":15484}," padding",[201,18287,271],{"class":260},[201,18289,18290],{"class":1268}," 0.5rem",[201,18292,18293],{"class":1268}," 1rem",[201,18295,9510],{"class":260},[201,18297,15495],{"class":260},[201,18299,18300,18302,18304],{"class":203,"line":498},[201,18301,1760],{"class":260},[201,18303,984],{"class":267},[201,18305,1718],{"class":260},[169,18307,18309],{"id":18308},"declarative-rendering-and-templates","Declarative Rendering and Templates",[14,18311,18312,18313,18316,18317,18320,18321,18324,18325,18328],{},"You declare ",[14885,18314,18315],{},"what"," the interface should look like for a given state, not ",[14885,18318,18319],{},"how"," to update it. Templates are plain HTML plus a few additions: ",[137,18322,18323],{},"{{ count }}"," prints a value, ",[137,18326,18327],{},":src=\"imageUrl\""," binds an attribute. Vue re-renders only what depends on changed data.",[169,18330,11974],{"id":18331},"reactivity",[14,18333,18334,18335,18338,18339,18342,18343,18345,18346,18349],{},"Reactivity is the engine. Wrap a value in ",[137,18336,18337],{},"ref()"," or an object in ",[137,18340,18341],{},"reactive()"," and Vue tracks every place that reads it. Change it and every dependent part of the interface, including ",[137,18344,6412],{}," values like ",[137,18347,18348],{},"doubled",", updates automatically. Vue 3 builds this on JavaScript Proxies.",[169,18351,18353],{"id":18352},"components-and-single-file-components","Components and Single-File Components",[14,18355,18356,18357,18359],{},"Interfaces are assembled from components: self-contained pieces such as a button, a form or a whole page. Vue's signature format is the Single-File Component, a ",[137,18358,9304],{}," file that keeps template, logic and scoped styles together, as above. Components nest, receive props and emit events.",[169,18361,18363],{"id":18362},"directives","Directives",[14,18365,18366,18367,18370],{},"Directives are the ",[137,18368,18369],{},"v-"," attributes that add behaviour to markup. They read like HTML, which keeps templates easy to skim. These six cover most day-to-day work:",[26,18372,18373,18385],{},[29,18374,18375],{},[32,18376,18377,18380,18383],{},[35,18378,18379],{},"Directive",[35,18381,18382],{},"What it does",[35,18384,3239],{},[51,18386,18387,18404,18418,18436,18454,18468],{},[32,18388,18389,18396,18399],{},[56,18390,18391,4694,18393],{},[137,18392,11548],{},[137,18394,18395],{},"v-else",[56,18397,18398],{},"Render an element only when a condition holds",[56,18400,18401],{},[137,18402,18403],{},"\u003Cp v-if=\"count > 0\">",[32,18405,18406,18410,18413],{},[56,18407,18408],{},[137,18409,11454],{},[56,18411,18412],{},"Render a list from an array",[56,18414,18415],{},[137,18416,18417],{},"\u003Cli v-for=\"item in items\" :key=\"item.id\">",[32,18419,18420,18428,18431],{},[56,18421,18422,18425,18426,3779],{},[137,18423,18424],{},"v-bind"," (shorthand ",[137,18427,271],{},[56,18429,18430],{},"Bind an attribute or prop to data",[56,18432,18433],{},[137,18434,18435],{},"\u003Cimg :src=\"imageUrl\">",[32,18437,18438,18446,18449],{},[56,18439,18440,18425,18443,3779],{},[137,18441,18442],{},"v-on",[137,18444,18445],{},"@",[56,18447,18448],{},"Listen to an event",[56,18450,18451],{},[137,18452,18453],{},"\u003Cbutton @click=\"count++\">",[32,18455,18456,18460,18463],{},[56,18457,18458],{},[137,18459,12626],{},[56,18461,18462],{},"Two-way bind a form input",[56,18464,18465],{},[137,18466,18467],{},"\u003Cinput v-model=\"email\">",[32,18469,18470,18474,18477],{},[56,18471,18472],{},[137,18473,11552],{},[56,18475,18476],{},"Toggle visibility with CSS instead of re-rendering",[56,18478,18479],{},[137,18480,18481],{},"\u003Cdiv v-show=\"open\">",[169,18483,18485],{"id":18484},"options-api-vs-composition-api","Options API vs Composition API",[14,18487,18488,18489,4576,18491,955,18493,18495,18496,18498,18499,18501,18502,18504],{},"The Options API groups code into ",[137,18490,4705],{},[137,18492,15531],{},[137,18494,6412],{}," blocks and suits beginners. The Composition API, used with ",[137,18497,6406],{}," above, organises code by feature and makes logic reusable through composables. Both are fully supported in Vue 3. Most of our new code is ",[137,18500,6406],{},", but the Options API still runs plenty of client apps we maintain, and nobody is in a hurry to rewrite them. Our ",[128,18503,12371],{"href":12370}," guide explains when a switch is worth it.",[169,18506,18508],{"id":18507},"the-vue-ecosystem-router-pinia-vite-and-nuxt","The Vue Ecosystem: Router, Pinia, Vite and Nuxt",[14,18510,18511],{},"Vue's core is deliberately small; the official ecosystem covers the rest. Vue Router handles navigation, Pinia is the official state management library (Vuex's successor) and Vite, created by the same author, is the default build tool. Nuxt 4 adds file-based routing, server-side rendering and static generation on top.",[18,18513,18515],{"id":18514},"why-is-vuejs-so-powerful","Why Is Vue.js So Powerful?",[14,18517,18518],{},"There is no single killer feature. What makes Vue powerful is that it refuses the usual trade-offs: it is easy to pick up and it scales, it ships batteries and stays light, it is fast without you tuning it, and no single company owns it. The table sums up the strengths our team leans on in production.",[26,18520,18521,18534],{},[29,18522,18523],{},[32,18524,18525,18528,18531],{},[35,18526,18527],{},"Strength",[35,18529,18530],{},"What it means",[35,18532,18533],{},"Why it matters for your project",[51,18535,18536,18547,18558,18571,18582,18593,18604],{},[32,18537,18538,18541,18544],{},[56,18539,18540],{},"Reactivity that optimises itself",[56,18542,18543],{},"The compiler marks the static parts of a template and flags what can change; the runtime re-renders only that",[56,18545,18546],{},"No manual memoisation, fewer performance bugs, less code to review",[32,18548,18549,18552,18555],{},[56,18550,18551],{},"Progressive adoption",[56,18553,18554],{},"Runs from a single script tag up to a full Nuxt application",[56,18556,18557],{},"Modernise a legacy site one page at a time instead of a big-bang rewrite",[32,18559,18560,18563,18568],{},[56,18561,18562],{},"Single-File Components",[56,18564,18565,18566,15077],{},"Template, logic and scoped styles live in one ",[137,18567,9304],{},[56,18569,18570],{},"Faster onboarding and easier long-term maintenance",[32,18572,18573,18576,18579],{},[56,18574,18575],{},"Official ecosystem",[56,18577,18578],{},"Vue Router, Pinia, Vite, Nuxt and the DevTools are maintained by the core team",[56,18580,18581],{},"Consistent codebases and fewer architecture decisions to make and defend",[32,18583,18584,18587,18590],{},[56,18585,18586],{},"Gentle curve, high ceiling",[56,18588,18589],{},"HTML-like templates for newcomers; Composition API and TypeScript for large apps",[56,18591,18592],{},"Hire from a general JavaScript pool and still scale to enterprise size",[32,18594,18595,18598,18601],{},[56,18596,18597],{},"Small, fast runtime",[56,18599,18600],{},"Tree-shakeable core, with the virtual-DOM-free Vapor Mode arriving in Vue 3.6",[56,18602,18603],{},"Good Core Web Vitals without heroics",[32,18605,18606,18609,18612],{},[56,18607,18608],{},"Independent governance",[56,18610,18611],{},"Community-funded, MIT-licensed, one major version since 2020",[56,18613,18614],{},"Predictable roadmap and low upgrade churn",[14,18616,18617],{},"In our experience the last row matters more than it looks. Vue 3 has been the current major version since 2020, and components we wrote for clients years ago still compile today. Here is how Vue sits next to the other two big frameworks:",[26,18619,18620,18632],{},[29,18621,18622],{},[32,18623,18624,18626,18628,18630],{},[35,18625],{},[35,18627,2491],{},[35,18629,2429],{},[35,18631,2390],{},[51,18633,18634,18647,18661,18673,18686,18697,18709,18719],{},[32,18635,18636,18639,18641,18644],{},[56,18637,18638],{},"Type",[56,18640,11933],{},[56,18642,18643],{},"Rendering library (components and state only), usually paired with a framework such as Next.js",[56,18645,18646],{},"Full framework",[32,18648,18649,18652,18655,18658],{},[56,18650,18651],{},"Templates",[56,18653,18654],{},"HTML-based templates (JSX optional)",[56,18656,18657],{},"JSX",[56,18659,18660],{},"HTML-based templates",[32,18662,18663,18665,18667,18670],{},[56,18664,17767],{},[56,18666,17770],{},[56,18668,18669],{},"Community choice: Redux Toolkit, Zustand, Jotai",[56,18671,18672],{},"NgRx or built-in Signals",[32,18674,18675,18677,18680,18683],{},[56,18676,9851],{},[56,18678,18679],{},"Vue Router (official)",[56,18681,18682],{},"Community choice: React Router, TanStack Router",[56,18684,18685],{},"Built-in router",[32,18687,18688,18690,18692,18694],{},[56,18689,12046],{},[56,18691,1030],{},[56,18693,2365],{},[56,18695,18696],{},"Analog (community)",[32,18698,18699,18701,18704,18706],{},[56,18700,4753],{},[56,18702,18703],{},"First-class, optional",[56,18705,18703],{},[56,18707,18708],{},"Required",[32,18710,18711,18713,18715,18717],{},[56,18712,13147],{},[56,18714,13156],{},[56,18716,13150],{},[56,18718,13153],{},[32,18720,18721,18723,18726,18729],{},[56,18722,12057],{},[56,18724,18725],{},"Independent core team, sponsor-funded",[56,18727,18728],{},"Meta",[56,18730,13203],{},[14,18732,18733,18734,18736],{},"If you are weighing Vue against React specifically, our ",[128,18735,2554],{"href":2553}," covers learning curve, performance and enterprise fit in depth.",[18,18738,18740],{"id":18739},"what-is-vuejs-used-for","What Is Vue.js Used For?",[14,18742,18743],{},"If you are wondering what Vue JS is used for, the short answer is single-page applications, admin panels and dashboards, SEO-friendly websites, e-commerce storefronts and interactive parts of otherwise static pages.",[169,18745,18747],{"id":18746},"single-page-applications-spas","Single-Page Applications (SPAs)",[14,18749,18750],{},"A single-page application loads once and updates the screen as the user navigates, with no full page reloads. Vue plus Vue Router is the classic SPA stack for logged-in products such as SaaS tools, customer portals and internal systems.",[169,18752,18754],{"id":18753},"adding-interactivity-to-existing-websites","Adding Interactivity to Existing Websites",[14,18756,18757],{},"Vue is progressive, so you do not need to rebuild a site to use it. Teams add Vue to an existing Laravel, Django or WordPress page to power a search filter, a booking form or a configurator, and the rest of the page stays untouched.",[169,18759,18761],{"id":18760},"seo-friendly-websites-with-nuxt","SEO-Friendly Websites with Nuxt",[14,18763,18764,18765,10204],{},"A plain SPA renders in the browser, which search engines index slowly and sometimes incompletely. Nuxt renders Vue pages on the server or at build time instead, so crawlers and users get complete HTML immediately. Marketing sites, blogs and documentation are the typical fit, and the core of our ",[128,18766,11284],{"href":925},[169,18768,18770],{"id":18769},"admin-panels-and-dashboards","Admin Panels and Dashboards",[14,18772,18773,18774,534],{},"Data-heavy internal tools are where Vue shines: forms, tables, charts and permissions, all driven by reactive state. PrimeVue, Vuetify and our own Vuestic UI provide the building blocks, and as a Premier PrimeUI Partner we help teams that standardise on PrimeVue through our ",[128,18775,12992],{"href":12991},[169,18777,18778],{"id":10657},"E-Commerce Storefronts",[14,18780,18781,18782,18785],{},"Storefronts need fast first loads for SEO and rich interactivity for carts and checkout. Nuxt delivers both, which is why Vue storefronts often sit on headless backends such as Shopify's Storefront API or Medusa; our ",[128,18783,18784],{"href":4506},"Medusa and Nuxt 4 tutorial"," builds one.",[169,18787,18789],{"id":18788},"desktop-and-mobile-apps","Desktop and Mobile Apps",[14,18791,18792],{},"Vue is not limited to the browser. Electron and Tauri wrap a Vue app as a desktop application, Capacitor and Ionic Vue package it for iOS and Android, and Quasar targets all of these from one codebase.",[14,18794,18795],{},"Which stack fits which job:",[26,18797,18798,18808],{},[29,18799,18800],{},[32,18801,18802,18805],{},[35,18803,18804],{},"Use case",[35,18806,18807],{},"Typical Vue stack",[51,18809,18810,18818,18826,18834,18842,18849],{},[32,18811,18812,18815],{},[56,18813,18814],{},"Single-page application",[56,18816,18817],{},"Vue + Vue Router + Pinia, built with Vite",[32,18819,18820,18823],{},[56,18821,18822],{},"Interactive parts of an existing site",[56,18824,18825],{},"Vue mounted on one element, or Vite-built islands",[32,18827,18828,18831],{},[56,18829,18830],{},"SEO-critical website",[56,18832,18833],{},"Nuxt with server-side rendering or static generation",[32,18835,18836,18839],{},[56,18837,18838],{},"Admin panel or dashboard",[56,18840,18841],{},"Vue + PrimeVue, Vuetify or Vuestic UI",[32,18843,18844,18846],{},[56,18845,7845],{},[56,18847,18848],{},"Nuxt + a headless backend such as Medusa or Shopify",[32,18850,18851,18854],{},[56,18852,18853],{},"Desktop or mobile app",[56,18855,18856],{},"Electron or Tauri; Capacitor, Ionic Vue or Quasar",[18,18858,18860],{"id":18859},"vuejs-examples-real-products-built-with-vue","Vue.js Examples - Real Products Built with Vue",[14,18862,18863],{},"The most convincing Vue JS examples are products people use every day. GitLab's web interface is written in Vue, Alibaba has been a major adopter since the framework's early days, and Laravel ships Vue-based tools such as Laravel Nova. Closer to home, here are projects our team has built or scaled with Vue:",[2357,18865,18866,18876,18882,18888,18894],{},[188,18867,18868,18871,18872,18875],{},[2363,18869,18870],{},"eKool",": the ",[128,18873,18874],{"href":13646},"eKool EdTech platform built with Vue"," is used by around 90% of Estonian schools. We built its shared UI library on Vue and Vuetify, with Pinia for state, so many microservices share one design system.",[188,18877,18878,18881],{},[2363,18879,18880],{},"Quility Insurance",": an award-winning US insurtech platform, delivered as an accessible, mobile-friendly Vue web application.",[188,18883,18884,18887],{},[2363,18885,18886],{},"Sustainabill",": a German supply-chain transparency platform that combines Vue with D3.js charts and Mapbox heatmaps for supplier risk statistics.",[188,18889,18890,18893],{},[2363,18891,18892],{},"Caravelo",": a travel-tech subscription platform where we built a set of Vue 3 components documented in Storybook.",[188,18895,18896,18899],{},[2363,18897,18898],{},"Vuestic Admin and Vuestic UI",": our open-source dashboard template and component library, built with Vue 3, Vite and Pinia, with more than 14,000 GitHub stars between them.",[14,18901,18902],{},[14615,18903],{"alt":18904,"src":18905},"Vuestic Admin, an open-source dashboard built with Vue 3","\u002Fimages\u002Fblog\u002Fwhat-is-vue-js\u002Fvuestic-admin.png",[14,18907,18908],{},"What they have in common is longevity: several have been in active development with us for five years or more, which says as much about Vue's stability as about the products.",[18,18910,914],{"id":913},[14,18912,18913,18914,18916],{},"Vue.js is a progressive JavaScript framework that keeps your interface in sync with your data, scales from a single widget to a full application and comes with an official ecosystem of Vue Router, Pinia, Vite and Nuxt. It is easy to start with, and it runs production software at GitLab and in the platforms we maintain for our clients. If you are planning or scaling a Vue project, our ",[128,18915,909],{"href":908}," team is happy to talk.",[18,18918,931],{"id":930},[169,18920,18922],{"id":18921},"is-vuejs-a-framework-or-a-library","Is Vue.js a framework or a library?",[14,18924,18925],{},"Vue calls itself a progressive framework, and that is the honest answer. The core package alone is library-sized: it handles rendering and reactivity, nothing else. Add the official Vue Router, Pinia and Nuxt and you have a complete application framework. You choose how much to use.",[169,18927,18929],{"id":18928},"is-vuejs-frontend-or-backend","Is Vue.js frontend or backend?",[14,18931,18932],{},"Vue.js is a frontend framework: it runs in the browser and builds what users see. It has no opinion about your backend, so it pairs with Node.js, Laravel, Django or Rails through APIs. Nuxt adds server-side capabilities such as server rendering and API routes, but Vue itself stays on the client.",[169,18934,18936],{"id":18935},"is-vuejs-easy-to-learn","Is Vue.js easy to learn?",[14,18938,18939],{},"Yes. Of the three big frameworks, Vue is the easiest to learn. Templates are HTML with a few extra attributes, the documentation is excellent and you can start with a single script tag before touching a build tool. Developers with basic HTML, CSS and JavaScript are usually productive within days.",[169,18941,18943],{"id":18942},"is-vuejs-still-popular-in-2026","Is Vue.js still popular in 2026?",[14,18945,18946,18947,18950,18951,18954],{},"Yes. In the ",[128,18948,8181],{"href":8179,"rel":18949},[4980],", 17.6% of respondents used Vue.js, placing it among the most-used web frameworks alongside Angular and Next.js. On ",[128,18952,578],{"href":17518,"rel":18953},[4980],", the vue package was downloaded about 12 million times a week in September 2026, second only to React among the major front-end frameworks.",[169,18956,18958],{"id":18957},"what-is-the-difference-between-vue-2-and-vue-3","What is the difference between Vue 2 and Vue 3?",[14,18960,18961,18962,18964,18965,534],{},"Vue 3, released in 2020, is the current version. It brought the Composition API and ",[137,18963,6406],{},", faster Proxy-based reactivity, first-class TypeScript support and features such as Teleport and Suspense. Vue 2 reached end of life on 31 December 2023 and gets no security fixes, so remaining Vue 2 apps should plan a ",[128,18966,18967],{"href":17584},"migration",[6170,18969],{"label":11830,"to":6173},[984,18971,18972],{},"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}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 .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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}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":197,"searchDepth":264,"depth":264,"links":18974},[18975,18976,18984,18985,18993,18994,18995],{"id":18064,"depth":224,"text":18065},{"id":18088,"depth":224,"text":18089,"children":18977},[18978,18979,18980,18981,18982,18983],{"id":18308,"depth":264,"text":18309},{"id":18331,"depth":264,"text":11974},{"id":18352,"depth":264,"text":18353},{"id":18362,"depth":264,"text":18363},{"id":18484,"depth":264,"text":18485},{"id":18507,"depth":264,"text":18508},{"id":18514,"depth":224,"text":18515},{"id":18739,"depth":224,"text":18740,"children":18986},[18987,18988,18989,18990,18991,18992],{"id":18746,"depth":264,"text":18747},{"id":18753,"depth":264,"text":18754},{"id":18760,"depth":264,"text":18761},{"id":18769,"depth":264,"text":18770},{"id":10657,"depth":264,"text":18778},{"id":18788,"depth":264,"text":18789},{"id":18859,"depth":224,"text":18860},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":18996},[18997,18998,18999,19000,19001],{"id":18921,"depth":264,"text":18922},{"id":18928,"depth":264,"text":18929},{"id":18935,"depth":264,"text":18936},{"id":18942,"depth":264,"text":18943},{"id":18957,"depth":264,"text":18958},"2026-09-25","Vue.js is a progressive JavaScript framework for building web interfaces. See how it works, what Vue.js is used for and real examples from Vue experts.",[19005,19006,19007,19008,19010],{"question":18922,"answer":18925},{"question":18929,"answer":18932},{"question":18936,"answer":18939},{"question":18943,"answer":19009},"Yes. In the 2025 Stack Overflow Developer Survey, 17.6% of respondents used Vue.js, placing it among the most-used web frameworks alongside Angular and Next.js. On npm, the vue package was downloaded about 12 million times a week in September 2026, second only to React among the major front-end frameworks.",{"question":18958,"answer":19011},"Vue 3, released in 2020, is the current version. It brought the Composition API and script setup, faster Proxy-based reactivity, first-class TypeScript support and features such as Teleport and Suspense. Vue 2 reached end of life on 31 December 2023 and gets no security fixes, so remaining Vue 2 apps should plan a migration.","\u002Fimages\u002Fblog\u002Fwhat-is-vue-js\u002Fcard.png",{},{"title":18056,"description":19003},"blog\u002Fwhat-is-vue-js",[2822,1030],"60r86tEqZlwGzbO4LwSQ2VZ9CohiAgsY_8HwwgK_G_U",{"id":19019,"title":19020,"articleType":7,"author":12943,"authorSlug":1008,"body":19021,"cta":1008,"date":20848,"description":20849,"extension":1011,"faq":20850,"featured":1021,"image":20856,"meta":20857,"navigation":653,"noCtaBox":1021,"path":2553,"readTime":9252,"seo":20858,"seoTitle":1008,"stem":20859,"tags":20860,"topic":2823,"video":1008,"__hash__":20861},"blog\u002Fblog\u002Freact-vue.md","Vue vs React: Latest Comparison in 2026",{"type":11,"value":19022,"toc":20822},[19023,19026,19029,19032,19046,19050,19053,19056,19059,19062,19066,19069,19080,19083,19086,19090,19093,19099,19102,19112,19115,19132,19136,19139,19142,19172,19175,19182,19186,19189,19283,19287,19290,19344,19347,19435,19438,19442,19445,19660,19663,19857,19860,19864,19867,19890,19893,19920,19923,19986,19989,20123,20126,20130,20133,20171,20174,20210,20217,20301,20304,20359,20362,20404,20407,20411,20414,20460,20462,20530,20533,20579,20582,20586,20592,20654,20657,20688,20694,20698,20701,20705,20731,20735,20767,20770,20772,20775,20782,20784,20788,20791,20793,20796,20800,20803,20807,20810,20814,20817,20819],[14,19024,19025],{},"After six years of working with React, I transitioned to Vue and have since built everything from UI libraries to full-scale applications with it. This article distills that experience into a practical React vs Vue comparison for 2026: how the two frameworks differ in learning curve, performance, ecosystem, and enterprise fit — plus a pattern-by-pattern map for React developers exploring Vue.",[14,19027,19028],{},"Whether you're choosing a framework for a new product or deciding if react js or vue js fits your team better, the goal here is a fair, hands-on comparison rather than a scoreboard.",[14,19030,19031],{},"If you're coming from a React background and already know some Vue, these deeper guides may help too:",[2357,19033,19034,19040],{},[188,19035,19036],{},[128,19037,19039],{"href":19038},"\u002Fblog\u002Ffixing-vue-sfc-templates-for-react","Fixing Vue SFC templates for React developers",[188,19041,19042],{},[128,19043,19045],{"href":19044},"\u002Fblog\u002Fusing-jsx-with-vue","Using JSX with Vue",[18,19047,19049],{"id":19048},"vue-vs-react-at-a-glance","Vue vs React at a Glance",[14,19051,19052],{},"React and Vue.js are two of the most popular frontend frameworks for building user interfaces. They share the same fundamentals — component-based architecture, declarative rendering, one-way data flow, and a virtual DOM — but they differ in philosophy.",[14,19054,19055],{},"React is a library that deliberately stays small. It gives you components and state, and leaves routing, global state management, data fetching, and even styling conventions to the ecosystem. That flexibility is React's greatest strength and its most common source of team friction: every project makes its own decisions, and two React codebases can look like different technologies.",[14,19057,19058],{},"Vue is a progressive framework. The core is just as lean, but the project ships official, first-party solutions for the decisions React delegates: Vue Router for routing, Pinia for state, Vite-based tooling, and Nuxt as the officially recommended full-stack framework. You can still swap pieces out, but the default path is paved — which keeps Vue codebases remarkably consistent from team to team.",[14,19060,19061],{},"The syntax reflects the same split. React embeds markup in JavaScript through JSX; Vue keeps HTML-like templates, JavaScript logic, and scoped styles together in Single-File Components. Neither approach is objectively better — but they attract different tastes, and they shape how quickly new developers get productive.",[18,19063,19065],{"id":19064},"react-vs-vue-learning-curve-which-is-easier-to-learn","React vs Vue Learning Curve: Which Is Easier to Learn?",[14,19067,19068],{},"Vue has the gentler learning curve, and this is probably the least controversial claim in the whole react js vs vue js debate.",[14,19070,19071,19072,955,19074,19076,19077,19079],{},"A developer who knows HTML, CSS, and basic JavaScript can read a Vue template on day one. Directives like ",[137,19073,11548],{},[137,19075,11454],{}," do what they say, reactive state is a ",[137,19078,18337],{}," away, and the official documentation walks you through a single recommended path from \"hello world\" to a production app. Because Vue is incrementally adoptable, teams can also introduce it into an existing page without restructuring the whole frontend.",[14,19081,19082],{},"React's initial ramp is steeper for reasons that have little to do with components. JSX blurs the markup\u002Flogic boundary, which some developers love and others need time to accept. Hooks come with rules that are easy to break and hard to debug (stale closures, dependency arrays, conditional hook calls). And before writing a real app you have to assemble a stack: a router, a state library, a data-fetching layer, a build setup or meta-framework. Each choice is well documented individually, but the sum is a lot of decisions for someone new.",[14,19084,19085],{},"That said, the curves converge. Once a team is past the first month, productivity in both frameworks is driven by architecture discipline, not syntax. If your developers already know React well, that experience outweighs Vue's easier onboarding; if you're training juniors or hiring from a general JavaScript pool, Vue gets them shipping sooner.",[18,19087,19089],{"id":19088},"vue-js-vs-react-performance","Vue js vs React Performance",[14,19091,19092],{},"Honest answer first: for the vast majority of applications, vue js vs react performance is a tie in practice. Both render UI updates in milliseconds, both are far faster than typical app code, and real-world slowness almost always comes from elsewhere — oversized bundles, unoptimized images, chatty APIs, hydration-heavy pages.",[14,19094,19095,19096,19098],{},"The interesting difference is ",[14885,19097,18319],{}," each framework achieves its speed.",[14,19100,19101],{},"Vue's reactivity system tracks exactly which components depend on which pieces of state, so an update re-renders only what actually changed — no manual work required. On top of that, Vue's compiler analyzes templates ahead of time: static parts are hoisted and skipped entirely during updates, and patch flags tell the runtime precisely which bindings can change. Optimization is the default, not a technique.",[14,19103,19104,19105,4576,19107,4797,19109,19111],{},"React re-renders a component subtree whenever its state changes, and historically it was the developer's job to prune that work with ",[137,19106,12091],{},[137,19108,12085],{},[137,19110,12088],{}," — a common source of both performance bugs and cluttered code. The React Compiler now automates much of that memoization, which has meaningfully narrowed the gap in day-to-day ergonomics, though it optimizes at build time what Vue's reactivity avoids by design.",[14,19113,19114],{},"Two practical notes from production work:",[2357,19116,19117,19123],{},[188,19118,19119,19122],{},[2363,19120,19121],{},"Bundle size."," Vue's runtime baseline is smaller than React plus ReactDOM, which matters on content sites and slow networks. With tree-shaking and code splitting both frameworks can ship lean bundles — but Vue starts lower.",[188,19124,19125,19128,19129,19131],{},[2363,19126,19127],{},"Server-side rendering."," Both have mature SSR stories (Nuxt for Vue, Next.js for React). If Core Web Vitals are a priority, the meta-framework and rendering strategy you choose will affect your scores more than the underlying library. Our team covers this in depth in ",[128,19130,8971],{"href":2208}," engagements — framework choice is rarely the first fix.",[18,19133,19135],{"id":19134},"ecosystem-tooling-and-community","Ecosystem, Tooling and Community",[14,19137,19138],{},"React has the largest ecosystem in frontend, full stop. More npm packages, more Stack Overflow answers, more tutorials, more job postings, more hires available. If an obscure integration exists for only one framework, it's probably React. React Native also remains the strongest story for sharing knowledge (if not code) between web and mobile teams.",[14,19140,19141],{},"Vue's ecosystem is smaller but unusually coherent, because the core team maintains the critical pieces:",[2357,19143,19144,19149,19155,19161,19166],{},[188,19145,19146,19148],{},[2363,19147,6326],{}," — created by Vue's author, now the build tool of choice across the entire frontend industry, React included.",[188,19150,19151,19154],{},[2363,19152,19153],{},"Pinia"," — the official state management library: typed, devtools-integrated, and small.",[188,19156,19157,19160],{},[2363,19158,19159],{},"Vue Router"," — first-party routing that evolves in lockstep with the framework.",[188,19162,19163,19165],{},[2363,19164,1030],{}," — the official full-stack framework, with SSR, SSG, file-based routing, and a module ecosystem. As an official Nuxt partner, we've watched it mature into genuinely enterprise-grade infrastructure.",[188,19167,19168,19171],{},[2363,19169,19170],{},"Vue DevTools"," — component inspection, reactivity tracing, and Pinia state time-travel out of the box.",[14,19173,19174],{},"Community-wise, React's sheer volume means faster answers to rare questions. Vue's community is smaller but tight-knit, and the official documentation is widely regarded as the best in frontend — many teams find they need third-party tutorials far less often.",[14,19176,19177,19178,19181],{},"For hiring, React wins on volume: there are simply more React developers. Vue counters with faster onboarding — as the learning-curve section showed, a solid JavaScript or React developer converts to productive Vue work in weeks. Our experience maintaining ",[128,19179,13021],{"href":13019,"rel":19180},[4980]," (an open-source Vue component framework) is that contributors with zero Vue background submit useful PRs surprisingly fast.",[18,19183,19185],{"id":19184},"react-vs-vue-common-patterns-side-by-side","React vs Vue: Common Patterns Side by Side",[14,19187,19188],{},"This is the part I wish existed when I switched. Almost every React pattern has a direct Vue equivalent — the philosophy differs, the capability doesn't. Here's the map:",[26,19190,19191,19202],{},[29,19192,19193],{},[32,19194,19195,19198,19200],{},[35,19196,19197],{},"Concern",[35,19199,2429],{},[35,19201,2491],{},[51,19203,19204,19213,19224,19234,19245,19256,19267],{},[32,19205,19206,19209,19211],{},[56,19207,19208],{},"Defining markup to render",[56,19210,18657],{},[56,19212,18651],{},[32,19214,19215,19218,19221],{},[56,19216,19217],{},"Reuse logic between components",[56,19219,19220],{},"Hooks",[56,19222,19223],{},"Composables",[32,19225,19226,19229,19232],{},[56,19227,19228],{},"Passing data between components",[56,19230,19231],{},"Callback props",[56,19233,15023],{},[32,19235,19236,19239,19242],{},[56,19237,19238],{},"Passing content to render",[56,19240,19241],{},"JSX as a prop",[56,19243,19244],{},"Slots",[32,19246,19247,19250,19253],{},[56,19248,19249],{},"Rendering content based on data",[56,19251,19252],{},"Render props",[56,19254,19255],{},"Scoped slots",[32,19257,19258,19261,19264],{},[56,19259,19260],{},"Sharing state deeply",[56,19262,19263],{},"Context",[56,19265,19266],{},"Provide \u002F inject",[32,19268,19269,19272,19278],{},[56,19270,19271],{},"Polymorphic components",[56,19273,19274,19277],{},[137,19275,19276],{},"as"," prop",[56,19279,19280],{},[137,19281,19282],{},"\u003Ccomponent :is=\"...\" >",[169,19284,19286],{"id":19285},"jsx-vs-templates","JSX vs Templates",[14,19288,19289],{},"React uses JSX to define markup directly in JavaScript:",[192,19291,19293],{"className":12095,"code":19292,"language":12097,"meta":197,"style":197},"\u002F\u002F Component.jsx\nexport default function Component({ greeting }) {\n  return \u003Cp>{greeting}\u003C\u002Fp>;\n}\n",[137,19294,19295,19300,19320,19340],{"__ignoreMap":197},[201,19296,19297],{"class":203,"line":204},[201,19298,19299],{"class":239},"\u002F\u002F Component.jsx\n",[201,19301,19302,19304,19306,19308,19311,19313,19316,19318],{"class":203,"line":224},[201,19303,246],{"class":245},[201,19305,249],{"class":245},[201,19307,6628],{"class":659},[201,19309,19310],{"class":252}," Component",[201,19312,2121],{"class":260},[201,19314,19315],{"class":2106}," greeting",[201,19317,2137],{"class":260},[201,19319,298],{"class":260},[201,19321,19322,19324,19326,19328,19330,19333,19335,19337],{"class":203,"line":264},[201,19323,2006],{"class":245},[201,19325,6708],{"class":260},[201,19327,14],{"class":267},[201,19329,6713],{"class":260},[201,19331,19332],{"class":256},"greeting",[201,19334,6754],{"class":260},[201,19336,14],{"class":267},[201,19338,19339],{"class":260},">;\n",[201,19341,19342],{"class":203,"line":290},[201,19343,724],{"class":260},[14,19345,19346],{},"Vue uses HTML-based templates in Single-File Components (SFCs):",[192,19348,19350],{"className":1333,"code":19349,"language":1335,"meta":197,"style":197},"\u003C!-- Component.vue -->\n\u003Cscript setup>\nconst props = defineProps(['greeting']);\n\u003C\u002Fscript>\n\u003Ctemplate>\n  \u003Cp>{{ greeting }}\u003C\u002Fp>\n\u003C\u002Ftemplate>\n",[137,19351,19352,19357,19367,19394,19402,19410,19427],{"__ignoreMap":197},[201,19353,19354],{"class":203,"line":204},[201,19355,19356],{"class":239},"\u003C!-- Component.vue -->\n",[201,19358,19359,19361,19363,19365],{"class":203,"line":224},[201,19360,1342],{"class":260},[201,19362,2936],{"class":267},[201,19364,2939],{"class":659},[201,19366,1718],{"class":260},[201,19368,19369,19371,19374,19376,19379,19382,19384,19386,19388,19391],{"class":203,"line":264},[201,19370,660],{"class":659},[201,19372,19373],{"class":256}," props ",[201,19375,1353],{"class":260},[201,19377,19378],{"class":252}," defineProps",[201,19380,19381],{"class":256},"([",[201,19383,277],{"class":260},[201,19385,19332],{"class":211},[201,19387,277],{"class":260},[201,19389,19390],{"class":256},"])",[201,19392,19393],{"class":260},";\n",[201,19395,19396,19398,19400],{"class":203,"line":290},[201,19397,1760],{"class":260},[201,19399,2936],{"class":267},[201,19401,1718],{"class":260},[201,19403,19404,19406,19408],{"class":203,"line":301},[201,19405,1342],{"class":260},[201,19407,1715],{"class":267},[201,19409,1718],{"class":260},[201,19411,19412,19414,19416,19418,19421,19423,19425],{"class":203,"line":319},[201,19413,1723],{"class":260},[201,19415,14],{"class":267},[201,19417,3416],{"class":260},[201,19419,19420],{"class":256},"{{ greeting }}",[201,19422,1760],{"class":260},[201,19424,14],{"class":267},[201,19426,1718],{"class":260},[201,19428,19429,19431,19433],{"class":203,"line":329},[201,19430,1760],{"class":260},[201,19432,1715],{"class":267},[201,19434,1718],{"class":260},[14,19436,19437],{},"Although Vue supports JSX, templates are preferred in the Vue ecosystem — and they're what enables the compiler optimizations covered in the performance section.",[169,19439,19441],{"id":19440},"hooks-vs-composables","Hooks vs Composables",[14,19443,19444],{},"Hooks and composables are both ways to reuse stateful logic. React example:",[192,19446,19450],{"className":19447,"code":19448,"language":19449,"meta":197,"style":197},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","function useFetch(url) {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n\n  useEffect(() => {\n    fetch(url)\n      .then(res => res.json())\n      .then(json => {\n        setData(json);\n        setLoading(false);\n      });\n  }, [url]);\n\n  return { data, loading };\n}\n","javascript",[137,19451,19452,19467,19494,19522,19526,19539,19550,19575,19589,19602,19615,19624,19637,19641,19656],{"__ignoreMap":197},[201,19453,19454,19456,19458,19460,19463,19465],{"class":203,"line":204},[201,19455,12104],{"class":659},[201,19457,2083],{"class":252},[201,19459,257],{"class":260},[201,19461,19462],{"class":2106},"url",[201,19464,3779],{"class":260},[201,19466,298],{"class":260},[201,19468,19469,19471,19473,19475,19477,19480,19482,19484,19486,19488,19490,19492],{"class":203,"line":224},[201,19470,3379],{"class":659},[201,19472,274],{"class":260},[201,19474,4705],{"class":256},[201,19476,409],{"class":260},[201,19478,19479],{"class":256}," setData",[201,19481,284],{"class":260},[201,19483,670],{"class":260},[201,19485,12132],{"class":252},[201,19487,257],{"class":267},[201,19489,4725],{"class":260},[201,19491,3779],{"class":267},[201,19493,19393],{"class":260},[201,19495,19496,19498,19500,19503,19505,19508,19510,19512,19514,19516,19518,19520],{"class":203,"line":264},[201,19497,3379],{"class":659},[201,19499,274],{"class":260},[201,19501,19502],{"class":256},"loading",[201,19504,409],{"class":260},[201,19506,19507],{"class":256}," setLoading",[201,19509,284],{"class":260},[201,19511,670],{"class":260},[201,19513,12132],{"class":252},[201,19515,257],{"class":267},[201,19517,6565],{"class":1864},[201,19519,3779],{"class":267},[201,19521,19393],{"class":260},[201,19523,19524],{"class":203,"line":290},[201,19525,654],{"emptyLinePlaceholder":653},[201,19527,19528,19531,19533,19535,19537],{"class":203,"line":301},[201,19529,19530],{"class":252},"  useEffect",[201,19532,257],{"class":267},[201,19534,6634],{"class":260},[201,19536,1999],{"class":659},[201,19538,298],{"class":260},[201,19540,19541,19544,19546,19548],{"class":203,"line":319},[201,19542,19543],{"class":252},"    fetch",[201,19545,257],{"class":267},[201,19547,19462],{"class":256},[201,19549,510],{"class":267},[201,19551,19552,19555,19558,19560,19563,19565,19568,19570,19573],{"class":203,"line":329},[201,19553,19554],{"class":260},"      .",[201,19556,19557],{"class":252},"then",[201,19559,257],{"class":267},[201,19561,19562],{"class":2106},"res",[201,19564,1999],{"class":659},[201,19566,19567],{"class":256}," res",[201,19569,534],{"class":260},[201,19571,19572],{"class":252},"json",[201,19574,7149],{"class":267},[201,19576,19577,19579,19581,19583,19585,19587],{"class":203,"line":346},[201,19578,19554],{"class":260},[201,19580,19557],{"class":252},[201,19582,257],{"class":267},[201,19584,19572],{"class":2106},[201,19586,1999],{"class":659},[201,19588,298],{"class":260},[201,19590,19591,19594,19596,19598,19600],{"class":203,"line":363},[201,19592,19593],{"class":252},"        setData",[201,19595,257],{"class":267},[201,19597,19572],{"class":256},[201,19599,3779],{"class":267},[201,19601,19393],{"class":260},[201,19603,19604,19607,19609,19611,19613],{"class":203,"line":380},[201,19605,19606],{"class":252},"        setLoading",[201,19608,257],{"class":267},[201,19610,4928],{"class":1864},[201,19612,3779],{"class":267},[201,19614,19393],{"class":260},[201,19616,19617,19620,19622],{"class":203,"line":391},[201,19618,19619],{"class":260},"      }",[201,19621,3779],{"class":267},[201,19623,19393],{"class":260},[201,19625,19626,19629,19631,19633,19635],{"class":203,"line":441},[201,19627,19628],{"class":260},"  },",[201,19630,274],{"class":267},[201,19632,19462],{"class":256},[201,19634,19390],{"class":267},[201,19636,19393],{"class":260},[201,19638,19639],{"class":203,"line":484},[201,19640,654],{"emptyLinePlaceholder":653},[201,19642,19643,19645,19647,19649,19651,19653],{"class":203,"line":492},[201,19644,2006],{"class":245},[201,19646,631],{"class":260},[201,19648,2069],{"class":256},[201,19650,409],{"class":260},[201,19652,1515],{"class":256},[201,19654,19655],{"class":260}," };\n",[201,19657,19658],{"class":203,"line":498},[201,19659,724],{"class":260},[14,19661,19662],{},"Vue composable:",[192,19664,19666],{"className":19447,"code":19665,"language":19449,"meta":197,"style":197},"import { ref, onMounted } from 'vue';\n\nfunction useFetch(url) {\n  const data = ref(null);\n  const loading = ref(true);\n\n  onMounted(async () => {\n    const response = await fetch(url);\n    data.value = await response.json();\n    loading.value = false;\n  });\n\n  return { data, loading };\n}\n",[137,19667,19668,19693,19697,19711,19729,19747,19751,19766,19789,19812,19827,19835,19839,19853],{"__ignoreMap":197},[201,19669,19670,19672,19674,19676,19678,19681,19683,19685,19687,19689,19691],{"class":203,"line":204},[201,19671,626],{"class":245},[201,19673,631],{"class":260},[201,19675,9534],{"class":256},[201,19677,409],{"class":260},[201,19679,19680],{"class":256}," onMounted",[201,19682,637],{"class":260},[201,19684,640],{"class":245},[201,19686,309],{"class":260},[201,19688,1335],{"class":211},[201,19690,277],{"class":260},[201,19692,19393],{"class":260},[201,19694,19695],{"class":203,"line":224},[201,19696,654],{"emptyLinePlaceholder":653},[201,19698,19699,19701,19703,19705,19707,19709],{"class":203,"line":264},[201,19700,12104],{"class":659},[201,19702,2083],{"class":252},[201,19704,257],{"class":260},[201,19706,19462],{"class":2106},[201,19708,3779],{"class":260},[201,19710,298],{"class":260},[201,19712,19713,19715,19717,19719,19721,19723,19725,19727],{"class":203,"line":290},[201,19714,3379],{"class":659},[201,19716,2069],{"class":256},[201,19718,670],{"class":260},[201,19720,9534],{"class":252},[201,19722,257],{"class":267},[201,19724,4725],{"class":260},[201,19726,3779],{"class":267},[201,19728,19393],{"class":260},[201,19730,19731,19733,19735,19737,19739,19741,19743,19745],{"class":203,"line":301},[201,19732,3379],{"class":659},[201,19734,1515],{"class":256},[201,19736,670],{"class":260},[201,19738,9534],{"class":252},[201,19740,257],{"class":267},[201,19742,6565],{"class":1864},[201,19744,3779],{"class":267},[201,19746,19393],{"class":260},[201,19748,19749],{"class":203,"line":319},[201,19750,654],{"emptyLinePlaceholder":653},[201,19752,19753,19756,19758,19760,19762,19764],{"class":203,"line":329},[201,19754,19755],{"class":252},"  onMounted",[201,19757,257],{"class":267},[201,19759,1993],{"class":659},[201,19761,1996],{"class":260},[201,19763,1999],{"class":659},[201,19765,298],{"class":260},[201,19767,19768,19771,19774,19776,19778,19781,19783,19785,19787],{"class":203,"line":346},[201,19769,19770],{"class":659},"    const",[201,19772,19773],{"class":256}," response",[201,19775,670],{"class":260},[201,19777,2009],{"class":245},[201,19779,19780],{"class":252}," fetch",[201,19782,257],{"class":267},[201,19784,19462],{"class":256},[201,19786,3779],{"class":267},[201,19788,19393],{"class":260},[201,19790,19791,19794,19796,19798,19800,19802,19804,19806,19808,19810],{"class":203,"line":363},[201,19792,19793],{"class":256},"    data",[201,19795,534],{"class":260},[201,19797,3048],{"class":256},[201,19799,670],{"class":260},[201,19801,2009],{"class":245},[201,19803,19773],{"class":256},[201,19805,534],{"class":260},[201,19807,19572],{"class":252},[201,19809,6634],{"class":267},[201,19811,19393],{"class":260},[201,19813,19814,19817,19819,19821,19823,19825],{"class":203,"line":380},[201,19815,19816],{"class":256},"    loading",[201,19818,534],{"class":260},[201,19820,3048],{"class":256},[201,19822,670],{"class":260},[201,19824,1934],{"class":1864},[201,19826,19393],{"class":260},[201,19828,19829,19831,19833],{"class":203,"line":391},[201,19830,16394],{"class":260},[201,19832,3779],{"class":267},[201,19834,19393],{"class":260},[201,19836,19837],{"class":203,"line":441},[201,19838,654],{"emptyLinePlaceholder":653},[201,19840,19841,19843,19845,19847,19849,19851],{"class":203,"line":484},[201,19842,2006],{"class":245},[201,19844,631],{"class":260},[201,19846,2069],{"class":256},[201,19848,409],{"class":260},[201,19850,1515],{"class":256},[201,19852,19655],{"class":260},[201,19854,19855],{"class":203,"line":492},[201,19856,724],{"class":260},[14,19858,19859],{},"The shape is nearly identical, but Vue's version has no dependency array and no rules-of-hooks: composables are plain functions calling a built-in reactivity system, so they can run conditionally and never suffer stale closures.",[169,19861,19863],{"id":19862},"callback-props-vs-events","Callback Props vs Events",[14,19865,19866],{},"React passes callbacks down; Vue emits events up. React pattern:",[192,19868,19870],{"className":12095,"code":19869,"language":12097,"meta":197,"style":197},"\u003CChildComponent onDataChange={handleDataChange} \u002F>\n",[137,19871,19872],{"__ignoreMap":197},[201,19873,19874,19876,19879,19882,19884,19887],{"class":203,"line":204},[201,19875,1342],{"class":260},[201,19877,19878],{"class":207},"ChildComponent",[201,19880,19881],{"class":659}," onDataChange",[201,19883,6735],{"class":260},[201,19885,19886],{"class":256},"handleDataChange",[201,19888,19889],{"class":260},"} \u002F>\n",[14,19891,19892],{},"Vue pattern:",[192,19894,19896],{"className":1333,"code":19895,"language":1335,"meta":197,"style":197},"\u003CChildComponent @data-change=\"handleDataChange\" \u002F>\n",[137,19897,19898],{"__ignoreMap":197},[201,19899,19900,19902,19904,19907,19910,19912,19914,19916,19918],{"class":203,"line":204},[201,19901,1342],{"class":260},[201,19903,19878],{"class":267},[201,19905,19906],{"class":260}," @",[201,19908,19909],{"class":659},"data-change",[201,19911,1353],{"class":260},[201,19913,1356],{"class":260},[201,19915,19886],{"class":256},[201,19917,1356],{"class":260},[201,19919,1539],{"class":260},[14,19921,19922],{},"React child:",[192,19924,19926],{"className":19447,"code":19925,"language":19449,"meta":197,"style":197},"function ChildComponent({ onDataChange }) {\n  return \u003Cbutton onClick={() => onDataChange('New Data')}>Click\u003C\u002Fbutton>;\n}\n",[137,19927,19928,19943,19982],{"__ignoreMap":197},[201,19929,19930,19932,19935,19937,19939,19941],{"class":203,"line":204},[201,19931,12104],{"class":659},[201,19933,19934],{"class":252}," ChildComponent",[201,19936,2121],{"class":260},[201,19938,19881],{"class":2106},[201,19940,2137],{"class":260},[201,19942,298],{"class":260},[201,19944,19945,19947,19949,19951,19953,19955,19957,19959,19961,19963,19966,19968,19970,19973,19976,19978,19980],{"class":203,"line":224},[201,19946,2006],{"class":245},[201,19948,6708],{"class":260},[201,19950,7383],{"class":267},[201,19952,12170],{"class":659},[201,19954,12173],{"class":260},[201,19956,1999],{"class":659},[201,19958,19881],{"class":252},[201,19960,257],{"class":256},[201,19962,277],{"class":260},[201,19964,19965],{"class":211},"New Data",[201,19967,277],{"class":260},[201,19969,3779],{"class":256},[201,19971,19972],{"class":260},"}>",[201,19974,19975],{"class":256},"Click",[201,19977,1760],{"class":260},[201,19979,7383],{"class":267},[201,19981,19339],{"class":260},[201,19983,19984],{"class":203,"line":264},[201,19985,724],{"class":260},[14,19987,19988],{},"Vue child:",[192,19990,19992],{"className":1333,"code":19991,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nconst emit = defineEmits(['data-change']);\n\nfunction changeData() {\n  emit('data-change', 'New Data');\n}\n\u003C\u002Fscript>\n\u003Ctemplate>\n  \u003Cbutton @click=\"changeData\">Click\u003C\u002Fbutton>\n\u003C\u002Ftemplate>\n",[137,19993,19994,20004,20028,20032,20043,20068,20072,20080,20088,20115],{"__ignoreMap":197},[201,19995,19996,19998,20000,20002],{"class":203,"line":204},[201,19997,1342],{"class":260},[201,19999,2936],{"class":267},[201,20001,2939],{"class":659},[201,20003,1718],{"class":260},[201,20005,20006,20008,20011,20013,20016,20018,20020,20022,20024,20026],{"class":203,"line":224},[201,20007,660],{"class":659},[201,20009,20010],{"class":256}," emit ",[201,20012,1353],{"class":260},[201,20014,20015],{"class":252}," defineEmits",[201,20017,19381],{"class":256},[201,20019,277],{"class":260},[201,20021,19909],{"class":211},[201,20023,277],{"class":260},[201,20025,19390],{"class":256},[201,20027,19393],{"class":260},[201,20029,20030],{"class":203,"line":264},[201,20031,654],{"emptyLinePlaceholder":653},[201,20033,20034,20036,20039,20041],{"class":203,"line":290},[201,20035,12104],{"class":659},[201,20037,20038],{"class":252}," changeData",[201,20040,6634],{"class":260},[201,20042,298],{"class":260},[201,20044,20045,20048,20050,20052,20054,20056,20058,20060,20062,20064,20066],{"class":203,"line":301},[201,20046,20047],{"class":252},"  emit",[201,20049,257],{"class":267},[201,20051,277],{"class":260},[201,20053,19909],{"class":211},[201,20055,277],{"class":260},[201,20057,409],{"class":260},[201,20059,309],{"class":260},[201,20061,19965],{"class":211},[201,20063,277],{"class":260},[201,20065,3779],{"class":267},[201,20067,19393],{"class":260},[201,20069,20070],{"class":203,"line":319},[201,20071,724],{"class":260},[201,20073,20074,20076,20078],{"class":203,"line":329},[201,20075,1760],{"class":260},[201,20077,2936],{"class":267},[201,20079,1718],{"class":260},[201,20081,20082,20084,20086],{"class":203,"line":346},[201,20083,1342],{"class":260},[201,20085,1715],{"class":267},[201,20087,1718],{"class":260},[201,20089,20090,20092,20094,20096,20098,20100,20103,20105,20107,20109,20111,20113],{"class":203,"line":363},[201,20091,1723],{"class":260},[201,20093,7383],{"class":267},[201,20095,9611],{"class":659},[201,20097,1353],{"class":260},[201,20099,1356],{"class":260},[201,20101,20102],{"class":211},"changeData",[201,20104,1356],{"class":260},[201,20106,3416],{"class":260},[201,20108,19975],{"class":256},[201,20110,1760],{"class":260},[201,20112,7383],{"class":267},[201,20114,1718],{"class":260},[201,20116,20117,20119,20121],{"class":203,"line":380},[201,20118,1760],{"class":260},[201,20120,1715],{"class":267},[201,20122,1718],{"class":260},[14,20124,20125],{},"Declared emits also serve as documentation and enable devtools event tracing.",[169,20127,20129],{"id":20128},"jsx-children-and-render-props-vs-slots","JSX Children and Render Props vs Slots",[14,20131,20132],{},"Both \"passing content\" patterns in React map onto Vue's single slot mechanism. Plain children first — React:",[192,20134,20136],{"className":12095,"code":20135,"language":12097,"meta":197,"style":197},"\u003CChildComponent>\n  \u003Ch1>Hello\u003C\u002Fh1>\n\u003C\u002FChildComponent>\n",[137,20137,20138,20146,20163],{"__ignoreMap":197},[201,20139,20140,20142,20144],{"class":203,"line":204},[201,20141,1342],{"class":260},[201,20143,19878],{"class":207},[201,20145,1718],{"class":260},[201,20147,20148,20150,20152,20154,20157,20159,20161],{"class":203,"line":224},[201,20149,1723],{"class":260},[201,20151,5993],{"class":267},[201,20153,3416],{"class":260},[201,20155,20156],{"class":256},"Hello",[201,20158,1760],{"class":260},[201,20160,5993],{"class":267},[201,20162,1718],{"class":260},[201,20164,20165,20167,20169],{"class":203,"line":264},[201,20166,1760],{"class":260},[201,20168,19878],{"class":207},[201,20170,1718],{"class":260},[14,20172,20173],{},"Vue:",[192,20175,20177],{"className":1333,"code":20176,"language":1335,"meta":197,"style":197},"\u003CChildComponent>\n  \u003Ctemplate #default>\n    \u003Ch1>Hello\u003C\u002Fh1>\n  \u003C\u002Ftemplate>\n\u003C\u002FChildComponent>\n",[137,20178,20179,20187,20192,20197,20202],{"__ignoreMap":197},[201,20180,20181,20183,20185],{"class":203,"line":204},[201,20182,1342],{"class":260},[201,20184,19878],{"class":267},[201,20186,1718],{"class":260},[201,20188,20189],{"class":203,"line":224},[201,20190,20191],{"class":256},"  \u003Ctemplate #default>\n",[201,20193,20194],{"class":203,"line":264},[201,20195,20196],{"class":256},"    \u003Ch1>Hello\u003C\u002Fh1>\n",[201,20198,20199],{"class":203,"line":290},[201,20200,20201],{"class":256},"  \u003C\u002Ftemplate>\n",[201,20203,20204,20206,20208],{"class":203,"line":301},[201,20205,1760],{"class":260},[201,20207,19878],{"class":267},[201,20209,1718],{"class":260},[14,20211,20212,20213,20216],{},"Inside the child, Vue renders slot content with ",[137,20214,20215],{},"\u003Cslot>\u003C\u002Fslot>",", and named slots allow multiple insertion points:",[192,20218,20220],{"className":1333,"code":20219,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cslot name=\"header\">\u003C\u002Fslot>\n  \u003Cslot>\u003C\u002Fslot> \u003C!-- default -->\n  \u003Cslot name=\"footer\">\u003C\u002Fslot>\n\u003C\u002Ftemplate>\n",[137,20221,20222,20230,20255,20270,20293],{"__ignoreMap":197},[201,20223,20224,20226,20228],{"class":203,"line":204},[201,20225,1342],{"class":260},[201,20227,1715],{"class":267},[201,20229,1718],{"class":260},[201,20231,20232,20234,20237,20239,20241,20243,20246,20248,20251,20253],{"class":203,"line":224},[201,20233,1723],{"class":260},[201,20235,20236],{"class":267},"slot",[201,20238,3680],{"class":659},[201,20240,1353],{"class":260},[201,20242,1356],{"class":260},[201,20244,20245],{"class":211},"header",[201,20247,1356],{"class":260},[201,20249,20250],{"class":260},">\u003C\u002F",[201,20252,20236],{"class":267},[201,20254,1718],{"class":260},[201,20256,20257,20259,20261,20263,20265,20267],{"class":203,"line":264},[201,20258,1723],{"class":260},[201,20260,20236],{"class":267},[201,20262,20250],{"class":260},[201,20264,20236],{"class":267},[201,20266,3416],{"class":260},[201,20268,20269],{"class":239}," \u003C!-- default -->\n",[201,20271,20272,20274,20276,20278,20280,20282,20285,20287,20289,20291],{"class":203,"line":290},[201,20273,1723],{"class":260},[201,20275,20236],{"class":267},[201,20277,3680],{"class":659},[201,20279,1353],{"class":260},[201,20281,1356],{"class":260},[201,20283,20284],{"class":211},"footer",[201,20286,1356],{"class":260},[201,20288,20250],{"class":260},[201,20290,20236],{"class":267},[201,20292,1718],{"class":260},[201,20294,20295,20297,20299],{"class":203,"line":301},[201,20296,1760],{"class":260},[201,20298,1715],{"class":267},[201,20300,1718],{"class":260},[14,20302,20303],{},"When the child needs to expose data back to the parent's markup — the render-prop pattern — React passes a function:",[192,20305,20307],{"className":12095,"code":20306,"language":12097,"meta":197,"style":197},"\u003CMouseTracker render={({ x, y }) => \u003Cp>{x}, {y}\u003C\u002Fp>} \u002F>\n",[137,20308,20309],{"__ignoreMap":197},[201,20310,20311,20313,20316,20319,20322,20325,20327,20330,20332,20334,20336,20338,20340,20343,20345,20347,20349,20352,20354,20356],{"class":203,"line":204},[201,20312,1342],{"class":260},[201,20314,20315],{"class":207},"MouseTracker",[201,20317,20318],{"class":659}," render",[201,20320,20321],{"class":260},"={({",[201,20323,20324],{"class":2106}," x",[201,20326,409],{"class":260},[201,20328,20329],{"class":2106}," y",[201,20331,2137],{"class":260},[201,20333,1999],{"class":659},[201,20335,6708],{"class":260},[201,20337,14],{"class":267},[201,20339,6713],{"class":260},[201,20341,20342],{"class":256},"x",[201,20344,507],{"class":260},[201,20346,4576],{"class":256},[201,20348,1620],{"class":260},[201,20350,20351],{"class":256},"y",[201,20353,6754],{"class":260},[201,20355,14],{"class":267},[201,20357,20358],{"class":260},">} \u002F>\n",[14,20360,20361],{},"Vue solves the same problem with scoped slots:",[192,20363,20365],{"className":1333,"code":20364,"language":1335,"meta":197,"style":197},"\u003CMouseTracker v-slot=\"{ position }\">\n  \u003Cp>{{ position.x }}, {{ position.y }}\u003C\u002Fp>\n\u003C\u002FMouseTracker>\n",[137,20366,20367,20391,20396],{"__ignoreMap":197},[201,20368,20369,20371,20373,20376,20378,20380,20382,20385,20387,20389],{"class":203,"line":204},[201,20370,1342],{"class":260},[201,20372,20315],{"class":267},[201,20374,20375],{"class":659}," v-slot",[201,20377,1353],{"class":260},[201,20379,1356],{"class":260},[201,20381,1620],{"class":260},[201,20383,20384],{"class":256}," position ",[201,20386,507],{"class":260},[201,20388,1356],{"class":260},[201,20390,1718],{"class":260},[201,20392,20393],{"class":203,"line":224},[201,20394,20395],{"class":256},"  \u003Cp>{{ position.x }}, {{ position.y }}\u003C\u002Fp>\n",[201,20397,20398,20400,20402],{"class":203,"line":264},[201,20399,1760],{"class":260},[201,20401,20315],{"class":267},[201,20403,1718],{"class":260},[14,20405,20406],{},"Same power, but the \"function returning markup\" stays in template syntax instead of nesting JSX inside props.",[169,20408,20410],{"id":20409},"context-api-vs-provideinject","Context API vs Provide\u002FInject",[14,20412,20413],{},"React:",[192,20415,20417],{"className":12095,"code":20416,"language":12097,"meta":197,"style":197},"\u003CThemeContext.Provider value={{ theme, setTheme }}>\n  \u003CApp \u002F>\n\u003C\u002FThemeContext.Provider>\n",[137,20418,20419,20443,20452],{"__ignoreMap":197},[201,20420,20421,20423,20426,20429,20432,20435,20437,20440],{"class":203,"line":204},[201,20422,1342],{"class":260},[201,20424,20425],{"class":207},"ThemeContext.Provider",[201,20427,20428],{"class":659}," value",[201,20430,20431],{"class":260},"={{",[201,20433,20434],{"class":256}," theme",[201,20436,409],{"class":260},[201,20438,20439],{"class":256}," setTheme ",[201,20441,20442],{"class":260},"}}>\n",[201,20444,20445,20447,20450],{"class":203,"line":224},[201,20446,1723],{"class":260},[201,20448,20449],{"class":207},"App",[201,20451,1539],{"class":260},[201,20453,20454,20456,20458],{"class":203,"line":264},[201,20455,1760],{"class":260},[201,20457,20425],{"class":207},[201,20459,1718],{"class":260},[14,20461,20173],{},[192,20463,20465],{"className":1333,"code":20464,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nconst theme = ref('light');\nprovide('theme', theme);\n\u003C\u002Fscript>\n",[137,20466,20467,20477,20501,20522],{"__ignoreMap":197},[201,20468,20469,20471,20473,20475],{"class":203,"line":204},[201,20470,1342],{"class":260},[201,20472,2936],{"class":267},[201,20474,2939],{"class":659},[201,20476,1718],{"class":260},[201,20478,20479,20481,20484,20486,20488,20490,20492,20495,20497,20499],{"class":203,"line":224},[201,20480,660],{"class":659},[201,20482,20483],{"class":256}," theme ",[201,20485,1353],{"class":260},[201,20487,9534],{"class":252},[201,20489,257],{"class":256},[201,20491,277],{"class":260},[201,20493,20494],{"class":211},"light",[201,20496,277],{"class":260},[201,20498,3779],{"class":256},[201,20500,19393],{"class":260},[201,20502,20503,20506,20508,20510,20513,20515,20517,20520],{"class":203,"line":264},[201,20504,20505],{"class":252},"provide",[201,20507,257],{"class":256},[201,20509,277],{"class":260},[201,20511,20512],{"class":211},"theme",[201,20514,277],{"class":260},[201,20516,409],{"class":260},[201,20518,20519],{"class":256}," theme)",[201,20521,19393],{"class":260},[201,20523,20524,20526,20528],{"class":203,"line":290},[201,20525,1760],{"class":260},[201,20527,2936],{"class":267},[201,20529,1718],{"class":260},[14,20531,20532],{},"To consume:",[192,20534,20536],{"className":1333,"code":20535,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nconst theme = inject('theme');\n\u003C\u002Fscript>\n",[137,20537,20538,20548,20571],{"__ignoreMap":197},[201,20539,20540,20542,20544,20546],{"class":203,"line":204},[201,20541,1342],{"class":260},[201,20543,2936],{"class":267},[201,20545,2939],{"class":659},[201,20547,1718],{"class":260},[201,20549,20550,20552,20554,20556,20559,20561,20563,20565,20567,20569],{"class":203,"line":224},[201,20551,660],{"class":659},[201,20553,20483],{"class":256},[201,20555,1353],{"class":260},[201,20557,20558],{"class":252}," inject",[201,20560,257],{"class":256},[201,20562,277],{"class":260},[201,20564,20512],{"class":211},[201,20566,277],{"class":260},[201,20568,3779],{"class":256},[201,20570,19393],{"class":260},[201,20572,20573,20575,20577],{"class":203,"line":264},[201,20574,1760],{"class":260},[201,20576,2936],{"class":267},[201,20578,1718],{"class":260},[14,20580,20581],{},"One meaningful difference: injected refs stay granularly reactive, so consumers re-render only when the value they read actually changes — no context-splitting workarounds needed.",[169,20583,20585],{"id":20584},"polymorphic-components","Polymorphic Components",[14,20587,20588,20589,20591],{},"React pattern using the ",[137,20590,19276],{}," prop:",[192,20593,20595],{"className":19447,"code":20594,"language":19449,"meta":197,"style":197},"function Box({ as: Component = 'div', ...props }) {\n  return \u003CComponent {...props} \u002F>;\n}\n",[137,20596,20597,20633,20650],{"__ignoreMap":197},[201,20598,20599,20601,20604,20606,20609,20611,20613,20615,20617,20619,20621,20623,20626,20629,20631],{"class":203,"line":204},[201,20600,12104],{"class":659},[201,20602,20603],{"class":252}," Box",[201,20605,2121],{"class":260},[201,20607,20608],{"class":267}," as",[201,20610,271],{"class":260},[201,20612,19310],{"class":2106},[201,20614,670],{"class":260},[201,20616,309],{"class":260},[201,20618,6013],{"class":211},[201,20620,277],{"class":260},[201,20622,409],{"class":260},[201,20624,20625],{"class":260}," ...",[201,20627,20628],{"class":2106},"props",[201,20630,2137],{"class":260},[201,20632,298],{"class":260},[201,20634,20635,20637,20639,20642,20645,20647],{"class":203,"line":224},[201,20636,2006],{"class":245},[201,20638,6708],{"class":260},[201,20640,20641],{"class":207},"Component",[201,20643,20644],{"class":260}," {...",[201,20646,20628],{"class":256},[201,20648,20649],{"class":260},"} \u002F>;\n",[201,20651,20652],{"class":203,"line":264},[201,20653,724],{"class":260},[14,20655,20656],{},"Vue dynamic components:",[192,20658,20660],{"className":1333,"code":20659,"language":1335,"meta":197,"style":197},"\u003Ccomponent :is=\"as\">\u003C\u002Fcomponent>\n",[137,20661,20662],{"__ignoreMap":197},[201,20663,20664,20666,20669,20671,20674,20676,20678,20680,20682,20684,20686],{"class":203,"line":204},[201,20665,1342],{"class":260},[201,20667,20668],{"class":267},"component",[201,20670,11331],{"class":260},[201,20672,20673],{"class":659},"is",[201,20675,1353],{"class":260},[201,20677,1356],{"class":260},[201,20679,19276],{"class":256},[201,20681,1356],{"class":260},[201,20683,20250],{"class":260},[201,20685,20668],{"class":267},[201,20687,1718],{"class":260},[14,20689,20690,20691,20693],{},"You can pass either an HTML tag name or a component to the ",[137,20692,20673],{}," attribute — no wrapper convention required, it's built into the framework.",[18,20695,20697],{"id":20696},"vue-vs-react-for-enterprise-when-to-use-each","Vue vs React for Enterprise: When to Use Each",[14,20699,20700],{},"Capability-wise, both frameworks are proven at enterprise scale — React at Meta, Netflix, and Airbnb; Vue at Alibaba, GitLab, and Nintendo. The real decision factors are organizational.",[169,20702,20704],{"id":20703},"when-to-choose-react","When to choose React",[2357,20706,20707,20713,20719,20725],{},[188,20708,20709,20712],{},[2363,20710,20711],{},"Your team already knows it."," Existing expertise beats any framework advantage. Migrating a productive React team to Vue solves a problem you don't have.",[188,20714,20715,20718],{},[2363,20716,20717],{},"Hiring volume is critical."," If you need to staff dozens of frontend seats fast, React's larger talent pool is a genuine operational advantage.",[188,20720,20721,20724],{},[2363,20722,20723],{},"React Native is on the roadmap."," Sharing patterns, tooling, and developers between web and mobile is smoother inside one ecosystem.",[188,20726,20727,20730],{},[2363,20728,20729],{},"You depend on ecosystem breadth."," Niche enterprise integrations, design systems, and vendor SDKs ship React bindings first.",[169,20732,20734],{"id":20733},"when-to-choose-vue","When to choose Vue",[2357,20736,20737,20743,20749,20758],{},[188,20738,20739,20742],{},[2363,20740,20741],{},"Consistency across teams matters."," Official routing, state, and meta-framework mean every Vue project looks familiar — valuable when many teams or agencies touch the codebase.",[188,20744,20745,20748],{},[2363,20746,20747],{},"You're growing developers, not just hiring them."," Vue's onboarding speed turns general JavaScript hires into contributors faster.",[188,20750,20751,20754,20755,20757],{},[2363,20752,20753],{},"Long-term maintenance cost is a priority."," Less memoization ceremony, stable APIs, and paved-path tooling keep older Vue codebases healthy. We see this constantly in ",[128,20756,909],{"href":908}," work on apps that are five-plus years old.",[188,20759,20760,20763,20764,20766],{},[2363,20761,20762],{},"You're modernizing incrementally."," Vue drops into existing server-rendered pages without a big-bang rewrite — and when legacy Vue 2 code is involved, a structured ",[128,20765,17653],{"href":17584}," path exists.",[14,20768,20769],{},"If you're still weighing react vs vue js for a specific product, the honest tiebreaker is: audit your team and your hiring market before you audit the frameworks.",[18,20771,914],{"id":913},[14,20773,20774],{},"Migrating from React to Vue — or choosing between them in 2026 — is easier when you map familiar patterns instead of comparing marketing pages. Vue's Composition API and template syntax offer the same power as hooks and JSX with a different philosophy: more convention, more compiler assistance, fewer decisions. React counters with unmatched ecosystem breadth and hiring reach.",[14,20776,20777,20778,20781],{},"There is no universal winner in the vue js or react js question — but there is usually a clear winner ",[14885,20779,20780],{},"for your team",". Map your constraints (existing skills, hiring market, maintenance horizon) onto the sections above, and the choice tends to make itself.",[18,20783,931],{"id":930},[169,20785,20787],{"id":20786},"is-vue-or-react-better-for-beginners","Is Vue or React better for beginners?",[14,20789,20790],{},"Vue is generally easier to start with. Its template syntax looks like the HTML you already know, the official docs walk you through one recommended path, and you can adopt it incrementally in an existing project. React is approachable too, but JSX, hooks rules, and the number of ecosystem decisions (routing, state, data fetching) put more on a beginner's plate in the first weeks.",[169,20792,11797],{"id":11796},[14,20794,20795],{},"For most real applications the difference is not the bottleneck — both frameworks are fast. Vue's compiler-informed reactivity skips work automatically, while React historically relied on manual memoization and now automates much of it with the React Compiler. Architecture, bundle discipline, and data loading dominate real-world performance far more than the framework choice.",[169,20797,20799],{"id":20798},"which-is-better-for-large-scale-enterprise-applications","Which is better for large-scale enterprise applications?",[14,20801,20802],{},"Both run at enterprise scale. React offers the largest hiring pool and ecosystem; Vue offers strong conventions, official first-party libraries for routing and state, and a gentler maintenance profile. Companies like Alibaba and GitLab run Vue at massive scale, so the decision usually comes down to team experience and hiring strategy, not capability.",[169,20804,20806],{"id":20805},"can-react-developers-switch-to-vue-quickly","Can React developers switch to Vue quickly?",[14,20808,20809],{},"Yes — and if you're wondering whether Vue js is similar to React, the answer is: similar enough that the mental models map almost one-to-one. Hooks become composables, callback props become events, render props become scoped slots, and Context becomes provide\u002Finject. Most React developers we onboard are productive in Vue within a couple of weeks, with the Composition API feeling familiar from day one.",[169,20811,20813],{"id":20812},"how-does-angular-compare-to-vue-and-react","How does Angular compare to Vue and React?",[14,20815,20816],{},"In the vue js vs react vs angular comparison, Angular is the most opinionated: a full framework with dependency injection, RxJS, and a prescribed structure — a fit for large teams that want everything decided upfront. React is the most flexible and library-like. Vue sits between: official routing and state solutions like Angular, with the lightweight component model of React. Node.js is not part of this comparison — it is a server runtime that any of the three can pair with.",[6170,20818],{"label":11830,"to":6173},[984,20820,20821],{},"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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":197,"searchDepth":264,"depth":264,"links":20823},[20824,20825,20826,20827,20828,20836,20840,20841],{"id":19048,"depth":224,"text":19049},{"id":19064,"depth":224,"text":19065},{"id":19088,"depth":224,"text":19089},{"id":19134,"depth":224,"text":19135},{"id":19184,"depth":224,"text":19185,"children":20829},[20830,20831,20832,20833,20834,20835],{"id":19285,"depth":264,"text":19286},{"id":19440,"depth":264,"text":19441},{"id":19862,"depth":264,"text":19863},{"id":20128,"depth":264,"text":20129},{"id":20409,"depth":264,"text":20410},{"id":20584,"depth":264,"text":20585},{"id":20696,"depth":224,"text":20697,"children":20837},[20838,20839],{"id":20703,"depth":264,"text":20704},{"id":20733,"depth":264,"text":20734},{"id":913,"depth":224,"text":914},{"id":930,"depth":224,"text":931,"children":20842},[20843,20844,20845,20846,20847],{"id":20786,"depth":264,"text":20787},{"id":11796,"depth":264,"text":11797},{"id":20798,"depth":264,"text":20799},{"id":20805,"depth":264,"text":20806},{"id":20812,"depth":264,"text":20813},"2026-09-21","React vs Vue compared: vue js vs react performance, learning curve, ecosystem and enterprise fit, plus a React-to-Vue pattern map and decision framework.",[20851,20852,20853,20854,20855],{"question":20787,"answer":20790},{"question":11797,"answer":20795},{"question":20799,"answer":20802},{"question":20806,"answer":20809},{"question":20813,"answer":20816},"\u002Fimages\u002Fblog\u002Freact-vue\u002Fcard.png",{},{"title":19020,"description":20849},"blog\u002Freact-vue",[2822,2429],"vawPVj7OB2g2IwG-cLT9NRbmBloX2M-ikgxs7aufxqs",{"id":20863,"title":20864,"articleType":7,"author":8,"authorSlug":9,"body":20865,"cta":1008,"date":21682,"description":21683,"extension":1011,"faq":21684,"featured":1021,"image":21691,"meta":21692,"navigation":653,"noCtaBox":1021,"path":11774,"readTime":9252,"seo":21693,"seoTitle":1008,"stem":21694,"tags":21695,"topic":1032,"video":1008,"__hash__":21697},"blog\u002Fblog\u002Fvue-vapor-mode-migration.md","Vue Vapor Mode Migration: A Decision Framework for Existing Vue 3 Apps",{"type":11,"value":20866,"toc":21654},[20867,20870,20873,20889,20893,20936,20940,20943,20966,20972,20975,20979,20982,20995,20998,21004,21011,21015,21022,21162,21171,21175,21182,21189,21204,21211,21217,21221,21224,21322,21329,21333,21336,21349,21365,21369,21372,21376,21387,21391,21420,21424,21430,21434,21449,21453,21456,21514,21521,21525,21528,21561,21564,21568,21572,21578,21582,21605,21609,21615,21619,21622,21631,21634,21651],[14,20868,20869],{},"Your engineers have seen the benchmarks. Vue's new Vapor Mode posts numbers in the same league as Solid and Svelte 5, and someone on the team is now asking whether you should \"do Vapor.\" The honest answer for most existing Vue 3 apps is: maybe, on one page, after you've measured. Vapor Mode is opt-in per component, and the Vue team's own guidance is to start with a single performance-sensitive page — not to rewrite an app.",[14,20871,20872],{},"This is a page-level decision, not an app-level one. And the deciding factor is rarely the benchmark. It's the composition of your codebase: Vapor components can't use the Options API, so how much of your app still lives there matters more than any percentage on a chart. This guide gives you a way to answer the question with a budget instead of an opinion.",[20874,20875,20878],"callout",{"title":20876,"type":20877},"Status: Vue 3.6 is a release candidate","warning",[14,20879,20880,20881,20884,20885,20888],{},"Vapor Mode ships in Vue 3.6, which as of ",[2363,20882,20883],{},"September 2026"," is still a release candidate (",[137,20886,20887],{},"v3.6.0-rc.7","). APIs and behaviour can change before stable. Treat everything below as guidance for planning and prototyping, not a green light for production rollouts, and revisit the week 3.6 goes stable.",[18,20890,20892],{"id":20891},"tldr","TL;DR",[2357,20894,20895,20905,20911,20924,20930],{},[188,20896,20897,20900,20901,20904],{},[2363,20898,20899],{},"Vue 3.6 helps everyone; Vapor helps opt-ins."," The reactivity rewrite (based on alien-signals) improves performance and memory for ",[14885,20902,20903],{},"all"," 3.6 apps automatically. Vapor Mode is a separate, opt-in compilation mode you turn on per component.",[188,20906,20907,20910],{},[2363,20908,20909],{},"It's a per-page decision."," The Vue team recommends one performance-sensitive page in an existing app, or a small new app built entirely in Vapor — with distinct regions and minimal mixed nesting.",[188,20912,20913,20916,20917,20919,20920,20923],{},[2363,20914,20915],{},"The real constraint is the Options API."," Vapor components require Composition API \u002F ",[137,20918,6406],{},". Your Options API share is the migration budget, not the ",[137,20921,20922],{},"vapor"," flag.",[188,20925,20926,20929],{},[2363,20927,20928],{},"Bundle-size wins are for pure Vapor apps only."," In an existing app you use the interop plugin, which pulls the virtual-DOM runtime back in and offsets that benefit.",[188,20931,20932,20935],{},[2363,20933,20934],{},"Framework:"," profile first → inventory your Options API share → draw a clean region boundary → estimate, convert, and re-measure.",[18,20937,20939],{"id":20938},"what-36-changes-for-everyone-vs-only-for-vapor-opt-ins","What 3.6 changes for everyone vs. only for Vapor opt-ins",[14,20941,20942],{},"The most useful thing a tech lead can do early is separate two changes that arrive in the same release but affect you very differently.",[14,20944,20945,20948,20949,20952,20953,20958,20959,4576,20961,4797,20963,20965],{},[2363,20946,20947],{},"For everyone: the reactivity rewrite."," Vue 3.6 includes a major refactor of ",[137,20950,20951],{},"@vue\u002Freactivity"," based on ",[128,20954,20957],{"href":20955,"rel":20956},"https:\u002F\u002Fgithub.com\u002Fstackblitz\u002Falien-signals",[4980],"alien-signals",", which the release notes describe as significantly improving the reactivity system's performance and memory usage. You get this by upgrading. No component changes, no opt-in, no new mental model — ",[137,20960,4743],{},[137,20962,6412],{},[137,20964,8102],{}," behave as before, just faster and lighter. For many teams this is the entire practical payoff of 3.6, and it lands without any of the constraints below.",[14,20967,20968,20971],{},[2363,20969,20970],{},"For opt-ins only: Vapor Mode."," Vapor is described in the release notes as \"a new compilation mode for Vue Single-File Components (SFCs) with the goal of reducing baseline bundle size and improving performance.\" Crucially, it is \"100% opt-in and supports a subset of existing Vue APIs with mostly identical behavior.\" Instead of compiling your template into virtual-DOM render functions, the Vapor compiler generates code that creates and updates real DOM nodes directly, driven by the same reactivity system. That's where the Solid\u002FSvelte-class numbers come from — and where the constraints start.",[14,20973,20974],{},"So before anyone budgets a Vapor migration: upgrade to 3.6 first, measure, and see whether the free reactivity gains already close your performance gap. Sometimes they do.",[18,20976,20978],{"id":20977},"a-vue-vapor-mode-migration-is-a-page-level-decision-not-an-app-level-one","A Vue Vapor Mode migration is a page-level decision, not an app-level one",[14,20980,20981],{},"The Vue team is specific about where Vapor belongs. From the 3.6 release notes, they recommend it for:",[2357,20983,20984,20990],{},[188,20985,20986,20989],{},[2363,20987,20988],{},"Partial usage in existing apps",", such as implementing a performance-sensitive page in Vapor Mode.",[188,20991,20992],{},[2363,20993,20994],{},"Building small new apps entirely in Vapor Mode.",[14,20996,20997],{},"And a structural rule that matters more than it first appears:",[20999,21000,21001],"blockquote",{},[14,21002,21003],{},"we recommend having distinct regions in an app where one rendering mode or the other is used, and avoiding mixed nesting as much as possible.",[14,21005,21006,21007,21010],{},"Read that as an architectural constraint, not a style tip. Vapor and virtual-DOM components ",[14885,21008,21009],{},"can"," interoperate, but every boundary between them has a cost — in runtime code, in cognitive overhead, and in the edge cases (below) that only bite at the seams. A single Vapor route with a clean edge is cheap to reason about. A Vapor leaf component buried three levels deep inside a virtual-DOM tree, with slots crossing the boundary in both directions, is where you spend your debugging budget. Pick a region you can draw a box around: a heavy data grid, a dashboard, a canvas-adjacent view, a high-frequency-update page.",[18,21012,21014],{"id":21013},"what-a-vapor-component-cannot-do","What a Vapor component cannot do",[14,21016,21017,21018,21021],{},"This is the list that actually decides your timeline. A Vapor component supports a ",[14885,21019,21020],{},"subset"," of Vue's APIs. Per the 3.6 release notes, these are not available:",[26,21023,21024,21034],{},[29,21025,21026],{},[32,21027,21028,21031],{},[35,21029,21030],{},"Not supported in Vapor",[35,21032,21033],{},"What it means for migration",[51,21035,21036,21060,21084,21099,21113,21130],{},[32,21037,21038,21043],{},[56,21039,21040],{},[2363,21041,21042],{},"Options API",[56,21044,21045,21046,21048,21049,4576,21052,4576,21054,4576,21056,21059],{},"Components must be Composition API \u002F ",[137,21047,6406],{},". Any ",[137,21050,21051],{},"data()",[137,21053,15531],{},[137,21055,6412],{},[137,21057,21058],{},"mixins","-based component has to be converted first.",[32,21061,21062,21069],{},[56,21063,21064],{},[2363,21065,21066],{},[137,21067,21068],{},"app.config.globalProperties",[56,21070,21071,21072,4576,21075,21078,21079,1850,21081,534],{},"Globals injected onto every instance (a common Vue 2 → 3 holdover for ",[137,21073,21074],{},"$http",[137,21076,21077],{},"$filters",", i18n helpers) aren't visible. Move them to explicit imports or ",[137,21080,20505],{},[137,21082,21083],{},"inject",[32,21085,21086,21093],{},[56,21087,21088],{},[2363,21089,21090],{},[137,21091,21092],{},"getCurrentInstance()",[56,21094,21095,21096,21098],{},"Returns ",[137,21097,4725],{}," in a Vapor component. Any library or utility reaching for the internal instance handle will break.",[32,21100,21101,21107],{},[56,21102,21103],{},[2363,21104,21105],{},[137,21106,11450],{},[56,21108,21109,21110,21112],{},"The manual memoization escape hatch is gone — Vapor's direct DOM updates change the performance model, but code relying on ",[137,21111,11450],{}," needs another approach.",[32,21114,21115,21123],{},[56,21116,21117],{},[2363,21118,21119,21122],{},[137,21120,21121],{},"@vue:xxx"," per-element lifecycle events",[56,21124,21125,21126,21129],{},"Per-element hooks like ",[137,21127,21128],{},"@vue:mounted"," on a DOM node aren't available.",[32,21131,21132,21151],{},[56,21133,21134],{},[2363,21135,21136,21137,4576,21140,4576,21142,4576,21145,4576,21148,3779],{},"Component template refs (",[137,21138,21139],{},"$el",[137,21141,13814],{},[137,21143,21144],{},"$attrs",[137,21146,21147],{},"$slots",[137,21149,21150],{},"$refs",[56,21152,21153,21154,21156,21157,809,21159,21161],{},"A ref to a Vapor child component does not expose these properties. Code that reaches into a child via ",[137,21155,4743],{}," to read ",[137,21158,21139],{},[137,21160,21150],{}," must be reworked.",[14,21163,21164,21165,955,21168,21170],{},"None of these are exotic in a real Vue 3 codebase that grew out of a Vue 2 migration. ",[137,21166,21167],{},"globalProperties",[137,21169,21092],{}," in particular hide inside plugins and shared utilities you didn't write. That's why the inventory step in the framework below is not optional.",[18,21172,21174],{"id":21173},"behavioural-gotchas-at-the-boundary","Behavioural gotchas at the boundary",[14,21176,21177,21178,21181],{},"Even for components that ",[14885,21179,21180],{},"look"," convertible, a few behavioural differences change how they run. These are the ones most likely to produce a bug that passes code review and fails in production.",[169,21183,21185,21186],{"id":21184},"event-delegation-and-stoppropagation","Event delegation and ",[137,21187,21188],{},"stopPropagation()",[14,21190,21191,21192,21194,21195,21197,21198,21200,21201,21203],{},"Vapor delegates events to the ",[137,21193,10083],{}," root rather than attaching a listener to each element. The consequence, straight from the release notes: if any ancestor calls ",[137,21196,21188],{},", the event never reaches ",[137,21199,10083],{},", and the delegated handler will not run. If your Vapor region sits inside a virtual-DOM shell that stops propagation somewhere up the tree — a modal, a dropdown, a drag handler — clicks inside Vapor can silently stop working. Audit for ",[137,21202,21188],{}," on the path between your app root and the Vapor boundary.",[169,21205,21207,21210],{"id":21206},"slotsdefault-is-not-a-dry-run",[137,21208,21209],{},"slots.default()"," is not a dry run",[14,21212,21213,21214,21216],{},"It's tempting to call ",[137,21215,21209],{}," to \"peek\" at slot content — count children, check whether a slot is empty, branch on it. In Vapor that's not a side-effect-free inspection. Per the release notes, calling it executes the slot's rendering logic, which may create Blocks and DOM nodes, register reactive effects, and claim existing SSR DOM during hydration. Calling it twice, or calling it just to test, can double-render or corrupt hydration. Treat slot invocation as the real thing.",[169,21218,21220],{"id":21219},"custom-directive-signature","Custom directive signature",[14,21222,21223],{},"Custom directives in Vapor use a different interface. The signature is a plain function:",[192,21225,21227],{"className":230,"code":21226,"language":232,"meta":197,"style":197},"type VaporDirective = (\n  node: Element | VaporComponentInstance,\n  value?: () => any,\n  argument?: string,\n  modifiers?: DirectiveModifiers,\n) => (() => void) | void\n",[137,21228,21229,21241,21259,21275,21286,21298],{"__ignoreMap":197},[201,21230,21231,21234,21237,21239],{"class":203,"line":204},[201,21232,21233],{"class":659},"type",[201,21235,21236],{"class":207}," VaporDirective",[201,21238,670],{"class":260},[201,21240,6996],{"class":256},[201,21242,21243,21246,21248,21251,21254,21257],{"class":203,"line":224},[201,21244,21245],{"class":2106},"  node",[201,21247,271],{"class":260},[201,21249,21250],{"class":207}," Element",[201,21252,21253],{"class":260}," |",[201,21255,21256],{"class":207}," VaporComponentInstance",[201,21258,287],{"class":260},[201,21260,21261,21264,21267,21269,21271,21273],{"class":203,"line":264},[201,21262,21263],{"class":252},"  value",[201,21265,21266],{"class":260},"?:",[201,21268,1996],{"class":260},[201,21270,1999],{"class":659},[201,21272,5791],{"class":207},[201,21274,287],{"class":260},[201,21276,21277,21280,21282,21284],{"class":203,"line":290},[201,21278,21279],{"class":2106},"  argument",[201,21281,21266],{"class":260},[201,21283,3399],{"class":207},[201,21285,287],{"class":260},[201,21287,21288,21291,21293,21296],{"class":203,"line":301},[201,21289,21290],{"class":2106},"  modifiers",[201,21292,21266],{"class":260},[201,21294,21295],{"class":207}," DirectiveModifiers",[201,21297,287],{"class":260},[201,21299,21300,21302,21305,21307,21309,21311,21314,21316,21319],{"class":203,"line":319},[201,21301,7300],{"class":256},[201,21303,21304],{"class":659},"=>",[201,21306,2142],{"class":256},[201,21308,6634],{"class":260},[201,21310,1999],{"class":659},[201,21312,21313],{"class":207}," void",[201,21315,7300],{"class":256},[201,21317,21318],{"class":260},"|",[201,21320,21321],{"class":207}," void\n",[14,21323,21324,21325,21328],{},"The value arrives as a getter (",[137,21326,21327],{},"() => any",") rather than a resolved binding object, and cleanup is the returned function. Any custom directive used inside a Vapor region needs a Vapor-shaped implementation — so count your custom directives (and the third-party ones you depend on) as part of the surface area.",[18,21330,21332],{"id":21331},"the-interop-boundary-and-why-bundle-size-wins-are-conditional","The interop boundary — and why bundle-size wins are conditional",[14,21334,21335],{},"There are two ways to run Vapor, and the difference decides whether you get the headline bundle-size benefit.",[14,21337,21338,21344,21345,21348],{},[2363,21339,21340,21341,534],{},"Pure Vapor app — ",[137,21342,21343],{},"createVaporApp()"," You mount the whole app in Vapor. Apps created this way avoid pulling in the virtual-DOM runtime code, which lets the baseline bundle size be drastically reduced. This is the configuration the \"smaller bundle\" story is about — and it's realistic mainly for ",[14885,21346,21347],{},"small new apps",", because everything in the tree must obey the Vapor subset.",[14,21350,21351,21360,21361,21364],{},[2363,21352,21353,21354,16914,21357,534],{},"Mixed app — ",[137,21355,21356],{},"createApp()",[137,21358,21359],{},"vaporInteropPlugin"," You keep your existing virtual-DOM app and render Vapor components inside it (or vice versa) through the interop plugin. This is the realistic path for an existing app. But the interop plugin pulls in the virtual-DOM runtime and offsets the benefits of a smaller bundle. In other words: ",[2363,21362,21363],{},"in an existing app, adopt Vapor for the runtime\u002Frendering performance of a specific region, not for bundle size."," If a stakeholder is selling the migration on \"smaller bundle,\" and you're an existing app using interop, that argument doesn't hold — set the expectation early.",[18,21366,21368],{"id":21367},"a-four-step-decision-framework","A four-step decision framework",[14,21370,21371],{},"Answer \"should we do Vapor?\" with a budget by working these in order. If any step comes back negative, you have your answer without touching the compiler.",[169,21373,21375],{"id":21374},"_1-profile-first","1. Profile first",[14,21377,21378,21379,21382,21383,21386],{},"Establish that you have a ",[14885,21380,21381],{},"rendering"," problem, on a ",[14885,21384,21385],{},"specific"," page, that Vapor addresses. Upgrade to 3.6 and measure with the reactivity rewrite already in place — it may have closed the gap for free. Use real profiling (browser performance traces, your own metrics) on the actual slow view. If the bottleneck is network, an oversized payload, an N+1 query, or an unmemoized computation, Vapor won't fix it, and you'll have spent a migration on the wrong problem.",[169,21388,21390],{"id":21389},"_2-inventory-your-options-api-share","2. Inventory your Options API share",[14,21392,21393,21394,4576,21396,4576,21398,21400,21401,1850,21403,21405,21406,21408,21409,21411,21412,21415,21416,21419],{},"For the candidate region, count what's actually there: Options API components, uses of ",[137,21395,21167],{},[137,21397,21092],{},[137,21399,11450],{},", component-ref access to ",[137,21402,21139],{},[137,21404,21150],{},", and custom directives. This is the migration budget. A region that's already ",[137,21407,6406],{}," with local state is cheap. A region leaning on global plugins and Options components is expensive — and the cost is conversion + retesting, not the ",[137,21410,20922],{}," flag. A ",[128,21413,21414],{"href":2284},"code audit"," is a fast way to get this number if you don't already track Composition-vs-Options coverage. For the broader Options-to-Composition question, our ",[128,21417,21418],{"href":12370},"guide on refactoring to the Composition API"," covers the trade-offs in depth.",[169,21421,21423],{"id":21422},"_3-draw-the-region-boundary","3. Draw the region boundary",[14,21425,21426,21427,21429],{},"Pick a region you can enclose in a single box, honouring the Vue team's \"distinct regions, avoid mixed nesting\" rule. Prefer a whole route or a self-contained widget over a deep leaf component. Trace what crosses the boundary: slots, event propagation (watch for ",[137,21428,21188],{}," above it), refs into children, injected globals. The fewer things cross, the cheaper and safer the migration — and the fewer interop edge cases you inherit.",[169,21431,21433],{"id":21432},"_4-estimate-convert-and-re-measure","4. Estimate, convert, and re-measure",[14,21435,21436,21437,21440,21441,21444,21445,21448],{},"Now you can put a number on it: ",[14885,21438,21439],{},"N"," components to convert, ",[14885,21442,21443],{},"M"," directives to reshape, ",[14885,21446,21447],{},"K"," global dependencies to make explicit, plus retesting. Convert the region behind the interop plugin, then re-measure against your step-1 baseline on the same profile. Keep it: only if the measured gain justifies the spend and the ongoing cost of a mixed-rendering app. If not, you've bought a clean answer cheaply.",[18,21450,21452],{"id":21451},"when-to-skip-vapor-mode-a-checklist","When to skip Vapor Mode — a checklist",[14,21454,21455],{},"Skip it, at least for now, if any of these are true:",[2357,21457,21460,21468,21474,21480,21496,21502,21508],{"className":21458},[21459],"contains-task-list",[188,21461,21464,21467],{"className":21462},[21463],"task-list-item",[7361,21465],{"disabled":653,"type":21466},"checkbox"," You haven't profiled, or the bottleneck isn't rendering.",[188,21469,21471,21473],{"className":21470},[21463],[7361,21472],{"disabled":653,"type":21466}," The upgrade to 3.6 (reactivity rewrite) already meets your performance target.",[188,21475,21477,21479],{"className":21476},[21463],[7361,21478],{"disabled":653,"type":21466}," The candidate region is heavily Options API and you're not otherwise planning to migrate it.",[188,21481,21483,21485,21486,4576,21488,21490,21491,1850,21493,21495],{"className":21482},[21463],[7361,21484],{"disabled":653,"type":21466}," The region depends on ",[137,21487,21167],{},[137,21489,21092],{},", or child ",[137,21492,21139],{},[137,21494,21150],{}," access that would be expensive to rework.",[188,21497,21499,21501],{"className":21498},[21463],[7361,21500],{"disabled":653,"type":21466}," You can't draw a clean boundary — the region is deeply interleaved with virtual-DOM components.",[188,21503,21505,21507],{"className":21504},[21463],[7361,21506],{"disabled":653,"type":21466}," Your motivation is bundle size, but you're an existing app that would use interop.",[188,21509,21511,21513],{"className":21510},[21463],[7361,21512],{"disabled":653,"type":21466}," You need production stability today and can't absorb an RC-stage dependency.",[14,21515,21516,21517,21520],{},"If most of your app is still Options API, the higher-leverage move is usually a ",[128,21518,21519],{"href":17584},"Vue 3 \u002F Composition API migration"," first. That's the work that makes Vapor cheap later — and it pays off with or without Vapor.",[18,21522,21524],{"id":21523},"three-shapes-this-decision-takes","Three shapes this decision takes",[14,21526,21527],{},"Concretely, the decision usually resolves along codebase composition, not benchmark envy:",[2357,21529,21530,21539,21548],{},[188,21531,21532,21538],{},[2363,21533,21534,21535,21537],{},"A modern ",[137,21536,6406],{}," app with one heavy page"," — a large virtual table, a live dashboard, a data-dense editor. This is the ideal candidate: profile the page, convert just that region behind the interop plugin, re-measure. Small blast radius, clear boundary, measurable payoff.",[188,21540,21541,21547],{},[2363,21542,21543,21544,21546],{},"A Vue 2 → 3 migration that leaned on ",[137,21545,21167],{}," and still has Options components."," Here the Vapor cost is dominated by prerequisite conversion. The right sequence is Composition API first, Vapor later (if ever). Don't let Vapor jump the queue ahead of the migration that unblocks it.",[188,21549,21550,21553,21554,21557,21558,21560],{},[2363,21551,21552],{},"A brand-new, small internal tool."," This is the one case where a ",[14885,21555,21556],{},"pure"," Vapor app with ",[137,21559,21343],{}," is worth it — you get the runtime performance and the genuine bundle-size reduction because there's no virtual-DOM runtime to pull in. Green-field, no Options API legacy, no interop tax.",[14,21562,21563],{},"The pattern across all three: the flag is trivial, the codebase decides. Measure the region, price the conversion, and the answer tends to write itself.",[18,21565,21567],{"id":21566},"faq","FAQ",[169,21569,21571],{"id":21570},"is-vue-vapor-mode-production-ready","Is Vue Vapor Mode production-ready?",[14,21573,21574,21575,21577],{},"Not yet as a general default. As of September 2026, Vapor Mode ships in Vue 3.6, which is still a release candidate (",[137,21576,20887],{},", released 4 September 2026; the latest stable Vue is 3.5.42). The Vue team recommends scoping it to a single performance-sensitive page inside an existing app, or building a small new app entirely in Vapor Mode — not converting a whole production codebase. Treat it as a targeted optimization behind a measured decision, and re-evaluate once 3.6 reaches a stable release.",[169,21579,21581],{"id":21580},"does-vapor-mode-support-the-options-api","Does Vapor Mode support the Options API?",[14,21583,21584,21585,21587,21588,4576,21590,21592,21593,21595,21596,21598,21599,21601,21602,21604],{},"No. Vapor components are compiled from ",[137,21586,6406],{}," \u002F Composition API only. The Vue 3.6 release notes list the Options API among the unsupported features, alongside ",[137,21589,21068],{},[137,21591,11450],{},", and per-element ",[137,21594,21121],{}," lifecycle events. ",[137,21597,21092],{}," also returns ",[137,21600,4725],{}," inside a Vapor component. This is why the real cost of adoption is usually your codebase's Options API share, not the ",[137,21603,20922],{}," flag itself.",[169,21606,21608],{"id":21607},"do-i-need-to-rewrite-my-whole-app-to-use-vapor-mode","Do I need to rewrite my whole app to use Vapor Mode?",[14,21610,21611,21612,21614],{},"No — and you generally shouldn't. Vapor Mode is 100% opt-in and works per-component. You can keep your existing virtual-DOM app and render one region in Vapor via the interop plugin. A full-app rewrite is only worth considering for small new apps, where using ",[137,21613,21343],{}," avoids pulling in the virtual-DOM runtime and reduces baseline bundle size. In an existing app, the interop plugin pulls that runtime back in, so the bundle-size win does not apply.",[18,21616,21618],{"id":21617},"deciding-with-a-budget-not-an-opinion","Deciding with a budget, not an opinion",[14,21620,21621],{},"Vapor Mode is a genuine step forward for Vue's performance ceiling, and the 3.6 reactivity rewrite is a free win for every app that upgrades. But \"should we do Vapor?\" is answered on your codebase, not on a benchmark. Profile the page, inventory the Options API share, draw a clean region, and re-measure. If the numbers justify it, convert one region and grow from there. If they don't, you've saved a migration.",[14,21623,21624,21625,21627,21628,21630],{},"If you want a second pair of eyes on that call, Epicmax has worked exclusively with Vue for over 8 years. We can profile the candidate page, quantify your Composition-vs-Options coverage, and tell you whether Vapor is worth it for your app — or whether a ",[128,21626,17653],{"href":17584}," or a targeted ",[128,21629,21414],{"href":2284}," gets you further, faster.",[6170,21632],{"label":21633,"to":6173},"Talk to a Vue engineer",[14,21635,21636],{},[14885,21637,21638,21639,21644,21645,21650],{},"Source: ",[128,21640,21643],{"href":21641,"rel":21642},"https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fcore\u002Freleases\u002Ftag\u002Fv3.6.0-rc.1",[4980],"Vue 3.6.0-rc.1 release notes",". Performance comparisons refer to the ",[128,21646,21649],{"href":21647,"rel":21648},"https:\u002F\u002Fgithub.com\u002Fkrausest\u002Fjs-framework-benchmark",[4980],"js-framework-benchmark"," project. Written September 2026 against Vue 3.6.0-rc.7; to be revisited when 3.6 reaches stable.",[984,21652,21653],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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":197,"searchDepth":264,"depth":264,"links":21655},[21656,21657,21658,21659,21660,21667,21668,21674,21675,21676,21681],{"id":20891,"depth":224,"text":20892},{"id":20938,"depth":224,"text":20939},{"id":20977,"depth":224,"text":20978},{"id":21013,"depth":224,"text":21014},{"id":21173,"depth":224,"text":21174,"children":21661},[21662,21664,21666],{"id":21184,"depth":264,"text":21663},"Event delegation and stopPropagation()",{"id":21206,"depth":264,"text":21665},"slots.default() is not a dry run",{"id":21219,"depth":264,"text":21220},{"id":21331,"depth":224,"text":21332},{"id":21367,"depth":224,"text":21368,"children":21669},[21670,21671,21672,21673],{"id":21374,"depth":264,"text":21375},{"id":21389,"depth":264,"text":21390},{"id":21422,"depth":264,"text":21423},{"id":21432,"depth":264,"text":21433},{"id":21451,"depth":224,"text":21452},{"id":21523,"depth":224,"text":21524},{"id":21566,"depth":224,"text":21567,"children":21677},[21678,21679,21680],{"id":21570,"depth":264,"text":21571},{"id":21580,"depth":264,"text":21581},{"id":21607,"depth":264,"text":21608},{"id":21617,"depth":224,"text":21618},"2026-09-09","Vapor Mode is a per-page decision, not an app rewrite. A budget-first framework for CTOs deciding whether to adopt Vue's virtual-DOM-less renderer.",[21685,21687,21689],{"question":21571,"answer":21686},"Not yet as a general default. As of September 2026, Vapor Mode ships in Vue 3.6, which is still a release candidate (v3.6.0-rc.7). The Vue team recommends scoping it to a single performance-sensitive page inside an existing app, or building a small new app entirely in Vapor Mode — not converting a whole production codebase. Treat it as a targeted optimization behind a measured decision, and re-evaluate once 3.6 reaches a stable release.",{"question":21581,"answer":21688},"No. Vapor components are compiled from `\u003Cscript setup>` \u002F Composition API only. The Vue 3.6 release notes list the Options API among the unsupported features, alongside `app.config.globalProperties`, `v-memo`, and per-element `@vue:xxx` lifecycle events. `getCurrentInstance()` also returns `null` inside a Vapor component. This is why the real cost of adoption is usually your codebase's Options API share, not the `vapor` flag itself.",{"question":21608,"answer":21690},"No — and you generally shouldn't. Vapor Mode is 100% opt-in and works per-component. You can keep your existing virtual-DOM app and render one region in Vapor via the interop plugin. A full-app rewrite is only worth considering for small new apps, where using `createVaporApp()` avoids pulling in the virtual-DOM runtime and reduces baseline bundle size. In an existing app, the interop plugin pulls that runtime back in, so the bundle-size win does not apply.","\u002Fimages\u002Fblog\u002Fvue-vapor-mode-migration\u002Fcard.png",{},{"title":20864,"description":21683},"blog\u002Fvue-vapor-mode-migration",[2822,2338,5098,21696],"Vapor Mode","dV_-3HfdouFVMsFaA6Gu_thT9yyUiXsW_m6AygnIBUg",{"id":21699,"title":21700,"articleType":7,"author":8,"authorSlug":9,"body":21701,"cta":1008,"date":22634,"description":22635,"extension":1011,"faq":22636,"featured":1021,"image":22652,"meta":22653,"navigation":653,"noCtaBox":1021,"path":3795,"readTime":22654,"seo":22655,"seoTitle":1008,"stem":22656,"tags":22657,"topic":2339,"video":1008,"__hash__":22659},"blog\u002Fblog\u002Fseo-for-ai-agents-vue-nuxt.md","SEO Optimization for AI Agents: A Practical Vue and Nuxt Guide",{"type":11,"value":21702,"toc":22620},[21703,21706,21709,21711,21751,21755,21764,21767,21776,21782,21785,21789,21792,21974,21977,22034,22038,22044,22047,22092,22095,22099,22102,22140,22271,22280,22284,22287,22338,22342,22345,22383,22387,22390,22393,22410,22414,22417,22455,22458,22462,22473,22476,22480,22598,22602,22605,22614,22617],[14,21704,21705],{},"Search has quietly split in two. Alongside the ranked list of blue links, a growing share of queries now get answered directly — by Google's AI Overviews, by ChatGPT search, by Perplexity, by Claude fetching a page mid-conversation. For a website, that means there are now two audiences to write and build for: people scanning search results, and language models trying to extract, summarize, and cite your content in real time.",[14,21707,21708],{},"This guide combines Google's and Bing's own AI-search documentation, OpenAI's crawler docs, and academic research on Generative Engine Optimization (GEO) into one practical framework — with Vue and Nuxt specifics for the technical parts. Where the evidence is solid, it says so plainly. Where it's still experimental, it says that too.",[18,21710,20892],{"id":20891},[2357,21712,21713,21719,21727,21733,21739,21745],{},[188,21714,21715,21718],{},[2363,21716,21717],{},"GEO\u002FAEO is not a separate discipline from SEO."," Google's AI features run on the same crawling, indexing, and ranking systems as regular Search — there's no secret AI-only ranking factor to chase.",[188,21720,21721,21724,21725,534],{},[2363,21722,21723],{},"AI crawlers are not one thing."," OpenAI, Google, Anthropic, and Perplexity each run separate bots for search inclusion vs. model training, and you can control them independently in ",[137,21726,3504],{},[188,21728,21729,21732],{},[2363,21730,21731],{},"Rendering mode is the single biggest technical risk."," Most AI crawlers don't execute JavaScript. Client-side-rendered pages are frequently invisible to them.",[188,21734,21735,21738],{},[2363,21736,21737],{},"Content that gets cited is specific, not vague."," Research shows adding statistics, direct quotations, and citations to source material measurably increases how often generative engines quote a page — keyword stuffing does not.",[188,21740,21741,21744],{},[2363,21742,21743],{},"llms.txt is experimental and unproven."," Google explicitly says it doesn't help. Treat it as a nice-to-have, not a strategy.",[188,21746,21747,21750],{},[2363,21748,21749],{},"You can't fully measure AI referrals yet."," Search Console, Bing Webmaster Tools, and analytics referral segments each show a partial picture.",[18,21752,21754],{"id":21753},"geoaeo-compared-with-traditional-seo","GEO\u002FAEO Compared With Traditional SEO",[14,21756,21757,21758,21763],{},"\"Generative Engine Optimization\" (GEO) and \"Answer Engine Optimization\" (AEO) are the informal names for optimizing content to be selected and cited by AI systems, as opposed to ranked in a list of links. The terms come from outside the search engines themselves — most notably a widely-cited ",[128,21759,21762],{"href":21760,"rel":21761},"https:\u002F\u002Farxiv.org\u002Fhtml\u002F2311.09735v3",[4980],"2024 research paper"," that framed GEO as a black-box optimization problem: given that generative engines synthesize an answer from several sources and attach inline citations, which changes to a page increase the odds it gets pulled into that answer?",[14,21765,21766],{},"That paper is a useful frame, but it's worth being precise about what's actually established versus experimental:",[14,21768,21769,21772,21773,21775],{},[2363,21770,21771],{},"Established (Google's own position):"," AI Overviews and AI Mode are built on Google's core Search ranking and quality systems. There is no separate technical requirement or special markup needed to appear in them — a page needs to be indexed, crawlable, and eligible for regular search results. Google's guidance goes further and explicitly debunks several popular \"AI SEO\" tactics: creating an ",[137,21774,12689],{}," file, \"chunking\" content into AI-friendly fragments, and rewriting content specifically to sound more AI-friendly are all called out as not helping.",[14,21777,21778,21781],{},[2363,21779,21780],{},"Experimental (from the GEO research and industry practice):"," because generative engines still have to select which sources to quote from a candidate set, content-level choices can shift how often a given page is the one selected. The GEO paper's own testing found that adding quotations from experts (+41% on their visibility metric), adding statistics (+40%), and citing credible sources (+30%) produced the largest gains, while traditional keyword stuffing produced almost none. That's a meaningful signal, but it's a single study of specific generative systems at a specific point in time — treat the direction as useful and the exact percentages as illustrative, not guaranteed.",[14,21783,21784],{},"The practical takeaway: don't treat GEO as a replacement for SEO fundamentals, and don't chase AI-specific hacks that have no evidence behind them. Do treat \"write clearly, back claims with evidence, and structure content so a machine can parse it\" as good practice for both humans and AI systems at once.",[18,21786,21788],{"id":21787},"ai-crawlers-and-robotstxt","AI Crawlers and robots.txt",[14,21790,21791],{},"Every major AI provider runs more than one crawler, and they are controlled separately. Conflating them is the most common mistake — disallowing \"AI bots\" wholesale can remove a site from ChatGPT search results while doing nothing to stop model training, or vice versa.",[26,21793,21794,21810],{},[29,21795,21796],{},[32,21797,21798,21801,21804,21807],{},[35,21799,21800],{},"Crawler",[35,21802,21803],{},"Operator",[35,21805,21806],{},"Purpose",[35,21808,21809],{},"Controlled via",[51,21811,21812,21830,21847,21865,21881,21902,21919,21935,21951],{},[32,21813,21814,21819,21822,21825],{},[56,21815,21816],{},[137,21817,21818],{},"GPTBot",[56,21820,21821],{},"OpenAI",[56,21823,21824],{},"Crawls content to train OpenAI's models",[56,21826,21827,21829],{},[137,21828,3504],{}," — disallow to opt out of training",[32,21831,21832,21837,21839,21842],{},[56,21833,21834],{},[137,21835,21836],{},"OAI-SearchBot",[56,21838,21821],{},[56,21840,21841],{},"Indexes pages so they can appear in ChatGPT search results",[56,21843,21844,21846],{},[137,21845,3504],{}," — allow to be eligible for citation",[32,21848,21849,21854,21856,21859],{},[56,21850,21851],{},[137,21852,21853],{},"ChatGPT-User",[56,21855,21821],{},[56,21857,21858],{},"Fetches a page live when a user asks ChatGPT to visit it",[56,21860,21861,21862,21864],{},"User-triggered; ",[137,21863,3504],{}," rules may not always apply",[32,21866,21867,21872,21874,21877],{},[56,21868,21869],{},[137,21870,21871],{},"Google-Extended",[56,21873,13203],{},[56,21875,21876],{},"Controls use of content for Gemini and AI features training, separate from regular Search indexing",[56,21878,21879],{},[137,21880,3504],{},[32,21882,21883,21888,21890,21893],{},[56,21884,21885],{},[137,21886,21887],{},"Googlebot",[56,21889,13203],{},[56,21891,21892],{},"Standard crawling\u002Findexing that also feeds AI Overviews and AI Mode",[56,21894,21895,4576,21897,4576,21899],{},[137,21896,3504],{},[137,21898,15742],{},[137,21900,21901],{},"nosnippet",[32,21903,21904,21909,21912,21915],{},[56,21905,21906],{},[137,21907,21908],{},"ClaudeBot",[56,21910,21911],{},"Anthropic",[56,21913,21914],{},"Crawls content to train Anthropic's models",[56,21916,21917,21829],{},[137,21918,3504],{},[32,21920,21921,21926,21928,21931],{},[56,21922,21923],{},[137,21924,21925],{},"Claude-SearchBot",[56,21927,21911],{},[56,21929,21930],{},"Indexes pages to improve search results shown in Claude",[56,21932,21933,21846],{},[137,21934,3504],{},[32,21936,21937,21942,21944,21947],{},[56,21938,21939],{},[137,21940,21941],{},"Claude-User",[56,21943,21911],{},[56,21945,21946],{},"Fetches a page live when a user asks Claude to visit it",[56,21948,21861,21949,21864],{},[137,21950,3504],{},[32,21952,21953,21961,21964,21967],{},[56,21954,21955,4694,21958],{},[137,21956,21957],{},"PerplexityBot",[137,21959,21960],{},"Perplexity-User",[56,21962,21963],{},"Perplexity",[56,21965,21966],{},"Indexing vs. live user-triggered fetches",[56,21968,21969,21971,21972,3779],{},[137,21970,3504],{}," (partial; user-triggered fetches behave similarly to ",[137,21973,21853],{},[14,21975,21976],{},"A few practical rules:",[2357,21978,21979,21997,22011,22028],{},[188,21980,21981,21982,21985,21986,21989,21990,21992,21993,21996],{},"If you ",[14885,21983,21984],{},"want"," citations from ChatGPT, Claude, or Perplexity, make sure their ",[2363,21987,21988],{},"search\u002Findexing"," bots aren't blocked — check your ",[137,21991,3504],{}," doesn't have a blanket ",[137,21994,21995],{},"Disallow: \u002F"," for these user agents.",[188,21998,21999,22000,22003,22004,4576,22006,4576,22008,22010],{},"If you want to opt out of your content being used for ",[2363,22001,22002],{},"model training"," specifically, disallow the training-focused bots (",[137,22005,21818],{},[137,22007,21871],{},[137,22009,21908],{},") while still allowing the search-focused ones.",[188,22012,22013,22014,22017,22018,4576,22020,4576,22022,22024,22025,22027],{},"Bots that fetch pages because a ",[14885,22015,22016],{},"user"," asked an AI assistant to (",[137,22019,21853],{},[137,22021,21941],{},[137,22023,21960],{},") behave more like a human clicking a link than a background crawler — some of these may not fully respect ",[137,22026,3504],{}," the way a scheduled crawl does, since they're acting on direct user intent.",[188,22029,22030,22031,22033],{},"Review this periodically. Crawler names and behavior have changed multiple times as these products evolve; don't treat a ",[137,22032,3504],{}," block list as a \"set once\" artifact.",[18,22035,22037],{"id":22036},"semantic-html-and-crawlable-server-rendered-content","Semantic HTML and Crawlable Server-Rendered Content",[14,22039,22040,22041,22043],{},"None of the AI crawlers above execute JavaScript the way a browser does. They request a URL and parse whatever HTML comes back. If that HTML is a near-empty shell — a single ",[137,22042,15728],{}," waiting for a client-side framework to hydrate it — there is nothing for the crawler to read, summarize, or cite.",[14,22045,22046],{},"This makes two things matter more for AI visibility than they might for a human audience reading in a modern browser:",[185,22048,22049,22055],{},[188,22050,22051,22054],{},[2363,22052,22053],{},"The initial HTTP response must contain the real content",", not a loading state. This is a rendering-mode decision, covered below.",[188,22056,22057,22060,22061,22064,22065,22068,22069,4576,22072,4576,22075,4576,22078,22081,22082,1850,22085,22088,22089,22091],{},[2363,22058,22059],{},"Semantic HTML carries meaning that a language model uses to parse structure"," — ",[137,22062,22063],{},"\u003Ch1>","–",[137,22066,22067],{},"\u003Ch3>"," hierarchy, ",[137,22070,22071],{},"\u003Carticle>",[137,22073,22074],{},"\u003Cnav>",[137,22076,22077],{},"\u003Ctable>",[137,22079,22080],{},"\u003Cdl>"," for definitions, proper ",[137,22083,22084],{},"\u003Cbutton>",[137,22086,22087],{},"\u003Ca>"," usage. A wall of unstyled ",[137,22090,8583],{},"s with visual formatting applied purely via CSS gives a crawler no structural signal about what's a heading, what's a list, and what's the primary content versus a sidebar.",[14,22093,22094],{},"Neither of these is AI-specific advice, exactly — they're accessibility and traditional SEO best practices that happen to matter even more once a non-rendering bot is the reader.",[18,22096,22098],{"id":22097},"csr-vs-ssr-ssg-and-hybrid-rendering-in-vue-and-nuxt","CSR vs. SSR, SSG, and Hybrid Rendering in Vue and Nuxt",[14,22100,22101],{},"This is the single most consequential technical decision for AI (and traditional) crawlability, so it's worth being explicit about the trade-offs:",[2357,22103,22104,22110,22116,22128],{},[188,22105,22106,22109],{},[2363,22107,22108],{},"CSR (client-side rendering)"," — a plain Vite SPA. The server sends an empty shell; the browser runs JavaScript to render content. Googlebot queues these for a delayed, resource-limited second rendering pass with no guaranteed timeline, and most AI crawlers don't render JavaScript at all. Fine for authenticated dashboards and internal tools; a liability for any public, indexable page.",[188,22111,22112,22115],{},[2363,22113,22114],{},"SSR (server-side rendering)"," — a Vue\u002FNuxt server renders full HTML per request. Every crawler gets complete content immediately. Best for pages with personalized or frequently-changing content, at the cost of server compute per request.",[188,22117,22118,22121,22122,22124,22125,22127],{},[2363,22119,22120],{},"SSG (static site generation)"," — routes are pre-rendered to static HTML at build\u002Fdeploy time (",[137,22123,143],{},"). Ideal for marketing pages, documentation, and blog posts that don't need per-request data. This site is built this way: ",[137,22126,143],{}," prerenders every route to static HTML served from a CDN, so every crawler — Googlebot, GPTBot, ClaudeBot, or a human — receives identical, complete HTML with no JavaScript execution required.",[188,22129,22130,22133,22134,22136,22137,22139],{},[2363,22131,22132],{},"ISR \u002F hybrid rendering"," — Nuxt's ",[137,22135,6442],{}," let you mix strategies per route: static generation for marketing pages, ",[137,22138,1952],{}," (stale-while-revalidate) for content that updates periodically, and full SSR reserved for genuinely dynamic or personalized routes.",[192,22141,22143],{"className":230,"code":22142,"language":232,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts — mixing rendering strategies per route\nexport default defineNuxtConfig({\n  routeRules: {\n    '\u002Fblog\u002F**': { prerender: true },       \u002F\u002F static at build time\n    '\u002Fcase-studies\u002F**': { prerender: true },\n    '\u002Fdashboard\u002F**': { ssr: false },       \u002F\u002F CSR is fine — not indexable\n    '\u002Fpricing': { swr: 3600 },             \u002F\u002F ISR — revalidate hourly\n  },\n})\n",[137,22144,22145,22150,22162,22170,22194,22215,22238,22261,22265],{"__ignoreMap":197},[201,22146,22147],{"class":203,"line":204},[201,22148,22149],{"class":239},"\u002F\u002F nuxt.config.ts — mixing rendering strategies per route\n",[201,22151,22152,22154,22156,22158,22160],{"class":203,"line":224},[201,22153,246],{"class":245},[201,22155,249],{"class":245},[201,22157,253],{"class":252},[201,22159,257],{"class":256},[201,22161,261],{"class":260},[201,22163,22164,22166,22168],{"class":203,"line":264},[201,22165,1838],{"class":267},[201,22167,271],{"class":260},[201,22169,298],{"class":260},[201,22171,22172,22174,22176,22178,22180,22182,22184,22186,22188,22191],{"class":203,"line":290},[201,22173,1847],{"class":260},[201,22175,1874],{"class":267},[201,22177,277],{"class":260},[201,22179,271],{"class":260},[201,22181,631],{"class":260},[201,22183,1859],{"class":267},[201,22185,271],{"class":260},[201,22187,1865],{"class":1864},[201,22189,22190],{"class":260}," },",[201,22192,22193],{"class":239},"       \u002F\u002F static at build time\n",[201,22195,22196,22198,22201,22203,22205,22207,22209,22211,22213],{"class":203,"line":301},[201,22197,1847],{"class":260},[201,22199,22200],{"class":267},"\u002Fcase-studies\u002F**",[201,22202,277],{"class":260},[201,22204,271],{"class":260},[201,22206,631],{"class":260},[201,22208,1859],{"class":267},[201,22210,271],{"class":260},[201,22212,1865],{"class":1864},[201,22214,438],{"class":260},[201,22216,22217,22219,22221,22223,22225,22227,22229,22231,22233,22235],{"class":203,"line":319},[201,22218,1847],{"class":260},[201,22220,1920],{"class":267},[201,22222,277],{"class":260},[201,22224,271],{"class":260},[201,22226,631],{"class":260},[201,22228,1929],{"class":267},[201,22230,271],{"class":260},[201,22232,1934],{"class":1864},[201,22234,22190],{"class":260},[201,22236,22237],{"class":239},"       \u002F\u002F CSR is fine — not indexable\n",[201,22239,22240,22242,22244,22246,22248,22250,22252,22254,22256,22258],{"class":203,"line":329},[201,22241,1847],{"class":260},[201,22243,16219],{"class":267},[201,22245,277],{"class":260},[201,22247,271],{"class":260},[201,22249,631],{"class":260},[201,22251,1883],{"class":267},[201,22253,271],{"class":260},[201,22255,1888],{"class":1268},[201,22257,22190],{"class":260},[201,22259,22260],{"class":239},"             \u002F\u002F ISR — revalidate hourly\n",[201,22262,22263],{"class":203,"line":346},[201,22264,501],{"class":260},[201,22266,22267,22269],{"class":203,"line":363},[201,22268,507],{"class":260},[201,22270,510],{"class":256},[14,22272,22273,22274,22276,22277,534],{},"Whatever mode you choose for a public page, verify it the same way a crawler would: view source (not the rendered DOM in DevTools), or ",[137,22275,16592],{}," the URL directly and confirm the response body already contains your headline and body copy — not just a ",[137,22278,22279],{},"\u003Cdiv id=\"__nuxt\">",[18,22281,22283],{"id":22282},"metadata-json-ld-sitemaps-canonical-urls-and-indexnow","Metadata, JSON-LD, Sitemaps, Canonical URLs, and IndexNow",[14,22285,22286],{},"These are established SEO fundamentals that also directly feed AI systems, since AI Overviews and AI Mode are built on the same indexing pipeline as regular Search.",[2357,22288,22289,22297,22317,22323,22332],{},[188,22290,22291,22296],{},[2363,22292,22293,22295],{},[137,22294,15768],{}," on every page"," — title, meta description, Open Graph, and Twitter card tags. AI summarizers frequently lean on the meta description when a page lacks a clear opening paragraph, so don't leave it generic.",[188,22298,22299,22302,22303,955,22305,22308,22309,22312,22313,22316],{},[2363,22300,22301],{},"JSON-LD structured data",", placed on the page it describes, using the most specific applicable schema.org type, and matching the visible content exactly. Google's structured-data policy is explicit that markup must reflect what's actually on the page — don't mark up content that isn't visible, and don't over-claim a schema type your page doesn't fully support. This site emits ",[137,22304,3673],{},[137,22306,22307],{},"OfferCatalog"," JSON-LD on the homepage and ",[137,22310,22311],{},"BlogPosting"," JSON-LD (title, description, image, ",[137,22314,22315],{},"datePublished",", author, publisher) on every post automatically via the page template.",[188,22318,22319,22322],{},[2363,22320,22321],{},"Canonical URLs"," on every indexable page, especially where the same content is reachable through more than one path.",[188,22324,22325,22328,22329,22331],{},[2363,22326,22327],{},"A sitemap"," that's accurate and excludes pages you don't want indexed (",[137,22330,3141],{}," generates one automatically from your routes here, with explicit excludes for private\u002Fnoindex pages).",[188,22333,22334,22337],{},[2363,22335,22336],{},"IndexNow"," — a protocol, currently supported by Bing (and Yandex), that lets a site push a notification the moment a page is created, updated, or removed, instead of waiting for the next scheduled crawl. Bing's webmaster team now frames faster discovery via IndexNow as directly relevant to how quickly new or updated content can surface in Copilot and Bing's AI-generated answers — useful for anything time-sensitive, though it's a Bing\u002FYandex-specific mechanism, not a universal one Google or OpenAI consume.",[18,22339,22341],{"id":22340},"writing-clear-factual-citation-friendly-content","Writing Clear, Factual, Citation-Friendly Content",[14,22343,22344],{},"Generative engines don't rank your page — they extract a fact, a number, or a sentence from it and attribute it. That changes what \"good content\" looks like at the paragraph level, on top of everything traditional SEO already asks for:",[2357,22346,22347,22353,22359,22365,22371,22377],{},[188,22348,22349,22352],{},[2363,22350,22351],{},"Answer the question directly, early."," A generative engine assembling a response favors a page where the relevant fact is stated plainly near the top of a section, not buried three paragraphs into scene-setting.",[188,22354,22355,22358],{},[2363,22356,22357],{},"Back claims with specifics."," The GEO research consistently found that adding concrete statistics and direct quotations from credible sources increased how often a passage got selected for citation — vague, generic prose performs worse than a page with the same information stated precisely.",[188,22360,22361,22364],{},[2363,22362,22363],{},"Cite your own sources."," Linking out to primary data or authoritative references — the same signal that's long mattered for E-E-A-T in traditional SEO — also correlated with higher citation rates for generative engines in the same research.",[188,22366,22367,22370],{},[2363,22368,22369],{},"Use structure a machine can parse without ambiguity",": headings that describe their section accurately, tables for comparisons, ordered lists for sequential steps.",[188,22372,22373,22376],{},[2363,22374,22375],{},"Don't rewrite for AI at the expense of readability."," Google explicitly flags \"rewriting content to be more AI-friendly\" as a debunked tactic — content optimized to be quotable by a machine should still read naturally to a person; if it doesn't, you've over-optimized.",[188,22378,22379,22382],{},[2363,22380,22381],{},"Skip keyword stuffing entirely."," It was already a weak SEO tactic; the GEO research found it produced close to zero benefit for generative engine visibility either.",[18,22384,22386],{"id":22385},"authority-original-research-statistics-and-freshness","Authority, Original Research, Statistics, and Freshness",[14,22388,22389],{},"Both Google and the GEO research converge on the same underlying signal, even though they describe it differently: content that demonstrates real expertise and original insight — not a repackaged summary of what's already ranking — performs better in both traditional rankings and AI citation rates. Google's guidance is direct about this: create \"distinctive, non-commodity content\" with a genuine point of view, and avoid publishing near-duplicate pages targeting minor query variations, which its scaled-content-abuse policies treat as spam regardless of AI involvement.",[14,22391,22392],{},"Practical ways to build that signal:",[2357,22394,22395,22398,22407],{},[188,22396,22397],{},"Publish original data, benchmarks, or findings from your own work where you have them, instead of only synthesizing third-party sources.",[188,22399,22400,22401,1850,22403,22406],{},"Attribute content to a named author with real, verifiable expertise (bio, credentials, other published work) rather than a generic \"Team\" byline — this also strengthens ",[137,22402,22311],{},[137,22404,22405],{},"Person"," structured data.",[188,22408,22409],{},"Keep genuinely time-sensitive content (pricing, version numbers, statistics, tool comparisons) up to date — both Google's AI features and Bing's AI Performance guidance call out freshness as a factor in whether content continues to surface in AI-generated answers.",[18,22411,22413],{"id":22412},"measuring-ai-referrals-and-citations","Measuring AI Referrals and Citations",[14,22415,22416],{},"This is the least mature part of the stack today — there is no single dashboard that shows \"here's every time an AI system cited your page,\" and providers report data in intentionally different ways.",[2357,22418,22419,22429,22439],{},[188,22420,22421,22424,22425,22428],{},[2363,22422,22423],{},"Google Search Console"," has a dedicated ",[14885,22426,22427],{},"Generative AI performance"," report, separate from the standard Performance report, covering impressions and clicks that originated from AI Overviews and AI Mode.",[188,22430,22431,22434,22435,22438],{},[2363,22432,22433],{},"Bing Webmaster Tools"," recently introduced an ",[14885,22436,22437],{},"AI Performance"," report (public preview) that tracks total citations, unique pages cited per day, the queries that triggered a citation (\"grounding queries\"), and page-level citation activity across Copilot and Bing's AI-generated summaries.",[188,22440,22441,22444,22445,4576,22448,4576,22451,22454],{},[2363,22442,22443],{},"Referral traffic in your analytics tool."," Segment referral sources for known AI-assistant domains (e.g. ",[137,22446,22447],{},"chatgpt.com",[137,22449,22450],{},"perplexity.ai",[137,22452,22453],{},"claude.ai",") to see actual click-through sessions, as distinct from citation-without-click impressions reported by the two tools above.",[14,22456,22457],{},"Treat all three as partial and directional rather than a complete picture — none of them currently expose the same granularity that traditional search analytics do, and that's expected to keep evolving.",[18,22459,22461],{"id":22460},"llmstxt-an-experimental-approach","llms.txt: An Experimental Approach",[14,22463,22464,22466,22467,22469,22470,22472],{},[137,22465,12689],{}," is a community-proposed convention — a plain-text or Markdown file at the site root summarizing a site's content for consumption by LLM-based tools. It is ",[14885,22468,14887],{}," a proven or officially adopted standard: Google's own AI optimization guidance explicitly lists \"creating ",[137,22471,12689],{}," or other AI-specific files\" among the tactics it says don't affect AI search visibility, and no major AI provider has published documentation confirming they read or prioritize it.",[14,22474,22475],{},"That said, it's cheap to produce, and some sites — including this one — publish one anyway as a lightweight, structured summary for whichever tools might choose to read it, generated automatically from existing content collections rather than maintained by hand. The honest framing: it's a low-cost bet with no confirmed payoff, not a substitute for crawlable HTML, clean structured data, and genuinely well-written content. Don't let it displace time spent on the things with actual evidence behind them.",[18,22477,22479],{"id":22478},"practical-vuenuxt-implementation-checklist","Practical Vue\u002FNuxt Implementation Checklist",[2357,22481,22483,22495,22505,22513,22523,22529,22553,22566,22572,22578,22584,22590],{"className":22482},[21459],[188,22484,22486,22488,22489,22491,22492,22494],{"className":22485},[21463],[7361,22487],{"disabled":653,"type":21466}," Public, indexable pages render as full HTML on the first response — SSR, SSG (",[137,22490,143],{},"), or ISR via ",[137,22493,6442],{},", never CSR-only.",[188,22496,22498,22500,22501,22504],{"className":22497},[21463],[7361,22499],{"disabled":653,"type":21466}," Verify with view-source or ",[137,22502,22503],{},"curl \u003Curl>"," that content is present without executing JavaScript.",[188,22506,22508,4218,22510,22512],{"className":22507},[21463],[7361,22509],{"disabled":653,"type":21466},[137,22511,15768],{}," set on every page — title, description, Open Graph, canonical.",[188,22514,22516,22518,22519,809,22521,534],{"className":22515},[21463],[7361,22517],{"disabled":653,"type":21466}," JSON-LD structured data matches visible content exactly, uses the most specific applicable schema.org type, and isn't blocked by ",[137,22520,3504],{},[137,22522,15742],{},[188,22524,22526,22528],{"className":22525},[21463],[7361,22527],{"disabled":653,"type":21466}," Sitemap auto-generated and accurate; private\u002Fnoindex routes explicitly excluded.",[188,22530,22532,4218,22534,22536,22537,4576,22539,4576,22541,4576,22543,22545,22546,4576,22548,4576,22550,22552],{"className":22531},[21463],[7361,22533],{"disabled":653,"type":21466},[137,22535,3504],{}," reviewed crawler-by-crawler: search-focused bots (",[137,22538,21836],{},[137,22540,21887],{},[137,22542,21925],{},[137,22544,21957],{},") vs. training-focused bots (",[137,22547,21818],{},[137,22549,21871],{},[137,22551,21908],{},") controlled independently based on actual intent, not a blanket allow\u002Fdeny.",[188,22554,22556,22558,22559,1850,22561,1850,22563,22565],{"className":22555},[21463],[7361,22557],{"disabled":653,"type":21466}," Semantic HTML: correct heading hierarchy, ",[137,22560,22071],{},[137,22562,22074],{},[137,22564,22077],{}," used for their actual purpose.",[188,22567,22569,22571],{"className":22568},[21463],[7361,22570],{"disabled":653,"type":21466}," Content leads with a direct answer, backs claims with specific data or citations, and avoids AI-specific rewriting that hurts human readability.",[188,22573,22575,22577],{"className":22574},[21463],[7361,22576],{"disabled":653,"type":21466}," Named author with real expertise on long-form content, not a generic byline.",[188,22579,22581,22583],{"className":22580},[21463],[7361,22582],{"disabled":653,"type":21466}," Time-sensitive content (versions, pricing, comparisons) has an owner and a review cadence.",[188,22585,22587,22589],{"className":22586},[21463],[7361,22588],{"disabled":653,"type":21466}," Search Console's Generative AI performance report and Bing's AI Performance report checked periodically alongside standard analytics.",[188,22591,22593,4218,22595,22597],{"className":22592},[21463],[7361,22594],{"disabled":653,"type":21466},[137,22596,12689],{}," treated as optional polish, not a strategy — implemented only after everything above is solid.",[18,22599,22601],{"id":22600},"where-to-go-from-here","Where to Go From Here",[14,22603,22604],{},"Most of this checklist is work Vue and Nuxt teams already know how to do — it's rendering strategy, structured data, and content quality, not a new discipline. The gap is usually prioritization: knowing which of these actually move the needle for AI visibility versus which are folklore.",[14,22606,22607,22608,22613],{},"If your team wants a structured pass through this — rendering audit, robots.txt and crawler review, structured data, and a content framework your writers can reuse — that's exactly what our ",[2363,22609,22610],{},[128,22611,22612],{"href":12706},"AI-Ready Frontend Setup"," engagement covers for Vue and Nuxt codebases.",[6170,22615],{"label":22616,"to":6173},"Talk to an engineer",[984,22618,22619],{},"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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":197,"searchDepth":264,"depth":264,"links":22621},[22622,22623,22624,22625,22626,22627,22628,22629,22630,22631,22632,22633],{"id":20891,"depth":224,"text":20892},{"id":21753,"depth":224,"text":21754},{"id":21787,"depth":224,"text":21788},{"id":22036,"depth":224,"text":22037},{"id":22097,"depth":224,"text":22098},{"id":22282,"depth":224,"text":22283},{"id":22340,"depth":224,"text":22341},{"id":22385,"depth":224,"text":22386},{"id":22412,"depth":224,"text":22413},{"id":22460,"depth":224,"text":22461},{"id":22478,"depth":224,"text":22479},{"id":22600,"depth":224,"text":22601},"2026-09-08","How to make Vue and Nuxt websites easier for ChatGPT, Google AI Overviews, Claude, and Perplexity to crawl, understand, and cite — with a practical checklist.",[22637,22640,22643,22646,22649],{"question":22638,"answer":22639},"What is GEO (Generative Engine Optimization) and how is it different from SEO?","GEO is an emerging set of practices for increasing how often content gets cited inside AI-generated answers (ChatGPT, Google AI Overviews, Perplexity) rather than ranked as a blue link. It's not a replacement for SEO — Google is explicit that its AI features are built on the same crawling, indexing, and quality systems as regular Search. GEO adds a second, more experimental layer on top: writing in a way that's easy for a language model to extract, quote, and attribute, since generative engines synthesize answers from multiple sources instead of ranking a list of pages.",{"question":22641,"answer":22642},"Do I need to block or allow AI crawlers like GPTBot and ClaudeBot in robots.txt?","It depends on your goal, not a universal default. If you want to appear in ChatGPT search results, allow OAI-SearchBot. If you want to opt out of having your content used to train OpenAI's models, disallow GPTBot specifically — the two are controlled independently. The same pattern holds for Google (Googlebot vs. Google-Extended), Anthropic (Claude-SearchBot vs. ClaudeBot), and Perplexity (PerplexityBot). Blocking everything by default can quietly remove you from AI-generated answers; allowing everything by default means your content may be used for model training without your explicit input either way.",{"question":22644,"answer":22645},"Does adding an llms.txt file actually help my site get cited by AI tools?","There's no proven benefit. Google explicitly lists creating an llms.txt file among the tactics that don't help with AI search visibility, and no major AI provider has confirmed it reads or prioritizes one. It's a low-cost, experimental convention — some sites publish it anyway as a structured summary for any tool that might read it, but it should never substitute for crawlable HTML, clean semantic markup, and genuinely well-written content.",{"question":22647,"answer":22648},"Can a client-side rendered (CSR) Vue app get cited by ChatGPT or Google AI Overviews?","Not reliably. Most AI crawlers — including OpenAI's and Anthropic's — fetch raw HTML and don't execute JavaScript, so a CSR app that ships an empty \u003Cdiv id=\"app\"> is invisible to them even if Googlebot eventually renders it in a second pass. Public, SEO-critical pages should be pre-rendered as HTML via SSR, SSG, or ISR so every crawler — human-facing search bot or AI agent — receives full content on the first request.",{"question":22650,"answer":22651},"How do I measure whether AI tools are sending traffic to my site?","Three sources, none complete on its own: Google Search Console's Generative AI performance report (impressions and clicks from AI Overviews and AI Mode), Bing Webmaster Tools' AI Performance report (citations across Copilot and Bing's AI answers), and referral traffic segments in your analytics tool for known AI referrers such as chatgpt.com, perplexity.ai, and claude.ai. Treat all three as directional, since AI answer surfaces don't expose the same clickstream detail as traditional search results.","\u002Fimages\u002Fblog\u002Fseo-for-ai-agents-vue-nuxt\u002Fcard.png",{},"13 min read",{"title":21700,"description":22635},"blog\u002Fseo-for-ai-agents-vue-nuxt",[3984,1030,2822,22658],"AI Agents","-kkSuH7BPRIasiioDpPuzku3SuiZDE_2Oqy-NUoKvfY",{"id":22661,"title":22662,"articleType":7,"author":12943,"authorSlug":1008,"body":22663,"cta":1008,"date":25592,"description":25593,"extension":1011,"faq":1008,"featured":1021,"image":25594,"meta":25595,"navigation":653,"noCtaBox":1021,"path":4506,"readTime":1008,"seo":25596,"seoTitle":1008,"stem":25597,"tags":25598,"topic":1032,"video":1008,"__hash__":25601},"blog\u002Fblog\u002Fhow-to-create-medusa-js-with-nuxt-4.md","How to Build an E-Commerce Store with MedusaJS V2 and Nuxt 4",{"type":11,"value":22664,"toc":25562},[22665,22674,22678,22685,22688,22736,22739,22743,22746,22749,22806,22809,22813,22895,22898,22901,22905,22908,22930,22933,22946,22950,22954,22976,22979,22985,22988,22992,23007,23017,23021,23031,23275,23278,23282,23293,23297,23301,23324,23330,23334,23349,23355,23359,23362,23513,23519,23533,23537,23540,23608,23614,23765,23769,23773,24307,24311,25000,25004,25014,25387,25394,25398,25400,25406,25435,25439,25442,25469,25473,25480,25484,25487,25492,25517,25522,25543,25549,25551,25554,25557,25559],[14,22666,22667,22668,955,22671,22673],{},"Headless commerce has become the default architecture for teams that want full control over the storefront without reinventing the backend. ",[2363,22669,22670],{},"MedusaJS V2",[2363,22672,4672],{}," are a natural fit: Medusa handles products, carts, orders, and payments while Nuxt 4 gives you a fast, SEO-friendly Vue-based storefront. In this guide you will set up both, wire them together, and understand how to manage your store going forward.",[18,22675,22677],{"id":22676},"what-is-medusajs-v2","What is MedusaJS V2",[14,22679,22680,22681,22684],{},"Medusa (now at version 2.x) is an open-source, headless commerce engine built on Node.js and TypeScript. The original v1 was a monolithic Express server. ",[2363,22682,22683],{},"V2 was redesigned from the ground up as a modular platform"," — every commerce domain (products, inventory, carts, orders, customers, promotions, payments) is an independent module that you can swap or extend without touching the rest of the system.",[14,22686,22687],{},"Key characteristics of Medusa V2:",[2357,22689,22690,22696,22702,22712,22718,22724,22730],{},[188,22691,22692,22695],{},[2363,22693,22694],{},"Modular architecture"," — install only the modules your store needs. A digital-goods store can skip the inventory module entirely; a B2B store can layer in company accounts.",[188,22697,22698,22701],{},[2363,22699,22700],{},"TypeScript-first"," — the entire codebase and its public APIs are fully typed.",[188,22703,22704,22707,22708,22711],{},[2363,22705,22706],{},"Built-in admin dashboard"," — ships at ",[137,22709,22710],{},"\u002Fapp"," out of the box. No separate install required.",[188,22713,22714,22717],{},[2363,22715,22716],{},"Storefront API"," — a dedicated HTTP API surface designed for customer-facing operations: browse products, manage carts, place orders.",[188,22719,22720,22723],{},[2363,22721,22722],{},"Workflow engine"," — long-running operations (order fulfillment, return processing) are modeled as resumable workflows rather than synchronous request handlers.",[188,22725,22726,22729],{},[2363,22727,22728],{},"PostgreSQL as the default database"," — reliable, ACID-compliant, well-supported by hosting providers.",[188,22731,22732,22735],{},[2363,22733,22734],{},"Plugin ecosystem"," — official integrations for Stripe, PayPal, Braintree, SendGrid, S3, and more.",[14,22737,22738],{},"Medusa V2 runs as a standalone HTTP server. Your storefront is a completely separate application that talks to it over HTTP — which is exactly where Nuxt 4 comes in.",[18,22740,22742],{"id":22741},"what-is-nuxt-4","What is Nuxt 4",[14,22744,22745],{},"Nuxt 4 is the latest major version of the Nuxt framework, built on top of Vue 3. It became the stable release in July 2025 and introduced several developer-experience improvements over Nuxt 3 while remaining backwards-compatible for most projects.",[14,22747,22748],{},"What changed in Nuxt 4 that matters for a commerce storefront:",[2357,22750,22751,22781,22794,22800],{},[188,22752,22753,22757,22758,4576,22760,4576,22763,4576,22766,22769,22770,22772,22773,4576,22775,4576,22777,22780],{},[2363,22754,22755,14338],{},[137,22756,4655],{}," — all application code (",[137,22759,862],{},[137,22761,22762],{},"components\u002F",[137,22764,22765],{},"composables\u002F",[137,22767,22768],{},"layouts\u002F",") now lives inside ",[137,22771,4655],{}," rather than the project root. Configuration files (",[137,22774,564],{},[137,22776,4443],{},[137,22778,22779],{},"package.json",") stay at the root.",[188,22782,22783,22060,22786,955,22788,22790,22791,534],{},[2363,22784,22785],{},"Smarter data fetching",[137,22787,4492],{},[137,22789,2054],{}," share state via a singleton cache, clean up on component unmount, and support reactive keys for automatic refetching. This is important for dynamic routes like ",[137,22792,22793],{},"\u002Fproducts\u002F[handle]",[188,22795,22796,22799],{},[2363,22797,22798],{},"Better TypeScript"," — Nuxt now generates separate TS configs for the app, server, and shared contexts, which reduces cross-environment type leakage.",[188,22801,22802,22805],{},[2363,22803,22804],{},"Faster cold starts"," — Node.js compile cache, native file watching, and socket-based communication between the CLI and Vite.",[14,22807,22808],{},"For a commerce storefront you get SSR + SSG out of the box, which means product pages can be pre-rendered at build time for SEO and then hydrated on the client.",[18,22810,22812],{"id":22811},"why-this-combination-is-great","Why This Combination is Great",[26,22814,22815,22825],{},[29,22816,22817],{},[32,22818,22819,22821,22823],{},[35,22820,19197],{},[35,22822,22670],{},[35,22824,4672],{},[51,22826,22827,22838,22849,22862,22875,22886],{},[32,22828,22829,22832,22835],{},[56,22830,22831],{},"Product catalog",[56,22833,22834],{},"✅ Managed via admin or API",[56,22836,22837],{},"✅ Fetched and cached at build time",[32,22839,22840,22843,22846],{},[56,22841,22842],{},"Cart & checkout",[56,22844,22845],{},"✅ Stateful cart sessions, payment integrations",[56,22847,22848],{},"✅ Client-side composables with SSR fallback",[32,22850,22851,22853,22856],{},[56,22852,3984],{},[56,22854,22855],{},"❌ Not applicable (headless backend)",[56,22857,22858,22859,22861],{},"✅ SSR\u002FSSG, ",[137,22860,2885],{},", sitemap",[32,22863,22864,22867,22872],{},[56,22865,22866],{},"Admin UI",[56,22868,22869,22870],{},"✅ Ships at ",[137,22871,22710],{},[56,22873,22874],{},"Not needed",[32,22876,22877,22880,22883],{},[56,22878,22879],{},"Extensibility",[56,22881,22882],{},"✅ Custom modules, workflows, API routes",[56,22884,22885],{},"✅ Nuxt plugins, server routes, middleware",[32,22887,22888,22890,22893],{},[56,22889,4753],{},[56,22891,22892],{},"✅ Full coverage",[56,22894,22892],{},[14,22896,22897],{},"The separation of concerns is clean: Medusa owns the commerce data and business logic; Nuxt owns the presentation layer. You can redesign the storefront completely without touching the backend, and you can upgrade Medusa modules without redeploying the frontend.",[14,22899,22900],{},"Both tools are open-source, actively maintained, and free to self-host — which keeps infrastructure costs predictable.",[18,22902,22904],{"id":22903},"prerequisites","Prerequisites",[14,22906,22907],{},"Before you start, make sure you have the following installed:",[2357,22909,22910,22919,22925],{},[188,22911,22912,22915,22916,3779],{},[2363,22913,22914],{},"Node.js 20+"," (check with ",[137,22917,22918],{},"node -v",[188,22920,22921,22924],{},[2363,22922,22923],{},"PostgreSQL 15+"," running locally or a managed database URL",[188,22926,22927],{},[2363,22928,22929],{},"Git",[14,22931,22932],{},"You will run two separate servers during development:",[2357,22934,22935,22941],{},[188,22936,22937,22938],{},"Medusa backend on ",[137,22939,22940],{},"http:\u002F\u002Flocalhost:9000",[188,22942,22943,22944],{},"Nuxt 4 storefront on ",[137,22945,10856],{},[18,22947,22949],{"id":22948},"setting-up-the-medusajs-v2-backend","Setting Up the MedusaJS V2 Backend",[169,22951,22953],{"id":22952},"_1-create-a-new-medusa-project","1. Create a new Medusa project",[192,22955,22957],{"className":194,"code":22956,"language":196,"meta":197,"style":197},"npx create-medusa-app@latest my-store-backend\ncd my-store-backend\n",[137,22958,22959,22969],{"__ignoreMap":197},[201,22960,22961,22963,22966],{"class":203,"line":204},[201,22962,208],{"class":207},[201,22964,22965],{"class":211}," create-medusa-app@latest",[201,22967,22968],{"class":211}," my-store-backend\n",[201,22970,22971,22974],{"class":203,"line":224},[201,22972,22973],{"class":252},"cd",[201,22975,22968],{"class":211},[14,22977,22978],{},"The CLI will ask for a project name and a PostgreSQL connection string. Provide a local database URL in the format:",[192,22980,22983],{"className":22981,"code":22982,"language":9281},[9279],"postgres:\u002F\u002Fpostgres:password@localhost:5432\u002Fmedusa_store\n",[137,22984,22982],{"__ignoreMap":197},[14,22986,22987],{},"The scaffold installs dependencies, runs database migrations, and seeds demo data (a sample product catalog so you have something to work with right away).",[169,22989,22991],{"id":22990},"_2-start-the-medusa-server","2. Start the Medusa server",[192,22993,22995],{"className":194,"code":22994,"language":196,"meta":197,"style":197},"npm run dev\n",[137,22996,22997],{"__ignoreMap":197},[201,22998,22999,23001,23004],{"class":203,"line":204},[201,23000,578],{"class":207},[201,23002,23003],{"class":211}," run",[201,23005,23006],{"class":211}," dev\n",[14,23008,23009,23010,23012,23013,23016],{},"Medusa starts on ",[137,23011,22940],{},". Open ",[137,23014,23015],{},"http:\u002F\u002Flocalhost:9000\u002Fapp"," to access the admin dashboard. Create an admin account when prompted on first launch.",[169,23018,23020],{"id":23019},"_3-enable-cors-for-your-nuxt-storefront","3. Enable CORS for your Nuxt storefront",[14,23022,23023,23024,10884,23027,23030],{},"Open ",[137,23025,23026],{},"medusa-config.ts",[137,23028,23029],{},"medusa-config.js",") in the project root and add your Nuxt dev URL to the storefront CORS list:",[192,23032,23036],{"className":23033,"code":23034,"language":23035,"meta":197,"style":197},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F medusa-config.ts\nimport { defineConfig } from \"@medusajs\u002Fframework\u002Fconfig\"\n\nexport default defineConfig({\n  projectConfig: {\n    databaseUrl: process.env.DATABASE_URL,\n    http: {\n      storeCors: process.env.STORE_CORS ?? \"http:\u002F\u002Flocalhost:3000\",\n      adminCors: process.env.ADMIN_CORS ?? \"http:\u002F\u002Flocalhost:9000\",\n      authCors: process.env.AUTH_CORS ?? \"http:\u002F\u002Flocalhost:3000\",\n      jwtSecret: process.env.JWT_SECRET ?? \"supersecret\",\n      cookieSecret: process.env.COOKIE_SECRET ?? \"supersecret\",\n    },\n  },\n})\n","typescript",[137,23037,23038,23043,23064,23068,23080,23089,23111,23120,23148,23176,23204,23233,23261,23265,23269],{"__ignoreMap":197},[201,23039,23040],{"class":203,"line":204},[201,23041,23042],{"class":239},"\u002F\u002F medusa-config.ts\n",[201,23044,23045,23047,23049,23052,23054,23056,23059,23062],{"class":203,"line":224},[201,23046,626],{"class":245},[201,23048,631],{"class":260},[201,23050,23051],{"class":256}," defineConfig",[201,23053,637],{"class":260},[201,23055,640],{"class":245},[201,23057,23058],{"class":260}," \"",[201,23060,23061],{"class":211},"@medusajs\u002Fframework\u002Fconfig",[201,23063,1362],{"class":260},[201,23065,23066],{"class":203,"line":264},[201,23067,654],{"emptyLinePlaceholder":653},[201,23069,23070,23072,23074,23076,23078],{"class":203,"line":290},[201,23071,246],{"class":245},[201,23073,249],{"class":245},[201,23075,23051],{"class":252},[201,23077,257],{"class":256},[201,23079,261],{"class":260},[201,23081,23082,23085,23087],{"class":203,"line":301},[201,23083,23084],{"class":267},"  projectConfig",[201,23086,271],{"class":260},[201,23088,298],{"class":260},[201,23090,23091,23094,23096,23099,23101,23104,23106,23109],{"class":203,"line":319},[201,23092,23093],{"class":267},"    databaseUrl",[201,23095,271],{"class":260},[201,23097,23098],{"class":256}," process",[201,23100,534],{"class":260},[201,23102,23103],{"class":256},"env",[201,23105,534],{"class":260},[201,23107,23108],{"class":256},"DATABASE_URL",[201,23110,287],{"class":260},[201,23112,23113,23116,23118],{"class":203,"line":329},[201,23114,23115],{"class":267},"    http",[201,23117,271],{"class":260},[201,23119,298],{"class":260},[201,23121,23122,23125,23127,23129,23131,23133,23135,23138,23140,23142,23144,23146],{"class":203,"line":346},[201,23123,23124],{"class":267},"      storeCors",[201,23126,271],{"class":260},[201,23128,23098],{"class":256},[201,23130,534],{"class":260},[201,23132,23103],{"class":256},[201,23134,534],{"class":260},[201,23136,23137],{"class":256},"STORE_CORS ",[201,23139,15876],{"class":260},[201,23141,23058],{"class":260},[201,23143,10856],{"class":211},[201,23145,1356],{"class":260},[201,23147,287],{"class":260},[201,23149,23150,23153,23155,23157,23159,23161,23163,23166,23168,23170,23172,23174],{"class":203,"line":363},[201,23151,23152],{"class":267},"      adminCors",[201,23154,271],{"class":260},[201,23156,23098],{"class":256},[201,23158,534],{"class":260},[201,23160,23103],{"class":256},[201,23162,534],{"class":260},[201,23164,23165],{"class":256},"ADMIN_CORS ",[201,23167,15876],{"class":260},[201,23169,23058],{"class":260},[201,23171,22940],{"class":211},[201,23173,1356],{"class":260},[201,23175,287],{"class":260},[201,23177,23178,23181,23183,23185,23187,23189,23191,23194,23196,23198,23200,23202],{"class":203,"line":380},[201,23179,23180],{"class":267},"      authCors",[201,23182,271],{"class":260},[201,23184,23098],{"class":256},[201,23186,534],{"class":260},[201,23188,23103],{"class":256},[201,23190,534],{"class":260},[201,23192,23193],{"class":256},"AUTH_CORS ",[201,23195,15876],{"class":260},[201,23197,23058],{"class":260},[201,23199,10856],{"class":211},[201,23201,1356],{"class":260},[201,23203,287],{"class":260},[201,23205,23206,23209,23211,23213,23215,23217,23219,23222,23224,23226,23229,23231],{"class":203,"line":391},[201,23207,23208],{"class":267},"      jwtSecret",[201,23210,271],{"class":260},[201,23212,23098],{"class":256},[201,23214,534],{"class":260},[201,23216,23103],{"class":256},[201,23218,534],{"class":260},[201,23220,23221],{"class":256},"JWT_SECRET ",[201,23223,15876],{"class":260},[201,23225,23058],{"class":260},[201,23227,23228],{"class":211},"supersecret",[201,23230,1356],{"class":260},[201,23232,287],{"class":260},[201,23234,23235,23238,23240,23242,23244,23246,23248,23251,23253,23255,23257,23259],{"class":203,"line":441},[201,23236,23237],{"class":267},"      cookieSecret",[201,23239,271],{"class":260},[201,23241,23098],{"class":256},[201,23243,534],{"class":260},[201,23245,23103],{"class":256},[201,23247,534],{"class":260},[201,23249,23250],{"class":256},"COOKIE_SECRET ",[201,23252,15876],{"class":260},[201,23254,23058],{"class":260},[201,23256,23228],{"class":211},[201,23258,1356],{"class":260},[201,23260,287],{"class":260},[201,23262,23263],{"class":203,"line":484},[201,23264,495],{"class":260},[201,23266,23267],{"class":203,"line":492},[201,23268,501],{"class":260},[201,23270,23271,23273],{"class":203,"line":498},[201,23272,507],{"class":260},[201,23274,510],{"class":256},[14,23276,23277],{},"Restart the server after making config changes.",[169,23279,23281],{"id":23280},"_4-create-an-api-key-for-the-storefront","4. Create an API key for the storefront",[14,23283,23284,23285,23288,23289,23292],{},"In the admin dashboard, go to ",[2363,23286,23287],{},"Settings → API Keys"," and create a new ",[2363,23290,23291],{},"Publishable API Key",". Copy the key — you will need it in the Nuxt project.",[18,23294,23296],{"id":23295},"setting-up-the-nuxt-4-storefront","Setting Up the Nuxt 4 Storefront",[169,23298,23300],{"id":23299},"_1-create-a-nuxt-4-project","1. Create a Nuxt 4 project",[192,23302,23304],{"className":194,"code":23303,"language":196,"meta":197,"style":197},"npx nuxi@latest init my-store-frontend\ncd my-store-frontend\n",[137,23305,23306,23318],{"__ignoreMap":197},[201,23307,23308,23310,23312,23315],{"class":203,"line":204},[201,23309,208],{"class":207},[201,23311,212],{"class":211},[201,23313,23314],{"class":211}," init",[201,23316,23317],{"class":211}," my-store-frontend\n",[201,23319,23320,23322],{"class":203,"line":224},[201,23321,22973],{"class":252},[201,23323,23317],{"class":211},[14,23325,23326,23327,23329],{},"Accept the defaults. The scaffold uses Nuxt 4 by default with the ",[137,23328,4655],{}," directory structure.",[169,23331,23333],{"id":23332},"_2-install-the-medusa-js-sdk","2. Install the Medusa JS SDK",[192,23335,23337],{"className":194,"code":23336,"language":196,"meta":197,"style":197},"npm install @medusajs\u002Fjs-sdk\n",[137,23338,23339],{"__ignoreMap":197},[201,23340,23341,23343,23346],{"class":203,"line":204},[201,23342,578],{"class":207},[201,23344,23345],{"class":211}," install",[201,23347,23348],{"class":211}," @medusajs\u002Fjs-sdk\n",[14,23350,5350,23351,23354],{},[137,23352,23353],{},"@medusajs\u002Fjs-sdk"," package is the official TypeScript client for the Medusa Storefront API. It handles authentication headers, cart session management, and response typing automatically.",[169,23356,23358],{"id":23357},"_3-configure-the-medusa-client","3. Configure the Medusa client",[14,23360,23361],{},"Create a composable that exports a shared Medusa SDK instance:",[192,23363,23365],{"className":23033,"code":23364,"language":23035,"meta":197,"style":197},"\u002F\u002F app\u002Fcomposables\u002FuseMedusa.ts\nimport Medusa from \"@medusajs\u002Fjs-sdk\"\n\nconst medusa = new Medusa({\n  baseUrl: \"http:\u002F\u002Flocalhost:9000\",\n  debug: process.env.NODE_ENV === \"development\",\n  publishableKey: import.meta.env.VITE_MEDUSA_PUBLISHABLE_KEY,\n})\n\nexport function useMedusa() {\n  return medusa\n}\n",[137,23366,23367,23372,23388,23392,23410,23425,23454,23479,23485,23489,23502,23509],{"__ignoreMap":197},[201,23368,23369],{"class":203,"line":204},[201,23370,23371],{"class":239},"\u002F\u002F app\u002Fcomposables\u002FuseMedusa.ts\n",[201,23373,23374,23376,23379,23382,23384,23386],{"class":203,"line":224},[201,23375,626],{"class":245},[201,23377,23378],{"class":256}," Medusa ",[201,23380,23381],{"class":245},"from",[201,23383,23058],{"class":260},[201,23385,23353],{"class":211},[201,23387,1362],{"class":260},[201,23389,23390],{"class":203,"line":264},[201,23391,654],{"emptyLinePlaceholder":653},[201,23393,23394,23396,23399,23401,23403,23406,23408],{"class":203,"line":290},[201,23395,660],{"class":659},[201,23397,23398],{"class":256}," medusa ",[201,23400,1353],{"class":260},[201,23402,14669],{"class":260},[201,23404,23405],{"class":252}," Medusa",[201,23407,257],{"class":256},[201,23409,261],{"class":260},[201,23411,23412,23415,23417,23419,23421,23423],{"class":203,"line":301},[201,23413,23414],{"class":267},"  baseUrl",[201,23416,271],{"class":260},[201,23418,23058],{"class":260},[201,23420,22940],{"class":211},[201,23422,1356],{"class":260},[201,23424,287],{"class":260},[201,23426,23427,23430,23432,23434,23436,23438,23440,23443,23445,23447,23450,23452],{"class":203,"line":319},[201,23428,23429],{"class":267},"  debug",[201,23431,271],{"class":260},[201,23433,23098],{"class":256},[201,23435,534],{"class":260},[201,23437,23103],{"class":256},[201,23439,534],{"class":260},[201,23441,23442],{"class":256},"NODE_ENV ",[201,23444,11428],{"class":260},[201,23446,23058],{"class":260},[201,23448,23449],{"class":211},"development",[201,23451,1356],{"class":260},[201,23453,287],{"class":260},[201,23455,23456,23459,23461,23463,23465,23468,23470,23472,23474,23477],{"class":203,"line":329},[201,23457,23458],{"class":267},"  publishableKey",[201,23460,271],{"class":260},[201,23462,11128],{"class":245},[201,23464,534],{"class":260},[201,23466,23467],{"class":256},"meta",[201,23469,534],{"class":260},[201,23471,23103],{"class":256},[201,23473,534],{"class":260},[201,23475,23476],{"class":256},"VITE_MEDUSA_PUBLISHABLE_KEY",[201,23478,287],{"class":260},[201,23480,23481,23483],{"class":203,"line":346},[201,23482,507],{"class":260},[201,23484,510],{"class":256},[201,23486,23487],{"class":203,"line":363},[201,23488,654],{"emptyLinePlaceholder":653},[201,23490,23491,23493,23495,23498,23500],{"class":203,"line":380},[201,23492,246],{"class":245},[201,23494,6628],{"class":659},[201,23496,23497],{"class":252}," useMedusa",[201,23499,6634],{"class":260},[201,23501,298],{"class":260},[201,23503,23504,23506],{"class":203,"line":391},[201,23505,2006],{"class":245},[201,23507,23508],{"class":256}," medusa\n",[201,23510,23511],{"class":203,"line":441},[201,23512,724],{"class":260},[14,23514,23515,23516,271],{},"Add your publishable key to ",[137,23517,23518],{},".env",[192,23520,23522],{"className":194,"code":23521,"language":196,"meta":197,"style":197},"VITE_MEDUSA_PUBLISHABLE_KEY=pk_...your_key_here...\n",[137,23523,23524],{"__ignoreMap":197},[201,23525,23526,23528,23530],{"class":203,"line":204},[201,23527,23476],{"class":256},[201,23529,1353],{"class":260},[201,23531,23532],{"class":211},"pk_...your_key_here...\n",[169,23534,23536],{"id":23535},"_4-set-the-region","4. Set the region",[14,23538,23539],{},"Medusa V2 requires all store requests to target a specific region. Fetch the available regions and store the active region ID in a composable:",[192,23541,23543],{"className":23033,"code":23542,"language":23035,"meta":197,"style":197},"\u002F\u002F app\u002Fcomposables\u002FuseRegion.ts\nexport const useRegion = () => {\n  return useState\u003Cstring | null>(\"regionId\", () => null)\n}\n",[137,23544,23545,23550,23568,23604],{"__ignoreMap":197},[201,23546,23547],{"class":203,"line":204},[201,23548,23549],{"class":239},"\u002F\u002F app\u002Fcomposables\u002FuseRegion.ts\n",[201,23551,23552,23554,23557,23560,23562,23564,23566],{"class":203,"line":224},[201,23553,246],{"class":245},[201,23555,23556],{"class":659}," const",[201,23558,23559],{"class":256}," useRegion ",[201,23561,1353],{"class":260},[201,23563,1996],{"class":260},[201,23565,1999],{"class":659},[201,23567,298],{"class":260},[201,23569,23570,23572,23574,23576,23578,23580,23583,23585,23587,23589,23592,23594,23596,23598,23600,23602],{"class":203,"line":264},[201,23571,2006],{"class":245},[201,23573,12132],{"class":252},[201,23575,1342],{"class":260},[201,23577,14677],{"class":207},[201,23579,21253],{"class":260},[201,23581,23582],{"class":207}," null",[201,23584,3416],{"class":260},[201,23586,257],{"class":267},[201,23588,1356],{"class":260},[201,23590,23591],{"class":211},"regionId",[201,23593,1356],{"class":260},[201,23595,409],{"class":260},[201,23597,1996],{"class":260},[201,23599,1999],{"class":659},[201,23601,23582],{"class":260},[201,23603,510],{"class":267},[201,23605,23606],{"class":203,"line":290},[201,23607,724],{"class":260},[14,23609,23610,23611,23613],{},"Then resolve the region once in ",[137,23612,522],{}," or a plugin:",[192,23615,23617],{"className":23033,"code":23616,"language":23035,"meta":197,"style":197},"\u002F\u002F app\u002Fplugins\u002Fregion.ts\nexport default defineNuxtPlugin(async () => {\n  const medusa = useMedusa()\n  const regionId = useRegion()\n\n  if (!regionId.value) {\n    const { regions } = await medusa.store.region.list()\n    regionId.value = regions[0]?.id ?? null\n  }\n})\n",[137,23618,23619,23624,23643,23656,23670,23674,23692,23725,23755,23759],{"__ignoreMap":197},[201,23620,23621],{"class":203,"line":204},[201,23622,23623],{"class":239},"\u002F\u002F app\u002Fplugins\u002Fregion.ts\n",[201,23625,23626,23628,23630,23633,23635,23637,23639,23641],{"class":203,"line":224},[201,23627,246],{"class":245},[201,23629,249],{"class":245},[201,23631,23632],{"class":252}," defineNuxtPlugin",[201,23634,257],{"class":256},[201,23636,1993],{"class":659},[201,23638,1996],{"class":260},[201,23640,1999],{"class":659},[201,23642,298],{"class":260},[201,23644,23645,23647,23650,23652,23654],{"class":203,"line":264},[201,23646,3379],{"class":659},[201,23648,23649],{"class":256}," medusa",[201,23651,670],{"class":260},[201,23653,23497],{"class":252},[201,23655,2967],{"class":267},[201,23657,23658,23660,23663,23665,23668],{"class":203,"line":290},[201,23659,3379],{"class":659},[201,23661,23662],{"class":256}," regionId",[201,23664,670],{"class":260},[201,23666,23667],{"class":252}," useRegion",[201,23669,2967],{"class":267},[201,23671,23672],{"class":203,"line":301},[201,23673,654],{"emptyLinePlaceholder":653},[201,23675,23676,23678,23680,23682,23684,23686,23688,23690],{"class":203,"line":319},[201,23677,14747],{"class":245},[201,23679,2142],{"class":267},[201,23681,5827],{"class":260},[201,23683,23591],{"class":256},[201,23685,534],{"class":260},[201,23687,3048],{"class":256},[201,23689,7300],{"class":267},[201,23691,261],{"class":260},[201,23693,23694,23696,23698,23701,23703,23705,23707,23709,23711,23714,23716,23719,23721,23723],{"class":203,"line":329},[201,23695,19770],{"class":659},[201,23697,631],{"class":260},[201,23699,23700],{"class":256}," regions",[201,23702,637],{"class":260},[201,23704,670],{"class":260},[201,23706,2009],{"class":245},[201,23708,23649],{"class":256},[201,23710,534],{"class":260},[201,23712,23713],{"class":256},"store",[201,23715,534],{"class":260},[201,23717,23718],{"class":256},"region",[201,23720,534],{"class":260},[201,23722,14805],{"class":252},[201,23724,2967],{"class":267},[201,23726,23727,23730,23732,23734,23736,23738,23741,23743,23745,23747,23749,23752],{"class":203,"line":346},[201,23728,23729],{"class":256},"    regionId",[201,23731,534],{"class":260},[201,23733,3048],{"class":256},[201,23735,670],{"class":260},[201,23737,23700],{"class":256},[201,23739,23740],{"class":267},"[",[201,23742,5803],{"class":1268},[201,23744,284],{"class":267},[201,23746,3051],{"class":260},[201,23748,6742],{"class":256},[201,23750,23751],{"class":260}," ??",[201,23753,23754],{"class":260}," null\n",[201,23756,23757],{"class":203,"line":363},[201,23758,7326],{"class":260},[201,23760,23761,23763],{"class":203,"line":380},[201,23762,507],{"class":260},[201,23764,510],{"class":256},[18,23766,23768],{"id":23767},"fetching-products-and-building-pages","Fetching Products and Building Pages",[169,23770,23772],{"id":23771},"product-listing-page","Product listing page",[192,23774,23776],{"className":1333,"code":23775,"language":1335,"meta":197,"style":197},"\u003C!-- app\u002Fpages\u002Fproducts\u002Findex.vue -->\n\u003Cscript setup lang=\"ts\">\nconst medusa = useMedusa()\nconst regionId = useRegion()\n\nconst { data } = await useAsyncData(\"products\", () =>\n  medusa.store.product.list({\n    region_id: regionId.value ?? undefined,\n    limit: 20,\n  })\n)\n\nconst products = computed(() => data.value?.products ?? [])\n\nuseSeoMeta({\n  title: \"All Products\",\n  description: \"Browse our full product catalog.\",\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"container mx-auto px-4 py-12\">\n    \u003Ch1 class=\"text-4xl font-bold mb-8\">Products\u003C\u002Fh1>\n    \u003Cdiv class=\"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6\">\n      \u003CNuxtLink\n        v-for=\"product in products\"\n        :key=\"product.id\"\n        :to=\"`\u002Fproducts\u002F${product.handle}`\"\n        class=\"group\"\n      >\n        \u003CNuxtImg\n          v-if=\"product.thumbnail\"\n          :src=\"product.thumbnail\"\n          :alt=\"product.title\"\n          class=\"w-full aspect-square object-cover rounded-lg mb-3\"\n        \u002F>\n        \u003Cp class=\"font-semibold group-hover:underline\">{{ product.title }}\u003C\u002Fp>\n      \u003C\u002FNuxtLink>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,23777,23778,23783,23803,23815,23828,23832,23865,23886,23904,23915,23921,23925,23929,23961,23965,23973,23988,24003,24009,24017,24021,24029,24048,24076,24095,24102,24117,24132,24147,24162,24168,24176,24191,24205,24220,24235,24241,24270,24280,24289,24298],{"__ignoreMap":197},[201,23779,23780],{"class":203,"line":204},[201,23781,23782],{"class":239},"\u003C!-- app\u002Fpages\u002Fproducts\u002Findex.vue -->\n",[201,23784,23785,23787,23789,23791,23793,23795,23797,23799,23801],{"class":203,"line":224},[201,23786,1342],{"class":260},[201,23788,2936],{"class":267},[201,23790,2939],{"class":659},[201,23792,2942],{"class":659},[201,23794,1353],{"class":260},[201,23796,1356],{"class":260},[201,23798,232],{"class":211},[201,23800,1356],{"class":260},[201,23802,1718],{"class":260},[201,23804,23805,23807,23809,23811,23813],{"class":203,"line":264},[201,23806,660],{"class":659},[201,23808,23398],{"class":256},[201,23810,1353],{"class":260},[201,23812,23497],{"class":252},[201,23814,2967],{"class":256},[201,23816,23817,23819,23822,23824,23826],{"class":203,"line":290},[201,23818,660],{"class":659},[201,23820,23821],{"class":256}," regionId ",[201,23823,1353],{"class":260},[201,23825,23667],{"class":252},[201,23827,2967],{"class":256},[201,23829,23830],{"class":203,"line":301},[201,23831,654],{"emptyLinePlaceholder":653},[201,23833,23834,23836,23838,23841,23843,23845,23847,23850,23852,23854,23856,23858,23860,23862],{"class":203,"line":319},[201,23835,660],{"class":659},[201,23837,631],{"class":260},[201,23839,23840],{"class":256}," data ",[201,23842,507],{"class":260},[201,23844,670],{"class":260},[201,23846,2009],{"class":245},[201,23848,23849],{"class":252}," useAsyncData",[201,23851,257],{"class":256},[201,23853,1356],{"class":260},[201,23855,6983],{"class":211},[201,23857,1356],{"class":260},[201,23859,409],{"class":260},[201,23861,1996],{"class":260},[201,23863,23864],{"class":659}," =>\n",[201,23866,23867,23870,23872,23874,23876,23878,23880,23882,23884],{"class":203,"line":329},[201,23868,23869],{"class":256},"  medusa",[201,23871,534],{"class":260},[201,23873,23713],{"class":256},[201,23875,534],{"class":260},[201,23877,16450],{"class":256},[201,23879,534],{"class":260},[201,23881,14805],{"class":252},[201,23883,257],{"class":256},[201,23885,261],{"class":260},[201,23887,23888,23891,23893,23895,23897,23899,23901],{"class":203,"line":346},[201,23889,23890],{"class":267},"    region_id",[201,23892,271],{"class":260},[201,23894,23662],{"class":256},[201,23896,534],{"class":260},[201,23898,12300],{"class":256},[201,23900,15876],{"class":260},[201,23902,23903],{"class":260}," undefined,\n",[201,23905,23906,23909,23911,23913],{"class":203,"line":363},[201,23907,23908],{"class":267},"    limit",[201,23910,271],{"class":260},[201,23912,5476],{"class":1268},[201,23914,287],{"class":260},[201,23916,23917,23919],{"class":203,"line":380},[201,23918,16394],{"class":260},[201,23920,510],{"class":256},[201,23922,23923],{"class":203,"line":391},[201,23924,510],{"class":256},[201,23926,23927],{"class":203,"line":441},[201,23928,654],{"emptyLinePlaceholder":653},[201,23930,23931,23933,23935,23937,23939,23941,23943,23945,23947,23949,23951,23953,23956,23958],{"class":203,"line":484},[201,23932,660],{"class":659},[201,23934,2074],{"class":256},[201,23936,1353],{"class":260},[201,23938,12245],{"class":252},[201,23940,257],{"class":256},[201,23942,6634],{"class":260},[201,23944,1999],{"class":659},[201,23946,2069],{"class":256},[201,23948,534],{"class":260},[201,23950,3048],{"class":256},[201,23952,3051],{"class":260},[201,23954,23955],{"class":256},"products ",[201,23957,15876],{"class":260},[201,23959,23960],{"class":256}," [])\n",[201,23962,23963],{"class":203,"line":492},[201,23964,654],{"emptyLinePlaceholder":653},[201,23966,23967,23969,23971],{"class":203,"line":498},[201,23968,2885],{"class":252},[201,23970,257],{"class":256},[201,23972,261],{"class":260},[201,23974,23975,23977,23979,23981,23984,23986],{"class":203,"line":504},[201,23976,3034],{"class":267},[201,23978,271],{"class":260},[201,23980,23058],{"class":260},[201,23982,23983],{"class":211},"All Products",[201,23985,1356],{"class":260},[201,23987,287],{"class":260},[201,23989,23990,23992,23994,23996,23999,24001],{"class":203,"line":5949},[201,23991,3084],{"class":267},[201,23993,271],{"class":260},[201,23995,23058],{"class":260},[201,23997,23998],{"class":211},"Browse our full product catalog.",[201,24000,1356],{"class":260},[201,24002,287],{"class":260},[201,24004,24005,24007],{"class":203,"line":5956},[201,24006,507],{"class":260},[201,24008,510],{"class":256},[201,24010,24011,24013,24015],{"class":203,"line":5965},[201,24012,1760],{"class":260},[201,24014,2936],{"class":267},[201,24016,1718],{"class":260},[201,24018,24019],{"class":203,"line":5970},[201,24020,654],{"emptyLinePlaceholder":653},[201,24022,24023,24025,24027],{"class":203,"line":5979},[201,24024,1342],{"class":260},[201,24026,1715],{"class":267},[201,24028,1718],{"class":260},[201,24030,24031,24033,24035,24037,24039,24041,24044,24046],{"class":203,"line":5988},[201,24032,1723],{"class":260},[201,24034,6013],{"class":267},[201,24036,15430],{"class":659},[201,24038,1353],{"class":260},[201,24040,1356],{"class":260},[201,24042,24043],{"class":211},"container mx-auto px-4 py-12",[201,24045,1356],{"class":260},[201,24047,1718],{"class":260},[201,24049,24050,24052,24054,24056,24058,24060,24063,24065,24067,24070,24072,24074],{"class":203,"line":6008},[201,24051,5556],{"class":260},[201,24053,5993],{"class":267},[201,24055,15430],{"class":659},[201,24057,1353],{"class":260},[201,24059,1356],{"class":260},[201,24061,24062],{"class":211},"text-4xl font-bold mb-8",[201,24064,1356],{"class":260},[201,24066,3416],{"class":260},[201,24068,24069],{"class":256},"Products",[201,24071,1760],{"class":260},[201,24073,5993],{"class":267},[201,24075,1718],{"class":260},[201,24077,24078,24080,24082,24084,24086,24088,24091,24093],{"class":203,"line":6029},[201,24079,5556],{"class":260},[201,24081,6013],{"class":267},[201,24083,15430],{"class":659},[201,24085,1353],{"class":260},[201,24087,1356],{"class":260},[201,24089,24090],{"class":211},"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",[201,24092,1356],{"class":260},[201,24094,1718],{"class":260},[201,24096,24097,24099],{"class":203,"line":6038},[201,24098,5578],{"class":260},[201,24100,24101],{"class":267},"NuxtLink\n",[201,24103,24105,24108,24110,24112,24115],{"class":203,"line":24104},26,[201,24106,24107],{"class":659},"        v-for",[201,24109,1353],{"class":260},[201,24111,1356],{"class":260},[201,24113,24114],{"class":211},"product in products",[201,24116,1362],{"class":260},[201,24118,24120,24123,24125,24127,24130],{"class":203,"line":24119},27,[201,24121,24122],{"class":659},"        :key",[201,24124,1353],{"class":260},[201,24126,1356],{"class":260},[201,24128,24129],{"class":211},"product.id",[201,24131,1362],{"class":260},[201,24133,24135,24138,24140,24142,24145],{"class":203,"line":24134},28,[201,24136,24137],{"class":659},"        :to",[201,24139,1353],{"class":260},[201,24141,1356],{"class":260},[201,24143,24144],{"class":211},"`\u002Fproducts\u002F${product.handle}`",[201,24146,1362],{"class":260},[201,24148,24150,24153,24155,24157,24160],{"class":203,"line":24149},29,[201,24151,24152],{"class":659},"        class",[201,24154,1353],{"class":260},[201,24156,1356],{"class":260},[201,24158,24159],{"class":211},"group",[201,24161,1362],{"class":260},[201,24163,24165],{"class":203,"line":24164},30,[201,24166,24167],{"class":260},"      >\n",[201,24169,24171,24174],{"class":203,"line":24170},31,[201,24172,24173],{"class":260},"        \u003C",[201,24175,1345],{"class":267},[201,24177,24179,24182,24184,24186,24189],{"class":203,"line":24178},32,[201,24180,24181],{"class":659},"          v-if",[201,24183,1353],{"class":260},[201,24185,1356],{"class":260},[201,24187,24188],{"class":211},"product.thumbnail",[201,24190,1362],{"class":260},[201,24192,24194,24197,24199,24201,24203],{"class":203,"line":24193},33,[201,24195,24196],{"class":659},"          :src",[201,24198,1353],{"class":260},[201,24200,1356],{"class":260},[201,24202,24188],{"class":211},[201,24204,1362],{"class":260},[201,24206,24208,24211,24213,24215,24218],{"class":203,"line":24207},34,[201,24209,24210],{"class":659},"          :alt",[201,24212,1353],{"class":260},[201,24214,1356],{"class":260},[201,24216,24217],{"class":211},"product.title",[201,24219,1362],{"class":260},[201,24221,24223,24226,24228,24230,24233],{"class":203,"line":24222},35,[201,24224,24225],{"class":659},"          class",[201,24227,1353],{"class":260},[201,24229,1356],{"class":260},[201,24231,24232],{"class":211},"w-full aspect-square object-cover rounded-lg mb-3",[201,24234,1362],{"class":260},[201,24236,24238],{"class":203,"line":24237},36,[201,24239,24240],{"class":260},"        \u002F>\n",[201,24242,24244,24246,24248,24250,24252,24254,24257,24259,24261,24264,24266,24268],{"class":203,"line":24243},37,[201,24245,24173],{"class":260},[201,24247,14],{"class":267},[201,24249,15430],{"class":659},[201,24251,1353],{"class":260},[201,24253,1356],{"class":260},[201,24255,24256],{"class":211},"font-semibold group-hover:underline",[201,24258,1356],{"class":260},[201,24260,3416],{"class":260},[201,24262,24263],{"class":256},"{{ product.title }}",[201,24265,1760],{"class":260},[201,24267,14],{"class":267},[201,24269,1718],{"class":260},[201,24271,24273,24276,24278],{"class":203,"line":24272},38,[201,24274,24275],{"class":260},"      \u003C\u002F",[201,24277,5559],{"class":267},[201,24279,1718],{"class":260},[201,24281,24283,24285,24287],{"class":203,"line":24282},39,[201,24284,5599],{"class":260},[201,24286,6013],{"class":267},[201,24288,1718],{"class":260},[201,24290,24292,24294,24296],{"class":203,"line":24291},40,[201,24293,5608],{"class":260},[201,24295,6013],{"class":267},[201,24297,1718],{"class":260},[201,24299,24301,24303,24305],{"class":203,"line":24300},41,[201,24302,1760],{"class":260},[201,24304,1715],{"class":267},[201,24306,1718],{"class":260},[169,24308,24310],{"id":24309},"product-detail-page","Product detail page",[192,24312,24314],{"className":1333,"code":24313,"language":1335,"meta":197,"style":197},"\u003C!-- app\u002Fpages\u002Fproducts\u002F[handle].vue -->\n\u003Cscript setup lang=\"ts\">\nconst route = useRoute()\nconst medusa = useMedusa()\nconst regionId = useRegion()\n\nconst { data } = await useAsyncData(`product-${route.params.handle}`, () =>\n  medusa.store.product.list({\n    handle: route.params.handle as string,\n    region_id: regionId.value ?? undefined,\n  })\n)\n\nconst product = computed(() => data.value?.products[0])\n\nif (!product.value) {\n  throw createError({ statusCode: 404, message: \"Product not found\" })\n}\n\nconst selectedVariantId = ref(product.value?.variants?.[0]?.id ?? null)\n\nuseSeoMeta({\n  title: product.value?.title,\n  description: product.value?.description ?? \"\",\n  ogImage: product.value?.thumbnail ?? undefined,\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv v-if=\"product\" class=\"container mx-auto px-4 py-12\">\n    \u003Cdiv class=\"grid grid-cols-1 md:grid-cols-2 gap-12\">\n      \u003CNuxtImg\n        v-if=\"product.thumbnail\"\n        :src=\"product.thumbnail\"\n        :alt=\"product.title\"\n        class=\"w-full rounded-lg\"\n      \u002F>\n      \u003Cdiv>\n        \u003Ch1 class=\"text-3xl font-bold mb-4\">{{ product.title }}\u003C\u002Fh1>\n        \u003Cp class=\"text-gray-600 mb-6\">{{ product.description }}\u003C\u002Fp>\n        \u003Cbutton\n          class=\"bg-black text-white px-8 py-3 rounded-lg hover:bg-gray-800 transition-colors\"\n          @click=\"addToCart\"\n        >\n          Add to cart\n        \u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,24315,24316,24321,24341,24353,24365,24377,24381,24425,24445,24469,24485,24491,24495,24499,24530,24534,24550,24583,24587,24591,24632,24636,24644,24662,24686,24707,24713,24721,24725,24733,24761,24780,24786,24799,24812,24825,24838,24843,24851,24878,24906,24913,24927,24942,24948,24954,24964,24973,24982,24991],{"__ignoreMap":197},[201,24317,24318],{"class":203,"line":204},[201,24319,24320],{"class":239},"\u003C!-- app\u002Fpages\u002Fproducts\u002F[handle].vue -->\n",[201,24322,24323,24325,24327,24329,24331,24333,24335,24337,24339],{"class":203,"line":224},[201,24324,1342],{"class":260},[201,24326,2936],{"class":267},[201,24328,2939],{"class":659},[201,24330,2942],{"class":659},[201,24332,1353],{"class":260},[201,24334,1356],{"class":260},[201,24336,232],{"class":211},[201,24338,1356],{"class":260},[201,24340,1718],{"class":260},[201,24342,24343,24345,24347,24349,24351],{"class":203,"line":264},[201,24344,660],{"class":659},[201,24346,2959],{"class":256},[201,24348,1353],{"class":260},[201,24350,2964],{"class":252},[201,24352,2967],{"class":256},[201,24354,24355,24357,24359,24361,24363],{"class":203,"line":290},[201,24356,660],{"class":659},[201,24358,23398],{"class":256},[201,24360,1353],{"class":260},[201,24362,23497],{"class":252},[201,24364,2967],{"class":256},[201,24366,24367,24369,24371,24373,24375],{"class":203,"line":301},[201,24368,660],{"class":659},[201,24370,23821],{"class":256},[201,24372,1353],{"class":260},[201,24374,23667],{"class":252},[201,24376,2967],{"class":256},[201,24378,24379],{"class":203,"line":319},[201,24380,654],{"emptyLinePlaceholder":653},[201,24382,24383,24385,24387,24389,24391,24393,24395,24397,24399,24401,24404,24406,24408,24410,24412,24414,24417,24419,24421,24423],{"class":203,"line":329},[201,24384,660],{"class":659},[201,24386,631],{"class":260},[201,24388,23840],{"class":256},[201,24390,507],{"class":260},[201,24392,670],{"class":260},[201,24394,2009],{"class":245},[201,24396,23849],{"class":252},[201,24398,257],{"class":256},[201,24400,2993],{"class":260},[201,24402,24403],{"class":211},"product-",[201,24405,2999],{"class":260},[201,24407,3002],{"class":256},[201,24409,534],{"class":260},[201,24411,3007],{"class":256},[201,24413,534],{"class":260},[201,24415,24416],{"class":256},"handle",[201,24418,3015],{"class":260},[201,24420,409],{"class":260},[201,24422,1996],{"class":260},[201,24424,23864],{"class":659},[201,24426,24427,24429,24431,24433,24435,24437,24439,24441,24443],{"class":203,"line":346},[201,24428,23869],{"class":256},[201,24430,534],{"class":260},[201,24432,23713],{"class":256},[201,24434,534],{"class":260},[201,24436,16450],{"class":256},[201,24438,534],{"class":260},[201,24440,14805],{"class":252},[201,24442,257],{"class":256},[201,24444,261],{"class":260},[201,24446,24447,24450,24452,24454,24456,24458,24460,24463,24465,24467],{"class":203,"line":363},[201,24448,24449],{"class":267},"    handle",[201,24451,271],{"class":260},[201,24453,5755],{"class":256},[201,24455,534],{"class":260},[201,24457,3007],{"class":256},[201,24459,534],{"class":260},[201,24461,24462],{"class":256},"handle ",[201,24464,19276],{"class":245},[201,24466,3399],{"class":207},[201,24468,287],{"class":260},[201,24470,24471,24473,24475,24477,24479,24481,24483],{"class":203,"line":380},[201,24472,23890],{"class":267},[201,24474,271],{"class":260},[201,24476,23662],{"class":256},[201,24478,534],{"class":260},[201,24480,12300],{"class":256},[201,24482,15876],{"class":260},[201,24484,23903],{"class":260},[201,24486,24487,24489],{"class":203,"line":391},[201,24488,16394],{"class":260},[201,24490,510],{"class":256},[201,24492,24493],{"class":203,"line":441},[201,24494,510],{"class":256},[201,24496,24497],{"class":203,"line":484},[201,24498,654],{"emptyLinePlaceholder":653},[201,24500,24501,24503,24505,24507,24509,24511,24513,24515,24517,24519,24521,24523,24526,24528],{"class":203,"line":492},[201,24502,660],{"class":659},[201,24504,8495],{"class":256},[201,24506,1353],{"class":260},[201,24508,12245],{"class":252},[201,24510,257],{"class":256},[201,24512,6634],{"class":260},[201,24514,1999],{"class":659},[201,24516,2069],{"class":256},[201,24518,534],{"class":260},[201,24520,3048],{"class":256},[201,24522,3051],{"class":260},[201,24524,24525],{"class":256},"products[",[201,24527,5803],{"class":1268},[201,24529,3786],{"class":256},[201,24531,24532],{"class":203,"line":498},[201,24533,654],{"emptyLinePlaceholder":653},[201,24535,24536,24538,24540,24542,24544,24546,24548],{"class":203,"line":504},[201,24537,5822],{"class":245},[201,24539,2142],{"class":256},[201,24541,5827],{"class":260},[201,24543,16450],{"class":256},[201,24545,534],{"class":260},[201,24547,5835],{"class":256},[201,24549,261],{"class":260},[201,24551,24552,24554,24556,24558,24560,24562,24564,24566,24568,24571,24573,24575,24577,24579,24581],{"class":203,"line":5949},[201,24553,5842],{"class":245},[201,24555,5845],{"class":252},[201,24557,257],{"class":267},[201,24559,1620],{"class":260},[201,24561,5852],{"class":267},[201,24563,271],{"class":260},[201,24565,5857],{"class":1268},[201,24567,409],{"class":260},[201,24569,24570],{"class":267}," message",[201,24572,271],{"class":260},[201,24574,23058],{"class":260},[201,24576,16480],{"class":211},[201,24578,1356],{"class":260},[201,24580,637],{"class":260},[201,24582,510],{"class":267},[201,24584,24585],{"class":203,"line":5956},[201,24586,724],{"class":260},[201,24588,24589],{"class":203,"line":5965},[201,24590,654],{"emptyLinePlaceholder":653},[201,24592,24593,24595,24598,24600,24602,24605,24607,24609,24611,24614,24616,24618,24620,24622,24624,24626,24628,24630],{"class":203,"line":5970},[201,24594,660],{"class":659},[201,24596,24597],{"class":256}," selectedVariantId ",[201,24599,1353],{"class":260},[201,24601,9534],{"class":252},[201,24603,24604],{"class":256},"(product",[201,24606,534],{"class":260},[201,24608,3048],{"class":256},[201,24610,3051],{"class":260},[201,24612,24613],{"class":256},"variants",[201,24615,3051],{"class":260},[201,24617,23740],{"class":256},[201,24619,5803],{"class":1268},[201,24621,284],{"class":256},[201,24623,3051],{"class":260},[201,24625,11425],{"class":256},[201,24627,15876],{"class":260},[201,24629,23582],{"class":260},[201,24631,510],{"class":256},[201,24633,24634],{"class":203,"line":5979},[201,24635,654],{"emptyLinePlaceholder":653},[201,24637,24638,24640,24642],{"class":203,"line":5988},[201,24639,2885],{"class":252},[201,24641,257],{"class":256},[201,24643,261],{"class":260},[201,24645,24646,24648,24650,24652,24654,24656,24658,24660],{"class":203,"line":6008},[201,24647,3034],{"class":267},[201,24649,271],{"class":260},[201,24651,15864],{"class":256},[201,24653,534],{"class":260},[201,24655,3048],{"class":256},[201,24657,3051],{"class":260},[201,24659,3054],{"class":256},[201,24661,287],{"class":260},[201,24663,24664,24666,24668,24670,24672,24674,24676,24679,24681,24684],{"class":203,"line":6029},[201,24665,3084],{"class":267},[201,24667,271],{"class":260},[201,24669,15864],{"class":256},[201,24671,534],{"class":260},[201,24673,3048],{"class":256},[201,24675,3051],{"class":260},[201,24677,24678],{"class":256},"description ",[201,24680,15876],{"class":260},[201,24682,24683],{"class":260}," \"\"",[201,24685,287],{"class":260},[201,24687,24688,24690,24692,24694,24696,24698,24700,24703,24705],{"class":203,"line":6038},[201,24689,15935],{"class":267},[201,24691,271],{"class":260},[201,24693,15864],{"class":256},[201,24695,534],{"class":260},[201,24697,3048],{"class":256},[201,24699,3051],{"class":260},[201,24701,24702],{"class":256},"thumbnail ",[201,24704,15876],{"class":260},[201,24706,23903],{"class":260},[201,24708,24709,24711],{"class":203,"line":24104},[201,24710,507],{"class":260},[201,24712,510],{"class":256},[201,24714,24715,24717,24719],{"class":203,"line":24119},[201,24716,1760],{"class":260},[201,24718,2936],{"class":267},[201,24720,1718],{"class":260},[201,24722,24723],{"class":203,"line":24134},[201,24724,654],{"emptyLinePlaceholder":653},[201,24726,24727,24729,24731],{"class":203,"line":24149},[201,24728,1342],{"class":260},[201,24730,1715],{"class":267},[201,24732,1718],{"class":260},[201,24734,24735,24737,24739,24741,24743,24745,24747,24749,24751,24753,24755,24757,24759],{"class":203,"line":24164},[201,24736,1723],{"class":260},[201,24738,6013],{"class":267},[201,24740,18234],{"class":659},[201,24742,1353],{"class":260},[201,24744,1356],{"class":260},[201,24746,16450],{"class":211},[201,24748,1356],{"class":260},[201,24750,15430],{"class":659},[201,24752,1353],{"class":260},[201,24754,1356],{"class":260},[201,24756,24043],{"class":211},[201,24758,1356],{"class":260},[201,24760,1718],{"class":260},[201,24762,24763,24765,24767,24769,24771,24773,24776,24778],{"class":203,"line":24170},[201,24764,5556],{"class":260},[201,24766,6013],{"class":267},[201,24768,15430],{"class":659},[201,24770,1353],{"class":260},[201,24772,1356],{"class":260},[201,24774,24775],{"class":211},"grid grid-cols-1 md:grid-cols-2 gap-12",[201,24777,1356],{"class":260},[201,24779,1718],{"class":260},[201,24781,24782,24784],{"class":203,"line":24178},[201,24783,5578],{"class":260},[201,24785,1345],{"class":267},[201,24787,24788,24791,24793,24795,24797],{"class":203,"line":24193},[201,24789,24790],{"class":659},"        v-if",[201,24792,1353],{"class":260},[201,24794,1356],{"class":260},[201,24796,24188],{"class":211},[201,24798,1362],{"class":260},[201,24800,24801,24804,24806,24808,24810],{"class":203,"line":24207},[201,24802,24803],{"class":659},"        :src",[201,24805,1353],{"class":260},[201,24807,1356],{"class":260},[201,24809,24188],{"class":211},[201,24811,1362],{"class":260},[201,24813,24814,24817,24819,24821,24823],{"class":203,"line":24222},[201,24815,24816],{"class":659},"        :alt",[201,24818,1353],{"class":260},[201,24820,1356],{"class":260},[201,24822,24217],{"class":211},[201,24824,1362],{"class":260},[201,24826,24827,24829,24831,24833,24836],{"class":203,"line":24237},[201,24828,24152],{"class":659},[201,24830,1353],{"class":260},[201,24832,1356],{"class":260},[201,24834,24835],{"class":211},"w-full rounded-lg",[201,24837,1362],{"class":260},[201,24839,24840],{"class":203,"line":24243},[201,24841,24842],{"class":260},"      \u002F>\n",[201,24844,24845,24847,24849],{"class":203,"line":24272},[201,24846,5578],{"class":260},[201,24848,6013],{"class":267},[201,24850,1718],{"class":260},[201,24852,24853,24855,24857,24859,24861,24863,24866,24868,24870,24872,24874,24876],{"class":203,"line":24282},[201,24854,24173],{"class":260},[201,24856,5993],{"class":267},[201,24858,15430],{"class":659},[201,24860,1353],{"class":260},[201,24862,1356],{"class":260},[201,24864,24865],{"class":211},"text-3xl font-bold mb-4",[201,24867,1356],{"class":260},[201,24869,3416],{"class":260},[201,24871,24263],{"class":256},[201,24873,1760],{"class":260},[201,24875,5993],{"class":267},[201,24877,1718],{"class":260},[201,24879,24880,24882,24884,24886,24888,24890,24893,24895,24897,24900,24902,24904],{"class":203,"line":24291},[201,24881,24173],{"class":260},[201,24883,14],{"class":267},[201,24885,15430],{"class":659},[201,24887,1353],{"class":260},[201,24889,1356],{"class":260},[201,24891,24892],{"class":211},"text-gray-600 mb-6",[201,24894,1356],{"class":260},[201,24896,3416],{"class":260},[201,24898,24899],{"class":256},"{{ product.description }}",[201,24901,1760],{"class":260},[201,24903,14],{"class":267},[201,24905,1718],{"class":260},[201,24907,24908,24910],{"class":203,"line":24300},[201,24909,24173],{"class":260},[201,24911,24912],{"class":267},"button\n",[201,24914,24916,24918,24920,24922,24925],{"class":203,"line":24915},42,[201,24917,24225],{"class":659},[201,24919,1353],{"class":260},[201,24921,1356],{"class":260},[201,24923,24924],{"class":211},"bg-black text-white px-8 py-3 rounded-lg hover:bg-gray-800 transition-colors",[201,24926,1362],{"class":260},[201,24928,24930,24933,24935,24937,24940],{"class":203,"line":24929},43,[201,24931,24932],{"class":659},"          @click",[201,24934,1353],{"class":260},[201,24936,1356],{"class":260},[201,24938,24939],{"class":211},"addToCart",[201,24941,1362],{"class":260},[201,24943,24945],{"class":203,"line":24944},44,[201,24946,24947],{"class":260},"        >\n",[201,24949,24951],{"class":203,"line":24950},45,[201,24952,24953],{"class":256},"          Add to cart\n",[201,24955,24957,24960,24962],{"class":203,"line":24956},46,[201,24958,24959],{"class":260},"        \u003C\u002F",[201,24961,7383],{"class":267},[201,24963,1718],{"class":260},[201,24965,24967,24969,24971],{"class":203,"line":24966},47,[201,24968,24275],{"class":260},[201,24970,6013],{"class":267},[201,24972,1718],{"class":260},[201,24974,24976,24978,24980],{"class":203,"line":24975},48,[201,24977,5599],{"class":260},[201,24979,6013],{"class":267},[201,24981,1718],{"class":260},[201,24983,24985,24987,24989],{"class":203,"line":24984},49,[201,24986,5608],{"class":260},[201,24988,6013],{"class":267},[201,24990,1718],{"class":260},[201,24992,24994,24996,24998],{"class":203,"line":24993},50,[201,24995,1760],{"class":260},[201,24997,1715],{"class":267},[201,24999,1718],{"class":260},[18,25001,25003],{"id":25002},"managing-the-cart","Managing the Cart",[14,25005,25006,25007,25010,25011,25013],{},"Medusa V2 uses a ",[2363,25008,25009],{},"cart session"," identified by a cart ID that you store client-side (in a cookie or ",[137,25012,8574],{},"). The SDK makes this straightforward.",[192,25015,25017],{"className":23033,"code":25016,"language":23035,"meta":197,"style":197},"\u002F\u002F app\u002Fcomposables\u002FuseCart.ts\nexport const useCartId = () => useState\u003Cstring | null>(\"cartId\", () => null)\n\nexport function useCart() {\n  const medusa = useMedusa()\n  const regionId = useRegion()\n  const cartId = useCartId()\n\n  async function getOrCreateCart() {\n    if (cartId.value) return cartId.value\n\n    const { cart } = await medusa.store.cart.create({\n      region_id: regionId.value ?? undefined,\n    })\n    cartId.value = cart.id\n    return cart.id\n  }\n\n  async function addItem(variantId: string, quantity = 1) {\n    const id = await getOrCreateCart()\n    await medusa.store.cart.createLineItem(id, {\n      variant_id: variantId,\n      quantity,\n    })\n  }\n\n  return { getOrCreateCart, addItem }\n}\n",[137,25018,25019,25024,25070,25074,25087,25099,25111,25125,25129,25142,25166,25170,25203,25220,25227,25245,25256,25260,25264,25295,25309,25336,25348,25355,25361,25365,25369,25383],{"__ignoreMap":197},[201,25020,25021],{"class":203,"line":204},[201,25022,25023],{"class":239},"\u002F\u002F app\u002Fcomposables\u002FuseCart.ts\n",[201,25025,25026,25028,25030,25033,25035,25037,25039,25041,25043,25045,25047,25049,25051,25053,25055,25058,25060,25062,25064,25066,25068],{"class":203,"line":224},[201,25027,246],{"class":245},[201,25029,23556],{"class":659},[201,25031,25032],{"class":256}," useCartId ",[201,25034,1353],{"class":260},[201,25036,1996],{"class":260},[201,25038,1999],{"class":659},[201,25040,12132],{"class":252},[201,25042,1342],{"class":260},[201,25044,14677],{"class":207},[201,25046,21253],{"class":260},[201,25048,23582],{"class":207},[201,25050,3416],{"class":260},[201,25052,257],{"class":256},[201,25054,1356],{"class":260},[201,25056,25057],{"class":211},"cartId",[201,25059,1356],{"class":260},[201,25061,409],{"class":260},[201,25063,1996],{"class":260},[201,25065,1999],{"class":659},[201,25067,23582],{"class":260},[201,25069,510],{"class":256},[201,25071,25072],{"class":203,"line":264},[201,25073,654],{"emptyLinePlaceholder":653},[201,25075,25076,25078,25080,25083,25085],{"class":203,"line":290},[201,25077,246],{"class":245},[201,25079,6628],{"class":659},[201,25081,25082],{"class":252}," useCart",[201,25084,6634],{"class":260},[201,25086,298],{"class":260},[201,25088,25089,25091,25093,25095,25097],{"class":203,"line":301},[201,25090,3379],{"class":659},[201,25092,23649],{"class":256},[201,25094,670],{"class":260},[201,25096,23497],{"class":252},[201,25098,2967],{"class":267},[201,25100,25101,25103,25105,25107,25109],{"class":203,"line":319},[201,25102,3379],{"class":659},[201,25104,23662],{"class":256},[201,25106,670],{"class":260},[201,25108,23667],{"class":252},[201,25110,2967],{"class":267},[201,25112,25113,25115,25118,25120,25123],{"class":203,"line":329},[201,25114,3379],{"class":659},[201,25116,25117],{"class":256}," cartId",[201,25119,670],{"class":260},[201,25121,25122],{"class":252}," useCartId",[201,25124,2967],{"class":267},[201,25126,25127],{"class":203,"line":346},[201,25128,654],{"emptyLinePlaceholder":653},[201,25130,25131,25133,25135,25138,25140],{"class":203,"line":363},[201,25132,7223],{"class":659},[201,25134,6628],{"class":659},[201,25136,25137],{"class":252}," getOrCreateCart",[201,25139,6634],{"class":260},[201,25141,298],{"class":260},[201,25143,25144,25147,25149,25151,25153,25155,25157,25159,25161,25163],{"class":203,"line":380},[201,25145,25146],{"class":245},"    if",[201,25148,2142],{"class":267},[201,25150,25057],{"class":256},[201,25152,534],{"class":260},[201,25154,3048],{"class":256},[201,25156,7300],{"class":267},[201,25158,14767],{"class":245},[201,25160,25117],{"class":256},[201,25162,534],{"class":260},[201,25164,25165],{"class":256},"value\n",[201,25167,25168],{"class":203,"line":391},[201,25169,654],{"emptyLinePlaceholder":653},[201,25171,25172,25174,25176,25179,25181,25183,25185,25187,25189,25191,25193,25195,25197,25199,25201],{"class":203,"line":441},[201,25173,19770],{"class":659},[201,25175,631],{"class":260},[201,25177,25178],{"class":256}," cart",[201,25180,637],{"class":260},[201,25182,670],{"class":260},[201,25184,2009],{"class":245},[201,25186,23649],{"class":256},[201,25188,534],{"class":260},[201,25190,23713],{"class":256},[201,25192,534],{"class":260},[201,25194,4848],{"class":256},[201,25196,534],{"class":260},[201,25198,7267],{"class":252},[201,25200,257],{"class":267},[201,25202,261],{"class":260},[201,25204,25205,25208,25210,25212,25214,25216,25218],{"class":203,"line":484},[201,25206,25207],{"class":267},"      region_id",[201,25209,271],{"class":260},[201,25211,23662],{"class":256},[201,25213,534],{"class":260},[201,25215,3048],{"class":256},[201,25217,23751],{"class":260},[201,25219,23903],{"class":260},[201,25221,25222,25225],{"class":203,"line":492},[201,25223,25224],{"class":260},"    }",[201,25226,510],{"class":267},[201,25228,25229,25232,25234,25236,25238,25240,25242],{"class":203,"line":498},[201,25230,25231],{"class":256},"    cartId",[201,25233,534],{"class":260},[201,25235,3048],{"class":256},[201,25237,670],{"class":260},[201,25239,25178],{"class":256},[201,25241,534],{"class":260},[201,25243,25244],{"class":256},"id\n",[201,25246,25247,25250,25252,25254],{"class":203,"line":504},[201,25248,25249],{"class":245},"    return",[201,25251,25178],{"class":256},[201,25253,534],{"class":260},[201,25255,25244],{"class":256},[201,25257,25258],{"class":203,"line":5949},[201,25259,7326],{"class":260},[201,25261,25262],{"class":203,"line":5956},[201,25263,654],{"emptyLinePlaceholder":653},[201,25265,25266,25268,25270,25273,25275,25278,25280,25282,25284,25287,25289,25291,25293],{"class":203,"line":5965},[201,25267,7223],{"class":659},[201,25269,6628],{"class":659},[201,25271,25272],{"class":252}," addItem",[201,25274,257],{"class":260},[201,25276,25277],{"class":2106},"variantId",[201,25279,271],{"class":260},[201,25281,3399],{"class":207},[201,25283,409],{"class":260},[201,25285,25286],{"class":2106}," quantity",[201,25288,670],{"class":260},[201,25290,5773],{"class":1268},[201,25292,3779],{"class":260},[201,25294,298],{"class":260},[201,25296,25297,25299,25301,25303,25305,25307],{"class":203,"line":5970},[201,25298,19770],{"class":659},[201,25300,2124],{"class":256},[201,25302,670],{"class":260},[201,25304,2009],{"class":245},[201,25306,25137],{"class":252},[201,25308,2967],{"class":267},[201,25310,25311,25313,25315,25317,25319,25321,25323,25325,25328,25330,25332,25334],{"class":203,"line":5979},[201,25312,7256],{"class":245},[201,25314,23649],{"class":256},[201,25316,534],{"class":260},[201,25318,23713],{"class":256},[201,25320,534],{"class":260},[201,25322,4848],{"class":256},[201,25324,534],{"class":260},[201,25326,25327],{"class":252},"createLineItem",[201,25329,257],{"class":267},[201,25331,6742],{"class":256},[201,25333,409],{"class":260},[201,25335,298],{"class":260},[201,25337,25338,25341,25343,25346],{"class":203,"line":5988},[201,25339,25340],{"class":267},"      variant_id",[201,25342,271],{"class":260},[201,25344,25345],{"class":256}," variantId",[201,25347,287],{"class":260},[201,25349,25350,25353],{"class":203,"line":6008},[201,25351,25352],{"class":256},"      quantity",[201,25354,287],{"class":260},[201,25356,25357,25359],{"class":203,"line":6029},[201,25358,25224],{"class":260},[201,25360,510],{"class":267},[201,25362,25363],{"class":203,"line":6038},[201,25364,7326],{"class":260},[201,25366,25367],{"class":203,"line":24104},[201,25368,654],{"emptyLinePlaceholder":653},[201,25370,25371,25373,25375,25377,25379,25381],{"class":203,"line":24119},[201,25372,2006],{"class":245},[201,25374,631],{"class":260},[201,25376,25137],{"class":256},[201,25378,409],{"class":260},[201,25380,25272],{"class":256},[201,25382,15495],{"class":260},[201,25384,25385],{"class":203,"line":24134},[201,25386,724],{"class":260},[14,25388,25389,25390,25393],{},"Use ",[137,25391,25392],{},"addItem"," from any product page to add variants to the cart.",[18,25395,25397],{"id":25396},"managing-products-and-orders-in-the-admin","Managing Products and Orders in the Admin",[169,25399,24069],{"id":6983},[14,25401,25402,25403,25405],{},"From the Medusa admin dashboard (",[137,25404,23015],{},"):",[185,25407,25408,25418,25424,25430],{},[188,25409,25410,25413,25414,25417],{},[2363,25411,25412],{},"Create a product"," — go to ",[2363,25415,25416],{},"Products → New product",". Fill in the title, description, and add variants (e.g., size S\u002FM\u002FL, color). Each variant gets a SKU, price per region, and optional inventory tracking.",[188,25419,25420,25423],{},[2363,25421,25422],{},"Upload images"," — drag images directly in the product editor. Medusa stores them in your configured file storage (local filesystem in development, S3\u002FGCS in production).",[188,25425,25426,25429],{},[2363,25427,25428],{},"Manage inventory"," — if you have the inventory module enabled, set stock levels per variant and per location.",[188,25431,25432,25434],{},[2363,25433,7399],{}," — toggle the product status from \"Draft\" to \"Published\" to make it visible via the Storefront API.",[169,25436,25438],{"id":25437},"orders","Orders",[14,25440,25441],{},"When a customer completes checkout:",[185,25443,25444,25450,25457,25466],{},[188,25445,25446,25447,25449],{},"The order appears under ",[2363,25448,25438],{}," in the admin.",[188,25451,25452,25453,25456],{},"You can ",[2363,25454,25455],{},"fulfill"," items (mark as shipped, add tracking numbers).",[188,25458,25452,25459,809,25462,25465],{},[2363,25460,25461],{},"issue refunds",[2363,25463,25464],{},"create returns"," directly from the order detail page.",[188,25467,25468],{},"The workflow engine handles multi-step operations (e.g., partial fulfillments, split shipments) without custom code.",[169,25470,25472],{"id":25471},"regions-and-currencies","Regions and Currencies",[14,25474,25475,25476,25479],{},"Under ",[2363,25477,25478],{},"Settings → Regions",", configure which countries belong to each region and which currency and payment providers apply. This is important if you sell internationally — product prices are set per region, so you can localize pricing without duplicating products.",[18,25481,25483],{"id":25482},"deploying-to-production","Deploying to Production",[14,25485,25486],{},"When you are ready to deploy:",[14,25488,25489],{},[2363,25490,25491],{},"Medusa backend:",[2357,25493,25494,25497,25514],{},[188,25495,25496],{},"Use a managed PostgreSQL service (e.g., Supabase, Neon, Railway, AWS RDS).",[188,25498,559,25499,4576,25501,4576,25504,4576,25507,4576,25510,25513],{},[137,25500,23108],{},[137,25502,25503],{},"JWT_SECRET",[137,25505,25506],{},"COOKIE_SECRET",[137,25508,25509],{},"STORE_CORS",[137,25511,25512],{},"ADMIN_CORS"," as environment variables.",[188,25515,25516],{},"Deploy the Node.js server to Railway, Render, Fly.io, or a VPS.",[14,25518,25519],{},[2363,25520,25521],{},"Nuxt 4 storefront:",[2357,25523,25524,25532,25540],{},[188,25525,559,25526,955,25528,25531],{},[137,25527,23476],{},[137,25529,25530],{},"NUXT_PUBLIC_MEDUSA_URL"," pointing to your production Medusa URL.",[188,25533,2239,25534,25536,25537,25539],{},[137,25535,10900],{}," for a fully static build or ",[137,25538,10896],{}," for SSR.",[188,25541,25542],{},"Deploy to Netlify, Vercel, or Cloudflare Pages.",[14,25544,25545,25546,25548],{},"Update ",[137,25547,25509],{}," in your Medusa config to include the production Nuxt domain.",[18,25550,914],{"id":913},[14,25552,25553],{},"MedusaJS V2 and Nuxt 4 give you a modern, fully typed, open-source e-commerce stack where each layer does exactly one job. Medusa owns the commerce logic — catalog, cart, checkout, order management — and exposes it through a clean Storefront API. Nuxt 4 owns the presentation layer, bringing SSR, SEO, and a great Vue developer experience. The two communicate over HTTP, which means you can scale, replace, or upgrade each side independently as your store grows.",[14,25555,25556],{},"If you want help architecting or building your storefront, the Epicmax team has deep experience with Vue 3 and Nuxt projects of all sizes.",[6170,25558],{"label":22616,"to":6173},[984,25560,25561],{},"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 pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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 .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 .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}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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}",{"title":197,"searchDepth":264,"depth":264,"links":25563},[25564,25565,25566,25567,25568,25574,25580,25584,25585,25590,25591],{"id":22676,"depth":224,"text":22677},{"id":22741,"depth":224,"text":22742},{"id":22811,"depth":224,"text":22812},{"id":22903,"depth":224,"text":22904},{"id":22948,"depth":224,"text":22949,"children":25569},[25570,25571,25572,25573],{"id":22952,"depth":264,"text":22953},{"id":22990,"depth":264,"text":22991},{"id":23019,"depth":264,"text":23020},{"id":23280,"depth":264,"text":23281},{"id":23295,"depth":224,"text":23296,"children":25575},[25576,25577,25578,25579],{"id":23299,"depth":264,"text":23300},{"id":23332,"depth":264,"text":23333},{"id":23357,"depth":264,"text":23358},{"id":23535,"depth":264,"text":23536},{"id":23767,"depth":224,"text":23768,"children":25581},[25582,25583],{"id":23771,"depth":264,"text":23772},{"id":24309,"depth":264,"text":24310},{"id":25002,"depth":224,"text":25003},{"id":25396,"depth":224,"text":25397,"children":25586},[25587,25588,25589],{"id":6983,"depth":264,"text":24069},{"id":25437,"depth":264,"text":25438},{"id":25471,"depth":264,"text":25472},{"id":25482,"depth":224,"text":25483},{"id":913,"depth":224,"text":914},"2026-06-03","Step-by-step guide to building a headless e-commerce store with MedusaJS V2 as the backend and Nuxt 4 as the storefront. Covers setup, API integration, and product management.","\u002Fimages\u002Fblog\u002Fhow-to-build-an-e-commerce-store-with-medusajs-v2-and-nuxt-4\u002Fcover.png",{},{"title":22662,"description":25593},"blog\u002Fhow-to-create-medusa-js-with-nuxt-4",[4672,25599,25600,2822,1030],"MedusaJS","E-commerce","6xWlyClsQZ4pH1QypYHfrGV5rJo87vWPnNi4ER9CPoU",{"id":25603,"title":25604,"articleType":7,"author":12943,"authorSlug":1008,"body":25605,"cta":1008,"date":25592,"description":26494,"extension":1011,"faq":1008,"featured":1021,"image":26495,"meta":26496,"navigation":653,"noCtaBox":1021,"path":887,"readTime":2334,"seo":26497,"seoTitle":1008,"stem":26498,"tags":26499,"topic":1032,"video":1008,"__hash__":26501},"blog\u002Fblog\u002Fnuxt-layers.md","Nuxt Layers in Nuxt 3 – What It Is and Why It Matters",{"type":11,"value":25606,"toc":26477},[25607,25613,25616,25620,25627,25630,25677,25683,25689,25693,25696,25831,25841,25845,25848,25862,25868,25874,25948,25952,25955,25980,25983,26041,26045,26049,26059,26065,26068,26072,26075,26078,26082,26085,26091,26095,26098,26103,26124,26130,26152,26157,26179,26193,26197,26200,26234,26248,26252,26258,26264,26270,26279,26283,26289,26295,26301,26307,26310,26314,26317,26342,26350,26394,26404,26453,26469,26472,26474],[14,25608,25609,25610,25612],{},"Nuxt Layers is one of the most architecturally significant features in Nuxt 3 — and one of the least understood outside teams that have already run into the scaling walls it solves. For a single self-contained project, layers may never come up. But the moment you find yourself copy-pasting ",[137,25611,564],{}," entries across repos, maintaining a shared component library, or trying to keep three different apps on the same design system, the absence of a proper layering strategy starts showing up as real maintenance overhead.",[14,25614,25615],{},"This article explains what Nuxt Layers are at an architectural level, how they differ from modules and standard Nuxt project structure, where they are genuinely useful, and what trade-offs you should weigh before adopting them.",[18,25617,25619],{"id":25618},"what-are-nuxt-layers","What Are Nuxt Layers?",[14,25621,25622,25623,25626],{},"Nuxt Layers is a composition system that lets you ",[2363,25624,25625],{},"extend one Nuxt application on top of another",". A layer is itself a partial Nuxt application — it can include components, composables, pages, plugins, layouts, server routes, middleware, configuration, and even other layers. When a Nuxt project extends a layer, it inherits and merges all of those artifacts as if they were authored locally in the project.",[14,25628,25629],{},"At the configuration level, extending a layer is a single line:",[192,25631,25633],{"className":23033,"code":25632,"language":23035,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  extends: ['.\u002Fbase-layer'],\n})\n",[137,25634,25635,25639,25651,25671],{"__ignoreMap":197},[201,25636,25637],{"class":203,"line":204},[201,25638,240],{"class":239},[201,25640,25641,25643,25645,25647,25649],{"class":203,"line":224},[201,25642,246],{"class":245},[201,25644,249],{"class":245},[201,25646,253],{"class":252},[201,25648,257],{"class":256},[201,25650,261],{"class":260},[201,25652,25653,25656,25658,25660,25662,25665,25667,25669],{"class":203,"line":264},[201,25654,25655],{"class":267},"  extends",[201,25657,271],{"class":260},[201,25659,274],{"class":256},[201,25661,277],{"class":260},[201,25663,25664],{"class":211},".\u002Fbase-layer",[201,25666,277],{"class":260},[201,25668,284],{"class":256},[201,25670,287],{"class":260},[201,25672,25673,25675],{"class":203,"line":290},[201,25674,507],{"class":260},[201,25676,510],{"class":256},[14,25678,25679,25680,25682],{},"This tells Nuxt to resolve the ",[137,25681,25664],{}," directory, merge its auto-scanned directories into the current project, and make everything from the layer available as if it belonged to the project itself.",[14,25684,25685,25686,25688],{},"A layer is minimal by design. The only required file is a ",[137,25687,564],{},". Everything else — components, composables, pages, utils, server routes, assets — is optional. You include only what the layer needs to provide.",[169,25690,25692],{"id":25691},"what-gets-merged","What Gets Merged",[14,25694,25695],{},"When a layer is extended, Nuxt automatically scans and merges these directories:",[26,25697,25698,25711],{},[29,25699,25700],{},[32,25701,25702,25705,25708],{},[35,25703,25704],{},"Directory",[35,25706,25707],{},"What the layer provides",[35,25709,25710],{},"Project can override",[51,25712,25713,25725,25736,25747,25759,25770,25783,25795,25807,25820],{},[32,25714,25715,25719,25722],{},[56,25716,25717],{},[137,25718,22762],{},[56,25720,25721],{},"Shared UI components",[56,25723,25724],{},"By same filename",[32,25726,25727,25731,25734],{},[56,25728,25729],{},[137,25730,22765],{},[56,25732,25733],{},"Shared reactive logic",[56,25735,25724],{},[32,25737,25738,25742,25745],{},[56,25739,25740],{},[137,25741,22768],{},[56,25743,25744],{},"Base layouts",[56,25746,25724],{},[32,25748,25749,25754,25757],{},[56,25750,25751],{},[137,25752,25753],{},"middleware\u002F",[56,25755,25756],{},"Route middleware",[56,25758,25724],{},[32,25760,25761,25765,25768],{},[56,25762,25763],{},[137,25764,862],{},[56,25766,25767],{},"Route pages",[56,25769,25724],{},[32,25771,25772,25777,25780],{},[56,25773,25774],{},[137,25775,25776],{},"plugins\u002F",[56,25778,25779],{},"Vue\u002FNuxt plugins",[56,25781,25782],{},"Merged in registration order",[32,25784,25785,25789,25792],{},[56,25786,25787],{},[137,25788,4804],{},[56,25790,25791],{},"API routes, middleware",[56,25793,25794],{},"By same path",[32,25796,25797,25802,25805],{},[56,25798,25799],{},[137,25800,25801],{},"utils\u002F",[56,25803,25804],{},"Utility functions",[56,25806,25724],{},[32,25808,25809,25814,25817],{},[56,25810,25811],{},[137,25812,25813],{},"app.config.ts",[56,25815,25816],{},"App-level config",[56,25818,25819],{},"Deep-merged",[32,25821,25822,25826,25829],{},[56,25823,25824],{},[137,25825,564],{},[56,25827,25828],{},"Modules, runtime config",[56,25830,25819],{},[14,25832,25833,25834,25837,25838,25840],{},"The project always wins. If the project defines ",[137,25835,25836],{},"components\u002FAppHeader.vue"," and the layer also provides ",[137,25839,25836],{},", the project version takes precedence. This makes layers safe to consume — you can always override individual pieces without modifying the layer.",[18,25842,25844],{"id":25843},"layers-vs-modules-vs-local-structure","Layers vs. Modules vs. Local Structure",[14,25846,25847],{},"Before going further, it helps to draw a clear distinction between three mechanisms that can be confused.",[14,25849,25850,25853,25854,4576,25856,4797,25858,25861],{},[2363,25851,25852],{},"Nuxt Modules"," are plugins for the build system. They hook into Nuxt's build lifecycle to add features: auto-importing utilities, injecting Vite plugins, generating types, configuring routes. ",[137,25855,4439],{},[137,25857,1205],{},[137,25859,25860],{},"@nuxt\u002Fui"," are all modules. Modules operate at build time and typically do not ship runtime Vue components directly — they configure and extend the framework itself.",[14,25863,25864,25867],{},[2363,25865,25866],{},"Nuxt Layers"," operate at the application level. They ship actual runtime code: components, composables, pages, layouts, server routes. A layer is something you could deploy as a standalone Nuxt app. A module generally cannot be.",[14,25869,25870,25873],{},[2363,25871,25872],{},"Standard project structure"," (components, composables, and pages within the same project) is correct for logic that belongs to a single application. Layers become the right tool when that logic needs to be shared across multiple applications or encapsulated as a reusable base.",[26,25875,25876,25891],{},[29,25877,25878],{},[32,25879,25880,25882,25885,25888],{},[35,25881],{},[35,25883,25884],{},"Module",[35,25886,25887],{},"Layer",[35,25889,25890],{},"Local structure",[51,25892,25893,25907,25921,25934],{},[32,25894,25895,25898,25901,25904],{},[56,25896,25897],{},"Operates at",[56,25899,25900],{},"Build time",[56,25902,25903],{},"Runtime + build",[56,25905,25906],{},"Runtime",[32,25908,25909,25912,25915,25918],{},[56,25910,25911],{},"Provides",[56,25913,25914],{},"Framework integrations",[56,25916,25917],{},"Full app artifacts",[56,25919,25920],{},"App artifacts",[32,25922,25923,25926,25928,25931],{},[56,25924,25925],{},"Shareable via",[56,25927,578],{},[56,25929,25930],{},"npm, git, local path",[56,25932,25933],{},"Local only",[32,25935,25936,25939,25942,25945],{},[56,25937,25938],{},"Right for",[56,25940,25941],{},"Tooling, DX features",[56,25943,25944],{},"Shared app logic",[56,25946,25947],{},"Single-app code",[18,25949,25951],{"id":25950},"how-layer-priority-works","How Layer Priority Works",[14,25953,25954],{},"When multiple layers extend each other, Nuxt establishes a clear precedence order:",[185,25956,25957,25963,25971],{},[188,25958,25959,25962],{},[2363,25960,25961],{},"Project files"," — highest priority",[188,25964,25965,25970],{},[2363,25966,25967,14338],{},[137,25968,25969],{},"~~\u002Flayers\u002F"," — auto-scanned, sorted alphabetically in reverse (Z before A); numeric prefixes let you control order explicitly",[188,25972,25973,25979],{},[2363,25974,25975,25978],{},[137,25976,25977],{},"extends"," array"," — first entry has higher priority than subsequent entries",[14,25981,25982],{},"This means you can rely on the \"project always wins\" guarantee when building base layers. A consumer project can override any single component, page, or composable from a layer without forking the layer or managing merge conflicts. Modules that need to be disabled in a consuming project can be turned off individually:",[192,25984,25986],{"className":23033,"code":25985,"language":23035,"meta":197,"style":197},"\u002F\u002F nuxt.config.ts\nexport default defineNuxtConfig({\n  extends: ['.\u002Fbase-layer'],\n  image: false, \u002F\u002F disable @nuxt\u002Fimage inherited from the layer\n})\n",[137,25987,25988,25992,26004,26022,26035],{"__ignoreMap":197},[201,25989,25990],{"class":203,"line":204},[201,25991,240],{"class":239},[201,25993,25994,25996,25998,26000,26002],{"class":203,"line":224},[201,25995,246],{"class":245},[201,25997,249],{"class":245},[201,25999,253],{"class":252},[201,26001,257],{"class":256},[201,26003,261],{"class":260},[201,26005,26006,26008,26010,26012,26014,26016,26018,26020],{"class":203,"line":264},[201,26007,25655],{"class":267},[201,26009,271],{"class":260},[201,26011,274],{"class":256},[201,26013,277],{"class":260},[201,26015,25664],{"class":211},[201,26017,277],{"class":260},[201,26019,284],{"class":256},[201,26021,287],{"class":260},[201,26023,26024,26026,26028,26030,26032],{"class":203,"line":290},[201,26025,1254],{"class":267},[201,26027,271],{"class":260},[201,26029,1934],{"class":1864},[201,26031,409],{"class":260},[201,26033,26034],{"class":239}," \u002F\u002F disable @nuxt\u002Fimage inherited from the layer\n",[201,26036,26037,26039],{"class":203,"line":301},[201,26038,507],{"class":260},[201,26040,510],{"class":256},[18,26042,26044],{"id":26043},"real-world-use-cases","Real-World Use Cases",[169,26046,26048],{"id":26047},"multi-tenant-saas-applications","Multi-Tenant SaaS Applications",[14,26050,26051,26052,26055,26056,26058],{},"In a SaaS product where each customer receives a branded variant of the same application, layers provide a clean separation between the core product and tenant-specific customizations. The base layer contains application logic, data fetching patterns, and a default UI. Each tenant layer extends the base and overrides only what differs: a branded ",[137,26053,26054],{},"AppHeader.vue",", a different default layout, and tenant-specific ",[137,26057,25813],{}," values.",[192,26060,26063],{"className":26061,"code":26062,"language":9281},[9279],"packages\u002F\n  core-layer\u002F            ← shared product logic\n    components\u002F\n    composables\u002F\n    pages\u002F\n    nuxt.config.ts\n\n  tenant-a\u002F              ← extends core-layer\n    components\u002F          ← brand-specific overrides\n    app.config.ts        ← tenant theme, copy, feature flags\n    nuxt.config.ts       ← extends: ['..\u002Fcore-layer']\n\n  tenant-b\u002F\n    ...\n",[137,26064,26062],{"__ignoreMap":197},[14,26066,26067],{},"This keeps the per-tenant surface area small while giving each tenant full flexibility where it matters.",[169,26069,26071],{"id":26070},"shared-design-system","Shared Design System",[14,26073,26074],{},"For organizations running multiple frontend applications — a marketing site, a customer portal, an internal dashboard — a shared design system layer distributes a component library without the overhead of publishing and versioning an npm package on every change.",[14,26076,26077],{},"The design system layer ships components, CSS tokens, and default configurations. Each consuming application extends it and overrides specific components only when its context requires deviation from the system. Because the layer lives in the same monorepo, changes propagate immediately without a publish\u002Finstall cycle.",[169,26079,26081],{"id":26080},"enterprise-scale-frontend-architecture","Enterprise-Scale Frontend Architecture",[14,26083,26084],{},"Large engineering teams often split domain ownership across squads. A platform team maintains the base layer: authentication flows, error boundary handling, analytics instrumentation, and shared API utilities. Product squads extend the base layer with their own domain-specific pages and composables. This eliminates configuration drift between squads without requiring a centralized monolithic shared package:",[192,26086,26089],{"className":26087,"code":26088,"language":9281},[9279],"layers\u002F\n  platform\u002F              ← auth, error handling, analytics\n    composables\u002F\n    plugins\u002F\n    server\u002F\n    nuxt.config.ts\n\n  design-system\u002F         ← UI components, tokens\n    components\u002F\n    assets\u002F\n    nuxt.config.ts\n\napps\u002F\n  portal\u002F\n    nuxt.config.ts       ← extends: ['..\u002F..\u002Flayers\u002Fplatform', '..\u002F..\u002Flayers\u002Fdesign-system']\n\n  marketing\u002F\n    nuxt.config.ts\n",[137,26090,26088],{"__ignoreMap":197},[18,26092,26094],{"id":26093},"layer-distribution","Layer Distribution",[14,26096,26097],{},"Layers are not limited to local paths. Nuxt supports three distribution methods:",[14,26099,26100],{},[2363,26101,26102],{},"Local path (monorepo)",[192,26104,26106],{"className":23033,"code":26105,"language":23035,"meta":197,"style":197},"extends: ['.\u002Fbase-layer']\n",[137,26107,26108],{"__ignoreMap":197},[201,26109,26110,26112,26114,26116,26118,26120,26122],{"class":203,"line":204},[201,26111,25977],{"class":207},[201,26113,271],{"class":260},[201,26115,274],{"class":256},[201,26117,277],{"class":260},[201,26119,25664],{"class":211},[201,26121,277],{"class":260},[201,26123,11187],{"class":256},[14,26125,26126,26129],{},[2363,26127,26128],{},"Git repository"," (GitHub, GitLab, Bitbucket with branch or tag pinning)",[192,26131,26133],{"className":23033,"code":26132,"language":23035,"meta":197,"style":197},"extends: ['github:org\u002Fnuxt-base-layer#v2.1.0']\n",[137,26134,26135],{"__ignoreMap":197},[201,26136,26137,26139,26141,26143,26145,26148,26150],{"class":203,"line":204},[201,26138,25977],{"class":207},[201,26140,271],{"class":260},[201,26142,274],{"class":256},[201,26144,277],{"class":260},[201,26146,26147],{"class":211},"github:org\u002Fnuxt-base-layer#v2.1.0",[201,26149,277],{"class":260},[201,26151,11187],{"class":256},[14,26153,26154],{},[2363,26155,26156],{},"npm package",[192,26158,26160],{"className":23033,"code":26159,"language":23035,"meta":197,"style":197},"extends: ['@your-org\u002Fnuxt-base-layer']\n",[137,26161,26162],{"__ignoreMap":197},[201,26163,26164,26166,26168,26170,26172,26175,26177],{"class":203,"line":204},[201,26165,25977],{"class":207},[201,26167,271],{"class":260},[201,26169,274],{"class":256},[201,26171,277],{"class":260},[201,26173,26174],{"class":211},"@your-org\u002Fnuxt-base-layer",[201,26176,277],{"class":260},[201,26178,11187],{"class":256},[14,26180,26181,26182,26184,26185,26188,26189,26192],{},"For npm packages, the ",[137,26183,22779],{}," should set ",[137,26186,26187],{},"\"main\": \".\u002Fnuxt.config.ts\""," so Nuxt resolves the layer entry point correctly. Access to private git repositories requires the ",[137,26190,26191],{},"GIGET_AUTH=\u003Ctoken>"," environment variable.",[18,26194,26196],{"id":26195},"dependency-and-path-resolution","Dependency and Path Resolution",[14,26198,26199],{},"Two areas require attention when authoring layers.",[14,26201,26202,26205,26206,955,26209,26212,26213,26216,26217,26219,26220,26222,26223,26226,26227,26229,26230,26233],{},[2363,26203,26204],{},"Aliases resolve to the consumer project, not the layer."," The ",[137,26207,26208],{},"~\u002F",[137,26210,26211],{},"@\u002F"," aliases always point to the root of the project consuming the layer, not to the layer's own root. If a composable inside a layer imports ",[137,26214,26215],{},"~\u002Futils\u002Fformat",", it resolves against the consumer's ",[137,26218,25801],{}," directory. This is intentional — it allows consumer projects to provide implementations that layers can rely on — but it produces confusing resolution failures if you assume ",[137,26221,26208],{}," refers to the layer itself. For internal layer imports, use relative paths or set a named alias by adding ",[137,26224,26225],{},"$meta: { name: 'my-layer' }"," to the layer's ",[137,26228,564],{},", which generates a ",[137,26231,26232],{},"#layers\u002Fmy-layer"," alias that works across boundaries.",[14,26235,26236,26239,26240,26243,26244,26247],{},[2363,26237,26238],{},"Remote layer dependencies must be production dependencies."," Remote layers installed from npm or git cannot hoist ",[137,26241,26242],{},"devDependencies"," into the consumer project. Any package a layer imports at runtime must be listed in ",[137,26245,26246],{},"dependencies"," so the consumer's package manager installs it.",[18,26249,26251],{"id":26250},"benefits-from-an-engineering-perspective","Benefits from an Engineering Perspective",[14,26253,26254,26257],{},[2363,26255,26256],{},"Maintainability at scale."," Shared logic lives in one place. A bug fix or interface change in a base composable propagates to all consuming applications automatically, rather than requiring synchronized updates across repositories.",[14,26259,26260,26263],{},[2363,26261,26262],{},"Separation of concerns."," Platform-level concerns — authentication, telemetry, error boundaries — are cleanly separated from product features. This mirrors the architectural principle of isolating stable infrastructure from volatile business logic.",[14,26265,26266,26269],{},[2363,26267,26268],{},"Team autonomy."," Each squad owns its layer. Shared layers are maintained by the team responsible for the shared surface, and changes propagate through the dependency graph rather than via manual copy-paste coordination.",[14,26271,26272,26275,26276,26278],{},[2363,26273,26274],{},"Consistent defaults."," A shared ",[137,26277,564],{}," in the base layer ensures all consuming applications start from the same module configuration, runtime config shape, and build settings. Configuration drift is opt-in, not accidental.",[18,26280,26282],{"id":26281},"limitations-and-trade-offs","Limitations and Trade-offs",[14,26284,26285,26288],{},[2363,26286,26287],{},"Complexity overhead."," Layers introduce indirection. When a component or composable is not in the local project directory, developers need to know which layer provided it and where that layer lives. Debugging resolution-order issues can be non-obvious, especially when multiple layers extend each other.",[14,26290,26291,26294],{},[2363,26292,26293],{},"Architectural discipline required."," The \"project always wins\" model is powerful but places responsibility on the layer author to design clear contracts. A layer that exposes too much internal coupling makes selective overriding difficult. Good layer design requires the same discipline as good library design — clear public surfaces, minimal internal dependencies, stable interfaces.",[14,26296,26297,26300],{},[2363,26298,26299],{},"Build tooling setup."," In monorepos, configuring TypeScript path mappings and IDE auto-import discovery to correctly understand layer aliases requires deliberate setup. HMR behavior across layer boundaries can also be slower than changes within a single project.",[14,26302,26303,26306],{},[2363,26304,26305],{},"Ecosystem coverage varies."," Not all Nuxt modules have been tested extensively against layer configurations. Edge cases with module initialization order and layer-provided configurations exist and may require workarounds in complex setups.",[14,26308,26309],{},"For single-application projects, this level of abstraction rarely pays off. Layers are most clearly worth the investment when you have multiple applications sharing a consistent base, or when you want to enforce organizational standards programmatically rather than through documentation alone.",[18,26311,26313],{"id":26312},"getting-started","Getting Started",[14,26315,26316],{},"A minimal working layer is a single file:",[192,26318,26320],{"className":23033,"code":26319,"language":23035,"meta":197,"style":197},"\u002F\u002F base-layer\u002Fnuxt.config.ts\nexport default defineNuxtConfig({})\n",[137,26321,26322,26327],{"__ignoreMap":197},[201,26323,26324],{"class":203,"line":204},[201,26325,26326],{"class":239},"\u002F\u002F base-layer\u002Fnuxt.config.ts\n",[201,26328,26329,26331,26333,26335,26337,26340],{"class":203,"line":224},[201,26330,246],{"class":245},[201,26332,249],{"class":245},[201,26334,253],{"class":252},[201,26336,257],{"class":256},[201,26338,26339],{"class":260},"{}",[201,26341,510],{"class":256},[14,26343,26344,26345,26347,26348,271],{},"From there, add components, composables, or pages as the use case requires. The consumer project references it via the ",[137,26346,25977],{}," array in its own ",[137,26349,564],{},[192,26351,26352],{"className":23033,"code":25632,"language":23035,"meta":197,"style":197},[137,26353,26354,26358,26370,26388],{"__ignoreMap":197},[201,26355,26356],{"class":203,"line":204},[201,26357,240],{"class":239},[201,26359,26360,26362,26364,26366,26368],{"class":203,"line":224},[201,26361,246],{"class":245},[201,26363,249],{"class":245},[201,26365,253],{"class":252},[201,26367,257],{"class":256},[201,26369,261],{"class":260},[201,26371,26372,26374,26376,26378,26380,26382,26384,26386],{"class":203,"line":264},[201,26373,25655],{"class":267},[201,26375,271],{"class":260},[201,26377,274],{"class":256},[201,26379,277],{"class":260},[201,26381,25664],{"class":211},[201,26383,277],{"class":260},[201,26385,284],{"class":256},[201,26387,287],{"class":260},[201,26389,26390,26392],{"class":203,"line":290},[201,26391,507],{"class":260},[201,26393,510],{"class":256},[14,26395,26396,26397,26400,26401,271],{},"To control the name and generate a stable ",[137,26398,26399],{},"#layers\u002F\u003Cname>"," alias, add ",[137,26402,26403],{},"$meta",[192,26405,26407],{"className":23033,"code":26406,"language":23035,"meta":197,"style":197},"\u002F\u002F base-layer\u002Fnuxt.config.ts\nexport default defineNuxtConfig({\n  $meta: { name: 'base' },\n})\n",[137,26408,26409,26413,26425,26447],{"__ignoreMap":197},[201,26410,26411],{"class":203,"line":204},[201,26412,26326],{"class":239},[201,26414,26415,26417,26419,26421,26423],{"class":203,"line":224},[201,26416,246],{"class":245},[201,26418,249],{"class":245},[201,26420,253],{"class":252},[201,26422,257],{"class":256},[201,26424,261],{"class":260},[201,26426,26427,26430,26432,26434,26436,26438,26440,26443,26445],{"class":203,"line":264},[201,26428,26429],{"class":267},"  $meta",[201,26431,271],{"class":260},[201,26433,631],{"class":260},[201,26435,3680],{"class":267},[201,26437,271],{"class":260},[201,26439,309],{"class":260},[201,26441,26442],{"class":211},"base",[201,26444,277],{"class":260},[201,26446,438],{"class":260},[201,26448,26449,26451],{"class":203,"line":290},[201,26450,507],{"class":260},[201,26452,510],{"class":256},[14,26454,26455,26456,26461,26462,26464,26465,26468],{},"The official documentation at ",[128,26457,26460],{"href":26458,"rel":26459},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002Fguide\u002Fgoing-further\u002Flayers",[4980],"nuxt.com\u002Fdocs\u002Fguide\u002Fgoing-further\u002Flayers"," covers the full list of auto-scanned directories, advanced ",[137,26463,26403],{}," configuration, the ",[137,26466,26467],{},"getLayerDirectories()"," Kit utility for module authors, and examples of npm-published layers.",[14,26470,26471],{},"If you are evaluating Nuxt Layers as part of a larger frontend architecture decision — monorepo setup, multi-app consistency, or team-scale component sharing — and want an experienced perspective, the Epicmax team has worked on large Nuxt projects across a range of industries.",[6170,26473],{"label":22616,"to":6173},[984,26475,26476],{},"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 .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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":197,"searchDepth":264,"depth":264,"links":26478},[26479,26482,26483,26484,26489,26490,26491,26492,26493],{"id":25618,"depth":224,"text":25619,"children":26480},[26481],{"id":25691,"depth":264,"text":25692},{"id":25843,"depth":224,"text":25844},{"id":25950,"depth":224,"text":25951},{"id":26043,"depth":224,"text":26044,"children":26485},[26486,26487,26488],{"id":26047,"depth":264,"text":26048},{"id":26070,"depth":264,"text":26071},{"id":26080,"depth":264,"text":26081},{"id":26093,"depth":224,"text":26094},{"id":26195,"depth":224,"text":26196},{"id":26250,"depth":224,"text":26251},{"id":26281,"depth":224,"text":26282},{"id":26312,"depth":224,"text":26313},"A technical guide to Nuxt Layers: how this architectural feature enables code reuse, modular design, and scalable frontend architecture across Nuxt 3 applications.","\u002Fimages\u002Fblog\u002Fnuxt-layers\u002Fcard.png",{},{"title":25604,"description":26494},"blog\u002Fnuxt-layers",[4669,26500,2822],"Architecture","MgLajHmpQbhUmDqJG7nYW51JLZzpyHNX36bhyqbr5uk",{"id":26503,"title":26504,"articleType":7,"author":12943,"authorSlug":1008,"body":26505,"cta":1008,"date":26741,"description":26742,"extension":1011,"faq":1008,"featured":1021,"image":26743,"meta":26744,"navigation":653,"noCtaBox":1021,"path":2272,"readTime":1008,"seo":26745,"seoTitle":1008,"stem":26746,"tags":26747,"topic":1032,"video":1008,"__hash__":26748},"blog\u002Fblog\u002Fnuxt4-migration.md","Time to Migrate Your App to Nuxt 4 Before January 2026",{"type":11,"value":26506,"toc":26733},[26507,26514,26517,26521,26524,26531,26535,26538,26570,26574,26577,26582,26629,26633,26644,26648,26654,26657,26662,26679,26684,26698,26702,26722,26731],[14,26508,26509,26510,26513],{},"If you are reading this in December 2025, you have about ",[2363,26511,26512],{},"one and a half months left"," before official maintenance for Nuxt 3 ends. This makes upgrading to Nuxt 4 not just a good idea but a necessary step for companies that care about long term stability, security, and compatibility.",[14,26515,26516],{},"Below is a complete overview of what changed in Nuxt 4, the official lifecycle timeline, and why migrating now is the safest strategic move for any serious Vue and Nuxt development team.",[18,26518,26520],{"id":26519},"evolution-from-nuxt-3-to-nuxt-4","Evolution from Nuxt 3 to Nuxt 4",[14,26522,26523],{},"Nuxt 3 (released in late 2022) established a strong foundation for modern applications with Vue 3, Nitro, Vite, the Composition API, DevTools, and built in TypeScript.",[14,26525,26526,26527,534],{},"Nuxt 4 builds on this foundation and improves the developer experience through cleaner defaults, stronger type safety, and faster tooling. These enhancements are not feature bloat but practical improvements that make Nuxt upgrades smoother and long term project maintenance more reliable, which is especially important for teams planning Nuxt migration or investing in ",[2363,26528,26529],{},[128,26530,926],{"href":925},[18,26532,26534],{"id":26533},"whats-new-in-nuxt-4","What's New in Nuxt 4",[14,26536,26537],{},"Here’s what sets Nuxt 4 apart:",[2357,26539,26540,26546,26552,26558,26564],{},[188,26541,26542,26545],{},[2363,26543,26544],{},"Cleaner Project Structure",": The new app\u002F directory separates app logic from configs, public assets, and node modules - making modules faster to watch and IDE support more accurate.",[188,26547,26548,26551],{},[2363,26549,26550],{},"Smarter Data Fetching",": Data hooks (useAsyncData, useFetch) now share data via a singleton layer, clean up after unmounting, and support reactive keys for auto-refetching with better caching strategies.",[188,26553,26554,26557],{},[2363,26555,26556],{},"Better TypeScript Integration",": Nuxt now generates separate TS configs for app, server, shared, and builder contexts. This reduces cross-environment errors and simplifies type safety.",[188,26559,26560,26563],{},[2363,26561,26562],{},"Faster CLI & Workflow",": Cold-starts are quicker, thanks to Node.js compile cache, native file watching, and socket-based communication between CLI and Vite. The result: noticeably smoother dev experience.",[188,26565,26566,26569],{},[2363,26567,26568],{},"Other Enhancements",": Improved default UI templates, normalized component naming, refactored head management with Unhead v2, prerendering via Nitro, and performance-conscious defaults (shallow reactivity, granular caching, etc.).",[18,26571,26573],{"id":26572},"nuxt-3-support-timeline-only-15-months-left","Nuxt 3 Support Timeline: Only 1.5 Months Left",[14,26575,26576],{},"Here is what the Nuxt team officially states in the public roadmap.",[14,26578,26579],{},[2363,26580,26581],{},"Official Nuxt Lifecycle",[2357,26583,26584,26592,26599,26607,26613,26626],{},[188,26585,26586,26588,26589,534],{},[2363,26587,4669],{}," is in maintenance mode and will continue receiving fixes and backports ",[2363,26590,26591],{},"until January 31, 2026",[188,26593,26594,26595,26598],{},"After that date, ",[2363,26596,26597],{},"Nuxt 3 enters EOL"," (End of Life). No more fixes or compatibility updates.",[188,26600,26601,26603,26604,534],{},[2363,26602,4672],{}," became the new stable major version on ",[2363,26605,26606],{},"July 15, 2025",[188,26608,26609,26610,534],{},"According to Nuxt’s support policy, each major version receives at least ",[2363,26611,26612],{},"6 months of support after the next major version is released",[188,26614,26615,26618,26619,26622,26623,534],{},[2363,26616,26617],{},"Nuxt 5"," is scheduled for ",[2363,26620,26621],{},"Q4 2025",", which means ",[2363,26624,26625],{},"Nuxt 4 will remain supported at least until mid 2026",[188,26627,26628],{},"Nuxt 5 is expected to become the next long term stable baseline with an extended support model similar to LTS.",[18,26630,26632],{"id":26631},"what-this-means-for-nuxt-migration-and-long-term-stability","What This Means for Nuxt Migration and Long Term Stability",[2357,26634,26635,26638,26641],{},[188,26636,26637],{},"If you are on Nuxt 3 today, support ends in January 2026. After that, your project runs on an unsupported version with no security or maintenance updates.",[188,26639,26640],{},"Migrating to Nuxt 4 gives you a supported and actively maintained framework with guaranteed stability into mid 2026 and beyond.",[188,26642,26643],{},"Once Nuxt 5 becomes stable, you will have a clear upgrade path from Nuxt 4 with strong ecosystem support.",[18,26645,26647],{"id":26646},"should-you-migrate-from-nuxt-3-to-nuxt-4-now","Should You Migrate from Nuxt 3 to Nuxt 4 Now?",[14,26649,26650,26651,534],{},"In December 2025 the answer is simple: ",[2363,26652,26653],{},"yes, it is time to migrate",[14,26655,26656],{},"There is no longer a long runway. Waiting until January risks facing module incompatibilities, missing security patches, and unnecessary tech debt.",[14,26658,26659],{},[2363,26660,26661],{},"Migrate to Nuxt 4 now if you want:",[2357,26663,26664,26667,26670,26673,26676],{},[188,26665,26666],{},"the improved app\u002F directory structure",[188,26668,26669],{},"smarter data fetching and predictable caching",[188,26671,26672],{},"stronger TypeScript ergonomics",[188,26674,26675],{},"faster development tooling",[188,26677,26678],{},"an officially supported version past January 2026",[14,26680,26681],{},[2363,26682,26683],{},"You can delay slightly only if:",[2357,26685,26686,26689,26692,26695],{},[188,26687,26688],{},"your app is in a critical release window",[188,26690,26691],{},"you use modules or custom layers that still need updates",[188,26693,26694],{},"you are already scheduling the migration for early 2026",[188,26696,26697],{},"But delaying until after January 31, 2026 is not recommended, because Nuxt 3 becomes fully unsupported.",[18,26699,26701],{"id":26700},"recommended-path-for-new-and-existing-projects","Recommended Path for New and Existing Projects",[2357,26703,26704,26710,26716],{},[188,26705,26706,26709],{},[2363,26707,26708],{},"New projects"," should start on Nuxt 4 or Nuxt 5 (if stable at the time).",[188,26711,26712,26715],{},[2363,26713,26714],{},"Existing Nuxt 3 projects"," should migrate within the next few weeks.",[188,26717,26718,26721],{},[2363,26719,26720],{},"Teams prioritizing long term stability"," should monitor the Nuxt 5 release and plan a follow up upgrade once the ecosystem stabilizes.",[14,26723,26724],{},[2363,26725,26726,26727,26730],{},"If you need expert Nuxt consulting, migration planning, or custom ",[128,26728,26729],{"href":1850},"Vue and Nuxt development",", book a free call with our tech lead.",[6170,26732],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":26734},[26735,26736,26737,26738,26739,26740],{"id":26519,"depth":224,"text":26520},{"id":26533,"depth":224,"text":26534},{"id":26572,"depth":224,"text":26573},{"id":26631,"depth":224,"text":26632},{"id":26646,"depth":224,"text":26647},{"id":26700,"depth":224,"text":26701},"2025-12-10","This guide covers everything you need to know about Nuxt 4 migration — what changed, and how to upgrade app before it runs on an unsupported version.","\u002Fimages\u002Fblog\u002Fnuxt4-migration\u002Fcard.png",{},{"title":26504,"description":26742},"blog\u002Fnuxt4-migration",[1030],"v7OYgB5uWhZKIsMbABS_UdvOIF6fVw1t-TOXurAG96o",{"id":26750,"title":26751,"articleType":7,"author":12943,"authorSlug":1008,"body":26752,"cta":1008,"date":28396,"description":28397,"extension":1011,"faq":1008,"featured":1021,"image":28398,"meta":28399,"navigation":653,"noCtaBox":1021,"path":12370,"readTime":1008,"seo":28400,"seoTitle":1008,"stem":28401,"tags":28402,"topic":1032,"video":1008,"__hash__":28403},"blog\u002Fblog\u002Fcomposition-api.md","Should You Refactor to Vue 3 Composition API? Practical Guide for Modern Vue Development",{"type":11,"value":26753,"toc":28375},[26754,26757,26764,26771,26774,26777,26795,26797,26818,26822,26893,26899,26903,26906,27082,27085,27238,27241,27245,27248,27266,27358,27361,27365,27373,27534,27539,27543,27546,27557,27562,27565,27569,27572,27589,27592,27596,27599,27610,27638,27641,27722,27725,27729,27732,27743,27746,27750,27761,27767,27772,27847,27850,27854,27857,27865,27868,27872,27875,27886,27889,27893,27896,27899,28205,28208,28212,28226,28230,28241,28245,28248,28259,28264,28268,28271,28285,28288,28293,28304,28309,28313,28316,28319,28339,28343,28357,28360,28370,28372],[14,26755,26756],{},"In Vue 3, the Composition API emerged as a more flexible and scalable alternative to the traditional Options API. It offers better maintainability and modularity, especially for larger or fast-growing applications.",[14,26758,26759,26760,26763],{},"But here’s the key point: the ",[2363,26761,26762],{},"Options API isn’t deprecated",". It remains fully supported and works perfectly well for many real-world use cases.",[14,26765,26766,26767,26770],{},"If you are currently ",[2363,26768,26769],{},"migrating to Vue 3",", this information is especially relevant. Understanding when to keep the Options API and when to adopt the Composition API can save you weeks of unnecessary refactoring and help you design a cleaner long-term architecture.",[14,26772,26773],{},"So the big question is: should you refactor your existing Vue 3 codebase from the Options API to the Composition API?",[14,26775,26776],{},"This guide is here to help tech leads, senior engineers, and curious developers evaluate the trade-offs with clarity and practical context. Let’s explore what you stand to gain, and what risks or complexities may appear, when switching to the Composition API.",[14,26778,26779,26780,534,26785,26788,26789],{},"This guide is written by Epicmax, a ",[2363,26781,26782],{},[128,26783,26784],{"href":1850},"Vue.js development agency",[26786,26787],"br",{},"\nIf you need help with frontend migration, book a ",[2363,26790,26791],{},[128,26792,26794],{"href":26793},"\u002Fcontact","consultation with our Vue.js expert.",[18,26796,20892],{"id":20891},[2357,26798,26799,26802,26805,26808,26811],{},[188,26800,26801],{},"✅ Composition API gives better scalability, reusability, and DX",[188,26803,26804],{},"🛡️ Options API still makes sense for small or stable projects",[188,26806,26807],{},"🤪 Composables make code more testable and modular",[188,26809,26810],{},"🔧 Composition API is TypeScript-native and future-proof",[188,26812,26813,26814,26817],{},"⚖️ You can ",[2363,26815,26816],{},"migrate Vue.js app gradually"," without rewriting your whole app",[18,26819,26821],{"id":26820},"key-differences-options-vs-composition","🧠 Key Differences: Options vs Composition",[26,26823,26824,26836],{},[29,26825,26826],{},[32,26827,26828,26831,26833],{},[35,26829,26830],{},"Feature",[35,26832,21042],{},[35,26834,26835],{},"Composition API",[51,26837,26838,26849,26860,26871,26882],{},[32,26839,26840,26843,26846],{},[56,26841,26842],{},"Code Organization",[56,26844,26845],{},"Structured by option type (data, etc.)",[56,26847,26848],{},"Grouped by feature logic",[32,26850,26851,26854,26857],{},[56,26852,26853],{},"Logic Reuse",[56,26855,26856],{},"Mixins (risk of conflicts)",[56,26858,26859],{},"Composables (modular, testable)",[32,26861,26862,26865,26868],{},[56,26863,26864],{},"TypeScript Support",[56,26866,26867],{},"More boilerplate, less inference",[56,26869,26870],{},"Strong inference, clean typing",[32,26872,26873,26876,26879],{},[56,26874,26875],{},"Learning Curve",[56,26877,26878],{},"Beginner-friendly",[56,26880,26881],{},"Needs JS\u002Freactivity understanding",[32,26883,26884,26887,26890],{},[56,26885,26886],{},"Ecosystem Support",[56,26888,26889],{},"Works, but fading",[56,26891,26892],{},"Native to Nuxt 3, Vue Router, Pinia, etc.",[14,26894,26895,26898],{},[2363,26896,26897],{},"Official guidance:"," For small\u002Fmedium apps, Options API is fine. For full-scale applications, Composition API is preferred.",[18,26900,26902],{"id":26901},"maintainability-group-logic-by-feature","🔍 Maintainability: Group Logic by Feature",[14,26904,26905],{},"Options API forces you to split related logic:",[192,26907,26909],{"className":11083,"code":26908,"language":11085,"meta":197,"style":197},"\u002F\u002F Options API\nexport default {\n  data() {\n    return { name: '', email: '' }\n  },\n  computed: {\n    isValid() { return this.name && this.email.includes('@') }\n  },\n  methods: {\n    submit() {\n      if (this.isValid) alert(`Submitting: ${this.name}`)\n    }\n  }\n}\n",[137,26910,26911,26916,26924,26933,26957,26961,26970,27012,27016,27025,27034,27069,27074,27078],{"__ignoreMap":197},[201,26912,26913],{"class":203,"line":204},[201,26914,26915],{"class":239},"\u002F\u002F Options API\n",[201,26917,26918,26920,26922],{"class":203,"line":224},[201,26919,246],{"class":245},[201,26921,249],{"class":245},[201,26923,298],{"class":260},[201,26925,26926,26929,26931],{"class":203,"line":264},[201,26927,26928],{"class":267},"  data",[201,26930,6634],{"class":260},[201,26932,298],{"class":260},[201,26934,26935,26937,26939,26941,26943,26946,26948,26951,26953,26955],{"class":203,"line":290},[201,26936,25249],{"class":245},[201,26938,631],{"class":260},[201,26940,3680],{"class":267},[201,26942,271],{"class":260},[201,26944,26945],{"class":260}," ''",[201,26947,409],{"class":260},[201,26949,26950],{"class":267}," email",[201,26952,271],{"class":260},[201,26954,26945],{"class":260},[201,26956,15495],{"class":260},[201,26958,26959],{"class":203,"line":301},[201,26960,501],{"class":260},[201,26962,26963,26966,26968],{"class":203,"line":319},[201,26964,26965],{"class":267},"  computed",[201,26967,271],{"class":260},[201,26969,298],{"class":260},[201,26971,26972,26975,26977,26979,26982,26985,26987,26990,26992,26995,26997,27000,27002,27004,27006,27008,27010],{"class":203,"line":329},[201,26973,26974],{"class":267},"    isValid",[201,26976,6634],{"class":260},[201,26978,631],{"class":260},[201,26980,26981],{"class":245}," return",[201,26983,26984],{"class":260}," this.",[201,26986,7044],{"class":256},[201,26988,26989],{"class":260}," &&",[201,26991,26984],{"class":260},[201,26993,26994],{"class":256},"email",[201,26996,534],{"class":260},[201,26998,26999],{"class":252},"includes",[201,27001,257],{"class":267},[201,27003,277],{"class":260},[201,27005,18445],{"class":211},[201,27007,277],{"class":260},[201,27009,7300],{"class":267},[201,27011,724],{"class":260},[201,27013,27014],{"class":203,"line":346},[201,27015,501],{"class":260},[201,27017,27018,27021,27023],{"class":203,"line":363},[201,27019,27020],{"class":267},"  methods",[201,27022,271],{"class":260},[201,27024,298],{"class":260},[201,27026,27027,27030,27032],{"class":203,"line":380},[201,27028,27029],{"class":267},"    submit",[201,27031,6634],{"class":260},[201,27033,298],{"class":260},[201,27035,27036,27039,27041,27044,27047,27049,27052,27054,27056,27059,27061,27063,27065,27067],{"class":203,"line":391},[201,27037,27038],{"class":245},"      if",[201,27040,2142],{"class":267},[201,27042,27043],{"class":260},"this.",[201,27045,27046],{"class":256},"isValid",[201,27048,7300],{"class":267},[201,27050,27051],{"class":252},"alert",[201,27053,257],{"class":267},[201,27055,2993],{"class":260},[201,27057,27058],{"class":211},"Submitting: ",[201,27060,2999],{"class":260},[201,27062,27043],{"class":260},[201,27064,7044],{"class":256},[201,27066,3015],{"class":260},[201,27068,510],{"class":267},[201,27070,27071],{"class":203,"line":441},[201,27072,27073],{"class":260},"    }\n",[201,27075,27076],{"class":203,"line":484},[201,27077,7326],{"class":260},[201,27079,27080],{"class":203,"line":492},[201,27081,724],{"class":260},[14,27083,27084],{},"Composition API lets you keep everything in one place:",[192,27086,27088],{"className":1333,"code":27087,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nconst name = ref('')\nconst email = ref('')\nconst isValid = computed(() => name.value && email.value.includes('@'))\nfunction submit() {\n  if (isValid.value) alert(`Submitting: ${name.value}`)\n}\n\u003C\u002Fscript>\n",[137,27089,27090,27100,27118,27135,27181,27192,27226,27230],{"__ignoreMap":197},[201,27091,27092,27094,27096,27098],{"class":203,"line":204},[201,27093,1342],{"class":260},[201,27095,2936],{"class":267},[201,27097,2939],{"class":659},[201,27099,1718],{"class":260},[201,27101,27102,27104,27107,27109,27111,27113,27116],{"class":203,"line":224},[201,27103,660],{"class":659},[201,27105,27106],{"class":256}," name ",[201,27108,1353],{"class":260},[201,27110,9534],{"class":252},[201,27112,257],{"class":256},[201,27114,27115],{"class":260},"''",[201,27117,510],{"class":256},[201,27119,27120,27122,27125,27127,27129,27131,27133],{"class":203,"line":264},[201,27121,660],{"class":659},[201,27123,27124],{"class":256}," email ",[201,27126,1353],{"class":260},[201,27128,9534],{"class":252},[201,27130,257],{"class":256},[201,27132,27115],{"class":260},[201,27134,510],{"class":256},[201,27136,27137,27139,27142,27144,27146,27148,27150,27152,27154,27156,27158,27161,27163,27165,27167,27169,27171,27173,27175,27177,27179],{"class":203,"line":290},[201,27138,660],{"class":659},[201,27140,27141],{"class":256}," isValid ",[201,27143,1353],{"class":260},[201,27145,12245],{"class":252},[201,27147,257],{"class":256},[201,27149,6634],{"class":260},[201,27151,1999],{"class":659},[201,27153,3680],{"class":256},[201,27155,534],{"class":260},[201,27157,12300],{"class":256},[201,27159,27160],{"class":260},"&&",[201,27162,26950],{"class":256},[201,27164,534],{"class":260},[201,27166,3048],{"class":256},[201,27168,534],{"class":260},[201,27170,26999],{"class":252},[201,27172,257],{"class":256},[201,27174,277],{"class":260},[201,27176,18445],{"class":211},[201,27178,277],{"class":260},[201,27180,3488],{"class":256},[201,27182,27183,27185,27188,27190],{"class":203,"line":301},[201,27184,12104],{"class":659},[201,27186,27187],{"class":252}," submit",[201,27189,6634],{"class":260},[201,27191,298],{"class":260},[201,27193,27194,27196,27198,27200,27202,27204,27206,27208,27210,27212,27214,27216,27218,27220,27222,27224],{"class":203,"line":319},[201,27195,14747],{"class":245},[201,27197,2142],{"class":267},[201,27199,27046],{"class":256},[201,27201,534],{"class":260},[201,27203,3048],{"class":256},[201,27205,7300],{"class":267},[201,27207,27051],{"class":252},[201,27209,257],{"class":267},[201,27211,2993],{"class":260},[201,27213,27058],{"class":211},[201,27215,2999],{"class":260},[201,27217,7044],{"class":256},[201,27219,534],{"class":260},[201,27221,3048],{"class":256},[201,27223,3015],{"class":260},[201,27225,510],{"class":267},[201,27227,27228],{"class":203,"line":329},[201,27229,724],{"class":260},[201,27231,27232,27234,27236],{"class":203,"line":346},[201,27233,1760],{"class":260},[201,27235,2936],{"class":267},[201,27237,1718],{"class":260},[14,27239,27240],{},"Related code stays close — making it easier to read, debug, and extract.",[18,27242,27244],{"id":27243},"️-real-world-wins-modularity-reuse","🛠️ Real-World Wins: Modularity & Reuse",[14,27246,27247],{},"Mixins in Options API are often messy:",[2357,27249,27250,27253,27256,27259],{},[188,27251,27252],{},"Hidden dependencies",[188,27254,27255],{},"Naming conflicts",[188,27257,27258],{},"Hard to trace",[188,27260,27261,27262,27265],{},"With Composition API, ",[2363,27263,27264],{},"composables"," are just functions:",[192,27267,27269],{"className":11083,"code":27268,"language":11085,"meta":197,"style":197},"\u002F\u002F useFormValidation.ts\nexport function useFormValidation() {\n  const name = ref('')\n  const isValid = computed(() => name.value.length > 2)\n  return { name, isValid }\n}\n",[137,27270,27271,27276,27289,27305,27340,27354],{"__ignoreMap":197},[201,27272,27273],{"class":203,"line":204},[201,27274,27275],{"class":239},"\u002F\u002F useFormValidation.ts\n",[201,27277,27278,27280,27282,27285,27287],{"class":203,"line":224},[201,27279,246],{"class":245},[201,27281,6628],{"class":659},[201,27283,27284],{"class":252}," useFormValidation",[201,27286,6634],{"class":260},[201,27288,298],{"class":260},[201,27290,27291,27293,27295,27297,27299,27301,27303],{"class":203,"line":264},[201,27292,3379],{"class":659},[201,27294,3680],{"class":256},[201,27296,670],{"class":260},[201,27298,9534],{"class":252},[201,27300,257],{"class":267},[201,27302,27115],{"class":260},[201,27304,510],{"class":267},[201,27306,27307,27309,27312,27314,27316,27318,27320,27322,27324,27326,27328,27330,27333,27336,27338],{"class":203,"line":290},[201,27308,3379],{"class":659},[201,27310,27311],{"class":256}," isValid",[201,27313,670],{"class":260},[201,27315,12245],{"class":252},[201,27317,257],{"class":267},[201,27319,6634],{"class":260},[201,27321,1999],{"class":659},[201,27323,3680],{"class":256},[201,27325,534],{"class":260},[201,27327,3048],{"class":256},[201,27329,534],{"class":260},[201,27331,27332],{"class":256},"length",[201,27334,27335],{"class":260}," >",[201,27337,12306],{"class":1268},[201,27339,510],{"class":267},[201,27341,27342,27344,27346,27348,27350,27352],{"class":203,"line":301},[201,27343,2006],{"class":245},[201,27345,631],{"class":260},[201,27347,3680],{"class":256},[201,27349,409],{"class":260},[201,27351,27311],{"class":256},[201,27353,15495],{"class":260},[201,27355,27356],{"class":203,"line":319},[201,27357,724],{"class":260},[14,27359,27360],{},"Now you can reuse logic across components, test in isolation, and eliminate conflicts.",[18,27362,27364],{"id":27363},"testing-more-predictable-with-composables","🤪 Testing: More Predictable with Composables",[2357,27366,27367,27370],{},[188,27368,27369],{},"Options API: test everything via the component",[188,27371,27372],{},"Composition API: test logic directly via function",[192,27374,27376],{"className":11083,"code":27375,"language":11085,"meta":197,"style":197},"\u002F\u002F useCounter.ts\nexport function useCounter() {\n  const count = ref(0)\n  const increment = () => count.value++\n  return { count, increment }\n}\n\n\u002F\u002F useCounter.spec.ts\nconst { count, increment } = useCounter()\nexpect(count.value).toBe(0)\nincrement()\nexpect(count.value).toBe(1)\n",[137,27377,27378,27383,27396,27412,27434,27448,27452,27456,27461,27482,27506,27513],{"__ignoreMap":197},[201,27379,27380],{"class":203,"line":204},[201,27381,27382],{"class":239},"\u002F\u002F useCounter.ts\n",[201,27384,27385,27387,27389,27392,27394],{"class":203,"line":224},[201,27386,246],{"class":245},[201,27388,6628],{"class":659},[201,27390,27391],{"class":252}," useCounter",[201,27393,6634],{"class":260},[201,27395,298],{"class":260},[201,27397,27398,27400,27402,27404,27406,27408,27410],{"class":203,"line":264},[201,27399,3379],{"class":659},[201,27401,12150],{"class":256},[201,27403,670],{"class":260},[201,27405,9534],{"class":252},[201,27407,257],{"class":267},[201,27409,5803],{"class":1268},[201,27411,510],{"class":267},[201,27413,27414,27416,27419,27421,27423,27425,27427,27429,27431],{"class":203,"line":290},[201,27415,3379],{"class":659},[201,27417,27418],{"class":256}," increment",[201,27420,670],{"class":260},[201,27422,1996],{"class":260},[201,27424,1999],{"class":659},[201,27426,12150],{"class":256},[201,27428,534],{"class":260},[201,27430,3048],{"class":256},[201,27432,27433],{"class":260},"++\n",[201,27435,27436,27438,27440,27442,27444,27446],{"class":203,"line":301},[201,27437,2006],{"class":245},[201,27439,631],{"class":260},[201,27441,12150],{"class":256},[201,27443,409],{"class":260},[201,27445,27418],{"class":256},[201,27447,15495],{"class":260},[201,27449,27450],{"class":203,"line":319},[201,27451,724],{"class":260},[201,27453,27454],{"class":203,"line":329},[201,27455,654],{"emptyLinePlaceholder":653},[201,27457,27458],{"class":203,"line":346},[201,27459,27460],{"class":239},"\u002F\u002F useCounter.spec.ts\n",[201,27462,27463,27465,27467,27469,27471,27474,27476,27478,27480],{"class":203,"line":363},[201,27464,660],{"class":659},[201,27466,631],{"class":260},[201,27468,12150],{"class":256},[201,27470,409],{"class":260},[201,27472,27473],{"class":256}," increment ",[201,27475,507],{"class":260},[201,27477,670],{"class":260},[201,27479,27391],{"class":252},[201,27481,2967],{"class":256},[201,27483,27484,27487,27490,27492,27495,27497,27500,27502,27504],{"class":203,"line":380},[201,27485,27486],{"class":252},"expect",[201,27488,27489],{"class":256},"(count",[201,27491,534],{"class":260},[201,27493,27494],{"class":256},"value)",[201,27496,534],{"class":260},[201,27498,27499],{"class":252},"toBe",[201,27501,257],{"class":256},[201,27503,5803],{"class":1268},[201,27505,510],{"class":256},[201,27507,27508,27511],{"class":203,"line":391},[201,27509,27510],{"class":252},"increment",[201,27512,2967],{"class":256},[201,27514,27515,27517,27519,27521,27523,27525,27527,27529,27532],{"class":203,"line":441},[201,27516,27486],{"class":252},[201,27518,27489],{"class":256},[201,27520,534],{"class":260},[201,27522,27494],{"class":256},[201,27524,534],{"class":260},[201,27526,27499],{"class":252},[201,27528,257],{"class":256},[201,27530,27531],{"class":1268},"1",[201,27533,510],{"class":256},[2357,27535,27536],{},[188,27537,27538],{},"Smaller, faster, and cleaner tests.",[18,27540,27542],{"id":27541},"scalability-cleaner-refactors-better-architecture","📈 Scalability: Cleaner Refactors, Better Architecture",[14,27544,27545],{},"When your app grows, Composition API makes it easy to:",[2357,27547,27548,27551,27554],{},[188,27549,27550],{},"Extract feature logic to composables",[188,27552,27553],{},"Avoid bloated components",[188,27555,27556],{},"Reorganize without rewriting everything",[14,27558,27559],{},[14885,27560,27561],{},"“After migrating our enterprise app, feature velocity increased and onboarding time dropped.”",[14,27563,27564],{},"— Monterail Team",[18,27566,27568],{"id":27567},"ecosystem-fit-composition-is-the-default","🔐 Ecosystem Fit: Composition Is the Default",[14,27570,27571],{},"Most new Vue tools assume Composition API:",[2357,27573,27574,27580,27583,27586],{},[188,27575,27576,27577],{},"✅ Nuxt 3: ",[2936,27578,27579],{"setup":197}," is default",[188,27581,27582],{},"✅ Pinia: Composable stores",[188,27584,27585],{},"✅ Vue Router 4: useRoute() and useRouter()",[188,27587,27588],{},"✅ VueUse: 200+ utility composables",[14,27590,27591],{},"While Options API still works, many libraries assume you're using Composition API, leading to extra boilerplate when integrating.",[18,27593,27595],{"id":27594},"typescript-fewer-hacks-more-safety","🔧 TypeScript: Fewer Hacks, More Safety",[14,27597,27598],{},"Composition API:",[2357,27600,27601,27604,27607],{},[188,27602,27603],{},"Native TS support",[188,27605,27606],{},"Less boilerplate",[188,27608,27609],{},"Better autocomplete",[192,27611,27613],{"className":11083,"code":27612,"language":11085,"meta":197,"style":197},"const count = ref\u003Cnumber>(0)\n",[137,27614,27615],{"__ignoreMap":197},[201,27616,27617,27619,27621,27623,27625,27627,27630,27632,27634,27636],{"class":203,"line":204},[201,27618,660],{"class":659},[201,27620,12266],{"class":256},[201,27622,1353],{"class":260},[201,27624,9534],{"class":252},[201,27626,1342],{"class":260},[201,27628,27629],{"class":207},"number",[201,27631,3416],{"class":260},[201,27633,257],{"class":256},[201,27635,5803],{"class":1268},[201,27637,510],{"class":256},[14,27639,27640],{},"Options API supports TypeScript, but it requires more boilerplate and doesn't provide the same inference and generics support as Composition API:",[192,27642,27644],{"className":11083,"code":27643,"language":11085,"meta":197,"style":197},"import { defineComponent, PropType } from 'vue'\n\ndefineComponent({\n  props: {\n    count: Number as PropType\u003Cnumber>\n  }\n})\n",[137,27645,27646,27670,27674,27683,27692,27712,27716],{"__ignoreMap":197},[201,27647,27648,27650,27652,27655,27657,27660,27662,27664,27666,27668],{"class":203,"line":204},[201,27649,626],{"class":245},[201,27651,631],{"class":260},[201,27653,27654],{"class":256}," defineComponent",[201,27656,409],{"class":260},[201,27658,27659],{"class":256}," PropType",[201,27661,637],{"class":260},[201,27663,640],{"class":245},[201,27665,309],{"class":260},[201,27667,1335],{"class":211},[201,27669,648],{"class":260},[201,27671,27672],{"class":203,"line":224},[201,27673,654],{"emptyLinePlaceholder":653},[201,27675,27676,27679,27681],{"class":203,"line":264},[201,27677,27678],{"class":252},"defineComponent",[201,27680,257],{"class":256},[201,27682,261],{"class":260},[201,27684,27685,27688,27690],{"class":203,"line":290},[201,27686,27687],{"class":267},"  props",[201,27689,271],{"class":260},[201,27691,298],{"class":260},[201,27693,27694,27697,27699,27702,27704,27706,27708,27710],{"class":203,"line":301},[201,27695,27696],{"class":267},"    count",[201,27698,271],{"class":260},[201,27700,27701],{"class":256}," Number ",[201,27703,19276],{"class":245},[201,27705,27659],{"class":207},[201,27707,1342],{"class":260},[201,27709,27629],{"class":207},[201,27711,1718],{"class":260},[201,27713,27714],{"class":203,"line":319},[201,27715,7326],{"class":260},[201,27717,27718,27720],{"class":203,"line":329},[201,27719,507],{"class":260},[201,27721,510],{"class":256},[14,27723,27724],{},"You’ll write less code and get better DX.",[18,27726,27728],{"id":27727},"️-caveats-of-flexibility","⚖️ Caveats of Flexibility",[14,27730,27731],{},"Composition API gives you power — but with great freedom comes potential chaos:",[2357,27733,27734,27737,27740],{},[188,27735,27736],{},"Devs may organize code differently without conventions",[188,27738,27739],{},"Too much logic in setup() can get messy",[188,27741,27742],{},"Onboarding becomes harder without structure",[14,27744,27745],{},"✅ Use ESLint rules, layered structure, and naming conventions to stay sane.",[18,27747,27749],{"id":27748},"reactivity-gotchas","🤯 Reactivity Gotchas",[2357,27751,27752,27755,27758],{},[188,27753,27754],{},"ref() vs reactive() can confuse beginners",[188,27756,27757],{},"Destructuring removes reactivity",[188,27759,27760],{},"Don’t forget .value when using ref",[14,27762,27763,27766],{},[2363,27764,27765],{},"Tip:"," Use ref for primitives and reactive for objects. Avoid destructuring unless using toRefs() or storeToRefs().",[14,27768,27769],{},[2363,27770,27771],{},"Bonus:",[192,27773,27775],{"className":11083,"code":27774,"language":11085,"meta":197,"style":197},"const state = reactive({ count: 0 })\nconst { count } = state \u002F\u002F breaks reactivity\n\n\u002F\u002F Instead, use:\nconst { count } = toRefs(state)\n",[137,27776,27777,27803,27820,27824,27829],{"__ignoreMap":197},[201,27778,27779,27781,27784,27786,27789,27791,27793,27795,27797,27799,27801],{"class":203,"line":204},[201,27780,660],{"class":659},[201,27782,27783],{"class":256}," state ",[201,27785,1353],{"class":260},[201,27787,27788],{"class":252}," reactive",[201,27790,257],{"class":256},[201,27792,1620],{"class":260},[201,27794,12150],{"class":267},[201,27796,271],{"class":260},[201,27798,15344],{"class":1268},[201,27800,637],{"class":260},[201,27802,510],{"class":256},[201,27804,27805,27807,27809,27811,27813,27815,27817],{"class":203,"line":224},[201,27806,660],{"class":659},[201,27808,631],{"class":260},[201,27810,12266],{"class":256},[201,27812,507],{"class":260},[201,27814,670],{"class":260},[201,27816,27783],{"class":256},[201,27818,27819],{"class":239},"\u002F\u002F breaks reactivity\n",[201,27821,27822],{"class":203,"line":264},[201,27823,654],{"emptyLinePlaceholder":653},[201,27825,27826],{"class":203,"line":290},[201,27827,27828],{"class":239},"\u002F\u002F Instead, use:\n",[201,27830,27831,27833,27835,27837,27839,27841,27844],{"class":203,"line":301},[201,27832,660],{"class":659},[201,27834,631],{"class":260},[201,27836,12266],{"class":256},[201,27838,507],{"class":260},[201,27840,670],{"class":260},[201,27842,27843],{"class":252}," toRefs",[201,27845,27846],{"class":256},"(state)\n",[14,27848,27849],{},"Learn more in the official Vue reactivity documentation.",[18,27851,27853],{"id":27852},"team-skillset-onboarding","🧠 Team Skillset & Onboarding",[14,27855,27856],{},"Composition API assumes:",[2357,27858,27859,27862],{},[188,27860,27861],{},"Deeper JS knowledge (closures, reactivity, function scope)",[188,27863,27864],{},"Familiarity with typing patterns (TS)",[14,27866,27867],{},"For junior-heavy teams or short-term projects, Options API may still be faster.",[18,27869,27871],{"id":27870},"migration-strategy-no-need-for-a-big-bang","🔄 Migration Strategy: No Need for a Big Bang",[14,27873,27874],{},"Vue 3 lets you mix both APIs. Start small:",[2357,27876,27877,27880,27883],{},[188,27878,27879],{},"Write new features with Composition API",[188,27881,27882],{},"Refactor old components only when touched",[188,27884,27885],{},"Add setup() to Options components to ease in",[14,27887,27888],{},"Bonus: you can train the team gradually — no rewrite required.",[18,27890,27892],{"id":27891},"️-using-composables-in-options-api-components-hybrid-pain","🛡️ Using Composables in Options API Components (Hybrid Pain)",[14,27894,27895],{},"In Vue 3, composables replaced mixins — and they only work inside setup().",[14,27897,27898],{},"If your codebase still uses the Options API, using VueUse, Vue Router, Pinia, or even Nuxt utilities becomes awkward. You’ll end up duplicating state, breaking reactivity, or writing glue code just to access core features.",[192,27900,27902],{"className":1333,"code":27901,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cdiv>\n    \u003Cp>Current route: {{ currentRoute.path }}\u003C\u002Fp>\n    \u003Cp>Window is {{ isLargeScreen ? 'large' : 'small' }}\u003C\u002Fp>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n\u003Cscript>\nimport { useRoute } from 'vue-router'\nimport { useMediaQuery } from '@vueuse\u002Fcore'\n\nexport default {\n  setup() {\n    const route = useRoute()\n    const isLargeScreen = useMediaQuery('(min-width: 1024px)')\n    return {\n      currentRoute: route,\n      isLargeScreen\n    }\n  },\n\n  data() {\n    return {\n      foo: 'bar'\n    }\n  },\n\n  created() {\n    \u002F\u002F Want to access `currentRoute` or `isLargeScreen` here?\n    \u002F\u002F Nope — it's not on `this`, it's in the setup return.\n    console.log('Cannot access composables from here')\n  }\n}\n\u003C\u002Fscript>\n",[137,27903,27904,27912,27920,27937,27954,27962,27970,27974,27982,28000,28020,28024,28032,28041,28053,28075,28081,28092,28097,28101,28105,28109,28117,28123,28137,28141,28145,28149,28158,28163,28168,28189,28193,28197],{"__ignoreMap":197},[201,27905,27906,27908,27910],{"class":203,"line":204},[201,27907,1342],{"class":260},[201,27909,1715],{"class":267},[201,27911,1718],{"class":260},[201,27913,27914,27916,27918],{"class":203,"line":224},[201,27915,1723],{"class":260},[201,27917,6013],{"class":267},[201,27919,1718],{"class":260},[201,27921,27922,27924,27926,27928,27931,27933,27935],{"class":203,"line":264},[201,27923,5556],{"class":260},[201,27925,14],{"class":267},[201,27927,3416],{"class":260},[201,27929,27930],{"class":256},"Current route: {{ currentRoute.path }}",[201,27932,1760],{"class":260},[201,27934,14],{"class":267},[201,27936,1718],{"class":260},[201,27938,27939,27941,27943,27945,27948,27950,27952],{"class":203,"line":290},[201,27940,5556],{"class":260},[201,27942,14],{"class":267},[201,27944,3416],{"class":260},[201,27946,27947],{"class":256},"Window is {{ isLargeScreen ? 'large' : 'small' }}",[201,27949,1760],{"class":260},[201,27951,14],{"class":267},[201,27953,1718],{"class":260},[201,27955,27956,27958,27960],{"class":203,"line":301},[201,27957,5608],{"class":260},[201,27959,6013],{"class":267},[201,27961,1718],{"class":260},[201,27963,27964,27966,27968],{"class":203,"line":319},[201,27965,1760],{"class":260},[201,27967,1715],{"class":267},[201,27969,1718],{"class":260},[201,27971,27972],{"class":203,"line":329},[201,27973,654],{"emptyLinePlaceholder":653},[201,27975,27976,27978,27980],{"class":203,"line":346},[201,27977,1342],{"class":260},[201,27979,2936],{"class":267},[201,27981,1718],{"class":260},[201,27983,27984,27986,27988,27990,27992,27994,27996,27998],{"class":203,"line":363},[201,27985,626],{"class":245},[201,27987,631],{"class":260},[201,27989,2964],{"class":256},[201,27991,637],{"class":260},[201,27993,640],{"class":245},[201,27995,309],{"class":260},[201,27997,16172],{"class":211},[201,27999,648],{"class":260},[201,28001,28002,28004,28006,28009,28011,28013,28015,28018],{"class":203,"line":380},[201,28003,626],{"class":245},[201,28005,631],{"class":260},[201,28007,28008],{"class":256}," useMediaQuery",[201,28010,637],{"class":260},[201,28012,640],{"class":245},[201,28014,309],{"class":260},[201,28016,28017],{"class":211},"@vueuse\u002Fcore",[201,28019,648],{"class":260},[201,28021,28022],{"class":203,"line":391},[201,28023,654],{"emptyLinePlaceholder":653},[201,28025,28026,28028,28030],{"class":203,"line":441},[201,28027,246],{"class":245},[201,28029,249],{"class":245},[201,28031,298],{"class":260},[201,28033,28034,28037,28039],{"class":203,"line":484},[201,28035,28036],{"class":267},"  setup",[201,28038,6634],{"class":260},[201,28040,298],{"class":260},[201,28042,28043,28045,28047,28049,28051],{"class":203,"line":492},[201,28044,19770],{"class":659},[201,28046,5755],{"class":256},[201,28048,670],{"class":260},[201,28050,2964],{"class":252},[201,28052,2967],{"class":267},[201,28054,28055,28057,28060,28062,28064,28066,28068,28071,28073],{"class":203,"line":498},[201,28056,19770],{"class":659},[201,28058,28059],{"class":256}," isLargeScreen",[201,28061,670],{"class":260},[201,28063,28008],{"class":252},[201,28065,257],{"class":267},[201,28067,277],{"class":260},[201,28069,28070],{"class":211},"(min-width: 1024px)",[201,28072,277],{"class":260},[201,28074,510],{"class":267},[201,28076,28077,28079],{"class":203,"line":504},[201,28078,25249],{"class":245},[201,28080,298],{"class":260},[201,28082,28083,28086,28088,28090],{"class":203,"line":5949},[201,28084,28085],{"class":267},"      currentRoute",[201,28087,271],{"class":260},[201,28089,5755],{"class":256},[201,28091,287],{"class":260},[201,28093,28094],{"class":203,"line":5956},[201,28095,28096],{"class":256},"      isLargeScreen\n",[201,28098,28099],{"class":203,"line":5965},[201,28100,27073],{"class":260},[201,28102,28103],{"class":203,"line":5970},[201,28104,501],{"class":260},[201,28106,28107],{"class":203,"line":5979},[201,28108,654],{"emptyLinePlaceholder":653},[201,28110,28111,28113,28115],{"class":203,"line":5988},[201,28112,26928],{"class":267},[201,28114,6634],{"class":260},[201,28116,298],{"class":260},[201,28118,28119,28121],{"class":203,"line":6008},[201,28120,25249],{"class":245},[201,28122,298],{"class":260},[201,28124,28125,28128,28130,28132,28135],{"class":203,"line":6029},[201,28126,28127],{"class":267},"      foo",[201,28129,271],{"class":260},[201,28131,309],{"class":260},[201,28133,28134],{"class":211},"bar",[201,28136,648],{"class":260},[201,28138,28139],{"class":203,"line":6038},[201,28140,27073],{"class":260},[201,28142,28143],{"class":203,"line":24104},[201,28144,501],{"class":260},[201,28146,28147],{"class":203,"line":24119},[201,28148,654],{"emptyLinePlaceholder":653},[201,28150,28151,28154,28156],{"class":203,"line":24134},[201,28152,28153],{"class":267},"  created",[201,28155,6634],{"class":260},[201,28157,298],{"class":260},[201,28159,28160],{"class":203,"line":24149},[201,28161,28162],{"class":239},"    \u002F\u002F Want to access `currentRoute` or `isLargeScreen` here?\n",[201,28164,28165],{"class":203,"line":24164},[201,28166,28167],{"class":239},"    \u002F\u002F Nope — it's not on `this`, it's in the setup return.\n",[201,28169,28170,28173,28175,28178,28180,28182,28185,28187],{"class":203,"line":24170},[201,28171,28172],{"class":256},"    console",[201,28174,534],{"class":260},[201,28176,28177],{"class":252},"log",[201,28179,257],{"class":267},[201,28181,277],{"class":260},[201,28183,28184],{"class":211},"Cannot access composables from here",[201,28186,277],{"class":260},[201,28188,510],{"class":267},[201,28190,28191],{"class":203,"line":24178},[201,28192,7326],{"class":260},[201,28194,28195],{"class":203,"line":24193},[201,28196,724],{"class":260},[201,28198,28199,28201,28203],{"class":203,"line":24207},[201,28200,1760],{"class":260},[201,28202,2936],{"class":267},[201,28204,1718],{"class":260},[14,28206,28207],{},"Note: You can access composables in the template and setup() return, but not inside created() or methods() via this. That's because setup() and Options parts run in parallel and are not merged.",[18,28209,28211],{"id":28210},"why-this-feels-painful","🔥 Why This Feels Painful",[2357,28213,28214,28217,28220,28223],{},[188,28215,28216],{},"Composables can’t be used in data(), created(), or methods() unless you restructure your code to use setup() too.",[188,28218,28219],{},"You lose access to this, so you end up in a weird hybrid state.",[188,28221,28222],{},"You’re forced to migrate incrementally anyway, or wrap composables in extra glue code.",[188,28224,28225],{},"You might end up duplicating state (some in data(), some from ref()), which creates bugs.",[18,28227,28229],{"id":28228},"how-teams-typically-respond","✅ How Teams Typically Respond",[2357,28231,28232,28235,28238],{},[188,28233,28234],{},"Copy\u002Fpaste the composable logic into a method or mixin (bad DX)",[188,28236,28237],{},"Wrap composables inside plugins or workarounds (gross)",[188,28239,28240],{},"Start using setup() in Options components, which leads to full Composition migration",[18,28242,28244],{"id":28243},"️-when-to-stick-with-options-api","🛠️ When to Stick with Options API",[14,28246,28247],{},"Keep Options API if:",[2357,28249,28250,28253,28256],{},[188,28251,28252],{},"Your project is simple and stable",[188,28254,28255],{},"Your team is mostly juniors",[188,28257,28258],{},"You don’t use advanced Vue 3 features",[14,28260,28261],{},[2363,28262,28263],{},"Composition API is not a must. It’s a tool — use it when it solves problems.",[18,28265,28267],{"id":28266},"final-thoughts","✅ Final Thoughts",[14,28269,28270],{},"Refactoring from Options to Composition API can bring:",[2357,28272,28273,28276,28279,28282],{},[188,28274,28275],{},"💡 Better modularity & testability",[188,28277,28278],{},"⚙️ Clean, scalable architecture",[188,28280,28281],{},"🗖️ Native ecosystem support",[188,28283,28284],{},"✨ Modern tooling & TS integration",[14,28286,28287],{},"But you don’t need to do it all at once.",[14,28289,28290],{},[2363,28291,28292],{},"Recommended approach:",[2357,28294,28295,28298,28301],{},[188,28296,28297],{},"New code? ✅ Use Composition API",[188,28299,28300],{},"Existing code? ♻️ Migrate when relevant",[188,28302,28303],{},"Simple legacy parts? 🛡️ Leave as-is",[14,28305,28306],{},[2363,28307,28308],{},"Vue gives you the flexibility to evolve at your own pace.",[18,28310,28312],{"id":28311},"try-it-yourself","🚀 Try It Yourself",[14,28314,28315],{},"Refactor one component. Create one composable.",[14,28317,28318],{},"You’ll see why more teams are choosing Composition API in 2025 and beyond.",[192,28320,28322],{"className":194,"code":28321,"language":196,"meta":197,"style":197},"npm create vue@latest\n# Choose: \"Composition API + \u003Cscript setup>\"\n",[137,28323,28324,28334],{"__ignoreMap":197},[201,28325,28326,28328,28331],{"class":203,"line":204},[201,28327,578],{"class":207},[201,28329,28330],{"class":211}," create",[201,28332,28333],{"class":211}," vue@latest\n",[201,28335,28336],{"class":203,"line":224},[201,28337,28338],{"class":239},"# Choose: \"Composition API + \u003Cscript setup>\"\n",[18,28340,28342],{"id":28341},"get-started-stay-modern-grow-with-vue","Get started. Stay modern. Grow with Vue.",[14,28344,28345,28346,28350,28351,28356],{},"If you’re planning a ",[2363,28347,28348],{},[128,28349,17653],{"href":17584},", refactoring legacy Options API code, looking to ",[2363,28352,28353],{},[128,28354,28355],{"href":2719},"upgrade Nuxt",", or want a second opinion on your frontend architecture, the Epicmax team is happy to help.",[14,28358,28359],{},"For over 8 years, we’ve worked exclusively with Vue and helped teams modernize large codebases safely and incrementally.",[14,28361,28362,28363,28369],{},"Book a ",[2363,28364,28365],{},[128,28366,28368],{"href":6173,"rel":28367},[4980],"free Vue.js consultation"," to discuss your case.",[6170,28371],{"label":22616,"to":6173},[984,28373,28374],{},"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 .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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":197,"searchDepth":264,"depth":264,"links":28376},[28377,28378,28379,28380,28381,28382,28383,28384,28385,28386,28387,28388,28389,28390,28391,28392,28393,28394,28395],{"id":20891,"depth":224,"text":20892},{"id":26820,"depth":224,"text":26821},{"id":26901,"depth":224,"text":26902},{"id":27243,"depth":224,"text":27244},{"id":27363,"depth":224,"text":27364},{"id":27541,"depth":224,"text":27542},{"id":27567,"depth":224,"text":27568},{"id":27594,"depth":224,"text":27595},{"id":27727,"depth":224,"text":27728},{"id":27748,"depth":224,"text":27749},{"id":27852,"depth":224,"text":27853},{"id":27870,"depth":224,"text":27871},{"id":27891,"depth":224,"text":27892},{"id":28210,"depth":224,"text":28211},{"id":28228,"depth":224,"text":28229},{"id":28243,"depth":224,"text":28244},{"id":28266,"depth":224,"text":28267},{"id":28311,"depth":224,"text":28312},{"id":28341,"depth":224,"text":28342},"2025-12-08","Learn when to refactor Vue 3 apps from Options API to Composition API. Benefits, pitfalls, real examples, scalability insights, and a practical migration strategy.","\u002Fimages\u002Fblog\u002Fcomposition-api\u002Fcard.png",{},{"title":26751,"description":28397},"blog\u002Fcomposition-api",[2822],"anTfH7w2SR2cK4H1AiF7Mz6NdZ9K4UTsW4DmdT1BJaM",{"id":28405,"title":28406,"articleType":7,"author":12943,"authorSlug":1008,"body":28407,"cta":1008,"date":28396,"description":29816,"extension":1011,"faq":1008,"featured":1021,"image":29817,"meta":29818,"navigation":653,"noCtaBox":1021,"path":10165,"readTime":1008,"seo":29819,"seoTitle":1008,"stem":29820,"tags":29821,"topic":2823,"video":1008,"__hash__":29822},"blog\u002Fblog\u002Fvite-vs-webpack.md","Why Vite Is Better for Vue.js Development: Benchmarks, Build Speed and Migration Guide",{"type":11,"value":28408,"toc":29798},[28409,28412,28415,28428,28431,28436,28444,28450,28452,28524,28527,28533,28544,28549,28560,28564,28579,28602,28615,28618,28621,28625,28628,28635,28741,28744,28751,29260,29263,29270,29274,29277,29345,29351,29355,29358,29364,29381,29385,29388,29391,29406,29409,29413,29482,29485,29489,29492,29506,29509,29513,29516,29519,29551,29561,29569,29574,29579,29599,29603,29606,29609,29637,29640,29644,29647,29673,29676,29680,29683,29700,29704,29772,29774,29777,29781,29784,29790,29793,29795],[14,28410,28411],{},"👋 How do you choose a build tool for a modern Vue 3 project? Which one is better — Webpack or Vite?",[14,28413,28414],{},"In this article, you’ll find a comparison of Vite and Webpack based on real usage, focused on performance, developer experience (DX), SSR, plugin ecosystem, and CI\u002FCD speed.",[14,28416,28417,28418,28423,28424,28427],{},"At Epicmax, we’ve been providing ",[2363,28419,28420],{},[128,28421,28422],{"href":1850},"Vue.js development services"," for the past 8 years, and we use Vite for many of our Vue.js projects. But we never push tools just for the sake of it — in this article, we compare both options fairly and provide a clear checklist to help you understand when to ",[2363,28425,28426],{},"migrate to Vite"," and when Webpack is still the better choice.",[14,28429,28430],{},"We’re not claiming Vite is universally better. The goal is to show when switching is worth the effort and when it’s not.",[14,28432,28433],{},[2363,28434,28435],{},"Key differences between Vite and Webpack:",[2357,28437,28438,28441],{},[188,28439,28440],{},"Vite serves native ES modules and uses esbuild, written in Go — fast and parallel.",[188,28442,28443],{},"Webpack offers deep extensibility, proven stability, and native Module Federation.",[14,28445,28446,28447,28449],{},"If you're maintaining a complex monorepo with legacy setups, Webpack may still be the safer choice.",[26786,28448],{},"\nBut for most new Vue 3 applications, especially in Nuxt 3, Vite delivers better results with less configuration and much faster iteration.",[18,28451,20892],{"id":20891},[26,28453,28454,28467],{},[29,28455,28456],{},[32,28457,28458,28461,28464],{},[35,28459,28460],{},"What you gain",[35,28462,28463],{},"Vite (esbuild)",[35,28465,28466],{},"Webpack",[51,28468,28469,28480,28491,28502,28513],{},[32,28470,28471,28474,28477],{},[56,28472,28473],{},"Dev-server cold start",[56,28475,28476],{},"≈ 0.10 s",[56,28478,28479],{},"≈ 10–30 s",[32,28481,28482,28485,28488],{},[56,28483,28484],{},"HMR latency",[56,28486,28487],{},"≈ 50 ms",[56,28489,28490],{},"≈ 3–5 s",[32,28492,28493,28496,28499],{},[56,28494,28495],{},"Prod build time (TS project)",[56,28497,28498],{},"≈ 0.10–0.39 s",[56,28500,28501],{},"≈ 16–41 s",[32,28503,28504,28507,28510],{},[56,28505,28506],{},"Bundle size (default config)",[56,28508,28509],{},"832.99 KiB (81.82 gz)",[56,28511,28512],{},"868.34 KiB (83.20 gz)",[32,28514,28515,28518,28521],{},[56,28516,28517],{},"Built-in Module Federation",[56,28519,28520],{},"via plugin (vite-plugin-federation)",[56,28522,28523],{},"native",[14,28525,28526],{},"Note: Production build times are taken from esbuild's official benchmark and reflect what's possible under ideal, JS-only conditions. Real-world Vue apps will see slightly longer build times due to additional processing steps—but the overall trend of significantly faster builds with Vite holds consistently true.",[14,28528,28529,28532],{},[2363,28530,28531],{},"Stay with Vite"," if:",[2357,28534,28535,28538,28541],{},[188,28536,28537],{},"You’re starting a Vue 3 \u002F Nuxt 3 app",[188,28539,28540],{},"Iteration speed and simpler DX matter",[188,28542,28543],{},"You don’t need custom Webpack plugins",[14,28545,28546,28532],{},[2363,28547,28548],{},"Stay with Webpack",[2357,28550,28551,28554,28557],{},[188,28552,28553],{},"You use Module Federation at scale",[188,28555,28556],{},"You rely on custom loaders or legacy CI",[188,28558,28559],{},"Your project spans many apps\u002Fpackages built around Webpack",[18,28561,28563],{"id":28562},"benchmarks-methodology","📊 Benchmarks & Methodology",[14,28565,28566,28567,28572,28573,28578],{},"We’ve based our comparison on ",[128,28568,28571],{"href":28569,"rel":28570},"https:\u002F\u002Fesbuild.github.io\u002Ffaq\u002F#benchmark-details",[4980],"esbuild’s official benchmark"," and the excellent ",[128,28574,28577],{"href":28575,"rel":28576},"https:\u002F\u002Fgithub.com\u002Fs1owjke\u002Fjs-bundler-benchmark",[4980],"js-bundler-benchmark by s1owjke",". These are reproducible, open-source benchmarks that you can try yourself.",[2357,28580,28581,28588,28595],{},[188,28582,28583,28584,28587],{},"All tests use ",[2363,28585,28586],{},"default configs"," for both Vite and Webpack.",[188,28589,28590,28591,28594],{},"For Webpack, the setup uses ",[2363,28592,28593],{},"Babel + Terser",", which is common in Vue CLI projects.",[188,28596,28597,28598,28601],{},"For Vite, the build is powered by ",[2363,28599,28600],{},"Rollup",", known for excellent tree-shaking.",[14,28603,28604,28605,4576,28608,4797,28611,28614],{},"Even when tuned, Webpack still struggles to match Vite’s performance in ",[2363,28606,28607],{},"cold starts",[2363,28609,28610],{},"HMR",[2363,28612,28613],{},"build times",". The difference in bundle size is small (~4%), but consistent — thanks to Rollup’s aggressive tree-shaking.",[14,28616,28617],{},"These benchmarks aren’t Vue-specific — they use real-world projects like React apps, Rome, and three.js — but still reflect general bundler performance and trends that apply across modern frontend stacks.",[14,28619,28620],{},"✅ We chose these sources because they’re open, easy to reproduce, and reflect actual project structure. If you’re curious, clone the repo and test it on your machine.",[18,28622,28624],{"id":28623},"️-configuration-developer-experience","🛠️ Configuration & Developer Experience",[14,28626,28627],{},"Speed isn’t the only thing that matters — developer experience plays a big role in how productive and enjoyable your workflow is. Let’s look at a real example of how Vite and Webpack configs typically compare in Vue projects.",[2357,28629,28630],{},[188,28631,28632,28634],{},[2363,28633,6326],{},": With ~30–60 lines of vite.config.ts, you get Vue SFC support, TypeScript, CSS modules, asset handling, and source maps out of the box. It uses modern standards like native ESM and import.meta.env, which simplify both code and tooling.",[192,28636,28638],{"className":11083,"code":28637,"language":11085,"meta":197,"style":197},"\u002F\u002F vite.config.ts\nimport { defineConfig } from 'vite'\nimport vue from '@vitejs\u002Fplugin-vue'\n\nexport default defineConfig({\n  plugins: [vue()],\n  build: {\n    sourcemap: true,\n  },\n})\n",[137,28639,28640,28645,28663,28679,28683,28695,28711,28720,28731,28735],{"__ignoreMap":197},[201,28641,28642],{"class":203,"line":204},[201,28643,28644],{"class":239},"\u002F\u002F vite.config.ts\n",[201,28646,28647,28649,28651,28653,28655,28657,28659,28661],{"class":203,"line":224},[201,28648,626],{"class":245},[201,28650,631],{"class":260},[201,28652,23051],{"class":256},[201,28654,637],{"class":260},[201,28656,640],{"class":245},[201,28658,309],{"class":260},[201,28660,10158],{"class":211},[201,28662,648],{"class":260},[201,28664,28665,28667,28670,28672,28674,28677],{"class":203,"line":264},[201,28666,626],{"class":245},[201,28668,28669],{"class":256}," vue ",[201,28671,23381],{"class":245},[201,28673,309],{"class":260},[201,28675,28676],{"class":211},"@vitejs\u002Fplugin-vue",[201,28678,648],{"class":260},[201,28680,28681],{"class":203,"line":290},[201,28682,654],{"emptyLinePlaceholder":653},[201,28684,28685,28687,28689,28691,28693],{"class":203,"line":301},[201,28686,246],{"class":245},[201,28688,249],{"class":245},[201,28690,23051],{"class":252},[201,28692,257],{"class":256},[201,28694,261],{"class":260},[201,28696,28697,28700,28702,28704,28706,28709],{"class":203,"line":319},[201,28698,28699],{"class":267},"  plugins",[201,28701,271],{"class":260},[201,28703,274],{"class":256},[201,28705,1335],{"class":252},[201,28707,28708],{"class":256},"()]",[201,28710,287],{"class":260},[201,28712,28713,28716,28718],{"class":203,"line":329},[201,28714,28715],{"class":267},"  build",[201,28717,271],{"class":260},[201,28719,298],{"class":260},[201,28721,28722,28725,28727,28729],{"class":203,"line":346},[201,28723,28724],{"class":267},"    sourcemap",[201,28726,271],{"class":260},[201,28728,1865],{"class":1864},[201,28730,287],{"class":260},[201,28732,28733],{"class":203,"line":363},[201,28734,501],{"class":260},[201,28736,28737,28739],{"class":203,"line":380},[201,28738,507],{"class":260},[201,28740,510],{"class":256},[14,28742,28743],{},"✅ Covers most use cases without extra setup.",[2357,28745,28746],{},[188,28747,28748,28750],{},[2363,28749,28466],{},": The same setup requires 200–300+ lines. You'll likely use vue-loader, ts-loader, Babel, PostCSS, asset rules, and plugins for type checking, optimization, and dev server config. This can make maintenance harder, especially in large teams or older projects.",[192,28752,28754],{"className":11083,"code":28753,"language":11085,"meta":197,"style":197},"\u002F\u002F webpack.config.js\nconst path = require('path')\nconst { VueLoaderPlugin } = require('vue-loader')\nconst TerserPlugin = require('terser-webpack-plugin')\n\nmodule.exports = {\n  entry: '.\u002Fsrc\u002Fmain.js',\n  output: {\n    path: path.resolve(__dirname, 'dist'),\n    filename: 'bundle.js',\n  },\n  module: {\n    rules: [\n      { test: \u002F\\.vue$\u002F, loader: 'vue-loader' },\n      { test: \u002F\\.ts$\u002F, loader: 'ts-loader' },\n      { test: \u002F\\.css$\u002F, use: ['style-loader', 'css-loader', 'postcss-loader'] },\n      { test: \u002F\\.(png|svg|jpg|gif)$\u002F, type: 'asset' },\n    ],\n  },\n  resolve: {\n    extensions: ['.js', '.ts', '.vue'],\n  },\n  plugins: [new VueLoaderPlugin()],\n  optimization: {\n    minimize: true,\n    minimizer: [new TerserPlugin()],\n  },\n  devtool: 'source-map',\n}\n",[137,28755,28756,28761,28784,28810,28832,28836,28845,28861,28870,28900,28916,28920,28929,28938,28975,29008,29066,29119,29126,29130,29139,29176,29180,29198,29207,29218,29236,29240,29256],{"__ignoreMap":197},[201,28757,28758],{"class":203,"line":204},[201,28759,28760],{"class":239},"\u002F\u002F webpack.config.js\n",[201,28762,28763,28765,28768,28770,28773,28775,28777,28780,28782],{"class":203,"line":224},[201,28764,660],{"class":659},[201,28766,28767],{"class":256}," path ",[201,28769,1353],{"class":260},[201,28771,28772],{"class":252}," require",[201,28774,257],{"class":256},[201,28776,277],{"class":260},[201,28778,28779],{"class":211},"path",[201,28781,277],{"class":260},[201,28783,510],{"class":256},[201,28785,28786,28788,28790,28793,28795,28797,28799,28801,28803,28806,28808],{"class":203,"line":264},[201,28787,660],{"class":659},[201,28789,631],{"class":260},[201,28791,28792],{"class":256}," VueLoaderPlugin ",[201,28794,507],{"class":260},[201,28796,670],{"class":260},[201,28798,28772],{"class":252},[201,28800,257],{"class":256},[201,28802,277],{"class":260},[201,28804,28805],{"class":211},"vue-loader",[201,28807,277],{"class":260},[201,28809,510],{"class":256},[201,28811,28812,28814,28817,28819,28821,28823,28825,28828,28830],{"class":203,"line":290},[201,28813,660],{"class":659},[201,28815,28816],{"class":256}," TerserPlugin ",[201,28818,1353],{"class":260},[201,28820,28772],{"class":252},[201,28822,257],{"class":256},[201,28824,277],{"class":260},[201,28826,28827],{"class":211},"terser-webpack-plugin",[201,28829,277],{"class":260},[201,28831,510],{"class":256},[201,28833,28834],{"class":203,"line":301},[201,28835,654],{"emptyLinePlaceholder":653},[201,28837,28838,28841,28843],{"class":203,"line":319},[201,28839,28840],{"class":260},"module.exports",[201,28842,670],{"class":260},[201,28844,298],{"class":260},[201,28846,28847,28850,28852,28854,28857,28859],{"class":203,"line":329},[201,28848,28849],{"class":267},"  entry",[201,28851,271],{"class":260},[201,28853,309],{"class":260},[201,28855,28856],{"class":211},".\u002Fsrc\u002Fmain.js",[201,28858,277],{"class":260},[201,28860,287],{"class":260},[201,28862,28863,28866,28868],{"class":203,"line":346},[201,28864,28865],{"class":267},"  output",[201,28867,271],{"class":260},[201,28869,298],{"class":260},[201,28871,28872,28875,28877,28879,28881,28884,28887,28889,28891,28894,28896,28898],{"class":203,"line":363},[201,28873,28874],{"class":267},"    path",[201,28876,271],{"class":260},[201,28878,11106],{"class":256},[201,28880,534],{"class":260},[201,28882,28883],{"class":252},"resolve",[201,28885,28886],{"class":256},"(__dirname",[201,28888,409],{"class":260},[201,28890,309],{"class":260},[201,28892,28893],{"class":211},"dist",[201,28895,277],{"class":260},[201,28897,3779],{"class":256},[201,28899,287],{"class":260},[201,28901,28902,28905,28907,28909,28912,28914],{"class":203,"line":380},[201,28903,28904],{"class":267},"    filename",[201,28906,271],{"class":260},[201,28908,309],{"class":260},[201,28910,28911],{"class":211},"bundle.js",[201,28913,277],{"class":260},[201,28915,287],{"class":260},[201,28917,28918],{"class":203,"line":391},[201,28919,501],{"class":260},[201,28921,28922,28925,28927],{"class":203,"line":441},[201,28923,28924],{"class":267},"  module",[201,28926,271],{"class":260},[201,28928,298],{"class":260},[201,28930,28931,28934,28936],{"class":203,"line":484},[201,28932,28933],{"class":267},"    rules",[201,28935,271],{"class":260},[201,28937,388],{"class":256},[201,28939,28940,28942,28945,28947,28950,28953,28955,28958,28960,28962,28965,28967,28969,28971,28973],{"class":203,"line":492},[201,28941,7009],{"class":260},[201,28943,28944],{"class":267}," test",[201,28946,271],{"class":260},[201,28948,28949],{"class":260}," \u002F",[201,28951,28952],{"class":256},"\\.",[201,28954,1335],{"class":211},[201,28956,28957],{"class":245},"$",[201,28959,1850],{"class":260},[201,28961,409],{"class":260},[201,28963,28964],{"class":267}," loader",[201,28966,271],{"class":260},[201,28968,309],{"class":260},[201,28970,28805],{"class":211},[201,28972,277],{"class":260},[201,28974,438],{"class":260},[201,28976,28977,28979,28981,28983,28985,28987,28989,28991,28993,28995,28997,28999,29001,29004,29006],{"class":203,"line":498},[201,28978,7009],{"class":260},[201,28980,28944],{"class":267},[201,28982,271],{"class":260},[201,28984,28949],{"class":260},[201,28986,28952],{"class":256},[201,28988,232],{"class":211},[201,28990,28957],{"class":245},[201,28992,1850],{"class":260},[201,28994,409],{"class":260},[201,28996,28964],{"class":267},[201,28998,271],{"class":260},[201,29000,309],{"class":260},[201,29002,29003],{"class":211},"ts-loader",[201,29005,277],{"class":260},[201,29007,438],{"class":260},[201,29009,29010,29012,29014,29016,29018,29020,29023,29025,29027,29029,29032,29034,29036,29038,29041,29043,29045,29047,29050,29052,29054,29056,29059,29061,29064],{"class":203,"line":504},[201,29011,7009],{"class":260},[201,29013,28944],{"class":267},[201,29015,271],{"class":260},[201,29017,28949],{"class":260},[201,29019,28952],{"class":256},[201,29021,29022],{"class":211},"css",[201,29024,28957],{"class":245},[201,29026,1850],{"class":260},[201,29028,409],{"class":260},[201,29030,29031],{"class":267}," use",[201,29033,271],{"class":260},[201,29035,274],{"class":256},[201,29037,277],{"class":260},[201,29039,29040],{"class":211},"style-loader",[201,29042,277],{"class":260},[201,29044,409],{"class":260},[201,29046,309],{"class":260},[201,29048,29049],{"class":211},"css-loader",[201,29051,277],{"class":260},[201,29053,409],{"class":260},[201,29055,309],{"class":260},[201,29057,29058],{"class":211},"postcss-loader",[201,29060,277],{"class":260},[201,29062,29063],{"class":256},"] ",[201,29065,11142],{"class":260},[201,29067,29068,29070,29072,29074,29076,29078,29080,29083,29085,29088,29090,29093,29095,29098,29100,29102,29104,29106,29108,29110,29112,29115,29117],{"class":203,"line":5949},[201,29069,7009],{"class":260},[201,29071,28944],{"class":267},[201,29073,271],{"class":260},[201,29075,28949],{"class":260},[201,29077,28952],{"class":256},[201,29079,257],{"class":260},[201,29081,29082],{"class":211},"png",[201,29084,21318],{"class":260},[201,29086,29087],{"class":211},"svg",[201,29089,21318],{"class":260},[201,29091,29092],{"class":211},"jpg",[201,29094,21318],{"class":260},[201,29096,29097],{"class":211},"gif",[201,29099,3779],{"class":260},[201,29101,28957],{"class":245},[201,29103,1850],{"class":260},[201,29105,409],{"class":260},[201,29107,426],{"class":267},[201,29109,271],{"class":260},[201,29111,309],{"class":260},[201,29113,29114],{"class":211},"asset",[201,29116,277],{"class":260},[201,29118,438],{"class":260},[201,29120,29121,29124],{"class":203,"line":5956},[201,29122,29123],{"class":256},"    ]",[201,29125,287],{"class":260},[201,29127,29128],{"class":203,"line":5965},[201,29129,501],{"class":260},[201,29131,29132,29135,29137],{"class":203,"line":5970},[201,29133,29134],{"class":267},"  resolve",[201,29136,271],{"class":260},[201,29138,298],{"class":260},[201,29140,29141,29144,29146,29148,29150,29153,29155,29157,29159,29162,29164,29166,29168,29170,29172,29174],{"class":203,"line":5979},[201,29142,29143],{"class":267},"    extensions",[201,29145,271],{"class":260},[201,29147,274],{"class":256},[201,29149,277],{"class":260},[201,29151,29152],{"class":211},".js",[201,29154,277],{"class":260},[201,29156,409],{"class":260},[201,29158,309],{"class":260},[201,29160,29161],{"class":211},".ts",[201,29163,277],{"class":260},[201,29165,409],{"class":260},[201,29167,309],{"class":260},[201,29169,9304],{"class":211},[201,29171,277],{"class":260},[201,29173,284],{"class":256},[201,29175,287],{"class":260},[201,29177,29178],{"class":203,"line":5988},[201,29179,501],{"class":260},[201,29181,29182,29184,29186,29188,29191,29194,29196],{"class":203,"line":6008},[201,29183,28699],{"class":267},[201,29185,271],{"class":260},[201,29187,274],{"class":256},[201,29189,29190],{"class":260},"new",[201,29192,29193],{"class":252}," VueLoaderPlugin",[201,29195,28708],{"class":256},[201,29197,287],{"class":260},[201,29199,29200,29203,29205],{"class":203,"line":6029},[201,29201,29202],{"class":267},"  optimization",[201,29204,271],{"class":260},[201,29206,298],{"class":260},[201,29208,29209,29212,29214,29216],{"class":203,"line":6038},[201,29210,29211],{"class":267},"    minimize",[201,29213,271],{"class":260},[201,29215,1865],{"class":1864},[201,29217,287],{"class":260},[201,29219,29220,29223,29225,29227,29229,29232,29234],{"class":203,"line":24104},[201,29221,29222],{"class":267},"    minimizer",[201,29224,271],{"class":260},[201,29226,274],{"class":256},[201,29228,29190],{"class":260},[201,29230,29231],{"class":252}," TerserPlugin",[201,29233,28708],{"class":256},[201,29235,287],{"class":260},[201,29237,29238],{"class":203,"line":24119},[201,29239,501],{"class":260},[201,29241,29242,29245,29247,29249,29252,29254],{"class":203,"line":24134},[201,29243,29244],{"class":267},"  devtool",[201,29246,271],{"class":260},[201,29248,309],{"class":260},[201,29250,29251],{"class":211},"source-map",[201,29253,277],{"class":260},[201,29255,287],{"class":260},[201,29257,29258],{"class":203,"line":24149},[201,29259,724],{"class":260},[14,29261,29262],{},"💨 This doesn’t include .babelrc, .env config, or prod\u002Fdev mode splits — which are often needed.",[14,29264,29265,29266,29269],{},"Also worth noting: ",[2363,29267,29268],{},"most Webpack plugins now have Vite equivalents",", like vite-plugin-pwa, vite-plugin-legacy, or vite-plugin-federation. You won't be stuck looking for alternatives. And because Vite uses Rollup under the hood, many Rollup plugins work seamlessly too.",[18,29271,29273],{"id":29272},"dev-performance","📈 Dev Performance",[14,29275,29276],{},"Let’s wrap this section with a head-to-head snapshot of key development metrics based on real-world usage and open-source benchmarks:",[26,29278,29279,29289],{},[29,29280,29281],{},[32,29282,29283,29285,29287],{},[35,29284,11710],{},[35,29286,6326],{},[35,29288,28466],{},[51,29290,29291,29302,29313,29324,29335],{},[32,29292,29293,29296,29299],{},[56,29294,29295],{},"Cold Start",[56,29297,29298],{},"~0.10–0.90s",[56,29300,29301],{},"~10–30s",[32,29303,29304,29307,29310],{},[56,29305,29306],{},"HMR Patch Time",[56,29308,29309],{},"30–50ms",[56,29311,29312],{},"~3–5s",[32,29314,29315,29318,29321],{},[56,29316,29317],{},"Dev config lines",[56,29319,29320],{},"~30–60",[56,29322,29323],{},"200–300+",[32,29325,29326,29329,29332],{},[56,29327,29328],{},"TypeScript support",[56,29330,29331],{},"esbuild (fast) + plugin",[56,29333,29334],{},"ts-loader + Babel (slower)",[32,29336,29337,29339,29342],{},[56,29338,22734],{},[56,29340,29341],{},"Rollup-compatible",[56,29343,29344],{},"Mature but complex",[14,29346,29347,29348,29350],{},"Try swapping your dev config — the difference in iteration speed and simplicity becomes obvious fast.",[26786,29349],{},"\nWebpack can close the gap with tuning — caching, code splitting, lazy loading — but Vite gives strong defaults out of the box.",[18,29352,29354],{"id":29353},"production-ready-features-for-both","Production-Ready Features (for Both)",[14,29356,29357],{},"While much of the attention goes to dev speed, both Vite and Webpack are well-equipped for production-grade builds:",[14,29359,29360,29361],{},"✅ ",[2363,29362,29363],{},"Both support:",[2357,29365,29366,29369,29372,29375,29378],{},[188,29367,29368],{},"Source maps (build.sourcemap: true)",[188,29370,29371],{},"Sentry integration (sentry-webpack-plugin vs vite-plugin-sentry)",[188,29373,29374],{},"Legacy browser fallback (vite-plugin-legacy)",[188,29376,29377],{},"Cache busting via hashed filenames",[188,29379,29380],{},"CDN-ready asset loading via base and publicDir",[18,29382,29384],{"id":29383},"ssr-and-nuxt-3","SSR and Nuxt 3",[14,29386,29387],{},"Nuxt 3 bootstraps around Vite, providing first-class SSR out of the box. Webpack is still an option (legacy Nuxt 2), yet requires additional configuration for dual bundles and streaming. If you start green-field SSR today, Vite is simpler; if you maintain a mature Nuxt 2 estate, weigh migration effort against benefits.",[18,29389,26864],{"id":29390},"typescript-support",[2357,29392,29393,29398,29401],{},[188,29394,29395,29397],{},[2363,29396,6326],{},": esbuild transpiles TS fast, but doesn’t check types",[188,29399,29400],{},"Add vue-tsc --noEmit in CI or vite-plugin-checker",[188,29402,29403,29405],{},[2363,29404,28466],{},": Full type-checking during build (via ts-loader or Babel + fork-ts-checker-webpack-plugin), but builds are slower",[14,29407,29408],{},"Pick based on your enforcement level: fast feedback in dev or strict pipeline checks.",[18,29410,29412],{"id":29411},"plugin-ecosystem","Plugin Ecosystem",[26,29414,29415,29426],{},[29,29416,29417],{},[32,29418,29419,29422,29424],{},[35,29420,29421],{},"Capability",[35,29423,28466],{},[35,29425,6326],{},[51,29427,29428,29439,29449,29460,29471],{},[32,29429,29430,29433,29436],{},[56,29431,29432],{},"PWA",[56,29434,29435],{},"workbox-webpack-plugin",[56,29437,29438],{},"vite-plugin-pwa",[32,29440,29441,29444,29447],{},[56,29442,29443],{},"FederationvModuleFederationPlugin",[56,29445,29446],{},"vite-plugin-federation",[56,29448],{},[32,29450,29451,29454,29457],{},[56,29452,29453],{},"Legacy Browsers",[56,29455,29456],{},"Babel + config",[56,29458,29459],{},"vite-plugin-legacy",[32,29461,29462,29465,29468],{},[56,29463,29464],{},"Env Vars",[56,29466,29467],{},"process.env.X",[56,29469,29470],{},"import.meta.env.VITE_X",[32,29472,29473,29476,29479],{},[56,29474,29475],{},"SVGs inline",[56,29477,29478],{},"svg-inline-loader",[56,29480,29481],{},"vite-svg-loader",[14,29483,29484],{},"Rollup compatibility gives Vite access to 100s of existing plugins, plus it’s generally easier to read and maintain.",[18,29486,29488],{"id":29487},"microfrontends","Microfrontends",[14,29490,29491],{},"Microfrontends allow different teams to ship parts of the UI independently.",[2357,29493,29494,29500],{},[188,29495,29496,29499],{},[2363,29497,29498],{},"Vite:"," Works via plugin (vite-plugin-federation).",[188,29501,29502,29505],{},[2363,29503,29504],{},"Webpack:"," Native support with Module Federation.",[14,29507,29508],{},"Webpack still has the edge for large-scale MFEs. Vite’s ecosystem is catching up.",[18,29510,29512],{"id":29511},"how-to-migrate-from-webpack-to-vite","🔁 How to Migrate from Webpack to Vite",[14,29514,29515],{},"Already using Webpack? Migrating to Vite is often easier than you’d think.",[14,29517,29518],{},"Start simple:",[185,29520,29521,29527,29534,29542,29548],{},[188,29522,29523,29526],{},[2363,29524,29525],{},"Dev-only with Vite",", keep Webpack in production",[188,29528,29529,29530,29533],{},"Migrate ",[2363,29531,29532],{},"Storybook"," or internal UI preview first",[188,29535,25389,29536,29541],{},[128,29537,29540],{"href":29538,"rel":29539},"https:\u002F\u002Fgithub.com\u002FIndexXuan\u002Fvite-plugin-vue-cli",[4980],"vite-plugin-vue-cli"," to reuse Vue CLI config",[188,29543,29544,29545],{},"Try Vite inside a ",[2363,29546,29547],{},"monorepo sub-package",[188,29549,29550],{},"Gradually refactor Webpack-specific imports",[14,29552,29553,29554,29557,29558,29560],{},"Once ready, replace ",[2363,29555,29556],{},"webpack.config.js"," with a lightweight ",[2363,29559,14414],{},", then:",[2357,29562,29563,29566],{},[188,29564,29565],{},"Use official Vite plugins (@vitejs\u002Fplugin-vue, vite-plugin-legacy, etc.)",[188,29567,29568],{},"Adapt environment variables:",[14,29570,29571],{},[2363,29572,29573],{},"process.env.MY_VAR becomes import.meta.env.VITE_MY_VAR",[2357,29575,29576],{},[188,29577,29578],{},"Add vue-tsc or vite-plugin-checker for type safety if needed",[14,29580,29581,29582,29585,29586,16922,29589,29592,29593],{},"If you need ",[2363,29583,29584],{},"Vite consulting",", help with ",[2363,29587,29588],{},"migrating from Webpack to Vite",[128,29590,29591],{"href":908},"vue js consultants",", book a ",[2363,29594,29595],{},[128,29596,29598],{"href":6173,"rel":29597},[4980],"free consultation with a Vue expert.",[18,29600,29602],{"id":29601},"hybrid-setup-strategy","🔀 Hybrid Setup Strategy",[14,29604,29605],{},"Not ready to go all in on Vite? You don’t have to. Many teams use Vite alongside Webpack during the transition phase.",[14,29607,29608],{},"Here’s how a hybrid setup can work:",[185,29610,29611,29617,29625,29630,29635],{},[188,29612,29613,29616],{},[2363,29614,29615],{},"Use Vite in development only",", keep Webpack for production builds",[188,29618,29619,29620,809,29622],{},"Migrate isolated pieces like ",[2363,29621,29532],{},[2363,29623,29624],{},"internal UI previews",[188,29626,25389,29627,29541],{},[128,29628,29540],{"href":29538,"rel":29629},[4980],[188,29631,29632,29633],{},"Try Vite in a ",[2363,29634,29547],{},[188,29636,29550],{},[14,29638,29639],{},"✅ This lets you unlock Vite’s fast dev feedback loop without the risk of breaking production.",[18,29641,29643],{"id":29642},"when-to-stick-with-webpack","When to Stick with Webpack",[14,29645,29646],{},"Vite isn’t perfect for every use case. You might want to keep using Webpack if:",[2357,29648,29649,29656,29663,29670],{},[188,29650,29651,29652,29655],{},"You already use ",[2363,29653,29654],{},"Module Federation"," and it’s working well",[188,29657,29658,29659,29662],{},"Your team has ",[2363,29660,29661],{},"custom Webpack plugins\u002Floaders"," you rely on",[188,29664,29665,29666,29669],{},"You’re working in a ",[2363,29667,29668],{},"legacy mono-repo"," with shared Webpack configs",[188,29671,29672],{},"Your infrastructure is heavily optimized around Webpack and migration costs are high",[14,29674,29675],{},"In these cases, sticking with Webpack may be the most pragmatic choice - for now.",[18,29677,29679],{"id":29678},"limitations-of-vite","Limitations of Vite",[14,29681,29682],{},"Vite is not a silver bullet. Watch out for:",[2357,29684,29685,29688,29691,29694,29697],{},[188,29686,29687],{},"Lack of full CJS\u002FESM interop (some libraries break)",[188,29689,29690],{},"Missing require.context equivalent",[188,29692,29693],{},"Slower cold starts on very large codebases (>500 files)",[188,29695,29696],{},"Less mature support for custom Webpack-like plugins",[188,29698,29699],{},"Not compatible with Yarn PnP out of the box",[18,29701,29703],{"id":29702},"checklist-should-you-migrate-from-webpack-to-vite","Checklist \"Should You Migrate from Webpack to VIte\"",[26,29705,29706,29716],{},[29,29707,29708],{},[32,29709,29710,29713],{},[35,29711,29712],{},"Question",[35,29714,29715],{},"If “Yes” →",[51,29717,29718,29726,29733,29741,29748,29756,29764],{},[32,29719,29720,29723],{},[56,29721,29722],{},"Using Vue 3 or Nuxt 3?",[56,29724,29725],{},"Try Vite",[32,29727,29728,29731],{},[56,29729,29730],{},"Slow HMR or builds blocking workflow?",[56,29732,29725],{},[32,29734,29735,29738],{},[56,29736,29737],{},"Heavily invested in Module Federation?",[56,29739,29740],{},"Stay Webpack",[32,29742,29743,29746],{},[56,29744,29745],{},"Do you need advanced Webpack plugins?",[56,29747,29740],{},[32,29749,29750,29753],{},[56,29751,29752],{},"New greenfield project?",[56,29754,29755],{},"Use Vite",[32,29757,29758,29761],{},[56,29759,29760],{},"Multiple apps sharing config?",[56,29762,29763],{},"Consider gradual switch",[32,29765,29766,29769],{},[56,29767,29768],{},"Already on Vue CLI?",[56,29770,29771],{},"Explore vite-plugin-vue-cli",[18,29773,914],{"id":913},[14,29775,29776],{},"For new Vue 3 or Nuxt 3 services, Vite offers tangible gains in dev feedback speed, CI cycle time, and default bundle size with less configuration overhead. Retain Webpack only when its unique features (federation, bespoke loaders, legacy constraints) clearly outweigh the maintenance cost.",[18,29778,29780],{"id":29779},"next-step","Next Step",[14,29782,29783],{},"Clone a feature branch, swap your webpack scripts for Vite, and benchmark cold start, HMR, and CI durations. Hard numbers from your own repo will confirm whether the switch pays off.",[14,29785,29786,29787,29789],{},"If you need help ",[2363,29788,29588],{}," or a consultation on your Vue application, the Epicmax team is always happy to help. For the past 8 years, we’ve been focused exclusively on frontend development within the Vue ecosystem and actively advocate for modern, high-quality frontend tools.",[14,29791,29792],{},"Book a free call if you’d like our input.",[6170,29794],{"label":22616,"to":6173},[984,29796,29797],{},"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 .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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":197,"searchDepth":264,"depth":264,"links":29799},[29800,29801,29802,29803,29804,29805,29806,29807,29808,29809,29810,29811,29812,29813,29814,29815],{"id":20891,"depth":224,"text":20892},{"id":28562,"depth":224,"text":28563},{"id":28623,"depth":224,"text":28624},{"id":29272,"depth":224,"text":29273},{"id":29353,"depth":224,"text":29354},{"id":29383,"depth":224,"text":29384},{"id":29390,"depth":224,"text":26864},{"id":29411,"depth":224,"text":29412},{"id":29487,"depth":224,"text":29488},{"id":29511,"depth":224,"text":29512},{"id":29601,"depth":224,"text":29602},{"id":29642,"depth":224,"text":29643},{"id":29678,"depth":224,"text":29679},{"id":29702,"depth":224,"text":29703},{"id":913,"depth":224,"text":914},{"id":29779,"depth":224,"text":29780},"Discover how Vite improves Vue.js development with faster builds, instant HMR and simpler configs. Full Vite vs Webpack comparison plus migration steps.","\u002Fimages\u002Fblog\u002Fvite-vs-webpack\u002Fcard.png",{},{"title":28406,"description":29816},"blog\u002Fvite-vs-webpack",[2822],"C2ZEl9wJUWzvl2HqC4qF1AQsw_De55JTpE4vdF-VqUE",{"id":29824,"title":29825,"articleType":7,"author":12943,"authorSlug":1008,"body":29826,"cta":1008,"date":31027,"description":31028,"extension":1011,"faq":1008,"featured":1021,"image":31029,"meta":31030,"navigation":653,"noCtaBox":1021,"path":1193,"readTime":1008,"seo":31031,"seoTitle":1008,"stem":31032,"tags":1008,"topic":2339,"video":1008,"__hash__":31033},"blog\u002Fblog\u002Fhow-to-fix-cls.md","How to Fix CLS in E-Commerce Galleries and Carousels",{"type":11,"value":29827,"toc":31008},[29828,29831,29842,29849,29862,29874,29878,29881,29886,29889,29892,29895,29898,29901,29904,29908,29944,29948,29952,29957,30002,30007,30071,30076,30137,30142,30200,30206,30210,30305,30308,30312,30317,30396,30401,30434,30438,30442,30477,30481,30549,30553,30558,30597,30601,30658,30662,30722,30726,30751,30755,30761,30774,30778,30781,30807,30810,30814,30817,30852,30856,30859,30881,30886,30900,30905,30908,30913,30927,30933,30937,30940,30945,30948,30951,30954,30957,30960,30963,30973,30976,30989,30992,31003,31005],[14,29829,29830],{},"Image galleries are often the centerpiece of an e-commerce product page — sleek, interactive, and visually engaging.",[14,29832,29833,29834,29837,29838,29841],{},"But they also hide a major performance trap: they’re among the leading causes of ",[2363,29835,29836],{},"Cumulative Layout Shift (CLS)"," — a key ",[2363,29839,29840],{},"Core Web Vital"," that directly impacts user experience, SEO rankings, and conversion rates.",[14,29843,29844,29845,29848],{},"💡 ",[2363,29846,29847],{},"In short:"," CLS measures unexpected layout movements during page load. When images push or shift content around, it not only frustrates users — it can also cost your business trust and sales.",[14,29850,29851,29852,29856,29857,534],{},"This comprehensive guide explains how to fix ",[128,29853,29836],{"href":29854,"rel":29855},"https:\u002F\u002Fweb.dev\u002Farticles\u002Fcls",[4980]," issues in image galleries and improve your website’s ",[128,29858,29861],{"href":29859,"rel":29860},"https:\u002F\u002Fweb.dev\u002Farticles\u002Fvitals",[4980],"Core Web Vitals",[14,29863,29864,29865,29867,29868,29873],{},"Created by ",[128,29866,16284],{"href":1850}," — a ",[2363,29869,29870],{},[128,29871,29872],{"href":1850},"Vue.js development company"," specializing in performance, scalability, and Core Web Vitals optimization.",[18,29875,29877],{"id":29876},"why-galleries-are-cls-hotspots","😬 Why Galleries Are CLS Hotspots",[14,29879,29880],{},"Image galleries are interactive, media-heavy, and frequently rendered via JavaScript — making them prone to layout instability.",[14,29882,29883],{},[2363,29884,29885],{},"Common issues include:",[14,29887,29888],{},"📷 Multiple high-res images with inconsistent sizes",[14,29890,29891],{},"🎠 JS-heavy carousels initialized after load",[14,29893,29894],{},"💭 Lazy-loaded media without placeholders",[14,29896,29897],{},"🔍 Hover-based zoom or overlays",[14,29899,29900],{},"⚙️ Late-rendered Vue components in SPAs",[14,29902,29903],{},"❗ Even small layout shifts can push CTAs, prices, or descriptions out of place, damaging trust and usability.",[18,29905,29907],{"id":29906},"️-common-cls-causes-in-image-galleries","⚠️ Common CLS Causes in Image Galleries",[185,29909,29910,29916,29922,29932,29938],{},[188,29911,29912,29915],{},[2363,29913,29914],{},"Missing Image Dimensions"," - Without width, height, or aspect-ratio, no space is reserved.",[188,29917,29918,29921],{},[2363,29919,29920],{},"Lazy Loading Without Placeholder"," - No pre-allocated space = sudden pop-ins during scroll.",[188,29923,29924,29931],{},[2363,29925,29926],{},[128,29927,29930],{"href":29928,"rel":29929},"https:\u002F\u002Fweb.dev\u002Fcls\u002F#unsized-content",[4980],"Carousels"," That Inject DOM After Load - JS libraries render content late, shifting layout.",[188,29933,29934,29937],{},[2363,29935,29936],{},"Animations That Move Layout"," - Modifying margin, top, or position causes shifts.",[188,29939,29940,29943],{},[2363,29941,29942],{},"Dynamic UI Near the Gallery"," - Stock alerts, banners, or popups push content unexpectedly.",[18,29945,29947],{"id":29946},"️-fixes-for-cls-in-image-galleries","🛠️ Fixes for CLS in Image Galleries",[169,29949,29951],{"id":29950},"_1-reserve-space-with-dimensions-or-aspect-ratios","1. ✅ Reserve Space with Dimensions or Aspect Ratios",[14,29953,29954],{},[2363,29955,29956],{},"❌ Bad:",[192,29958,29960],{"className":12377,"code":29959,"language":12379,"meta":197,"style":197},"\u003Cimg src=\"shoe.jpg\" alt=\"Red shoe\" loading=\"lazy\">\n",[137,29961,29962],{"__ignoreMap":197},[201,29963,29964,29966,29968,29970,29972,29974,29977,29979,29981,29983,29985,29988,29990,29992,29994,29996,29998,30000],{"class":203,"line":204},[201,29965,1342],{"class":260},[201,29967,14615],{"class":267},[201,29969,397],{"class":659},[201,29971,1353],{"class":260},[201,29973,1356],{"class":260},[201,29975,29976],{"class":211},"shoe.jpg",[201,29978,1356],{"class":260},[201,29980,1527],{"class":659},[201,29982,1353],{"class":260},[201,29984,1356],{"class":260},[201,29986,29987],{"class":211},"Red shoe",[201,29989,1356],{"class":260},[201,29991,1515],{"class":659},[201,29993,1353],{"class":260},[201,29995,1356],{"class":260},[201,29997,1522],{"class":211},[201,29999,1356],{"class":260},[201,30001,1718],{"class":260},[14,30003,30004],{},[2363,30005,30006],{},"✅ Good:",[192,30008,30010],{"className":12377,"code":30009,"language":12379,"meta":197,"style":197},"\u003Cimg src=\"shoe.jpg\" width=\"300\" height=\"400\" loading=\"lazy\" alt=\"Red shoe\">\n",[137,30011,30012],{"__ignoreMap":197},[201,30013,30014,30016,30018,30020,30022,30024,30026,30028,30030,30032,30034,30037,30039,30041,30043,30045,30047,30049,30051,30053,30055,30057,30059,30061,30063,30065,30067,30069],{"class":203,"line":204},[201,30015,1342],{"class":260},[201,30017,14615],{"class":267},[201,30019,397],{"class":659},[201,30021,1353],{"class":260},[201,30023,1356],{"class":260},[201,30025,29976],{"class":211},[201,30027,1356],{"class":260},[201,30029,1491],{"class":659},[201,30031,1353],{"class":260},[201,30033,1356],{"class":260},[201,30035,30036],{"class":211},"300",[201,30038,1356],{"class":260},[201,30040,1503],{"class":659},[201,30042,1353],{"class":260},[201,30044,1356],{"class":260},[201,30046,1510],{"class":211},[201,30048,1356],{"class":260},[201,30050,1515],{"class":659},[201,30052,1353],{"class":260},[201,30054,1356],{"class":260},[201,30056,1522],{"class":211},[201,30058,1356],{"class":260},[201,30060,1527],{"class":659},[201,30062,1353],{"class":260},[201,30064,1356],{"class":260},[201,30066,29987],{"class":211},[201,30068,1356],{"class":260},[201,30070,1718],{"class":260},[14,30072,30073],{},[2363,30074,30075],{},"✅ Vue Example:",[192,30077,30079],{"className":12377,"code":30078,"language":12379,"meta":197,"style":197},"\u003Cimg :src=\"img.url\" :width=\"img.width\" :height=\"img.height\" :alt=\"img.alt\" \u002F>\n",[137,30080,30081],{"__ignoreMap":197},[201,30082,30083,30085,30087,30090,30092,30094,30097,30099,30102,30104,30106,30109,30111,30114,30116,30118,30121,30123,30126,30128,30130,30133,30135],{"class":203,"line":204},[201,30084,1342],{"class":260},[201,30086,14615],{"class":267},[201,30088,30089],{"class":659}," :src",[201,30091,1353],{"class":260},[201,30093,1356],{"class":260},[201,30095,30096],{"class":211},"img.url",[201,30098,1356],{"class":260},[201,30100,30101],{"class":659}," :width",[201,30103,1353],{"class":260},[201,30105,1356],{"class":260},[201,30107,30108],{"class":211},"img.width",[201,30110,1356],{"class":260},[201,30112,30113],{"class":659}," :height",[201,30115,1353],{"class":260},[201,30117,1356],{"class":260},[201,30119,30120],{"class":211},"img.height",[201,30122,1356],{"class":260},[201,30124,30125],{"class":659}," :alt",[201,30127,1353],{"class":260},[201,30129,1356],{"class":260},[201,30131,30132],{"class":211},"img.alt",[201,30134,1356],{"class":260},[201,30136,1539],{"class":260},[14,30138,30139],{},[2363,30140,30141],{},"✅ CSS with aspect-ratio:",[192,30143,30146],{"className":30144,"code":30145,"language":29022,"meta":197,"style":197},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",".product-img {\n  aspect-ratio: 4 \u002F 5;\n  width: 100%;\n  height: auto;\n}\n",[137,30147,30148,30157,30174,30185,30196],{"__ignoreMap":197},[201,30149,30150,30152,30155],{"class":203,"line":204},[201,30151,534],{"class":260},[201,30153,30154],{"class":207},"product-img",[201,30156,298],{"class":260},[201,30158,30159,30162,30164,30167,30169,30172],{"class":203,"line":224},[201,30160,30161],{"class":15484},"  aspect-ratio",[201,30163,271],{"class":260},[201,30165,30166],{"class":1268}," 4",[201,30168,4694],{"class":256},[201,30170,30171],{"class":1268},"5",[201,30173,19393],{"class":260},[201,30175,30176,30178,30180,30183],{"class":203,"line":264},[201,30177,1367],{"class":15484},[201,30179,271],{"class":260},[201,30181,30182],{"class":1268}," 100%",[201,30184,19393],{"class":260},[201,30186,30187,30189,30191,30194],{"class":203,"line":290},[201,30188,1381],{"class":15484},[201,30190,271],{"class":260},[201,30192,30193],{"class":256}," auto",[201,30195,19393],{"class":260},[201,30197,30198],{"class":203,"line":301},[201,30199,724],{"class":260},[14,30201,30202,30205],{},[2363,30203,30204],{},"Quick Win:"," Just adding width and height (or aspect-ratio) to your gallery images is often enough to cut CLS by 50%+.",[169,30207,30209],{"id":30208},"_2-add-placeholders-for-lazy-loaded-images","2. ✅ Add Placeholders for Lazy-Loaded Images",[192,30211,30213],{"className":12377,"code":30212,"language":12379,"meta":197,"style":197},"\u003Cdiv class=\"img-frame\" style=\"width:300px; height:400px;\">\n  \u003Cimg src=\"placeholder.jpg\" data-src=\"shoe.jpg\" class=\"lazy\" alt=\"...\">\n\u003C\u002Fdiv>\n",[137,30214,30215,30246,30297],{"__ignoreMap":197},[201,30216,30217,30219,30221,30223,30225,30227,30230,30232,30235,30237,30239,30242,30244],{"class":203,"line":204},[201,30218,1342],{"class":260},[201,30220,6013],{"class":267},[201,30222,15430],{"class":659},[201,30224,1353],{"class":260},[201,30226,1356],{"class":260},[201,30228,30229],{"class":211},"img-frame",[201,30231,1356],{"class":260},[201,30233,30234],{"class":659}," style",[201,30236,1353],{"class":260},[201,30238,1356],{"class":260},[201,30240,30241],{"class":211},"width:300px; height:400px;",[201,30243,1356],{"class":260},[201,30245,1718],{"class":260},[201,30247,30248,30250,30252,30254,30256,30258,30261,30263,30266,30268,30270,30272,30274,30276,30278,30280,30282,30284,30286,30288,30290,30293,30295],{"class":203,"line":224},[201,30249,1723],{"class":260},[201,30251,14615],{"class":267},[201,30253,397],{"class":659},[201,30255,1353],{"class":260},[201,30257,1356],{"class":260},[201,30259,30260],{"class":211},"placeholder.jpg",[201,30262,1356],{"class":260},[201,30264,30265],{"class":659}," data-src",[201,30267,1353],{"class":260},[201,30269,1356],{"class":260},[201,30271,29976],{"class":211},[201,30273,1356],{"class":260},[201,30275,15430],{"class":659},[201,30277,1353],{"class":260},[201,30279,1356],{"class":260},[201,30281,1522],{"class":211},[201,30283,1356],{"class":260},[201,30285,1527],{"class":659},[201,30287,1353],{"class":260},[201,30289,1356],{"class":260},[201,30291,30292],{"class":211},"...",[201,30294,1356],{"class":260},[201,30296,1718],{"class":260},[201,30298,30299,30301,30303],{"class":203,"line":264},[201,30300,1760],{"class":260},[201,30302,6013],{"class":267},[201,30304,1718],{"class":260},[14,30306,30307],{},"Even with native loading=\"lazy\", dimensions are still essential.",[169,30309,30311],{"id":30310},"_3-stabilize-carousels-on-first-render","3. ✅ Stabilize Carousels on First Render",[14,30313,30314],{},[2363,30315,30316],{},"CSS:",[192,30318,30320],{"className":30144,"code":30319,"language":29022,"meta":197,"style":197},".my-slider > .slide:not(:first-child) {\n  display: none;\n}\n\n.carousel {\n  min-height: 400px;\n}\n",[137,30321,30322,30351,30363,30367,30371,30380,30392],{"__ignoreMap":197},[201,30323,30324,30326,30329,30331,30334,30337,30339,30341,30344,30347,30349],{"class":203,"line":204},[201,30325,534],{"class":260},[201,30327,30328],{"class":207},"my-slider",[201,30330,27335],{"class":260},[201,30332,30333],{"class":260}," .",[201,30335,30336],{"class":207},"slide",[201,30338,271],{"class":260},[201,30340,14887],{"class":659},[201,30342,30343],{"class":260},"(:",[201,30345,30346],{"class":659},"first-child",[201,30348,3779],{"class":260},[201,30350,298],{"class":260},[201,30352,30353,30356,30358,30361],{"class":203,"line":224},[201,30354,30355],{"class":15484},"  display",[201,30357,271],{"class":260},[201,30359,30360],{"class":256}," none",[201,30362,19393],{"class":260},[201,30364,30365],{"class":203,"line":264},[201,30366,724],{"class":260},[201,30368,30369],{"class":203,"line":290},[201,30370,654],{"emptyLinePlaceholder":653},[201,30372,30373,30375,30378],{"class":203,"line":301},[201,30374,534],{"class":260},[201,30376,30377],{"class":207},"carousel",[201,30379,298],{"class":260},[201,30381,30382,30385,30387,30390],{"class":203,"line":319},[201,30383,30384],{"class":15484},"  min-height",[201,30386,271],{"class":260},[201,30388,30389],{"class":1268}," 400px",[201,30391,19393],{"class":260},[201,30393,30394],{"class":203,"line":329},[201,30395,724],{"class":260},[14,30397,30398],{},[2363,30399,30400],{},"Vue Example:",[192,30402,30404],{"className":12377,"code":30403,"language":12379,"meta":197,"style":197},"\u003Cdiv v-show=\"index === 0\">...\u003C\u002Fdiv>\n",[137,30405,30406],{"__ignoreMap":197},[201,30407,30408,30410,30412,30415,30417,30419,30422,30424,30426,30428,30430,30432],{"class":203,"line":204},[201,30409,1342],{"class":260},[201,30411,6013],{"class":267},[201,30413,30414],{"class":659}," v-show",[201,30416,1353],{"class":260},[201,30418,1356],{"class":260},[201,30420,30421],{"class":211},"index === 0",[201,30423,1356],{"class":260},[201,30425,3416],{"class":260},[201,30427,30292],{"class":256},[201,30429,1760],{"class":260},[201,30431,6013],{"class":267},[201,30433,1718],{"class":260},[169,30435,30437],{"id":30436},"_4-animate-with-transform-not-margin-or-position","4. ✅ Animate with transform, Not margin or position",[14,30439,30440],{},[2363,30441,29956],{},[192,30443,30445],{"className":30144,"code":30444,"language":29022,"meta":197,"style":197},".zoom:hover {\n  margin-top: 20px;\n}\n",[137,30446,30447,30461,30473],{"__ignoreMap":197},[201,30448,30449,30451,30454,30456,30459],{"class":203,"line":204},[201,30450,534],{"class":260},[201,30452,30453],{"class":207},"zoom",[201,30455,271],{"class":260},[201,30457,30458],{"class":659},"hover",[201,30460,298],{"class":260},[201,30462,30463,30466,30468,30471],{"class":203,"line":224},[201,30464,30465],{"class":15484},"  margin-top",[201,30467,271],{"class":260},[201,30469,30470],{"class":1268}," 20px",[201,30472,19393],{"class":260},[201,30474,30475],{"class":203,"line":264},[201,30476,724],{"class":260},[14,30478,30479],{},[2363,30480,30006],{},[192,30482,30484],{"className":30144,"code":30483,"language":29022,"meta":197,"style":197},".zoom {\n  transition: transform 0.3s ease;\n}\n.zoom:hover {\n  transform: scale(1.1);\n}\n",[137,30485,30486,30494,30512,30516,30528,30545],{"__ignoreMap":197},[201,30487,30488,30490,30492],{"class":203,"line":204},[201,30489,534],{"class":260},[201,30491,30453],{"class":207},[201,30493,298],{"class":260},[201,30495,30496,30499,30501,30504,30507,30510],{"class":203,"line":224},[201,30497,30498],{"class":15484},"  transition",[201,30500,271],{"class":260},[201,30502,30503],{"class":256}," transform ",[201,30505,30506],{"class":1268},"0.3s",[201,30508,30509],{"class":256}," ease",[201,30511,19393],{"class":260},[201,30513,30514],{"class":203,"line":264},[201,30515,724],{"class":260},[201,30517,30518,30520,30522,30524,30526],{"class":203,"line":290},[201,30519,534],{"class":260},[201,30521,30453],{"class":207},[201,30523,271],{"class":260},[201,30525,30458],{"class":659},[201,30527,298],{"class":260},[201,30529,30530,30532,30534,30537,30539,30542],{"class":203,"line":301},[201,30531,2101],{"class":15484},[201,30533,271],{"class":260},[201,30535,30536],{"class":252}," scale",[201,30538,257],{"class":260},[201,30540,30541],{"class":1268},"1.1",[201,30543,30544],{"class":260},");\n",[201,30546,30547],{"class":203,"line":319},[201,30548,724],{"class":260},[169,30550,30552],{"id":30551},"_5-pre-allocate-space-for-injected-ui","5. ✅ Pre-allocate Space for Injected UI",[14,30554,30555],{},[2363,30556,30557],{},"HTML:",[192,30559,30561],{"className":12377,"code":30560,"language":12379,"meta":197,"style":197},"\u003Cdiv class=\"promo-placeholder\" style=\"min-height: 60px;\">\u003C\u002Fdiv>\n",[137,30562,30563],{"__ignoreMap":197},[201,30564,30565,30567,30569,30571,30573,30575,30578,30580,30582,30584,30586,30589,30591,30593,30595],{"class":203,"line":204},[201,30566,1342],{"class":260},[201,30568,6013],{"class":267},[201,30570,15430],{"class":659},[201,30572,1353],{"class":260},[201,30574,1356],{"class":260},[201,30576,30577],{"class":211},"promo-placeholder",[201,30579,1356],{"class":260},[201,30581,30234],{"class":659},[201,30583,1353],{"class":260},[201,30585,1356],{"class":260},[201,30587,30588],{"class":211},"min-height: 60px;",[201,30590,1356],{"class":260},[201,30592,20250],{"class":260},[201,30594,6013],{"class":267},[201,30596,1718],{"class":260},[14,30598,30599],{},[2363,30600,30316],{},[192,30602,30604],{"className":30144,"code":30603,"language":29022,"meta":197,"style":197},".gallery-wrapper::before {\n  content: \"\";\n  display: block;\n  height: 60px;\n}\n",[137,30605,30606,30621,30632,30643,30654],{"__ignoreMap":197},[201,30607,30608,30610,30613,30616,30619],{"class":203,"line":204},[201,30609,534],{"class":260},[201,30611,30612],{"class":207},"gallery-wrapper",[201,30614,30615],{"class":260},"::",[201,30617,30618],{"class":659},"before",[201,30620,298],{"class":260},[201,30622,30623,30626,30628,30630],{"class":203,"line":224},[201,30624,30625],{"class":15484},"  content",[201,30627,271],{"class":260},[201,30629,24683],{"class":260},[201,30631,19393],{"class":260},[201,30633,30634,30636,30638,30641],{"class":203,"line":264},[201,30635,30355],{"class":15484},[201,30637,271],{"class":260},[201,30639,30640],{"class":256}," block",[201,30642,19393],{"class":260},[201,30644,30645,30647,30649,30652],{"class":203,"line":290},[201,30646,1381],{"class":15484},[201,30648,271],{"class":260},[201,30650,30651],{"class":1268}," 60px",[201,30653,19393],{"class":260},[201,30655,30656],{"class":203,"line":301},[201,30657,724],{"class":260},[169,30659,30661],{"id":30660},"clsfriendly-carousel-libraries","🌟 CLS ‑Friendly Carousel Libraries",[26,30663,30664,30679],{},[29,30665,30666],{},[32,30667,30668,30671,30673,30676],{},[35,30669,30670],{},"Library",[35,30672,18638],{},[35,30674,30675],{},"CLS Safety",[35,30677,30678],{},"Why It Helps",[51,30680,30681,30695,30709],{},[32,30682,30683,30686,30689,30692],{},[56,30684,30685],{},"vue3-carousel",[56,30687,30688],{},"Vue 3",[56,30690,30691],{},"✅ Good",[56,30693,30694],{},"Lightweight SSR-friendly carousel: slides aren’t injected in the DOM until after hydration. No surprise shifts.",[32,30696,30697,30700,30703,30706],{},[56,30698,30699],{},"vue3-ssr-carousel",[56,30701,30702],{},"Vue 3 (SSR\u002FSSG)",[56,30704,30705],{},"✅ Excellent",[56,30707,30708],{},"No JS layout changes post-hydration—fully SSR-rendered slides ensure zero CLS.",[32,30710,30711,30714,30716,30719],{},[56,30712,30713],{},"Glider.js",[56,30715,14164],{},[56,30717,30718],{},"✅ Better",[56,30720,30721],{},"Lightweight (≈2.8 KB), native scrolling, and uses CSS layout—minimal DOM manipulation helps stabilize CLS.",[18,30723,30725],{"id":30724},"why-these-matter-for-cls","🧹 Why These Matter for CLS",[2357,30727,30728,30739],{},[188,30729,30730,30733,30734,955,30736,30738],{},[2363,30731,30732],{},"SSR ‑friendliness",": Libraries like ",[14885,30735,30685],{},[14885,30737,30699],{}," render the carousel fully on the server (or pre-render), preventing sudden DOM injections post-load.",[188,30740,30741,30744,30745,955,30748,30750],{},[2363,30742,30743],{},"CSS ‑driven layout",": Tools like ",[14885,30746,30747],{},"vue-horizontal",[14885,30749,30713],{}," rely on CSS (e.g., native scroll or transform), which avoids modifying layout and therefore minimizes layout thrashing.",[18,30752,30754],{"id":30753},"business-impact-of-cls-why-it-matters","📈 Business Impact of CLS: Why It Matters",[14,30756,30757,30760],{},[2363,30758,30759],{},"CLS isn’t just a developer metric"," — it’s a silent killer of conversions, trust, and SEO. In e-commerce, layout shifts from image galleries directly impact revenue.",[14,30762,30763,30764,30766,30767,30769,30770,30773],{},"A ",[2363,30765,26784],{}," like ",[2363,30768,16284],{}," helps teams detect and fix CLS issues early — improving stability, Core Web Vitals, and user experience. If you’re looking to ",[2363,30771,30772],{},"hire Vue.js developers"," who care about both performance and UX, you’re in the right place.",[18,30775,30777],{"id":30776},"real-world-cls-data","📊 Real-World CLS Data",[14,30779,30780],{},"Understanding how your site compares to the wider web is the first step:",[2357,30782,30783,30789,30795,30801],{},[188,30784,30785,30788],{},[2363,30786,30787],{},"∼50%"," of page loads already meet Google’s “Good” threshold (CLS \u003C 0.10) — if you’re above this, your competition is likely offering a smoother, more stable experience.",[188,30790,30791,30794],{},[2363,30792,30793],{},"0.28"," is the 75th percentile — if you're above this, you're among the worst 25% in layout stability and almost certainly losing trust and revenue.",[188,30796,30797,30800],{},[2363,30798,30799],{},"CLS > 0.1"," correlates with lower conversions and higher bounce rates.",[188,30802,30803,30806],{},[2363,30804,30805],{},"Google’s target",": CLS ≤ 0.1 in at least 75% of sessions.",[14,30808,30809],{},"💡 If your product gallery causes unexpected shifts, you’re likely losing users and sales to competitors with smoother experiences.",[18,30811,30813],{"id":30812},"business-benefits-of-fixing-cls","💡 Business Benefits of Fixing CLS",[14,30815,30816],{},"Stable galleries deliver measurable results:",[2357,30818,30819,30826,30833,30845],{},[188,30820,30821,30822,30825],{},"📉 ",[2363,30823,30824],{},"Reduced Bounce:"," Users stay longer when pages don’t jump",[188,30827,30828,30829,30832],{},"⏳ ",[2363,30830,30831],{},"Longer Sessions:"," A stable interface encourages exploration",[188,30834,30835,30836,30839,30840,30844],{},"🔍 ",[2363,30837,30838],{},"SEO Boost:"," CLS is a ",[128,30841,29861],{"href":30842,"rel":30843},"https:\u002F\u002Fweb.dev\u002Fvitals\u002F",[4980]," ranking factor",[188,30846,30847,30848,30851],{},"💳 ",[2363,30849,30850],{},"More Conversions:"," A smooth gallery builds trust and shortens decision time",[18,30853,30855],{"id":30854},"measuring-roi-ab-and-correlation-testing","📈 Measuring ROI: A\u002FB and Correlation Testing",[14,30857,30858],{},"Fixing CLS isn’t just a tech win — it should pay off in business metrics.",[14,30860,30861,30862,30766,30865,4576,30870,16922,30875,30880],{},"Once you’ve optimized your gallery, use ",[2363,30863,30864],{},"real-user monitoring (RUM) tools",[128,30866,30869],{"href":30867,"rel":30868},"https:\u002F\u002Fspeedcurve.com\u002F",[4980],"SpeedCurve",[128,30871,30874],{"href":30872,"rel":30873},"https:\u002F\u002Fraygun.com\u002F",[4980],"Raygun",[128,30876,30879],{"href":30877,"rel":30878},"https:\u002F\u002Fnewrelic.com\u002F",[4980],"New Relic"," to connect performance improvements to business impact.",[14,30882,30883],{},[2363,30884,30885],{},"These tools let you monitor:",[2357,30887,30888,30891,30894,30897],{},[188,30889,30890],{},"Bounce rate",[188,30892,30893],{},"Session duration",[188,30895,30896],{},"Conversion rate",[188,30898,30899],{},"CLS and other layout metrics",[14,30901,30902],{},[2363,30903,30904],{},"📊 Real-world stat:",[14,30906,30907],{},"Sessions with CLS \u003C 0.1 convert 2× better than sessions with CLS > 0.25.",[14,30909,30910],{},[2363,30911,30912],{},"Make it actionable by:",[2357,30914,30915,30918],{},[188,30916,30917],{},"Running A\u002FB tests to compare gallery performance before and after fixes",[188,30919,30920,30921,30926],{},"Using ",[128,30922,30925],{"href":30923,"rel":30924},"https:\u002F\u002Fsupport.speedcurve.com\u002Fdocs\u002Fcreate-correlation-charts",[4980],"correlation charts"," to visually tie CLS improvements to trust, engagement, and revenue gains",[14,30928,30929,30930,30932],{},"These are graphs that map CLS values against business KPIs to find patterns.",[26786,30931],{},"\nBy treating CLS like a business KPI — not just a dev concern — you’ll unlock stronger results and buy-in from stakeholders.",[18,30934,30936],{"id":30935},"what-to-do-next","🚀 What to Do Next",[14,30938,30939],{},"🛒 Start by fixing one gallery on your top product page — and watch your CLS and conversions improve.",[14,30941,30942],{},[2363,30943,30944],{},"📋 Start Here:",[14,30946,30947],{},"✅ Audit CLS in DevTools → Performance tab",[14,30949,30950],{},"✅ Add dimensions or aspect-ratio to gallery images",[14,30952,30953],{},"✅ Set CSS min-heights for carousels",[14,30955,30956],{},"✅ Add skeletons or placeholders for lazy media",[14,30958,30959],{},"✅ Pick a CLS-friendly library (e.g., vue3-carousel)",[18,30961,30962],{"id":913},"✅ Conclusion",[14,30964,30965,30966,955,30969,30972],{},"Image galleries make your product pages engaging — but they can silently ruin your ",[2363,30967,30968],{},"CLS score",[2363,30970,30971],{},"conversion rates",". Thankfully, most layout shift issues are preventable with a few targeted optimizations.",[14,30974,30975],{},"By reserving space for images, adding lazy-load placeholders, stabilizing carousels, and using transform instead of layout-moving animations, you can significantly reduce CLS and improve the overall user experience.",[14,30977,30978,30979,4576,30982,16922,30985,30988],{},"Don’t stop at implementation — validate your fixes with ",[2363,30980,30981],{},"Chrome DevTools",[2363,30983,30984],{},"Lighthouse",[2363,30986,30987],{},"RUM tools"," to confirm improvements in real-world conditions.",[14,30990,30991],{},"✨ Even small CLS optimizations can lead to measurable gains in engagement, SEO performance, and revenue.",[14,30993,30994,30995,955,30997,31002],{},"Need help refining your gallery performance? Epicmax offers ",[128,30996,17605],{"href":908},[2363,30998,30999],{},[128,31000,31001],{"href":1850},"outsourced Vue developers"," who specialize in Core Web Vitals, performance, and UX optimization.",[6170,31004],{"label":22616,"to":6173},[984,31006,31007],{},"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}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":197,"searchDepth":264,"depth":264,"links":31009},[31010,31011,31012,31020,31021,31022,31023,31024,31025,31026],{"id":29876,"depth":224,"text":29877},{"id":29906,"depth":224,"text":29907},{"id":29946,"depth":224,"text":29947,"children":31013},[31014,31015,31016,31017,31018,31019],{"id":29950,"depth":264,"text":29951},{"id":30208,"depth":264,"text":30209},{"id":30310,"depth":264,"text":30311},{"id":30436,"depth":264,"text":30437},{"id":30551,"depth":264,"text":30552},{"id":30660,"depth":264,"text":30661},{"id":30724,"depth":224,"text":30725},{"id":30753,"depth":224,"text":30754},{"id":30776,"depth":224,"text":30777},{"id":30812,"depth":224,"text":30813},{"id":30854,"depth":224,"text":30855},{"id":30935,"depth":224,"text":30936},{"id":913,"depth":224,"text":30962},"2025-10-08","Learn how to prevent layout shifts in e-commerce image galleries and carousels. Epicmax — a Vue.js development and consulting agency — helps you improve Core Web Vitals, fix CLS issues, and boost performance and conversions.","\u002Fimages\u002Fblog\u002Fhow-to-fix-cls\u002Fcard.png",{},{"title":29825,"description":31028},"blog\u002Fhow-to-fix-cls","Z1vEgxf6aGYIfdJJuZhgVfz2f5PGXr473uyGtIgT6iM",{"id":31035,"title":31036,"articleType":1008,"author":12943,"authorSlug":1008,"body":31037,"cta":1008,"date":32142,"description":32143,"extension":1011,"faq":32144,"featured":653,"image":32155,"meta":32156,"navigation":653,"noCtaBox":1021,"path":32157,"readTime":9252,"seo":32158,"seoTitle":1008,"stem":32159,"tags":32160,"topic":13049,"video":1008,"__hash__":32161},"blog\u002Fblog\u002Ftop-vue-js-companies-to-work-with.md","Top Vue.js Development Companies to Work With",{"type":11,"value":31038,"toc":32093},[31039,31042,31045,31048,31052,31055,31183,31187,31190,31193,31204,31207,31211,31457,31460,31464,31470,31481,31485,31488,31492,31495,31499,31502,31522,31528,31532,31535,31537,31541,31547,31550,31554,31557,31561,31569,31572,31575,31577,31581,31587,31590,31594,31597,31601,31604,31607,31610,31612,31616,31622,31625,31629,31632,31635,31643,31646,31649,31651,31655,31661,31664,31668,31671,31675,31678,31681,31684,31686,31690,31696,31699,31703,31706,31709,31717,31719,31723,31729,31732,31736,31739,31743,31746,31749,31752,31754,31758,31764,31767,31771,31774,31777,31785,31788,31791,31793,31797,31803,31806,31810,31813,31817,31820,31823,31826,31828,31832,31838,31841,31845,31848,31851,31859,31862,31865,31867,31871,31874,31998,32002,32005,32011,32017,32023,32029,32035,32039,32044,32047,32050,32055,32058,32063,32066,32071,32074,32079,32082,32085,32087,32090],[14,31040,31041],{},"Not all Vue.js development companies are solving the same problem. Some are good at shipping components quickly. A smaller number understand how to design Vue.js systems that stay maintainable at scale — where the architecture decisions made in week two do not become the performance bottlenecks and refactoring crises of month fourteen.",[14,31043,31044],{},"This guide is about the latter category. The ten companies profiled here were selected against a deliberately high bar: Vue 3 Composition API depth, TypeScript integration as standard, demonstrated experience with production SaaS products, and — where it exists — open-source ecosystem contribution that provides objective evidence of framework mastery.",[14,31046,31047],{},"Each profile is written to be genuinely useful for a technical decision-maker evaluating a Vue.js partner, not to fill a listicle quota.",[18,31049,31051],{"id":31050},"quick-pick-find-your-match-in-30-seconds","Quick Pick: Find Your Match in 30 Seconds",[14,31053,31054],{},"Skip the full profiles if you already know what you need. The table below maps the most common Vue.js project scenarios to the best-fit company from this list — with a one-line rationale for each recommendation.",[26,31056,31057,31070],{},[29,31058,31059],{},[32,31060,31061,31064,31067],{},[35,31062,31063],{},"You need…",[35,31065,31066],{},"Best fit",[35,31068,31069],{},"Why",[51,31071,31072,31084,31095,31106,31117,31128,31139,31150,31161,31172],{},[32,31073,31074,31077,31081],{},[56,31075,31076],{},"Deep Vue.js architecture + OSS expertise",[56,31078,31079],{},[2363,31080,16284],{},[56,31082,31083],{},"Only team that built a major Vue.js library",[32,31085,31086,31089,31092],{},[56,31087,31088],{},"Full-cycle delivery with process discipline",[56,31090,31091],{},"Monterail",[56,31093,31094],{},"15 years of cross-functional Vue.js delivery",[32,31096,31097,31100,31103],{},[56,31098,31099],{},"Enterprise scale, parallel teams",[56,31101,31102],{},"Netguru",[56,31104,31105],{},"700+ engineers, Vue guild, proven at volume",[32,31107,31108,31111,31114],{},[56,31109,31110],{},"Vue + Node.js full-stack SaaS",[56,31112,31113],{},"Brocoders",[56,31115,31116],{},"JS-native stack, shared TypeScript contracts",[32,31118,31119,31122,31125],{},[56,31120,31121],{},"Product-led engineering, Vue + Rails",[56,31123,31124],{},"Railsware",[56,31126,31127],{},"2-decade track record, discovery-first model",[32,31129,31130,31133,31136],{},[56,31131,31132],{},"Complex forms and dynamic UI components",[56,31134,31135],{},"Vueform",[56,31137,31138],{},"Creators of the leading Vue.js form framework",[32,31140,31141,31144,31147],{},[56,31142,31143],{},"Methodical enterprise audit before delivery",[56,31145,31146],{},"Merixstudio",[56,31148,31149],{},"25-year history, audit-first planning model",[32,31151,31152,31155,31158],{},[56,31153,31154],{},"Composable-first migration, budget-conscious",[56,31156,31157],{},"Apiko",[56,31159,31160],{},"Specialised composable libs, $25–$49\u002Fhr",[32,31162,31163,31166,31169],{},[56,31164,31165],{},"Parallel migration at mid-to-large scale",[56,31167,31168],{},"10Clouds",[56,31170,31171],{},"Migration architect role, quality gate model",[32,31173,31174,31177,31180],{},[56,31175,31176],{},"Vue + Python, data-heavy SaaS dashboards",[56,31178,31179],{},"Sunscrapers",[56,31181,31182],{},"Best-in-class Vue + Django\u002FFastAPI combination",[18,31184,31186],{"id":31185},"what-separates-a-good-vuejs-partner-from-a-great-one","What Separates a Good Vue.js Partner from a Great One",[14,31188,31189],{},"Framework proficiency is the entry ticket, not the differentiator. The meaningful gap between Vue.js development companies shows up at the architecture layer — and it only becomes visible months into a project.",[14,31191,31192],{},"Three questions that reveal genuine Vue.js depth:",[185,31194,31195,31198,31201],{},[188,31196,31197],{},"How do you structure state in a multi-module Vue 3 application approaching 100k lines of code?",[188,31199,31200],{},"Walk me through migrating a Vue 2 Options API codebase to Composition API without a feature freeze.",[188,31202,31203],{},"How do you design a component API for a shared library that 15 developers will extend over 3 years?",[14,31205,31206],{},"Teams that answer these with operational specificity — actual patterns, real trade-offs, specific examples from production code — are in a different league from teams reciting documentation. Every company in this guide can answer all three.",[18,31208,31210],{"id":31209},"company-comparison-at-a-glance","Company Comparison at a Glance",[26,31212,31213,31240],{},[29,31214,31215],{},[32,31216,31217,31220,31223,31226,31229,31232,31234,31237],{},[35,31218,31219],{},"Company",[35,31221,31222],{},"HQ",[35,31224,31225],{},"Founded",[35,31227,31228],{},"Rate ($\u002Fhr)",[35,31230,31231],{},"Vue Version",[35,31233,4753],{},[35,31235,31236],{},"OSS Contrib.",[35,31238,31239],{},"Best For",[51,31241,31242,31268,31289,31310,31331,31352,31374,31394,31416,31437],{},[32,31243,31244,31248,31251,31254,31257,31260,31262,31265],{},[56,31245,31246],{},[2363,31247,16284],{},[56,31249,31250],{},"Vilnius, LT",[56,31252,31253],{},"2017",[56,31255,31256],{},"$50–$99",[56,31258,31259],{},"Vue 2 & 3",[56,31261,113],{},[56,31263,31264],{},"Vuestic UI (9k★)",[56,31266,31267],{},"Vue consulting, OSS, design systems",[32,31269,31270,31272,31275,31278,31280,31282,31284,31286],{},[56,31271,31091],{},[56,31273,31274],{},"Wrocław, PL",[56,31276,31277],{},"2010",[56,31279,31256],{},[56,31281,31259],{},[56,31283,113],{},[56,31285,61],{},[56,31287,31288],{},"Full-cycle Vue product delivery",[32,31290,31291,31293,31296,31299,31301,31303,31305,31307],{},[56,31292,31102],{},[56,31294,31295],{},"Poznań, PL",[56,31297,31298],{},"2008",[56,31300,31256],{},[56,31302,31259],{},[56,31304,113],{},[56,31306,61],{},[56,31308,31309],{},"Enterprise Vue, large-scale teams",[32,31311,31312,31314,31317,31320,31322,31324,31326,31328],{},[56,31313,31113],{},[56,31315,31316],{},"Tallinn, EE",[56,31318,31319],{},"2015",[56,31321,31256],{},[56,31323,6260],{},[56,31325,113],{},[56,31327,61],{},[56,31329,31330],{},"Vue + Node.js SaaS full-stack",[32,31332,31333,31335,31337,31340,31343,31345,31347,31349],{},[56,31334,31124],{},[56,31336,31250],{},[56,31338,31339],{},"2005",[56,31341,31342],{},"$100–$149",[56,31344,31259],{},[56,31346,113],{},[56,31348,61],{},[56,31350,31351],{},"Product-led Vue + Rails",[32,31353,31354,31356,31359,31362,31364,31366,31368,31371],{},[56,31355,31135],{},[56,31357,31358],{},"Remote (EU)",[56,31360,31361],{},"2020",[56,31363,31342],{},[56,31365,6260],{},[56,31367,113],{},[56,31369,31370],{},"Vueform lib",[56,31372,31373],{},"Form & component architecture",[32,31375,31376,31378,31380,31383,31385,31387,31389,31391],{},[56,31377,31146],{},[56,31379,31295],{},[56,31381,31382],{},"1999",[56,31384,31256],{},[56,31386,31259],{},[56,31388,113],{},[56,31390,61],{},[56,31392,31393],{},"Enterprise audit + Vue delivery",[32,31395,31396,31398,31401,31404,31407,31409,31411,31413],{},[56,31397,31157],{},[56,31399,31400],{},"Ivano-Frank., UA",[56,31402,31403],{},"2014",[56,31405,31406],{},"$25–$49",[56,31408,31259],{},[56,31410,113],{},[56,31412,61],{},[56,31414,31415],{},"Composable-first Vue migrations",[32,31417,31418,31420,31423,31426,31428,31430,31432,31434],{},[56,31419,31168],{},[56,31421,31422],{},"Warsaw, PL",[56,31424,31425],{},"2009",[56,31427,31256],{},[56,31429,31259],{},[56,31431,113],{},[56,31433,61],{},[56,31435,31436],{},"Parallel Vue delivery at scale",[32,31438,31439,31441,31443,31446,31448,31450,31452,31454],{},[56,31440,31179],{},[56,31442,31422],{},[56,31444,31445],{},"2011",[56,31447,31256],{},[56,31449,31259],{},[56,31451,113],{},[56,31453,61],{},[56,31455,31456],{},"Vue + Python data SaaS",[31458,31459],"hr",{},[169,31461,31463],{"id":31462},"_1-epicmax-vilnius-lithuania","1. Epicmax — Vilnius, Lithuania",[14,31465,31466],{},[14615,31467],{"alt":31468,"src":31469},"Epicmax logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fepicmax.png",[14,31471,31472,31473,31476,31477,31480],{},"Epicmax holds a position in the Vue.js market that no other company on this list — or any other list — can replicate: ",[2363,31474,31475],{},"they built the ecosystem"," . As the creators and maintainers of ",[128,31478,13021],{"href":13019,"rel":31479},[4980],", a production Vue 3 component library with over 9,000 GitHub stars, 80+ enterprise-grade components, and active deployment across more than 170 countries, Epicmax engineers have had to make Vue.js work for tens of thousands of developers in production environments they will never directly see. That experience is structurally different from client project experience, and it shows.",[169,31482,31484],{"id":31483},"why-epicmax-leads-this-list","Why Epicmax leads this list",[14,31486,31487],{},"The practical consequence of Epicmax's open-source work is a depth of Vue.js architectural judgment that is impossible to develop any other way. When their engineers review a component architecture, they are pattern-matching against a dataset of thousands of real Vue.js codebases from developers who used Vuestic UI in production — not just the handful of client projects a typical agency accumulates. Epicmax catches architectural problems that senior engineers at other firms miss, because they have seen the failure modes play out at library scale.",[169,31489,31491],{"id":31490},"case-study-snapshot","Case study snapshot",[14,31493,31494],{},"A Series B SaaS company came to Epicmax with a Vue 2 codebase approaching 80,000 lines — two years of product development built on the Options API, with a custom component library that had accumulated significant inconsistency as the team grew from 3 to 14 engineers. The primary constraint: the product could not stop shipping. Epicmax designed an incremental migration strategy using Vue's official migration build, produced automated codemods for the mechanical transformations, rebuilt the component library on Vuestic UI V3 with a documented API system, and delivered the complete Vue 3 migration over 18 weeks — with zero feature freeze and no production regressions in migrated modules. The resulting codebase had 40% fewer lines of frontend code, full TypeScript coverage, and a component library that new engineers could learn in days rather than weeks.",[169,31496,31498],{"id":31497},"featured-case-study-quility-insurance","Featured case study: Quility Insurance",[14,31500,31501],{},"Quility is an award-winning US insurtech company with a mission to make life insurance accessible, affordable, and customised for everyone. Their digital platform allows customers to apply for life insurance online through a 10-minute application or with the support of a licensed agent. The Epicmax team was brought in to accelerate the development of Quility HQ — a central hub for agents and employees to access sales tools, view statistics, and conduct agent training — and to build a mobile version of the intranet application.",[2357,31503,31504,31510,31516],{},[188,31505,31506,31509],{},[2363,31507,31508],{},"Stack:"," Vue 2\u002F3, Vuetify, TypeScript, Chart.js, SCSS",[188,31511,31512,31515],{},[2363,31513,31514],{},"Duration:"," Ongoing, November 2021 — present",[188,31517,31518,31521],{},[2363,31519,31520],{},"Results:"," mobile version shipped, full feature set delivered, legacy code refactored, theming support added",[14,31523,31524],{},[128,31525,31527],{"href":31526},"\u002Fcase-studies\u002Fquility-insurance","Read the full case study",[169,31529,31531],{"id":31530},"ratings-and-reviews","Ratings and Reviews",[14,31533,31534],{},"Strong record on Clutch with consistent feedback on Vue.js architectural depth and migration delivery.",[31458,31536],{},[169,31538,31540],{"id":31539},"_2-monterail-wrocław-poland","2. Monterail — Wrocław, Poland",[14,31542,31543],{},[14615,31544],{"alt":31545,"src":31546},"Monterail logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fmonterail.png",[14,31548,31549],{},"Monterail is the Vue.js development agency that European product companies return to across multiple projects — a reliable signal that the relationship is delivering something beyond a single successful delivery. Founded in Wrocław in 2010, the agency's cross-functional sprint model integrates Vue.js engineers, UX designers, and QA specialists into shared cycles that produce coherent products rather than technically correct code that does not serve the actual user.",[169,31551,31553],{"id":31552},"where-monterail-excels","Where Monterail excels",[14,31555,31556],{},"Their test-first approach — behavioural tests written before implementation — reduces regression rates significantly in products with rapid release cadences. For scale-ups where engineering velocity and quality must coexist, Monterail's fifteen years of Vue.js delivery discipline produces both.",[169,31558,31560],{"id":31559},"what-clients-say","What clients say",[20999,31562,31563,31566],{},[14,31564,31565],{},"\"Monterail's code review process caught architectural issues our internal team had missed entirely. Three sprints in, we had higher test coverage than we'd achieved in two years of in-house development.\"",[14,31567,31568],{},"— CTO, Series B HR tech company",[169,31570,31531],{"id":31571},"ratings-and-reviews-1",[14,31573,31574],{},"Multi-year Clutch presence with repeat-client testimonials emphasising delivery discipline and team integration.",[31458,31576],{},[169,31578,31580],{"id":31579},"_3-netguru-poznań-poland","3. Netguru — Poznań, Poland",[14,31582,31583],{},[14615,31584],{"alt":31585,"src":31586},"Netguru logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fnetguru.png",[14,31588,31589],{},"Netguru fields nearly 700 engineers, including one of the largest pools of senior Vue.js developers in Central Europe — organised into an internal Vue.js guild that propagates architectural best practices and collective learnings across all projects simultaneously. Founded in 2008, the agency's scale enables a delivery model for large Vue.js programmes that smaller firms cannot match: multiple senior engineers on parallel workstreams, programme-level architectural oversight, and QA infrastructure for large component systems.",[169,31591,31593],{"id":31592},"where-netguru-excels","Where Netguru excels",[14,31595,31596],{},"Their product discovery process — structured commercial and technical exploration before any implementation — ensures Vue.js architecture decisions are made with full understanding of five-year product trajectory, not just current requirements. For enterprise Vue.js programmes where late-stage architectural correction is commercially prohibitive, this front-loaded investment in clarity consistently reduces total delivery cost.",[169,31598,31600],{"id":31599},"when-not-to-choose-netguru","When NOT to choose Netguru",[14,31602,31603],{},"If your primary need is strategic Vue.js consulting or deep architecture work on a small, complex codebase rather than large-scale delivery capacity, Netguru's strengths are greater than the engagement requires. Epicmax or Vueform will deliver more value at lower cost in that scenario.",[169,31605,31531],{"id":31606},"ratings-and-reviews-2",[14,31608,31609],{},"Enterprise-tier Clutch profile with documented track record across large product programmes.",[31458,31611],{},[169,31613,31615],{"id":31614},"_4-brocoders-tallinn-estonia","4. Brocoders — Tallinn, Estonia",[14,31617,31618],{},[14615,31619],{"alt":31620,"src":31621},"Brocoders logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fbrocoders.png",[14,31623,31624],{},"Among Vue.js app development firms that cover the full stack, Brocoders is the strongest JavaScript-native option: Vue 3 frontends paired with NestJS backends, sharing TypeScript interface definitions across the API boundary. Founded in Tallinn in 2015, their full-stack coherence eliminates a category of integration bugs — frontend components consuming poorly-shaped API responses — that organisations using separate frontend and backend vendors consistently encounter.",[169,31626,31628],{"id":31627},"where-brocoders-excels","Where Brocoders excels",[14,31630,31631],{},"Weekly production deployments with short feedback cycles give SaaS product teams continuous visibility into progress. For companies that have experienced long development phases with divergence from product intent, Brocoders' high-frequency delivery culture is a process improvement that compounds into better commercial outcomes.",[169,31633,31560],{"id":31634},"what-clients-say-1",[20999,31636,31637,31640],{},[14,31638,31639],{},"\"We'd worked with agencies that handed over a big release every six weeks. With Brocoders we were reviewing working features in production every Friday. The product ended up meaningfully different — and better — than what we originally specified.\"",[14,31641,31642],{},"— VP Product, B2B SaaS company",[169,31644,31531],{"id":31645},"ratings-and-reviews-3",[14,31647,31648],{},"Strong Clutch presence with consistent feedback on delivery cadence and full-stack TypeScript coherence.",[31458,31650],{},[169,31652,31654],{"id":31653},"_5-railsware-vilnius-lithuania","5. Railsware — Vilnius, Lithuania",[14,31656,31657],{},[14615,31658],{"alt":31659,"src":31660},"Railsware logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Frailsware.png",[14,31662,31663],{},"Among Vue software development companies that treat engineering as a product discipline rather than a technical service, Railsware is the strongest available option. Founded in Vilnius in 2005, their twenty-year history spans every major evolution in modern frontend development — and their Vue.js practice benefits from two decades of watching architectural decisions succeed and fail in production, producing strong evidence-based opinions about what actually works.",[169,31665,31667],{"id":31666},"where-railsware-excels","Where Railsware excels",[14,31669,31670],{},"Their discovery sprint model — one week of architectural risk identification before implementation — consistently surfaces the decisions that will be most expensive to reverse later. For product companies where engineering quality and commercial alignment must both be high, Railsware's combined Vue.js depth and product thinking culture consistently delivers both.",[169,31672,31674],{"id":31673},"when-not-to-choose-railsware","When NOT to choose Railsware",[14,31676,31677],{},"Their $100–$149\u002Fhr rate is justified by the depth they bring, but it makes them less cost-efficient for straightforward Vue.js implementation work that does not require their level of strategic engineering judgment. For delivery-focused engagements where the architecture is already defined, Monterail or Brocoders provide equivalent execution quality at lower cost.",[169,31679,31531],{"id":31680},"ratings-and-reviews-4",[14,31682,31683],{},"Premium Clutch tier with feedback emphasising product-engineering discipline rather than pure delivery throughput.",[31458,31685],{},[169,31687,31689],{"id":31688},"_6-vueform-remote-eu-based","6. Vueform — Remote (EU-based)",[14,31691,31692],{},[14615,31693],{"alt":31694,"src":31695},"Vueform logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fvueform.png",[14,31697,31698],{},"Vueform is staffed by the kind of Vue.js experts who have spent years solving one specific category of Vue.js problem at depth — rather than accumulating surface-level proficiency across many. As creators of the Vueform framework, the most feature-complete open-source Vue.js form library available, their consulting practice applies this hard-won expertise directly to client products with complex data-entry requirements, dynamic schema systems, and multi-step workflow components.",[169,31700,31702],{"id":31701},"where-vueform-excels","Where Vueform excels",[14,31704,31705],{},"For projects where the primary Vue.js complexity lives in the component interaction layer — validation logic trees, conditional rendering, schema-driven UI, multi-step state — Vueform's specialisation delivers in timelines that general-purpose teams simply cannot achieve. Their framework's enterprise adoption is the most credible possible evidence of their component engineering quality: you can read the code and review how they handle edge cases before signing anything.",[169,31707,31560],{"id":31708},"what-clients-say-2",[20999,31710,31711,31714],{},[14,31712,31713],{},"\"We'd spent three months trying to build a dynamic form system with our Vue.js team. Vueform rebuilt it in three weeks and it handled every edge case we threw at it. The codebase went from 4,000 lines of custom form logic to 800 lines using their framework.\"",[14,31715,31716],{},"— Lead Engineer, insurance SaaS",[31458,31718],{},[169,31720,31722],{"id":31721},"_7-merixstudio-poznań-poland","7. Merixstudio — Poznań, Poland",[14,31724,31725],{},[14615,31726],{"alt":31727,"src":31728},"Merixstudio logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fmerixstudio.png",[14,31730,31731],{},"Merixstudio is one of the oldest custom Vue.js development companies in Poland — founded in 1999, making them one of the few Vue.js agencies with a software engineering track record longer than Vue.js itself. Their audit-first methodology: two weeks of architecture assessment before any delivery commitment, producing migration or build plans based on what the codebase actually contains rather than what the specification describes.",[169,31733,31735],{"id":31734},"where-merixstudio-excels","Where Merixstudio excels",[14,31737,31738],{},"Their pre-engagement audit — covering component complexity, third-party compatibility, TypeScript adoption, and build infrastructure — gives enterprise clients a factual investment decision basis before committing to a programme. For organisations that have experienced Vue.js project overruns from underestimated complexity, Merixstudio's methodical upfront assessment is one of the highest-ROI services available before a large engineering commitment.",[169,31740,31742],{"id":31741},"when-not-to-choose-merixstudio","When NOT to choose Merixstudio",[14,31744,31745],{},"Their scale and process rigour make them less agile for early-stage companies that need to move quickly and iterate. For seed to Series A SaaS companies, Brocoders or Apiko will deliver faster initial velocity at lower cost.",[169,31747,31531],{"id":31748},"ratings-and-reviews-5",[14,31750,31751],{},"Long-standing Clutch record with feedback emphasising the value of their pre-engagement audit phase.",[31458,31753],{},[169,31755,31757],{"id":31756},"_8-apiko-ivano-frankivsk-ukraine","8. Apiko — Ivano-Frankivsk, Ukraine",[14,31759,31760],{},[14615,31761],{"alt":31762,"src":31763},"Apiko logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fapiko.png",[14,31765,31766],{},"Among Vue software development firms in Eastern Europe at the accessible price tier, Apiko delivers the most architecturally sophisticated Vue.js migrations available. Founded in Ivano-Frankivsk in 2014, their composable-first approach to Vue 2 to Vue 3 migration produces not just framework-current code but genuinely better code — composable libraries that encapsulate reactive logic clearly, migrated components with fewer lines and more predictable behaviour, and an architectural foundation that accelerates future development rather than merely inheriting the structure of the Vue 2 original.",[169,31768,31770],{"id":31769},"where-apiko-excels","Where Apiko excels",[14,31772,31773],{},"The secondary value of Apiko's composable-first migration is an architectural dividend: the composable library produced during migration becomes a reusable asset for future development. New features built after migration are consistently faster to implement because the reactive logic patterns are established, documented, and reusable — rather than requiring engineers to rediscover the same patterns independently across components.",[169,31775,31560],{"id":31776},"what-clients-say-3",[20999,31778,31779,31782],{},[14,31780,31781],{},"\"Our Vue 2 codebase was technically migrated to Vue 3 syntax by our previous agency, but the architecture hadn't changed — it was still Options API thinking in Composition API clothing. Apiko rewrote the core modules correctly in four weeks. The difference in readability was immediate.\"",[14,31783,31784],{},"— Engineering Manager, B2B SaaS",[169,31786,31531],{"id":31787},"ratings-and-reviews-6",[14,31789,31790],{},"Solid Clutch presence at the accessible price tier with feedback emphasising architectural quality despite lower rates.",[31458,31792],{},[169,31794,31796],{"id":31795},"_9-10clouds-warsaw-poland","9. 10Clouds — Warsaw, Poland",[14,31798,31799],{},[14615,31800],{"alt":31801,"src":31802},"10Clouds logo","\u002Fimages\u002Fblog\u002Fcompanies\u002F10clouds.png",[14,31804,31805],{},"10Clouds is the right choice when the Vue.js programme requires parallel delivery velocity without sacrificing architectural consistency. Founded in Warsaw in 2009, their migration architect role — a senior Vue.js engineer responsible for the architecture standard across all parallel workstreams — is the governance mechanism that prevents large parallel Vue.js programmes from fragmenting into modules with incompatible patterns and inconsistent implementations.",[169,31807,31809],{"id":31808},"where-10clouds-excels","Where 10Clouds excels",[14,31811,31812],{},"Their quality gate process — every module reviewed against the migration architecture standard before merge — prevents pattern drift in programmes where multiple engineers work simultaneously. For Vue.js programmes where calendar velocity is constrained by external factors (investment timelines, product launch dates, competitive pressure), 10Clouds' parallel delivery capability compresses timelines without the consistency cost that ungoverned parallel work consistently produces.",[169,31814,31816],{"id":31815},"when-not-to-choose-10clouds","When NOT to choose 10Clouds",[14,31818,31819],{},"For small Vue.js projects where a two-engineer team working sequentially is the appropriate model, 10Clouds' governance infrastructure is overhead that does not pay for itself. Their sweet spot is programmes where parallel workstreams are genuinely necessary — typically five or more engineers and 20,000+ lines of Vue.js code to migrate or build.",[169,31821,31531],{"id":31822},"ratings-and-reviews-7",[14,31824,31825],{},"Established Clutch profile with feedback emphasising parallel-delivery governance and consistency at scale.",[31458,31827],{},[169,31829,31831],{"id":31830},"_10-sunscrapers-warsaw-poland","10. Sunscrapers — Warsaw, Poland",[14,31833,31834],{},[14615,31835],{"alt":31836,"src":31837},"Sunscrapers logo","\u002Fimages\u002Fblog\u002Fcompanies\u002Fsunscrapers.png",[14,31839,31840],{},"Sunscrapers is the strongest option on this list for Vue.js applications where the primary challenge is making large datasets fast, navigable, and coherent in a Vue.js interface. Founded in Warsaw in 2011, the firm's dual Vue.js and Python expertise allows them to address data-heavy Vue.js performance not just at the frontend rendering layer but at the API design layer — shaping Django and FastAPI endpoints around what Vue.js components actually need, eliminating the frontend transformation overhead that generic REST responses impose.",[169,31842,31844],{"id":31843},"where-sunscrapers-excels","Where Sunscrapers excels",[14,31846,31847],{},"Their performance measurement discipline — baseline Vue.js rendering metrics captured before any work begins, validated against after delivery — means clients know whether Sunscrapers' work actually improved performance rather than relying on subjective perception. For SaaS products where rendering performance is a user experience metric that directly affects retention, this measurement rigour is commercially meaningful.",[169,31849,31560],{"id":31850},"what-clients-say-4",[20999,31852,31853,31856],{},[14,31854,31855],{},"\"Our dashboard was loading 8 seconds for a 10,000-row dataset. Sunscrapers diagnosed the issue at the API layer — we were fetching 40 fields per row and using 4 in the view. After their API redesign and Vue.js virtual scrolling implementation, the same dataset loaded in 900ms.\"",[14,31857,31858],{},"— CTO, analytics SaaS",[169,31860,31531],{"id":31861},"ratings-and-reviews-8",[14,31863,31864],{},"Niche Clutch presence with strong feedback in data-heavy SaaS engagements.",[31458,31866],{},[18,31868,31870],{"id":31869},"typical-vuejs-project-timelines-and-budgets","Typical Vue.js Project Timelines and Budgets",[14,31872,31873],{},"Use the table below as a planning reference. Ranges are based on observed market rates for the companies in this guide and typical project scope — individual projects vary based on codebase complexity, team experience, and requirements clarity.",[26,31875,31876,31895],{},[29,31877,31878],{},[32,31879,31880,31883,31886,31889,31892],{},[35,31881,31882],{},"Project Type",[35,31884,31885],{},"Team Size",[35,31887,31888],{},"Timeline",[35,31890,31891],{},"Typical Budget",[35,31893,31894],{},"Recommended Partner Type",[51,31896,31897,31914,31931,31948,31964,31981],{},[32,31898,31899,31902,31905,31908,31911],{},[56,31900,31901],{},"Vue 3 architecture audit",[56,31903,31904],{},"1–2 consultants",[56,31906,31907],{},"2–4 weeks",[56,31909,31910],{},"$5k–$20k",[56,31912,31913],{},"Specialist (Epicmax, Vueform)",[32,31915,31916,31919,31922,31925,31928],{},[56,31917,31918],{},"MVP SaaS frontend (Vue 3)",[56,31920,31921],{},"2–3 engineers",[56,31923,31924],{},"8–14 weeks",[56,31926,31927],{},"$25k–$80k",[56,31929,31930],{},"Full-stack agency (Brocoders, Railsware)",[32,31932,31933,31936,31939,31942,31945],{},[56,31934,31935],{},"Design system build",[56,31937,31938],{},"2–4 engineers",[56,31940,31941],{},"10–16 weeks",[56,31943,31944],{},"$30k–$100k",[56,31946,31947],{},"OSS specialist (Epicmax)",[32,31949,31950,31953,31955,31958,31961],{},[56,31951,31952],{},"Vue 2 → Vue 3 migration",[56,31954,31938],{},[56,31956,31957],{},"8–24 weeks",[56,31959,31960],{},"$20k–$150k",[56,31962,31963],{},"Migration specialist (Epicmax, Apiko)",[32,31965,31966,31969,31972,31975,31978],{},[56,31967,31968],{},"Enterprise Vue.js product",[56,31970,31971],{},"5–10 engineers",[56,31973,31974],{},"6–18 months",[56,31976,31977],{},"$200k–$1M+",[56,31979,31980],{},"Scale agency (Netguru, Monterail)",[32,31982,31983,31986,31989,31992,31995],{},[56,31984,31985],{},"Full-stack Vue + backend",[56,31987,31988],{},"3–6 engineers",[56,31990,31991],{},"12–20 weeks",[56,31993,31994],{},"$60k–$250k",[56,31996,31997],{},"Full-stack firm (Brocoders, Sunscrapers)",[18,31999,32001],{"id":32000},"how-to-choose-the-right-vuejs-development-company","How to Choose the Right Vue.js Development Company",[14,32003,32004],{},"The Quick Pick table at the top of this guide covers the most common scenarios. For more complex decisions, the following framework helps:",[14,32006,32007,32010],{},[2363,32008,32009],{},"Define the primary technical challenge first."," Architecture design, delivery execution, domain-specific expertise, scale, and cost-efficiency are all legitimate primary needs — but they point to different companies. Conflating them leads to selecting a company that does everything adequately but nothing exceptionally.",[14,32012,32013,32016],{},[2363,32014,32015],{},"Evaluate Vue 3 depth, not Vue.js brand recognition."," A company with ten years of Vue.js experience but primarily Vue 2 work is less equipped for a modern Vue 3 project than a newer agency with a focused Vue 3 practice. Check portfolio dates and specifically ask for Composition API code samples.",[14,32018,32019,32022],{},[2363,32020,32021],{},"Ask for architectural references, not outcome references."," Client testimonials about delivery speed and communication are common. References that address architectural quality — \"their component API design aged well as our team grew\" — are rarer and more revealing. Ask specifically for a reference from an engineer who worked with or reviewed the code the agency delivered.",[14,32024,32025,32028],{},[2363,32026,32027],{},"Run the three-question test from earlier in this guide."," State management architecture, Options API migration, and component API design for shared libraries. The quality of the answer tells you more about Vue.js depth than any portfolio.",[14,32030,32031,32034],{},[2363,32032,32033],{},"Consider what happens after the engagement ends."," The agency leaves; your engineering team inherits the codebase. The most commercially valuable Vue.js partners are those that produce codebases your internal team can confidently maintain, extend, and understand — and that invest in knowledge transfer so that capability stays with you rather than the agency.",[18,32036,32038],{"id":32037},"frequently-asked-questions","Frequently Asked Questions",[14,32040,32041],{},[2363,32042,32043],{},"Vue.js vs React: which is better for SaaS products?",[14,32045,32046],{},"Neither framework is categorically better for SaaS — both have powered successful products at every scale. The practical considerations that favour Vue.js for SaaS: its more opinionated structure reduces architectural decision overhead for teams without a dedicated frontend architect; Pinia's state management API is cleaner and less boilerplate-heavy than the React ecosystem's fragmented state management options; and the Vue.js learning curve is consistently faster for engineers coming from traditional web backgrounds.",[14,32048,32049],{},"React's advantages: a larger talent pool in North American markets, broader enterprise adoption, and a larger ecosystem of third-party component libraries. For European SaaS companies, Vue.js is the more natural choice given the regional engineering talent distribution; for US-headquartered companies expecting primarily US engineering hires, React's talent pool advantage is real.",[14,32051,32052],{},[2363,32053,32054],{},"How do I evaluate a Vue.js agency's code quality before hiring?",[14,32056,32057],{},"Three practical approaches. First, ask for a GitHub repository or code sample from a completed project — not a curated portfolio piece, but a real feature branch or component library they can share. Evaluate: Composition API usage patterns, TypeScript coverage, test coverage, and whether composables are used for logic reuse rather than mixins. Second, conduct a technical interview with the specific engineer(s) who will work on your project, not the sales team — use the three architecture questions in this guide. Third, ask for a paid, time-boxed architecture review of your current codebase or a specific technical problem: the quality of their analysis and recommendations is the most direct evidence of their Vue.js depth you can get before commitment.",[14,32059,32060],{},[2363,32061,32062],{},"What is the difference between Vue 2 and Vue 3 that matters for choosing a development company?",[14,32064,32065],{},"The Composition API is the most significant difference for evaluating a Vue.js company. Vue 3's Composition API enables genuinely better code organisation — logic can be co-located, extracted into reusable composables, and tested independently in ways that Vue 2's Options API made structurally difficult. A company that still builds primarily with Options API patterns in Vue 3 is delivering technically current code with architecturally legacy structure. When evaluating agencies, ask whether they write new Vue 3 components with Composition API or Options API — the answer immediately reveals whether they have genuinely adopted Vue 3 or merely migrated their Vue 2 mindset to new syntax.",[14,32067,32068],{},[2363,32069,32070],{},"How much does a Vue.js development company typically cost?",[14,32072,32073],{},"Eastern European agencies — representing the majority of this guide — charge $25–$99\u002Fhr for senior engineers. The $50–$99 range covers strong senior developers at well-established firms. Below $25\u002Fhr, quality consistency becomes unpredictable. Above $150\u002Fhr typically reflects North American or Western European agencies where the premium buys timezone alignment and enterprise contract infrastructure rather than proportionally better Vue.js technical depth. For most SaaS product companies, the $50–$99\u002Fhr range from established Eastern European Vue.js specialists offers the best combination of technical quality and commercial efficiency.",[14,32075,32076],{},[2363,32077,32078],{},"Is it better to hire a Vue.js specialist agency or a general full-stack agency?",[14,32080,32081],{},"It depends entirely on where the primary complexity lives. If your product's hardest engineering problems are in the Vue.js frontend — architecture, component systems, performance — a specialist like Epicmax or Vueform will outperform a generalist at that specific challenge. If the complexity is evenly distributed across frontend and backend, a full-stack agency that handles both layers with a unified engineering culture (Brocoders, Railsware) typically produces more coherent outcomes than coordinating two separate specialists.",[14,32083,32084],{},"The most common mistake is hiring a full-stack generalist for a project where the Vue.js layer is the primary technical challenge — and getting backend-quality thinking applied to a frontend-architecture problem.",[31458,32086],{},[14,32088,32089],{},"The ten companies in this guide cover the full range of Vue.js development requirements — from ecosystem-level specialists who bring framework insight that client project experience cannot produce, to large process-mature agencies for enterprise scale, to domain specialists whose narrow focus delivers results generalists cannot match in their specific area.",[14,32091,32092],{},"The selection criteria that matter most in 2026: Vue 3 Composition API depth rather than Vue.js brand recognition; TypeScript as standard rather than option; a track record with production SaaS products at comparable complexity; and — most importantly — the ability to explain their architectural approach to your specific problem with operational specificity. The company that can do that convincingly is the one worth hiring.",{"title":197,"searchDepth":264,"depth":264,"links":32094},[32095,32096,32097,32139,32140,32141],{"id":31050,"depth":224,"text":31051},{"id":31185,"depth":224,"text":31186},{"id":31209,"depth":224,"text":31210,"children":32098},[32099,32100,32101,32102,32103,32104,32105,32106,32107,32108,32109,32110,32111,32112,32113,32114,32115,32116,32117,32118,32119,32120,32121,32122,32123,32124,32125,32126,32127,32128,32129,32130,32131,32132,32133,32134,32135,32136,32137,32138],{"id":31462,"depth":264,"text":31463},{"id":31483,"depth":264,"text":31484},{"id":31490,"depth":264,"text":31491},{"id":31497,"depth":264,"text":31498},{"id":31530,"depth":264,"text":31531},{"id":31539,"depth":264,"text":31540},{"id":31552,"depth":264,"text":31553},{"id":31559,"depth":264,"text":31560},{"id":31571,"depth":264,"text":31531},{"id":31579,"depth":264,"text":31580},{"id":31592,"depth":264,"text":31593},{"id":31599,"depth":264,"text":31600},{"id":31606,"depth":264,"text":31531},{"id":31614,"depth":264,"text":31615},{"id":31627,"depth":264,"text":31628},{"id":31634,"depth":264,"text":31560},{"id":31645,"depth":264,"text":31531},{"id":31653,"depth":264,"text":31654},{"id":31666,"depth":264,"text":31667},{"id":31673,"depth":264,"text":31674},{"id":31680,"depth":264,"text":31531},{"id":31688,"depth":264,"text":31689},{"id":31701,"depth":264,"text":31702},{"id":31708,"depth":264,"text":31560},{"id":31721,"depth":264,"text":31722},{"id":31734,"depth":264,"text":31735},{"id":31741,"depth":264,"text":31742},{"id":31748,"depth":264,"text":31531},{"id":31756,"depth":264,"text":31757},{"id":31769,"depth":264,"text":31770},{"id":31776,"depth":264,"text":31560},{"id":31787,"depth":264,"text":31531},{"id":31795,"depth":264,"text":31796},{"id":31808,"depth":264,"text":31809},{"id":31815,"depth":264,"text":31816},{"id":31822,"depth":264,"text":31531},{"id":31830,"depth":264,"text":31831},{"id":31843,"depth":264,"text":31844},{"id":31850,"depth":264,"text":31560},{"id":31861,"depth":264,"text":31531},{"id":31869,"depth":224,"text":31870},{"id":32000,"depth":224,"text":32001},{"id":32037,"depth":224,"text":32038},"2025-05-13","Compare the best Vue.js development firms — from specialized studios to global agencies. Find the right partner for your project.",[32145,32147,32149,32151,32153],{"question":32043,"answer":32146},"Neither framework is categorically better for SaaS — both have powered successful products at every scale. Vue.js favours SaaS teams without a dedicated frontend architect thanks to its more opinionated structure, Pinia's cleaner state management, and a faster learning curve. React's advantages are a larger North American talent pool, broader enterprise adoption, and a bigger third-party ecosystem. For European SaaS companies Vue.js is the more natural choice; for US-headquartered companies hiring primarily US engineers, React's talent-pool advantage is real.",{"question":32054,"answer":32148},"Three practical approaches. First, ask for a real GitHub repository or code sample — not a curated portfolio piece — and evaluate Composition API patterns, TypeScript coverage, test coverage, and composable usage. Second, conduct a technical interview with the engineers who will actually work on your project, not the sales team. Third, ask for a paid, time-boxed architecture review of your current codebase — the quality of their analysis is the most direct evidence of their Vue.js depth before commitment.",{"question":32062,"answer":32150},"The Composition API is the most significant difference. It enables genuinely better code organisation — logic can be co-located, extracted into reusable composables, and tested independently in ways Vue 2's Options API made difficult. A company that still builds primarily with Options API patterns in Vue 3 is delivering technically current code with architecturally legacy structure. Ask whether they write new Vue 3 components with the Composition API or Options API — the answer reveals whether they have genuinely adopted Vue 3.",{"question":32070,"answer":32152},"Eastern European agencies charge $25–$99\u002Fhr for senior engineers, with $50–$99 covering strong seniors at well-established firms. Below $25\u002Fhr, quality consistency becomes unpredictable. Above $150\u002Fhr typically reflects North American or Western European agencies where the premium buys timezone alignment and enterprise contract infrastructure rather than proportionally better technical depth. For most SaaS product companies, $50–$99\u002Fhr from established Eastern European specialists offers the best combination of quality and commercial efficiency.",{"question":32078,"answer":32154},"It depends on where the primary complexity lives. If your product's hardest engineering problems are in the Vue.js frontend — architecture, component systems, performance — a specialist will outperform a generalist. If complexity is evenly distributed across frontend and backend, a full-stack agency with a unified engineering culture typically produces more coherent outcomes than coordinating two specialists. The most common mistake is hiring a full-stack generalist for a project where the Vue.js layer is the primary technical challenge.","\u002Fimages\u002Fblog\u002Ftop-vue-js-companies-to-work-with\u002Fcard.png",{},"\u002Fblog\u002Ftop-vue-js-companies-to-work-with",{"title":31036,"description":32143},"blog\u002Ftop-vue-js-companies-to-work-with",[2822],"rr5v4ur7doqcXJO7E9hB0Cc6KOZKK_AXhp5k78lCYvQ",{"id":32163,"title":32164,"articleType":1008,"author":12943,"authorSlug":1008,"body":32165,"cta":1008,"date":32259,"description":32260,"extension":1011,"faq":1008,"featured":1021,"image":32186,"meta":32261,"navigation":653,"noCtaBox":1021,"path":32262,"readTime":1008,"seo":32263,"seoTitle":1008,"stem":32264,"tags":32265,"topic":15025,"video":1008,"__hash__":32266},"blog\u002Fblog\u002Fepicmax-madvue-2025.md","Epicmax Sponsors MadVue 2025 – Let's Meet in Madrid!",{"type":11,"value":32166,"toc":32254},[32167,32181,32187,32191,32200,32204,32211,32214,32228,32232,32235,32251],[14,32168,32169,32170,32173,32174,519,32177,32180],{},"We're thrilled to announce that ",[2363,32171,32172],{},"Epicmax is an official sponsor of MadVue 2025",", the Vue.js event happening on ",[2363,32175,32176],{},"May 29th, 2025",[2363,32178,32179],{},"Madrid, Spain","! MadVue brings together the most passionate Vue developers, community contributors, and forward-thinking companies — and we're proud to support this amazing event dedicated to innovation in the Vue ecosystem.",[14,32182,32183],{},[14615,32184],{"alt":32185,"src":32186},"MadVue 2025 in Madrid","\u002Fimages\u002Fblog\u002Fepicmax-madvue-2025\u002Fcard.jpeg",[18,32188,32190],{"id":32189},"why-madvue","Why MadVue?",[14,32192,32193,32194,955,32196,32199],{},"As long-time contributors to the Vue.js community and creators of open-source projects like ",[2363,32195,13021],{},[2363,32197,32198],{},"Vuestic Admin",", we deeply believe in the power of community-driven development. Events like MadVue are essential for sharing knowledge, sparking collaboration, and driving the future of front-end development.",[18,32201,32203],{"id":32202},"what-we-bring-to-the-table","What we bring to the table",[14,32205,32206,32207,32210],{},"With ",[2363,32208,32209],{},"60+ Vue.js projects"," delivered for clients around the world, we've seen and solved nearly every front-end challenge out there. But we don't just ship code — we partner with our clients to embed frontend expertise directly into their product teams, helping them grow smarter and faster.",[14,32212,32213],{},"At MadVue, you'll have a chance to:",[2357,32215,32216,32219,32222,32225],{},[188,32217,32218],{},"Meet our team in person",[188,32220,32221],{},"Ask questions about Vue.js architecture, component libraries, performance, and scalability",[188,32223,32224],{},"Get a behind-the-scenes look at Vuestic UI and what's next",[188,32226,32227],{},"Explore collaboration opportunities and career paths",[18,32229,32231],{"id":32230},"see-you-in-madrid","See you in Madrid!",[14,32233,32234],{},"Whether you're a developer, a company looking for Vue expertise, or someone who just loves frontend — we'd love to meet you at MadVue!",[2357,32236,32237,32240,32243],{},[188,32238,32239],{},"🗓️ May 29, 2025",[188,32241,32242],{},"📍 Madrid, Spain",[188,32244,32245,32246],{},"👉 Get your ticket: ",[128,32247,32250],{"href":32248,"rel":32249},"https:\u002F\u002Fmadvue.es\u002F",[4980],"madvue.es",[14,32252,32253],{},"Let's build the future of Vue — together.",{"title":197,"searchDepth":264,"depth":264,"links":32255},[32256,32257,32258],{"id":32189,"depth":224,"text":32190},{"id":32202,"depth":224,"text":32203},{"id":32230,"depth":224,"text":32231},"2025-05-12","Epicmax is an official sponsor of MadVue 2025 in Madrid on May 29th. Meet our team, talk Vue.js architecture, and get a look at what's next for Vuestic UI.",{},"\u002Fblog\u002Fepicmax-madvue-2025",{"title":32164,"description":32260},"blog\u002Fepicmax-madvue-2025",[15023,2822],"3rhNgwJ71gR9sYSgynf-wQrY98dU05A1Tqe9ZhsOuNY",{"id":32268,"title":32269,"articleType":1008,"author":12943,"authorSlug":1008,"body":32270,"cta":1008,"date":32354,"description":32355,"extension":1011,"faq":1008,"featured":1021,"image":32356,"meta":32357,"navigation":653,"noCtaBox":1021,"path":920,"readTime":1008,"seo":32358,"seoTitle":1008,"stem":32359,"tags":32360,"topic":13049,"video":1008,"__hash__":32361},"blog\u002Fblog\u002Fepicmax-official-nuxt-partner.md","Epicmax Becomes Official Nuxt Partner",{"type":11,"value":32271,"toc":32350},[32272,32278,32281,32287,32291,32294,32314,32317,32320,32326,32330,32344,32347],[14,32273,32274,32275],{},"We're happy to share some great news: ",[2363,32276,32277],{},"Epicmax is now an official partner of Nuxt!",[14,32279,32280],{},"Nuxt is one of the most powerful and user-friendly frameworks for building modern web apps. It's built on top of Vue.js and gives you everything you need to create fast, secure, and scalable websites — with server-side rendering, static site generation, and great developer experience out of the box.",[14,32282,32283,32284,534],{},"But what really makes Nuxt special is the ",[2363,32285,32286],{},"team behind it",[18,32288,32290],{"id":32289},"the-team-behind-nuxt","The team behind Nuxt",[14,32292,32293],{},"The Nuxt team is building a full suite of tools for developers:",[2357,32295,32296,32302,32308],{},[188,32297,32298,32301],{},[2363,32299,32300],{},"Nuxt UI Pro"," — a set of premium UI components to build beautiful interfaces faster",[188,32303,32304,32307],{},[2363,32305,32306],{},"Nuxt Studio"," — a visual editor to manage content on Nuxt websites without touching code",[188,32309,32310,32313],{},[2363,32311,32312],{},"NuxtHub"," — a full platform to deploy and manage Nuxt apps at scale",[14,32315,32316],{},"This shows one thing: the Nuxt team really cares about making development faster, smoother, and more fun — not just for indie developers, but for professional teams and businesses too.",[14,32318,32319],{},"At Epicmax, we've been using Nuxt in real-world projects for years: from landing pages to admin panels to full SaaS platforms. We love Nuxt because it enables us to move quickly and build reliable, high-quality apps that scale.",[14,32321,32322,32323,32325],{},"For companies with existing Vue or Nuxt 2 applications, our ",[128,32324,2720],{"href":2719}," help upgrade smoothly to Nuxt 3 while ensuring better performance, maintainability, and long-term support.",[18,32327,32329],{"id":32328},"what-becoming-a-nuxt-partner-gives-us","What becoming a Nuxt partner gives us",[2357,32331,32332,32335,32338,32341],{},[188,32333,32334],{},"✅ Early access to new features and tools",[188,32336,32337],{},"✅ Direct communication with the Nuxt core team",[188,32339,32340],{},"✅ Even more trust from our clients",[188,32342,32343],{},"✅ A chance to contribute back to the Vue\u002FNuxt community",[14,32345,32346],{},"We're proud to be part of this growing ecosystem and excited for what's next. If you're looking to build something with Nuxt — let's talk!",[6170,32348],{"label":32349,"to":6173},"Start a Nuxt project",{"title":197,"searchDepth":264,"depth":264,"links":32351},[32352,32353],{"id":32289,"depth":224,"text":32290},{"id":32328,"depth":224,"text":32329},"2025-04-02","Epicmax is now an official Nuxt partner — with early access to new features, direct communication with the Nuxt core team, and years of real-world Nuxt experience.","\u002Fimages\u002Fblog\u002Fepicmax-official-nuxt-partner\u002Fcard.png",{},{"title":32269,"description":32355},"blog\u002Fepicmax-official-nuxt-partner",[1030,13048],"ULWC_HqfIsHDRzEGc1MpnyLq-5Khqdi8iusYqrNbX-8",{"id":32363,"title":32364,"articleType":7,"author":12943,"authorSlug":1008,"body":32365,"cta":1008,"date":36340,"description":36341,"extension":1011,"faq":1008,"featured":1021,"image":36342,"meta":36343,"navigation":653,"noCtaBox":1021,"path":36344,"readTime":1008,"seo":36345,"seoTitle":1008,"stem":36346,"tags":36347,"topic":36349,"video":1008,"__hash__":36350},"blog\u002Fblog\u002Fvueform.md","Vueform + Vuestic UI: Full Integration for Scalable Vue Forms",{"type":11,"value":32366,"toc":36323},[32367,32370,32374,32377,32397,32401,32408,32724,32733,32755,32766,32770,32776,32935,32939,33042,33047,33051,33062,33432,33447,33451,33454,33770,33780,33784,33790,33857,33860,33864,33889,33993,33999,34063,34067,34070,34500,34504,34615,34619,34625,35262,35266,35482,35492,35633,35637,35826,35868,35872,35877,35913,35918,36086,36091,36283,36289,36292,36295,36315,36318,36320],[14,32368,32369],{},"Vueform is a powerful form framework for Vue, and Vuestic UI is a full-featured component library. This guide walks through building a custom wrapper around Vuestic UI components for use inside Vueform, covering everything you need for full compatibility.",[18,32371,32373],{"id":32372},"integration-methods","Integration methods",[14,32375,32376],{},"Vueform offers several integration strategies:",[2357,32378,32379,32385,32391],{},[188,32380,32381,32384],{},[2363,32382,32383],{},"Generic Elements"," — maximum flexibility, full control over props, slots, and events. In this article, we will consider this approach.",[188,32386,32387,32390],{},[2363,32388,32389],{},"Plugins"," — more suitable for extending existing functionality, adding new props and features.",[188,32392,32393,32396],{},[2363,32394,32395],{},"Alternative Views"," — easier if you don't want to develop a new element.",[18,32398,32400],{"id":32399},"step-1-create-a-custom-wrapper-for-a-vuestic-ui-component","Step 1: Create a custom wrapper for a Vuestic UI component",[14,32402,32403,32404,32407],{},"Let's create our first wrapper. For this, we will use ",[137,32405,32406],{},"VaInput"," from Vuestic UI:",[192,32409,32411],{"className":1333,"code":32410,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CElementLayout>\n    \u003Ctemplate #element>\n      \u003CVaInput \u002F>\n    \u003C\u002Ftemplate>\n    \u003Ctemplate v-for=\"(component, slot) in elementSlots\" #[slot]>\n      \u003Cslot :name=\"slot\" :el$=\"el$\">\n        \u003Ccomponent :is=\"component\" :el$=\"el$\" \u002F>\n      \u003C\u002Fslot>\n    \u003C\u002Ftemplate>\n  \u003C\u002FElementLayout>\n\u003C\u002Ftemplate>\n\n\u003Cscript>\nimport { defineElement } from '@vueform\u002Fvueform'\nimport { VaInput } from 'vuestic-ui'\n\nexport default defineElement({\n  name: 'VaInputElement',\n  components: [VaInput],\n  setup(props, { element }) {\n    \u002F\u002F Initial setup\n  },\n})\n\u003C\u002Fscript>\n",[137,32412,32413,32421,32430,32444,32452,32460,32495,32525,32554,32562,32570,32578,32586,32590,32598,32618,32638,32642,32654,32670,32682,32701,32706,32710,32716],{"__ignoreMap":197},[201,32414,32415,32417,32419],{"class":203,"line":204},[201,32416,1342],{"class":260},[201,32418,1715],{"class":267},[201,32420,1718],{"class":260},[201,32422,32423,32425,32428],{"class":203,"line":224},[201,32424,1723],{"class":260},[201,32426,32427],{"class":267},"ElementLayout",[201,32429,1718],{"class":260},[201,32431,32432,32434,32436,32439,32442],{"class":203,"line":264},[201,32433,5556],{"class":260},[201,32435,1715],{"class":267},[201,32437,32438],{"class":260}," #",[201,32440,32441],{"class":659},"element",[201,32443,1718],{"class":260},[201,32445,32446,32448,32450],{"class":203,"line":290},[201,32447,5578],{"class":260},[201,32449,32406],{"class":267},[201,32451,1539],{"class":260},[201,32453,32454,32456,32458],{"class":203,"line":301},[201,32455,5599],{"class":260},[201,32457,1715],{"class":267},[201,32459,1718],{"class":260},[201,32461,32462,32464,32466,32468,32470,32472,32475,32477,32480,32482,32485,32487,32490,32492],{"class":203,"line":319},[201,32463,5556],{"class":260},[201,32465,1715],{"class":267},[201,32467,5528],{"class":245},[201,32469,1353],{"class":260},[201,32471,1356],{"class":260},[201,32473,32474],{"class":256},"(component",[201,32476,409],{"class":260},[201,32478,32479],{"class":256}," slot) ",[201,32481,11323],{"class":260},[201,32483,32484],{"class":256}," elementSlots",[201,32486,1356],{"class":260},[201,32488,32489],{"class":260}," #[",[201,32491,20236],{"class":256},[201,32493,32494],{"class":260},"]>\n",[201,32496,32497,32499,32501,32503,32505,32507,32509,32511,32514,32516,32518,32521,32523],{"class":203,"line":329},[201,32498,5578],{"class":260},[201,32500,20236],{"class":267},[201,32502,9772],{"class":659},[201,32504,1353],{"class":260},[201,32506,1356],{"class":260},[201,32508,20236],{"class":211},[201,32510,1356],{"class":260},[201,32512,32513],{"class":659}," :el$",[201,32515,1353],{"class":260},[201,32517,1356],{"class":260},[201,32519,32520],{"class":211},"el$",[201,32522,1356],{"class":260},[201,32524,1718],{"class":260},[201,32526,32527,32529,32531,32534,32536,32538,32540,32542,32544,32546,32548,32550,32552],{"class":203,"line":346},[201,32528,24173],{"class":260},[201,32530,20668],{"class":267},[201,32532,32533],{"class":659}," :is",[201,32535,1353],{"class":260},[201,32537,1356],{"class":260},[201,32539,20668],{"class":211},[201,32541,1356],{"class":260},[201,32543,32513],{"class":659},[201,32545,1353],{"class":260},[201,32547,1356],{"class":260},[201,32549,32520],{"class":211},[201,32551,1356],{"class":260},[201,32553,1539],{"class":260},[201,32555,32556,32558,32560],{"class":203,"line":363},[201,32557,24275],{"class":260},[201,32559,20236],{"class":267},[201,32561,1718],{"class":260},[201,32563,32564,32566,32568],{"class":203,"line":380},[201,32565,5599],{"class":260},[201,32567,1715],{"class":267},[201,32569,1718],{"class":260},[201,32571,32572,32574,32576],{"class":203,"line":391},[201,32573,5608],{"class":260},[201,32575,32427],{"class":267},[201,32577,1718],{"class":260},[201,32579,32580,32582,32584],{"class":203,"line":441},[201,32581,1760],{"class":260},[201,32583,1715],{"class":267},[201,32585,1718],{"class":260},[201,32587,32588],{"class":203,"line":484},[201,32589,654],{"emptyLinePlaceholder":653},[201,32591,32592,32594,32596],{"class":203,"line":492},[201,32593,1342],{"class":260},[201,32595,2936],{"class":267},[201,32597,1718],{"class":260},[201,32599,32600,32602,32604,32607,32609,32611,32613,32616],{"class":203,"line":498},[201,32601,626],{"class":245},[201,32603,631],{"class":260},[201,32605,32606],{"class":256}," defineElement",[201,32608,637],{"class":260},[201,32610,640],{"class":245},[201,32612,309],{"class":260},[201,32614,32615],{"class":211},"@vueform\u002Fvueform",[201,32617,648],{"class":260},[201,32619,32620,32622,32624,32627,32629,32631,32633,32636],{"class":203,"line":504},[201,32621,626],{"class":245},[201,32623,631],{"class":260},[201,32625,32626],{"class":256}," VaInput",[201,32628,637],{"class":260},[201,32630,640],{"class":245},[201,32632,309],{"class":260},[201,32634,32635],{"class":211},"vuestic-ui",[201,32637,648],{"class":260},[201,32639,32640],{"class":203,"line":5949},[201,32641,654],{"emptyLinePlaceholder":653},[201,32643,32644,32646,32648,32650,32652],{"class":203,"line":5956},[201,32645,246],{"class":245},[201,32647,249],{"class":245},[201,32649,32606],{"class":252},[201,32651,257],{"class":256},[201,32653,261],{"class":260},[201,32655,32656,32659,32661,32663,32666,32668],{"class":203,"line":5965},[201,32657,32658],{"class":267},"  name",[201,32660,271],{"class":260},[201,32662,309],{"class":260},[201,32664,32665],{"class":211},"VaInputElement",[201,32667,277],{"class":260},[201,32669,287],{"class":260},[201,32671,32672,32675,32677,32680],{"class":203,"line":5970},[201,32673,32674],{"class":267},"  components",[201,32676,271],{"class":260},[201,32678,32679],{"class":256}," [VaInput]",[201,32681,287],{"class":260},[201,32683,32684,32686,32688,32690,32692,32694,32697,32699],{"class":203,"line":5979},[201,32685,28036],{"class":267},[201,32687,257],{"class":260},[201,32689,20628],{"class":2106},[201,32691,409],{"class":260},[201,32693,631],{"class":260},[201,32695,32696],{"class":2106}," element",[201,32698,2137],{"class":260},[201,32700,298],{"class":260},[201,32702,32703],{"class":203,"line":5988},[201,32704,32705],{"class":239},"    \u002F\u002F Initial setup\n",[201,32707,32708],{"class":203,"line":6008},[201,32709,501],{"class":260},[201,32711,32712,32714],{"class":203,"line":6029},[201,32713,507],{"class":260},[201,32715,510],{"class":256},[201,32717,32718,32720,32722],{"class":203,"line":6038},[201,32719,1760],{"class":260},[201,32721,2936],{"class":267},[201,32723,1718],{"class":260},[14,32725,32726,32729,32730,32732],{},[137,32727,32728],{},"defineElement"," is imported directly from ",[137,32731,32615],{},". This is our main helper function for creating a custom component.",[14,32734,5350,32735,32737,32738,4576,32741,4576,32744,4576,32746,4576,32748,4576,32751,32754],{},[137,32736,11454],{}," block passes generic slots from Vueform (",[137,32739,32740],{},"label",[137,32742,32743],{},"info",[137,32745,5944],{},[137,32747,30618],{},[137,32749,32750],{},"between",[137,32752,32753],{},"after","). There aren't many of them, but they can conflict with slots from Vuestic UI, so they can be removed.",[14,32756,32757,32758,32761,32762,32765],{},"The name ",[137,32759,32760],{},"'VaInputElement'"," is special — every name should end with ",[137,32763,32764],{},"'Element'",". This allows Vueform to render the form through the schema (we'll touch on this later).",[18,32767,32769],{"id":32768},"step-2-register-your-component","Step 2: Register your component",[14,32771,10859,32772,32775],{},[137,32773,32774],{},"vueform.config.ts"," in the root of the project and import your wrapper:",[192,32777,32779],{"className":230,"code":32778,"language":232,"meta":197,"style":197},"import en from '@vueform\u002Fvueform\u002Flocales\u002Fen'\nimport vueform from '@vueform\u002Fvueform\u002Fdist\u002Fvueform'\nimport { defineConfig } from '@vueform\u002Fvueform'\nimport '@vueform\u002Fvueform\u002Fdist\u002Fvueform.css';\nimport VaInputElement from '.\u002Fsrc\u002FVaInputElement.vue';\n\nexport default defineConfig({\n  theme: vueform,\n  locales: { en },\n  locale: 'en',\n  elements: [VaInputElement]\n})\n",[137,32780,32781,32797,32813,32831,32844,32862,32866,32878,32890,32903,32919,32929],{"__ignoreMap":197},[201,32782,32783,32785,32788,32790,32792,32795],{"class":203,"line":204},[201,32784,626],{"class":245},[201,32786,32787],{"class":256}," en ",[201,32789,23381],{"class":245},[201,32791,309],{"class":260},[201,32793,32794],{"class":211},"@vueform\u002Fvueform\u002Flocales\u002Fen",[201,32796,648],{"class":260},[201,32798,32799,32801,32804,32806,32808,32811],{"class":203,"line":224},[201,32800,626],{"class":245},[201,32802,32803],{"class":256}," vueform ",[201,32805,23381],{"class":245},[201,32807,309],{"class":260},[201,32809,32810],{"class":211},"@vueform\u002Fvueform\u002Fdist\u002Fvueform",[201,32812,648],{"class":260},[201,32814,32815,32817,32819,32821,32823,32825,32827,32829],{"class":203,"line":264},[201,32816,626],{"class":245},[201,32818,631],{"class":260},[201,32820,23051],{"class":256},[201,32822,637],{"class":260},[201,32824,640],{"class":245},[201,32826,309],{"class":260},[201,32828,32615],{"class":211},[201,32830,648],{"class":260},[201,32832,32833,32835,32837,32840,32842],{"class":203,"line":290},[201,32834,626],{"class":245},[201,32836,309],{"class":260},[201,32838,32839],{"class":211},"@vueform\u002Fvueform\u002Fdist\u002Fvueform.css",[201,32841,277],{"class":260},[201,32843,19393],{"class":260},[201,32845,32846,32848,32851,32853,32855,32858,32860],{"class":203,"line":301},[201,32847,626],{"class":245},[201,32849,32850],{"class":256}," VaInputElement ",[201,32852,23381],{"class":245},[201,32854,309],{"class":260},[201,32856,32857],{"class":211},".\u002Fsrc\u002FVaInputElement.vue",[201,32859,277],{"class":260},[201,32861,19393],{"class":260},[201,32863,32864],{"class":203,"line":319},[201,32865,654],{"emptyLinePlaceholder":653},[201,32867,32868,32870,32872,32874,32876],{"class":203,"line":329},[201,32869,246],{"class":245},[201,32871,249],{"class":245},[201,32873,23051],{"class":252},[201,32875,257],{"class":256},[201,32877,261],{"class":260},[201,32879,32880,32883,32885,32888],{"class":203,"line":346},[201,32881,32882],{"class":267},"  theme",[201,32884,271],{"class":260},[201,32886,32887],{"class":256}," vueform",[201,32889,287],{"class":260},[201,32891,32892,32895,32897,32899,32901],{"class":203,"line":363},[201,32893,32894],{"class":267},"  locales",[201,32896,271],{"class":260},[201,32898,631],{"class":260},[201,32900,32787],{"class":256},[201,32902,11142],{"class":260},[201,32904,32905,32908,32910,32912,32915,32917],{"class":203,"line":380},[201,32906,32907],{"class":267},"  locale",[201,32909,271],{"class":260},[201,32911,309],{"class":260},[201,32913,32914],{"class":211},"en",[201,32916,277],{"class":260},[201,32918,287],{"class":260},[201,32920,32921,32924,32926],{"class":203,"line":391},[201,32922,32923],{"class":267},"  elements",[201,32925,271],{"class":260},[201,32927,32928],{"class":256}," [VaInputElement]\n",[201,32930,32931,32933],{"class":203,"line":441},[201,32932,507],{"class":260},[201,32934,510],{"class":256},[18,32936,32938],{"id":32937},"step-3-use-the-custom-element","Step 3: Use the custom element",[192,32940,32942],{"className":1333,"code":32941,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CVueform>\n    \u003CVaInputElement name=\"MyCustomInput\"\u002F>\n  \u003C\u002FVueform>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\nimport VaInputElement from '.\u002FVaInputElement.vue'\n\u003C\u002Fscript>\n",[137,32943,32944,32952,32960,32979,32987,32995,32999,33019,33034],{"__ignoreMap":197},[201,32945,32946,32948,32950],{"class":203,"line":204},[201,32947,1342],{"class":260},[201,32949,1715],{"class":267},[201,32951,1718],{"class":260},[201,32953,32954,32956,32958],{"class":203,"line":224},[201,32955,1723],{"class":260},[201,32957,31135],{"class":267},[201,32959,1718],{"class":260},[201,32961,32962,32964,32966,32968,32970,32972,32975,32977],{"class":203,"line":264},[201,32963,5556],{"class":260},[201,32965,32665],{"class":267},[201,32967,3680],{"class":659},[201,32969,1353],{"class":260},[201,32971,1356],{"class":260},[201,32973,32974],{"class":211},"MyCustomInput",[201,32976,1356],{"class":260},[201,32978,1436],{"class":260},[201,32980,32981,32983,32985],{"class":203,"line":290},[201,32982,5608],{"class":260},[201,32984,31135],{"class":267},[201,32986,1718],{"class":260},[201,32988,32989,32991,32993],{"class":203,"line":301},[201,32990,1760],{"class":260},[201,32992,1715],{"class":267},[201,32994,1718],{"class":260},[201,32996,32997],{"class":203,"line":319},[201,32998,654],{"emptyLinePlaceholder":653},[201,33000,33001,33003,33005,33007,33009,33011,33013,33015,33017],{"class":203,"line":329},[201,33002,1342],{"class":260},[201,33004,2936],{"class":267},[201,33006,2939],{"class":659},[201,33008,2942],{"class":659},[201,33010,1353],{"class":260},[201,33012,1356],{"class":260},[201,33014,232],{"class":211},[201,33016,1356],{"class":260},[201,33018,1718],{"class":260},[201,33020,33021,33023,33025,33027,33029,33032],{"class":203,"line":346},[201,33022,626],{"class":245},[201,33024,32850],{"class":256},[201,33026,23381],{"class":245},[201,33028,309],{"class":260},[201,33030,33031],{"class":211},".\u002FVaInputElement.vue",[201,33033,648],{"class":260},[201,33035,33036,33038,33040],{"class":203,"line":363},[201,33037,1760],{"class":260},[201,33039,2936],{"class":267},[201,33041,1718],{"class":260},[14,33043,5350,33044,33046],{},[137,33045,7044],{}," attribute is mandatory for each element. So far, we can't pass props, slots, or event listeners. Also, Vueform doesn't know anything about our component's model, so validation won't work. Let's fix that next.",[18,33048,33050],{"id":33049},"step-4-add-v-model-and-an-input-handler","Step 4: Add v-model and an input handler",[14,33052,33053,33054,33057,33058,33061],{},"We need to bind the component to Vueform's model using ",[137,33055,33056],{},"model-value"," and update it with ",[137,33059,33060],{},"@update:model-value",". This gives us reactivity and enables validation:",[192,33063,33065],{"className":1333,"code":33064,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CElementLayout>\n    \u003Ctemplate #element>\n      \u003CVaInput :model-value=\"value\" @update:model-value=\"handleInput\" \u002F>\n    \u003C\u002Ftemplate>\n    \u003Ctemplate v-for=\"(component, slot) in elementSlots\" #[slot]>\n      \u003Cslot :name=\"slot\" :el$=\"el$\">\n        \u003Ccomponent :is=\"component\" :el$=\"el$\" \u002F>\n      \u003C\u002Fslot>\n    \u003C\u002Ftemplate>\n  \u003C\u002FElementLayout>\n\u003C\u002Ftemplate>\n\u003Cscript>\nimport { defineElement } from '@vueform\u002Fvueform'\nimport { VaInput } from 'vuestic-ui'\n\nexport default defineElement({\n  name: 'VaInputElement',\n  components: [VaInput],\n  setup(props, { element }) {\n    const { value, update } = element\n    const handleInput = (val) => update(val)\n    return { value, handleInput }\n  },\n})\n\u003C\u002Fscript>\n",[137,33066,33067,33075,33083,33095,33126,33134,33164,33192,33220,33228,33236,33244,33252,33260,33278,33296,33300,33312,33326,33336,33354,33374,33400,33414,33418,33424],{"__ignoreMap":197},[201,33068,33069,33071,33073],{"class":203,"line":204},[201,33070,1342],{"class":260},[201,33072,1715],{"class":267},[201,33074,1718],{"class":260},[201,33076,33077,33079,33081],{"class":203,"line":224},[201,33078,1723],{"class":260},[201,33080,32427],{"class":267},[201,33082,1718],{"class":260},[201,33084,33085,33087,33089,33091,33093],{"class":203,"line":264},[201,33086,5556],{"class":260},[201,33088,1715],{"class":267},[201,33090,32438],{"class":260},[201,33092,32441],{"class":659},[201,33094,1718],{"class":260},[201,33096,33097,33099,33101,33104,33106,33108,33110,33112,33115,33117,33119,33122,33124],{"class":203,"line":290},[201,33098,5578],{"class":260},[201,33100,32406],{"class":267},[201,33102,33103],{"class":659}," :model-value",[201,33105,1353],{"class":260},[201,33107,1356],{"class":260},[201,33109,3048],{"class":211},[201,33111,1356],{"class":260},[201,33113,33114],{"class":659}," @update:model-value",[201,33116,1353],{"class":260},[201,33118,1356],{"class":260},[201,33120,33121],{"class":211},"handleInput",[201,33123,1356],{"class":260},[201,33125,1539],{"class":260},[201,33127,33128,33130,33132],{"class":203,"line":301},[201,33129,5599],{"class":260},[201,33131,1715],{"class":267},[201,33133,1718],{"class":260},[201,33135,33136,33138,33140,33142,33144,33146,33148,33150,33152,33154,33156,33158,33160,33162],{"class":203,"line":319},[201,33137,5556],{"class":260},[201,33139,1715],{"class":267},[201,33141,5528],{"class":245},[201,33143,1353],{"class":260},[201,33145,1356],{"class":260},[201,33147,32474],{"class":256},[201,33149,409],{"class":260},[201,33151,32479],{"class":256},[201,33153,11323],{"class":260},[201,33155,32484],{"class":256},[201,33157,1356],{"class":260},[201,33159,32489],{"class":260},[201,33161,20236],{"class":256},[201,33163,32494],{"class":260},[201,33165,33166,33168,33170,33172,33174,33176,33178,33180,33182,33184,33186,33188,33190],{"class":203,"line":329},[201,33167,5578],{"class":260},[201,33169,20236],{"class":267},[201,33171,9772],{"class":659},[201,33173,1353],{"class":260},[201,33175,1356],{"class":260},[201,33177,20236],{"class":211},[201,33179,1356],{"class":260},[201,33181,32513],{"class":659},[201,33183,1353],{"class":260},[201,33185,1356],{"class":260},[201,33187,32520],{"class":211},[201,33189,1356],{"class":260},[201,33191,1718],{"class":260},[201,33193,33194,33196,33198,33200,33202,33204,33206,33208,33210,33212,33214,33216,33218],{"class":203,"line":346},[201,33195,24173],{"class":260},[201,33197,20668],{"class":267},[201,33199,32533],{"class":659},[201,33201,1353],{"class":260},[201,33203,1356],{"class":260},[201,33205,20668],{"class":211},[201,33207,1356],{"class":260},[201,33209,32513],{"class":659},[201,33211,1353],{"class":260},[201,33213,1356],{"class":260},[201,33215,32520],{"class":211},[201,33217,1356],{"class":260},[201,33219,1539],{"class":260},[201,33221,33222,33224,33226],{"class":203,"line":363},[201,33223,24275],{"class":260},[201,33225,20236],{"class":267},[201,33227,1718],{"class":260},[201,33229,33230,33232,33234],{"class":203,"line":380},[201,33231,5599],{"class":260},[201,33233,1715],{"class":267},[201,33235,1718],{"class":260},[201,33237,33238,33240,33242],{"class":203,"line":391},[201,33239,5608],{"class":260},[201,33241,32427],{"class":267},[201,33243,1718],{"class":260},[201,33245,33246,33248,33250],{"class":203,"line":441},[201,33247,1760],{"class":260},[201,33249,1715],{"class":267},[201,33251,1718],{"class":260},[201,33253,33254,33256,33258],{"class":203,"line":484},[201,33255,1342],{"class":260},[201,33257,2936],{"class":267},[201,33259,1718],{"class":260},[201,33261,33262,33264,33266,33268,33270,33272,33274,33276],{"class":203,"line":492},[201,33263,626],{"class":245},[201,33265,631],{"class":260},[201,33267,32606],{"class":256},[201,33269,637],{"class":260},[201,33271,640],{"class":245},[201,33273,309],{"class":260},[201,33275,32615],{"class":211},[201,33277,648],{"class":260},[201,33279,33280,33282,33284,33286,33288,33290,33292,33294],{"class":203,"line":498},[201,33281,626],{"class":245},[201,33283,631],{"class":260},[201,33285,32626],{"class":256},[201,33287,637],{"class":260},[201,33289,640],{"class":245},[201,33291,309],{"class":260},[201,33293,32635],{"class":211},[201,33295,648],{"class":260},[201,33297,33298],{"class":203,"line":504},[201,33299,654],{"emptyLinePlaceholder":653},[201,33301,33302,33304,33306,33308,33310],{"class":203,"line":5949},[201,33303,246],{"class":245},[201,33305,249],{"class":245},[201,33307,32606],{"class":252},[201,33309,257],{"class":256},[201,33311,261],{"class":260},[201,33313,33314,33316,33318,33320,33322,33324],{"class":203,"line":5956},[201,33315,32658],{"class":267},[201,33317,271],{"class":260},[201,33319,309],{"class":260},[201,33321,32665],{"class":211},[201,33323,277],{"class":260},[201,33325,287],{"class":260},[201,33327,33328,33330,33332,33334],{"class":203,"line":5965},[201,33329,32674],{"class":267},[201,33331,271],{"class":260},[201,33333,32679],{"class":256},[201,33335,287],{"class":260},[201,33337,33338,33340,33342,33344,33346,33348,33350,33352],{"class":203,"line":5970},[201,33339,28036],{"class":267},[201,33341,257],{"class":260},[201,33343,20628],{"class":2106},[201,33345,409],{"class":260},[201,33347,631],{"class":260},[201,33349,32696],{"class":2106},[201,33351,2137],{"class":260},[201,33353,298],{"class":260},[201,33355,33356,33358,33360,33362,33364,33367,33369,33371],{"class":203,"line":5979},[201,33357,19770],{"class":659},[201,33359,631],{"class":260},[201,33361,20428],{"class":256},[201,33363,409],{"class":260},[201,33365,33366],{"class":256}," update",[201,33368,637],{"class":260},[201,33370,670],{"class":260},[201,33372,33373],{"class":256}," element\n",[201,33375,33376,33378,33381,33383,33385,33388,33390,33392,33394,33396,33398],{"class":203,"line":5988},[201,33377,19770],{"class":659},[201,33379,33380],{"class":256}," handleInput",[201,33382,670],{"class":260},[201,33384,2142],{"class":260},[201,33386,33387],{"class":2106},"val",[201,33389,3779],{"class":260},[201,33391,1999],{"class":659},[201,33393,33366],{"class":252},[201,33395,257],{"class":267},[201,33397,33387],{"class":256},[201,33399,510],{"class":267},[201,33401,33402,33404,33406,33408,33410,33412],{"class":203,"line":6008},[201,33403,25249],{"class":245},[201,33405,631],{"class":260},[201,33407,20428],{"class":256},[201,33409,409],{"class":260},[201,33411,33380],{"class":256},[201,33413,15495],{"class":260},[201,33415,33416],{"class":203,"line":6029},[201,33417,501],{"class":260},[201,33419,33420,33422],{"class":203,"line":6038},[201,33421,507],{"class":260},[201,33423,510],{"class":256},[201,33425,33426,33428,33430],{"class":203,"line":24104},[201,33427,1760],{"class":260},[201,33429,2936],{"class":267},[201,33431,1718],{"class":260},[14,33433,5350,33434,33436,33437,33440,33441,955,33443,33446],{},[137,33435,32441],{}," variable gives access to Vueform's ",[137,33438,33439],{},"GenericElement"," API. From it, we destructure ",[137,33442,3048],{},[137,33444,33445],{},"update",", and bind them to our Vuestic component.",[18,33448,33450],{"id":33449},"step-5-pass-props-from-vueform-to-vuestic-ui","Step 5: Pass props from Vueform to Vuestic UI",[14,33452,33453],{},"The next step is to pass props dynamically and filter out the ones that might conflict with Vueform internals:",[192,33455,33457],{"className":1333,"code":33456,"language":1335,"meta":197,"style":197},"\u003Cscript>\nimport { defineElement } from '@vueform\u002Fvueform'\nimport { VaInput } from 'vuestic-ui'\nimport { omit } from '.\u002Fomit'\nimport { computed } from 'vue'\n\nconst propsToOmit = ['rules']\n\nexport default defineElement({\n  name: 'VaInputElement',\n  components: [VaInput],\n  props: {\n    ...omit(VaInput.props, propsToOmit),\n  },\n  setup(props, { element }) {\n    const { value, update } = element\n    const handleInput = (val) => update(val)\n    const omittedProps = computed(() => omit(props, propsToOmit))\n    return { value, props: omittedProps, handleInput }\n  },\n})\n\u003C\u002Fscript>\n",[137,33458,33459,33467,33485,33503,33523,33541,33545,33565,33569,33581,33595,33605,33613,33635,33639,33657,33675,33699,33729,33752,33756,33762],{"__ignoreMap":197},[201,33460,33461,33463,33465],{"class":203,"line":204},[201,33462,1342],{"class":260},[201,33464,2936],{"class":267},[201,33466,1718],{"class":260},[201,33468,33469,33471,33473,33475,33477,33479,33481,33483],{"class":203,"line":224},[201,33470,626],{"class":245},[201,33472,631],{"class":260},[201,33474,32606],{"class":256},[201,33476,637],{"class":260},[201,33478,640],{"class":245},[201,33480,309],{"class":260},[201,33482,32615],{"class":211},[201,33484,648],{"class":260},[201,33486,33487,33489,33491,33493,33495,33497,33499,33501],{"class":203,"line":264},[201,33488,626],{"class":245},[201,33490,631],{"class":260},[201,33492,32626],{"class":256},[201,33494,637],{"class":260},[201,33496,640],{"class":245},[201,33498,309],{"class":260},[201,33500,32635],{"class":211},[201,33502,648],{"class":260},[201,33504,33505,33507,33509,33512,33514,33516,33518,33521],{"class":203,"line":290},[201,33506,626],{"class":245},[201,33508,631],{"class":260},[201,33510,33511],{"class":256}," omit",[201,33513,637],{"class":260},[201,33515,640],{"class":245},[201,33517,309],{"class":260},[201,33519,33520],{"class":211},".\u002Fomit",[201,33522,648],{"class":260},[201,33524,33525,33527,33529,33531,33533,33535,33537,33539],{"class":203,"line":301},[201,33526,626],{"class":245},[201,33528,631],{"class":260},[201,33530,12245],{"class":256},[201,33532,637],{"class":260},[201,33534,640],{"class":245},[201,33536,309],{"class":260},[201,33538,1335],{"class":211},[201,33540,648],{"class":260},[201,33542,33543],{"class":203,"line":319},[201,33544,654],{"emptyLinePlaceholder":653},[201,33546,33547,33549,33552,33554,33556,33558,33561,33563],{"class":203,"line":329},[201,33548,660],{"class":659},[201,33550,33551],{"class":256}," propsToOmit ",[201,33553,1353],{"class":260},[201,33555,274],{"class":256},[201,33557,277],{"class":260},[201,33559,33560],{"class":211},"rules",[201,33562,277],{"class":260},[201,33564,11187],{"class":256},[201,33566,33567],{"class":203,"line":346},[201,33568,654],{"emptyLinePlaceholder":653},[201,33570,33571,33573,33575,33577,33579],{"class":203,"line":363},[201,33572,246],{"class":245},[201,33574,249],{"class":245},[201,33576,32606],{"class":252},[201,33578,257],{"class":256},[201,33580,261],{"class":260},[201,33582,33583,33585,33587,33589,33591,33593],{"class":203,"line":380},[201,33584,32658],{"class":267},[201,33586,271],{"class":260},[201,33588,309],{"class":260},[201,33590,32665],{"class":211},[201,33592,277],{"class":260},[201,33594,287],{"class":260},[201,33596,33597,33599,33601,33603],{"class":203,"line":391},[201,33598,32674],{"class":267},[201,33600,271],{"class":260},[201,33602,32679],{"class":256},[201,33604,287],{"class":260},[201,33606,33607,33609,33611],{"class":203,"line":441},[201,33608,27687],{"class":267},[201,33610,271],{"class":260},[201,33612,298],{"class":260},[201,33614,33615,33618,33621,33624,33626,33628,33630,33633],{"class":203,"line":484},[201,33616,33617],{"class":260},"    ...",[201,33619,33620],{"class":252},"omit",[201,33622,33623],{"class":256},"(VaInput",[201,33625,534],{"class":260},[201,33627,20628],{"class":256},[201,33629,409],{"class":260},[201,33631,33632],{"class":256}," propsToOmit)",[201,33634,287],{"class":260},[201,33636,33637],{"class":203,"line":492},[201,33638,501],{"class":260},[201,33640,33641,33643,33645,33647,33649,33651,33653,33655],{"class":203,"line":498},[201,33642,28036],{"class":267},[201,33644,257],{"class":260},[201,33646,20628],{"class":2106},[201,33648,409],{"class":260},[201,33650,631],{"class":260},[201,33652,32696],{"class":2106},[201,33654,2137],{"class":260},[201,33656,298],{"class":260},[201,33658,33659,33661,33663,33665,33667,33669,33671,33673],{"class":203,"line":504},[201,33660,19770],{"class":659},[201,33662,631],{"class":260},[201,33664,20428],{"class":256},[201,33666,409],{"class":260},[201,33668,33366],{"class":256},[201,33670,637],{"class":260},[201,33672,670],{"class":260},[201,33674,33373],{"class":256},[201,33676,33677,33679,33681,33683,33685,33687,33689,33691,33693,33695,33697],{"class":203,"line":5949},[201,33678,19770],{"class":659},[201,33680,33380],{"class":256},[201,33682,670],{"class":260},[201,33684,2142],{"class":260},[201,33686,33387],{"class":2106},[201,33688,3779],{"class":260},[201,33690,1999],{"class":659},[201,33692,33366],{"class":252},[201,33694,257],{"class":267},[201,33696,33387],{"class":256},[201,33698,510],{"class":267},[201,33700,33701,33703,33706,33708,33710,33712,33714,33716,33718,33720,33722,33724,33727],{"class":203,"line":5956},[201,33702,19770],{"class":659},[201,33704,33705],{"class":256}," omittedProps",[201,33707,670],{"class":260},[201,33709,12245],{"class":252},[201,33711,257],{"class":267},[201,33713,6634],{"class":260},[201,33715,1999],{"class":659},[201,33717,33511],{"class":252},[201,33719,257],{"class":267},[201,33721,20628],{"class":256},[201,33723,409],{"class":260},[201,33725,33726],{"class":256}," propsToOmit",[201,33728,3488],{"class":267},[201,33730,33731,33733,33735,33737,33739,33742,33744,33746,33748,33750],{"class":203,"line":5965},[201,33732,25249],{"class":245},[201,33734,631],{"class":260},[201,33736,20428],{"class":256},[201,33738,409],{"class":260},[201,33740,33741],{"class":267}," props",[201,33743,271],{"class":260},[201,33745,33705],{"class":256},[201,33747,409],{"class":260},[201,33749,33380],{"class":256},[201,33751,15495],{"class":260},[201,33753,33754],{"class":203,"line":5970},[201,33755,501],{"class":260},[201,33757,33758,33760],{"class":203,"line":5979},[201,33759,507],{"class":260},[201,33761,510],{"class":256},[201,33763,33764,33766,33768],{"class":203,"line":5988},[201,33765,1760],{"class":260},[201,33767,2936],{"class":267},[201,33769,1718],{"class":260},[14,33771,33772,33773,33776,33777,33779],{},"Wrapping with ",[137,33774,33775],{},"computed()"," ensures reactivity. We omit props like ",[137,33778,33560],{}," to avoid conflicts.",[18,33781,33783],{"id":33782},"step-6-add-validation-with-the-rules-prop","Step 6: Add validation with the rules prop",[14,33785,33786,33787,33789],{},"Now we can pass the ",[137,33788,33560],{}," prop and see how it works:",[192,33791,33793],{"className":1333,"code":33792,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CVueform>\n    \u003CVaInputElement name=\"MyCustomInput\" rules=\"required|email|min:5\" \u002F>\n  \u003C\u002FVueform>\n\u003C\u002Ftemplate>\n",[137,33794,33795,33803,33811,33841,33849],{"__ignoreMap":197},[201,33796,33797,33799,33801],{"class":203,"line":204},[201,33798,1342],{"class":260},[201,33800,1715],{"class":267},[201,33802,1718],{"class":260},[201,33804,33805,33807,33809],{"class":203,"line":224},[201,33806,1723],{"class":260},[201,33808,31135],{"class":267},[201,33810,1718],{"class":260},[201,33812,33813,33815,33817,33819,33821,33823,33825,33827,33830,33832,33834,33837,33839],{"class":203,"line":264},[201,33814,5556],{"class":260},[201,33816,32665],{"class":267},[201,33818,3680],{"class":659},[201,33820,1353],{"class":260},[201,33822,1356],{"class":260},[201,33824,32974],{"class":211},[201,33826,1356],{"class":260},[201,33828,33829],{"class":659}," rules",[201,33831,1353],{"class":260},[201,33833,1356],{"class":260},[201,33835,33836],{"class":211},"required|email|min:5",[201,33838,1356],{"class":260},[201,33840,1539],{"class":260},[201,33842,33843,33845,33847],{"class":203,"line":290},[201,33844,5608],{"class":260},[201,33846,31135],{"class":267},[201,33848,1718],{"class":260},[201,33850,33851,33853,33855],{"class":203,"line":301},[201,33852,1760],{"class":260},[201,33854,1715],{"class":267},[201,33856,1718],{"class":260},[14,33858,33859],{},"Vueform will now validate the field using the provided rules, giving you full form validation support just like with native Vueform inputs.",[18,33861,33863],{"id":33862},"step-7-add-event-listeners-using-fire","Step 7: Add event listeners using fire()",[14,33865,33866,33867,33869,33870,33873,33874,33876,33877,33880,33881,33884,33885,33888],{},"To handle events, we first explicitly specify them in ",[137,33868,32728],{}," and use the ",[137,33871,33872],{},"fire"," function from ",[137,33875,32441],{},". We use ",[137,33878,33879],{},"fire()"," instead of native ",[137,33882,33883],{},"context.emit()"," because this way we can listen for events when our element is defined in the schema. To avoid binding each listener manually, we use ",[137,33886,33887],{},"reduce()"," to build a listeners object dynamically:",[192,33890,33892],{"className":11083,"code":33891,"language":11085,"meta":197,"style":197},"const listeners = this.emits.reduce((acc, curr) => {\n  acc[curr] = (...args) => {\n    fire(curr, ...args)\n  }\n  return acc\n}, {})\n",[137,33893,33894,33930,33956,33973,33977,33984],{"__ignoreMap":197},[201,33895,33896,33898,33901,33903,33905,33908,33910,33912,33914,33916,33919,33921,33924,33926,33928],{"class":203,"line":204},[201,33897,660],{"class":659},[201,33899,33900],{"class":256}," listeners ",[201,33902,1353],{"class":260},[201,33904,26984],{"class":260},[201,33906,33907],{"class":256},"emits",[201,33909,534],{"class":260},[201,33911,15311],{"class":252},[201,33913,257],{"class":256},[201,33915,257],{"class":260},[201,33917,33918],{"class":2106},"acc",[201,33920,409],{"class":260},[201,33922,33923],{"class":2106}," curr",[201,33925,3779],{"class":260},[201,33927,1999],{"class":659},[201,33929,298],{"class":260},[201,33931,33932,33935,33937,33940,33942,33944,33947,33950,33952,33954],{"class":203,"line":224},[201,33933,33934],{"class":256},"  acc",[201,33936,23740],{"class":267},[201,33938,33939],{"class":256},"curr",[201,33941,29063],{"class":267},[201,33943,1353],{"class":260},[201,33945,33946],{"class":260}," (...",[201,33948,33949],{"class":2106},"args",[201,33951,3779],{"class":260},[201,33953,1999],{"class":659},[201,33955,298],{"class":260},[201,33957,33958,33961,33963,33965,33967,33969,33971],{"class":203,"line":264},[201,33959,33960],{"class":252},"    fire",[201,33962,257],{"class":267},[201,33964,33939],{"class":256},[201,33966,409],{"class":260},[201,33968,20625],{"class":260},[201,33970,33949],{"class":256},[201,33972,510],{"class":267},[201,33974,33975],{"class":203,"line":290},[201,33976,7326],{"class":260},[201,33978,33979,33981],{"class":203,"line":301},[201,33980,2006],{"class":245},[201,33982,33983],{"class":256}," acc\n",[201,33985,33986,33988,33991],{"class":203,"line":319},[201,33987,2028],{"class":260},[201,33989,33990],{"class":260}," {}",[201,33992,510],{"class":256},[14,33994,33995,33996,271],{},"Then we bind all emitted events via ",[137,33997,33998],{},"v-on=\"listeners\"",[192,34000,34002],{"className":1333,"code":34001,"language":1335,"meta":197,"style":197},"\u003CVaInput v-bind=\"props\" :model-value=\"value\" @update:model-value=\"handleInput\" v-on=\"listeners\" \u002F>\n",[137,34003,34004],{"__ignoreMap":197},[201,34005,34006,34008,34010,34013,34015,34017,34019,34021,34023,34025,34027,34029,34031,34033,34035,34037,34039,34041,34043,34045,34047,34049,34052,34054,34056,34059,34061],{"class":203,"line":204},[201,34007,1342],{"class":260},[201,34009,32406],{"class":267},[201,34011,34012],{"class":659}," v-bind",[201,34014,1353],{"class":260},[201,34016,1356],{"class":260},[201,34018,20628],{"class":256},[201,34020,1356],{"class":260},[201,34022,11331],{"class":260},[201,34024,33056],{"class":659},[201,34026,1353],{"class":260},[201,34028,1356],{"class":260},[201,34030,3048],{"class":256},[201,34032,1356],{"class":260},[201,34034,19906],{"class":260},[201,34036,33445],{"class":659},[201,34038,271],{"class":260},[201,34040,33056],{"class":659},[201,34042,1353],{"class":260},[201,34044,1356],{"class":260},[201,34046,33121],{"class":256},[201,34048,1356],{"class":260},[201,34050,34051],{"class":659}," v-on",[201,34053,1353],{"class":260},[201,34055,1356],{"class":260},[201,34057,34058],{"class":256},"listeners",[201,34060,1356],{"class":260},[201,34062,1539],{"class":260},[18,34064,34066],{"id":34065},"step-8-handle-vuestic-and-schema-slots","Step 8: Handle Vuestic and schema slots",[14,34068,34069],{},"Although the generic slot block can be removed, here's how to resolve slot conflicts between Vuestic-specific slots and schema-defined slots:",[192,34071,34073],{"className":1333,"code":34072,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CElementLayout>\n    \u003Ctemplate #element>\n      \u003CVaInput v-bind=\"props\" :model-value=\"value\" @update:model-value=\"handleInput\" v-on=\"listeners\">\n\n        \u003Ctemplate v-for=\"slotKey in vuesticSlotKeys\" #[slotKey]=\"slotProps\">\n          \u003Cslot :name=\"slotKey\" v-bind=\"slotProps\" \u002F>\n        \u003C\u002Ftemplate>\n\n        \u003Ctemplate v-for=\"(component, slot) in schemaSlots\" #[slot]=\"slotProps\">\n          \u003Cslot :name=\"slot\" :el$=\"el$\" v-bind=\"slotProps\">\n            \u003Ccomponent :is=\"component\" :el$=\"el$\" \u002F>\n          \u003C\u002Fslot>\n        \u003C\u002Ftemplate>\n\n      \u003C\u002FVaInput>\n    \u003C\u002Ftemplate>\n\n    \u003Ctemplate v-for=\"(component, slot) in elementSlots\" #[slot]>\n      \u003Cslot :name=\"slot\" :el$=\"el$\">\n        \u003Ccomponent :is=\"component\" :el$=\"el$\" \u002F>\n      \u003C\u002Fslot>\n    \u003C\u002Ftemplate>\n  \u003C\u002FElementLayout>\n\u003C\u002Ftemplate>\n",[137,34074,34075,34083,34091,34103,34151,34155,34194,34223,34231,34235,34274,34312,34341,34350,34358,34362,34370,34378,34382,34412,34440,34468,34476,34484,34492],{"__ignoreMap":197},[201,34076,34077,34079,34081],{"class":203,"line":204},[201,34078,1342],{"class":260},[201,34080,1715],{"class":267},[201,34082,1718],{"class":260},[201,34084,34085,34087,34089],{"class":203,"line":224},[201,34086,1723],{"class":260},[201,34088,32427],{"class":267},[201,34090,1718],{"class":260},[201,34092,34093,34095,34097,34099,34101],{"class":203,"line":264},[201,34094,5556],{"class":260},[201,34096,1715],{"class":267},[201,34098,32438],{"class":260},[201,34100,32441],{"class":659},[201,34102,1718],{"class":260},[201,34104,34105,34107,34109,34111,34113,34115,34117,34119,34121,34123,34125,34127,34129,34131,34133,34135,34137,34139,34141,34143,34145,34147,34149],{"class":203,"line":290},[201,34106,5578],{"class":260},[201,34108,32406],{"class":267},[201,34110,34012],{"class":659},[201,34112,1353],{"class":260},[201,34114,1356],{"class":260},[201,34116,20628],{"class":211},[201,34118,1356],{"class":260},[201,34120,33103],{"class":659},[201,34122,1353],{"class":260},[201,34124,1356],{"class":260},[201,34126,3048],{"class":211},[201,34128,1356],{"class":260},[201,34130,33114],{"class":659},[201,34132,1353],{"class":260},[201,34134,1356],{"class":260},[201,34136,33121],{"class":211},[201,34138,1356],{"class":260},[201,34140,34051],{"class":659},[201,34142,1353],{"class":260},[201,34144,1356],{"class":260},[201,34146,34058],{"class":211},[201,34148,1356],{"class":260},[201,34150,1718],{"class":260},[201,34152,34153],{"class":203,"line":301},[201,34154,654],{"emptyLinePlaceholder":653},[201,34156,34157,34159,34161,34163,34165,34167,34170,34172,34175,34177,34179,34182,34185,34187,34190,34192],{"class":203,"line":319},[201,34158,24173],{"class":260},[201,34160,1715],{"class":267},[201,34162,5528],{"class":245},[201,34164,1353],{"class":260},[201,34166,1356],{"class":260},[201,34168,34169],{"class":256},"slotKey ",[201,34171,11323],{"class":260},[201,34173,34174],{"class":256}," vuesticSlotKeys",[201,34176,1356],{"class":260},[201,34178,32489],{"class":260},[201,34180,34181],{"class":256},"slotKey",[201,34183,34184],{"class":260},"]=",[201,34186,1356],{"class":260},[201,34188,34189],{"class":256},"slotProps",[201,34191,1356],{"class":260},[201,34193,1718],{"class":260},[201,34195,34196,34199,34201,34203,34205,34207,34209,34211,34213,34215,34217,34219,34221],{"class":203,"line":329},[201,34197,34198],{"class":260},"          \u003C",[201,34200,20236],{"class":267},[201,34202,9772],{"class":659},[201,34204,1353],{"class":260},[201,34206,1356],{"class":260},[201,34208,34181],{"class":211},[201,34210,1356],{"class":260},[201,34212,34012],{"class":659},[201,34214,1353],{"class":260},[201,34216,1356],{"class":260},[201,34218,34189],{"class":211},[201,34220,1356],{"class":260},[201,34222,1539],{"class":260},[201,34224,34225,34227,34229],{"class":203,"line":346},[201,34226,24959],{"class":260},[201,34228,1715],{"class":267},[201,34230,1718],{"class":260},[201,34232,34233],{"class":203,"line":363},[201,34234,654],{"emptyLinePlaceholder":653},[201,34236,34237,34239,34241,34243,34245,34247,34249,34251,34253,34255,34258,34260,34262,34264,34266,34268,34270,34272],{"class":203,"line":380},[201,34238,24173],{"class":260},[201,34240,1715],{"class":267},[201,34242,5528],{"class":245},[201,34244,1353],{"class":260},[201,34246,1356],{"class":260},[201,34248,32474],{"class":256},[201,34250,409],{"class":260},[201,34252,32479],{"class":256},[201,34254,11323],{"class":260},[201,34256,34257],{"class":256}," schemaSlots",[201,34259,1356],{"class":260},[201,34261,32489],{"class":260},[201,34263,20236],{"class":256},[201,34265,34184],{"class":260},[201,34267,1356],{"class":260},[201,34269,34189],{"class":256},[201,34271,1356],{"class":260},[201,34273,1718],{"class":260},[201,34275,34276,34278,34280,34282,34284,34286,34288,34290,34292,34294,34296,34298,34300,34302,34304,34306,34308,34310],{"class":203,"line":391},[201,34277,34198],{"class":260},[201,34279,20236],{"class":267},[201,34281,9772],{"class":659},[201,34283,1353],{"class":260},[201,34285,1356],{"class":260},[201,34287,20236],{"class":211},[201,34289,1356],{"class":260},[201,34291,32513],{"class":659},[201,34293,1353],{"class":260},[201,34295,1356],{"class":260},[201,34297,32520],{"class":211},[201,34299,1356],{"class":260},[201,34301,34012],{"class":659},[201,34303,1353],{"class":260},[201,34305,1356],{"class":260},[201,34307,34189],{"class":211},[201,34309,1356],{"class":260},[201,34311,1718],{"class":260},[201,34313,34314,34317,34319,34321,34323,34325,34327,34329,34331,34333,34335,34337,34339],{"class":203,"line":441},[201,34315,34316],{"class":260},"            \u003C",[201,34318,20668],{"class":267},[201,34320,32533],{"class":659},[201,34322,1353],{"class":260},[201,34324,1356],{"class":260},[201,34326,20668],{"class":211},[201,34328,1356],{"class":260},[201,34330,32513],{"class":659},[201,34332,1353],{"class":260},[201,34334,1356],{"class":260},[201,34336,32520],{"class":211},[201,34338,1356],{"class":260},[201,34340,1539],{"class":260},[201,34342,34343,34346,34348],{"class":203,"line":484},[201,34344,34345],{"class":260},"          \u003C\u002F",[201,34347,20236],{"class":267},[201,34349,1718],{"class":260},[201,34351,34352,34354,34356],{"class":203,"line":492},[201,34353,24959],{"class":260},[201,34355,1715],{"class":267},[201,34357,1718],{"class":260},[201,34359,34360],{"class":203,"line":498},[201,34361,654],{"emptyLinePlaceholder":653},[201,34363,34364,34366,34368],{"class":203,"line":504},[201,34365,24275],{"class":260},[201,34367,32406],{"class":267},[201,34369,1718],{"class":260},[201,34371,34372,34374,34376],{"class":203,"line":5949},[201,34373,5599],{"class":260},[201,34375,1715],{"class":267},[201,34377,1718],{"class":260},[201,34379,34380],{"class":203,"line":5956},[201,34381,654],{"emptyLinePlaceholder":653},[201,34383,34384,34386,34388,34390,34392,34394,34396,34398,34400,34402,34404,34406,34408,34410],{"class":203,"line":5965},[201,34385,5556],{"class":260},[201,34387,1715],{"class":267},[201,34389,5528],{"class":245},[201,34391,1353],{"class":260},[201,34393,1356],{"class":260},[201,34395,32474],{"class":256},[201,34397,409],{"class":260},[201,34399,32479],{"class":256},[201,34401,11323],{"class":260},[201,34403,32484],{"class":256},[201,34405,1356],{"class":260},[201,34407,32489],{"class":260},[201,34409,20236],{"class":256},[201,34411,32494],{"class":260},[201,34413,34414,34416,34418,34420,34422,34424,34426,34428,34430,34432,34434,34436,34438],{"class":203,"line":5970},[201,34415,5578],{"class":260},[201,34417,20236],{"class":267},[201,34419,9772],{"class":659},[201,34421,1353],{"class":260},[201,34423,1356],{"class":260},[201,34425,20236],{"class":211},[201,34427,1356],{"class":260},[201,34429,32513],{"class":659},[201,34431,1353],{"class":260},[201,34433,1356],{"class":260},[201,34435,32520],{"class":211},[201,34437,1356],{"class":260},[201,34439,1718],{"class":260},[201,34441,34442,34444,34446,34448,34450,34452,34454,34456,34458,34460,34462,34464,34466],{"class":203,"line":5979},[201,34443,24173],{"class":260},[201,34445,20668],{"class":267},[201,34447,32533],{"class":659},[201,34449,1353],{"class":260},[201,34451,1356],{"class":260},[201,34453,20668],{"class":211},[201,34455,1356],{"class":260},[201,34457,32513],{"class":659},[201,34459,1353],{"class":260},[201,34461,1356],{"class":260},[201,34463,32520],{"class":211},[201,34465,1356],{"class":260},[201,34467,1539],{"class":260},[201,34469,34470,34472,34474],{"class":203,"line":5988},[201,34471,24275],{"class":260},[201,34473,20236],{"class":267},[201,34475,1718],{"class":260},[201,34477,34478,34480,34482],{"class":203,"line":6008},[201,34479,5599],{"class":260},[201,34481,1715],{"class":267},[201,34483,1718],{"class":260},[201,34485,34486,34488,34490],{"class":203,"line":6029},[201,34487,5608],{"class":260},[201,34489,32427],{"class":267},[201,34491,1718],{"class":260},[201,34493,34494,34496,34498],{"class":203,"line":6038},[201,34495,1760],{"class":260},[201,34497,1715],{"class":267},[201,34499,1718],{"class":260},[18,34501,34503],{"id":34502},"step-9-use-slots-in-the-schema","Step 9: Use slots in the schema",[192,34505,34507],{"className":1333,"code":34506,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CVueform>\n    \u003CVaInputElement name=\"MyCustomInput\" rules=\"required|email|min:5\" @update:modelValue=\"console.log($event)\">\n      \u003Ctemplate #appendInner>\n        appendInner\n      \u003C\u002Ftemplate>\n    \u003C\u002FVaInputElement>\n  \u003C\u002FVueform>\n\u003C\u002Ftemplate>\n",[137,34508,34509,34517,34525,34565,34578,34583,34591,34599,34607],{"__ignoreMap":197},[201,34510,34511,34513,34515],{"class":203,"line":204},[201,34512,1342],{"class":260},[201,34514,1715],{"class":267},[201,34516,1718],{"class":260},[201,34518,34519,34521,34523],{"class":203,"line":224},[201,34520,1723],{"class":260},[201,34522,31135],{"class":267},[201,34524,1718],{"class":260},[201,34526,34527,34529,34531,34533,34535,34537,34539,34541,34543,34545,34547,34549,34551,34554,34556,34558,34561,34563],{"class":203,"line":264},[201,34528,5556],{"class":260},[201,34530,32665],{"class":267},[201,34532,3680],{"class":659},[201,34534,1353],{"class":260},[201,34536,1356],{"class":260},[201,34538,32974],{"class":211},[201,34540,1356],{"class":260},[201,34542,33829],{"class":659},[201,34544,1353],{"class":260},[201,34546,1356],{"class":260},[201,34548,33836],{"class":211},[201,34550,1356],{"class":260},[201,34552,34553],{"class":659}," @update:modelValue",[201,34555,1353],{"class":260},[201,34557,1356],{"class":260},[201,34559,34560],{"class":211},"console.log($event)",[201,34562,1356],{"class":260},[201,34564,1718],{"class":260},[201,34566,34567,34569,34571,34573,34576],{"class":203,"line":290},[201,34568,5578],{"class":260},[201,34570,1715],{"class":267},[201,34572,32438],{"class":260},[201,34574,34575],{"class":659},"appendInner",[201,34577,1718],{"class":260},[201,34579,34580],{"class":203,"line":301},[201,34581,34582],{"class":256},"        appendInner\n",[201,34584,34585,34587,34589],{"class":203,"line":319},[201,34586,24275],{"class":260},[201,34588,1715],{"class":267},[201,34590,1718],{"class":260},[201,34592,34593,34595,34597],{"class":203,"line":329},[201,34594,5599],{"class":260},[201,34596,32665],{"class":267},[201,34598,1718],{"class":260},[201,34600,34601,34603,34605],{"class":203,"line":346},[201,34602,5608],{"class":260},[201,34604,31135],{"class":267},[201,34606,1718],{"class":260},[201,34608,34609,34611,34613],{"class":203,"line":363},[201,34610,1760],{"class":260},[201,34612,1715],{"class":267},[201,34614,1718],{"class":260},[18,34616,34618],{"id":34617},"step-10-extract-defineelement-logic-for-reusability","Step 10: Extract defineElement logic for reusability",[14,34620,34621,34622,34624],{},"If you're going to integrate a large number of components, it makes sense to put the ",[137,34623,32728],{}," logic in a separate function so you don't repeat yourself:",[192,34626,34628],{"className":11083,"code":34627,"language":11085,"meta":197,"style":197},"import { defineElement } from '@vueform\u002Fvueform'\nimport { computed } from 'vue'\nimport { omit } from '.\u002Fomit'\n\nexport function defineVuesticElement({ name, components, props, emits, propsToOmit }) {\n  return defineElement({\n    name,\n    components,\n    props,\n    emits,\n    setup(props, { element, slots }) {\n      const { value, update, fire, elementSlots } = element\n      const handleInput = (val) => update(val)\n      const omittedProps = computed(() => omit(props, propsToOmit))\n\n      const listeners = this.emits.reduce((acc, curr) => {\n        acc[curr] = (...args) => { fire(curr, ...args) }\n        return acc\n      }, {})\n\n      const vueFormSlotNames = Object.keys(elementSlots.value)\n      const allSlotNames = Object.keys(slots)\n      const vuesticSlotKeys = allSlotNames.filter(\n        name => !vueFormSlotNames.includes(name)\n      )\n\n      const schemaSlots = computed(() => {\n        const result = {}\n        for (const key in props.slots) {\n          if (!vueFormSlotNames.includes(key)) {\n            result[key] = props.slots[key]\n          }\n        }\n        return result\n      })\n\n      return {\n        value,\n        props: omittedProps,\n        listeners,\n        vuesticSlotKeys,\n        schemaSlots,\n        handleInput,\n      }\n    },\n  })\n}\n",[137,34629,34630,34648,34666,34684,34688,34723,34733,34739,34746,34753,34760,34784,34812,34836,34864,34868,34901,34940,34947,34956,34960,34988,35010,35028,35051,35056,35060,35078,35091,35115,35138,35163,35168,35173,35180,35186,35190,35197,35204,35215,35222,35229,35236,35243,35248,35252,35258],{"__ignoreMap":197},[201,34631,34632,34634,34636,34638,34640,34642,34644,34646],{"class":203,"line":204},[201,34633,626],{"class":245},[201,34635,631],{"class":260},[201,34637,32606],{"class":256},[201,34639,637],{"class":260},[201,34641,640],{"class":245},[201,34643,309],{"class":260},[201,34645,32615],{"class":211},[201,34647,648],{"class":260},[201,34649,34650,34652,34654,34656,34658,34660,34662,34664],{"class":203,"line":224},[201,34651,626],{"class":245},[201,34653,631],{"class":260},[201,34655,12245],{"class":256},[201,34657,637],{"class":260},[201,34659,640],{"class":245},[201,34661,309],{"class":260},[201,34663,1335],{"class":211},[201,34665,648],{"class":260},[201,34667,34668,34670,34672,34674,34676,34678,34680,34682],{"class":203,"line":264},[201,34669,626],{"class":245},[201,34671,631],{"class":260},[201,34673,33511],{"class":256},[201,34675,637],{"class":260},[201,34677,640],{"class":245},[201,34679,309],{"class":260},[201,34681,33520],{"class":211},[201,34683,648],{"class":260},[201,34685,34686],{"class":203,"line":290},[201,34687,654],{"emptyLinePlaceholder":653},[201,34689,34690,34692,34694,34697,34699,34701,34703,34706,34708,34710,34712,34715,34717,34719,34721],{"class":203,"line":301},[201,34691,246],{"class":245},[201,34693,6628],{"class":659},[201,34695,34696],{"class":252}," defineVuesticElement",[201,34698,2121],{"class":260},[201,34700,3680],{"class":2106},[201,34702,409],{"class":260},[201,34704,34705],{"class":2106}," components",[201,34707,409],{"class":260},[201,34709,33741],{"class":2106},[201,34711,409],{"class":260},[201,34713,34714],{"class":2106}," emits",[201,34716,409],{"class":260},[201,34718,33726],{"class":2106},[201,34720,2137],{"class":260},[201,34722,298],{"class":260},[201,34724,34725,34727,34729,34731],{"class":203,"line":319},[201,34726,2006],{"class":245},[201,34728,32606],{"class":252},[201,34730,257],{"class":267},[201,34732,261],{"class":260},[201,34734,34735,34737],{"class":203,"line":329},[201,34736,3232],{"class":256},[201,34738,287],{"class":260},[201,34740,34741,34744],{"class":203,"line":346},[201,34742,34743],{"class":256},"    components",[201,34745,287],{"class":260},[201,34747,34748,34751],{"class":203,"line":363},[201,34749,34750],{"class":256},"    props",[201,34752,287],{"class":260},[201,34754,34755,34758],{"class":203,"line":380},[201,34756,34757],{"class":256},"    emits",[201,34759,287],{"class":260},[201,34761,34762,34765,34767,34769,34771,34773,34775,34777,34780,34782],{"class":203,"line":391},[201,34763,34764],{"class":267},"    setup",[201,34766,257],{"class":260},[201,34768,20628],{"class":2106},[201,34770,409],{"class":260},[201,34772,631],{"class":260},[201,34774,32696],{"class":2106},[201,34776,409],{"class":260},[201,34778,34779],{"class":2106}," slots",[201,34781,2137],{"class":260},[201,34783,298],{"class":260},[201,34785,34786,34789,34791,34793,34795,34797,34799,34802,34804,34806,34808,34810],{"class":203,"line":441},[201,34787,34788],{"class":659},"      const",[201,34790,631],{"class":260},[201,34792,20428],{"class":256},[201,34794,409],{"class":260},[201,34796,33366],{"class":256},[201,34798,409],{"class":260},[201,34800,34801],{"class":256}," fire",[201,34803,409],{"class":260},[201,34805,32484],{"class":256},[201,34807,637],{"class":260},[201,34809,670],{"class":260},[201,34811,33373],{"class":256},[201,34813,34814,34816,34818,34820,34822,34824,34826,34828,34830,34832,34834],{"class":203,"line":484},[201,34815,34788],{"class":659},[201,34817,33380],{"class":256},[201,34819,670],{"class":260},[201,34821,2142],{"class":260},[201,34823,33387],{"class":2106},[201,34825,3779],{"class":260},[201,34827,1999],{"class":659},[201,34829,33366],{"class":252},[201,34831,257],{"class":267},[201,34833,33387],{"class":256},[201,34835,510],{"class":267},[201,34837,34838,34840,34842,34844,34846,34848,34850,34852,34854,34856,34858,34860,34862],{"class":203,"line":492},[201,34839,34788],{"class":659},[201,34841,33705],{"class":256},[201,34843,670],{"class":260},[201,34845,12245],{"class":252},[201,34847,257],{"class":267},[201,34849,6634],{"class":260},[201,34851,1999],{"class":659},[201,34853,33511],{"class":252},[201,34855,257],{"class":267},[201,34857,20628],{"class":256},[201,34859,409],{"class":260},[201,34861,33726],{"class":256},[201,34863,3488],{"class":267},[201,34865,34866],{"class":203,"line":498},[201,34867,654],{"emptyLinePlaceholder":653},[201,34869,34870,34872,34875,34877,34879,34881,34883,34885,34887,34889,34891,34893,34895,34897,34899],{"class":203,"line":504},[201,34871,34788],{"class":659},[201,34873,34874],{"class":256}," listeners",[201,34876,670],{"class":260},[201,34878,26984],{"class":260},[201,34880,33907],{"class":256},[201,34882,534],{"class":260},[201,34884,15311],{"class":252},[201,34886,257],{"class":267},[201,34888,257],{"class":260},[201,34890,33918],{"class":2106},[201,34892,409],{"class":260},[201,34894,33923],{"class":2106},[201,34896,3779],{"class":260},[201,34898,1999],{"class":659},[201,34900,298],{"class":260},[201,34902,34903,34906,34908,34910,34912,34914,34916,34918,34920,34922,34924,34926,34928,34930,34932,34934,34936,34938],{"class":203,"line":5949},[201,34904,34905],{"class":256},"        acc",[201,34907,23740],{"class":267},[201,34909,33939],{"class":256},[201,34911,29063],{"class":267},[201,34913,1353],{"class":260},[201,34915,33946],{"class":260},[201,34917,33949],{"class":2106},[201,34919,3779],{"class":260},[201,34921,1999],{"class":659},[201,34923,631],{"class":260},[201,34925,34801],{"class":252},[201,34927,257],{"class":267},[201,34929,33939],{"class":256},[201,34931,409],{"class":260},[201,34933,20625],{"class":260},[201,34935,33949],{"class":256},[201,34937,7300],{"class":267},[201,34939,724],{"class":260},[201,34941,34942,34945],{"class":203,"line":5956},[201,34943,34944],{"class":245},"        return",[201,34946,33983],{"class":256},[201,34948,34949,34952,34954],{"class":203,"line":5965},[201,34950,34951],{"class":260},"      },",[201,34953,33990],{"class":260},[201,34955,510],{"class":267},[201,34957,34958],{"class":203,"line":5970},[201,34959,654],{"emptyLinePlaceholder":653},[201,34961,34962,34964,34967,34969,34972,34974,34977,34979,34982,34984,34986],{"class":203,"line":5979},[201,34963,34788],{"class":659},[201,34965,34966],{"class":256}," vueFormSlotNames",[201,34968,670],{"class":260},[201,34970,34971],{"class":256}," Object",[201,34973,534],{"class":260},[201,34975,34976],{"class":252},"keys",[201,34978,257],{"class":267},[201,34980,34981],{"class":256},"elementSlots",[201,34983,534],{"class":260},[201,34985,3048],{"class":256},[201,34987,510],{"class":267},[201,34989,34990,34992,34995,34997,34999,35001,35003,35005,35008],{"class":203,"line":5988},[201,34991,34788],{"class":659},[201,34993,34994],{"class":256}," allSlotNames",[201,34996,670],{"class":260},[201,34998,34971],{"class":256},[201,35000,534],{"class":260},[201,35002,34976],{"class":252},[201,35004,257],{"class":267},[201,35006,35007],{"class":256},"slots",[201,35009,510],{"class":267},[201,35011,35012,35014,35016,35018,35020,35022,35025],{"class":203,"line":6008},[201,35013,34788],{"class":659},[201,35015,34174],{"class":256},[201,35017,670],{"class":260},[201,35019,34994],{"class":256},[201,35021,534],{"class":260},[201,35023,35024],{"class":252},"filter",[201,35026,35027],{"class":267},"(\n",[201,35029,35030,35033,35035,35038,35041,35043,35045,35047,35049],{"class":203,"line":6029},[201,35031,35032],{"class":2106},"        name",[201,35034,1999],{"class":659},[201,35036,35037],{"class":260}," !",[201,35039,35040],{"class":256},"vueFormSlotNames",[201,35042,534],{"class":260},[201,35044,26999],{"class":252},[201,35046,257],{"class":267},[201,35048,7044],{"class":256},[201,35050,510],{"class":267},[201,35052,35053],{"class":203,"line":6038},[201,35054,35055],{"class":267},"      )\n",[201,35057,35058],{"class":203,"line":24104},[201,35059,654],{"emptyLinePlaceholder":653},[201,35061,35062,35064,35066,35068,35070,35072,35074,35076],{"class":203,"line":24119},[201,35063,34788],{"class":659},[201,35065,34257],{"class":256},[201,35067,670],{"class":260},[201,35069,12245],{"class":252},[201,35071,257],{"class":267},[201,35073,6634],{"class":260},[201,35075,1999],{"class":659},[201,35077,298],{"class":260},[201,35079,35080,35083,35086,35088],{"class":203,"line":24134},[201,35081,35082],{"class":659},"        const",[201,35084,35085],{"class":256}," result",[201,35087,670],{"class":260},[201,35089,35090],{"class":260}," {}\n",[201,35092,35093,35096,35098,35100,35102,35105,35107,35109,35111,35113],{"class":203,"line":24149},[201,35094,35095],{"class":245},"        for",[201,35097,2142],{"class":267},[201,35099,660],{"class":659},[201,35101,6732],{"class":256},[201,35103,35104],{"class":260}," in",[201,35106,33741],{"class":256},[201,35108,534],{"class":260},[201,35110,35007],{"class":256},[201,35112,7300],{"class":267},[201,35114,261],{"class":260},[201,35116,35117,35120,35122,35124,35126,35128,35130,35132,35134,35136],{"class":203,"line":24164},[201,35118,35119],{"class":245},"          if",[201,35121,2142],{"class":267},[201,35123,5827],{"class":260},[201,35125,35040],{"class":256},[201,35127,534],{"class":260},[201,35129,26999],{"class":252},[201,35131,257],{"class":267},[201,35133,11485],{"class":256},[201,35135,14764],{"class":267},[201,35137,261],{"class":260},[201,35139,35140,35143,35145,35147,35149,35151,35153,35155,35157,35159,35161],{"class":203,"line":24170},[201,35141,35142],{"class":256},"            result",[201,35144,23740],{"class":267},[201,35146,11485],{"class":256},[201,35148,29063],{"class":267},[201,35150,1353],{"class":260},[201,35152,33741],{"class":256},[201,35154,534],{"class":260},[201,35156,35007],{"class":256},[201,35158,23740],{"class":267},[201,35160,11485],{"class":256},[201,35162,11187],{"class":267},[201,35164,35165],{"class":203,"line":24178},[201,35166,35167],{"class":260},"          }\n",[201,35169,35170],{"class":203,"line":24193},[201,35171,35172],{"class":260},"        }\n",[201,35174,35175,35177],{"class":203,"line":24207},[201,35176,34944],{"class":245},[201,35178,35179],{"class":256}," result\n",[201,35181,35182,35184],{"class":203,"line":24222},[201,35183,19619],{"class":260},[201,35185,510],{"class":267},[201,35187,35188],{"class":203,"line":24237},[201,35189,654],{"emptyLinePlaceholder":653},[201,35191,35192,35195],{"class":203,"line":24243},[201,35193,35194],{"class":245},"      return",[201,35196,298],{"class":260},[201,35198,35199,35202],{"class":203,"line":24272},[201,35200,35201],{"class":256},"        value",[201,35203,287],{"class":260},[201,35205,35206,35209,35211,35213],{"class":203,"line":24282},[201,35207,35208],{"class":267},"        props",[201,35210,271],{"class":260},[201,35212,33705],{"class":256},[201,35214,287],{"class":260},[201,35216,35217,35220],{"class":203,"line":24291},[201,35218,35219],{"class":256},"        listeners",[201,35221,287],{"class":260},[201,35223,35224,35227],{"class":203,"line":24300},[201,35225,35226],{"class":256},"        vuesticSlotKeys",[201,35228,287],{"class":260},[201,35230,35231,35234],{"class":203,"line":24915},[201,35232,35233],{"class":256},"        schemaSlots",[201,35235,287],{"class":260},[201,35237,35238,35241],{"class":203,"line":24929},[201,35239,35240],{"class":256},"        handleInput",[201,35242,287],{"class":260},[201,35244,35245],{"class":203,"line":24944},[201,35246,35247],{"class":260},"      }\n",[201,35249,35250],{"class":203,"line":24950},[201,35251,495],{"class":260},[201,35253,35254,35256],{"class":203,"line":24956},[201,35255,16394],{"class":260},[201,35257,510],{"class":267},[201,35259,35260],{"class":203,"line":24966},[201,35261,724],{"class":260},[18,35263,35265],{"id":35264},"step-11-use-the-extracted-wrapper-function","Step 11: Use the extracted wrapper function",[192,35267,35269],{"className":1333,"code":35268,"language":1335,"meta":197,"style":197},"\u003Cscript>\nimport { defineVuesticElement } from '.\u002FdefineVuesticElement';\nimport { VaInput } from 'vuestic-ui';\nimport { omit } from '.\u002Fomit';\n\nconst propsToOmit = ['rules', 'label']\nconst props = {\n  ...omit(VaInput.props, propsToOmit)\n}\n\nexport default defineVuesticElement({\n  name: 'VaInputElement',\n  components: [VaInput],\n  props,\n  emits: VaInput.emits,\n  propsToOmit\n})\n\u003C\u002Fscript>\n",[137,35270,35271,35279,35300,35320,35340,35344,35370,35380,35398,35402,35406,35418,35432,35442,35448,35463,35468,35474],{"__ignoreMap":197},[201,35272,35273,35275,35277],{"class":203,"line":204},[201,35274,1342],{"class":260},[201,35276,2936],{"class":267},[201,35278,1718],{"class":260},[201,35280,35281,35283,35285,35287,35289,35291,35293,35296,35298],{"class":203,"line":224},[201,35282,626],{"class":245},[201,35284,631],{"class":260},[201,35286,34696],{"class":256},[201,35288,637],{"class":260},[201,35290,640],{"class":245},[201,35292,309],{"class":260},[201,35294,35295],{"class":211},".\u002FdefineVuesticElement",[201,35297,277],{"class":260},[201,35299,19393],{"class":260},[201,35301,35302,35304,35306,35308,35310,35312,35314,35316,35318],{"class":203,"line":264},[201,35303,626],{"class":245},[201,35305,631],{"class":260},[201,35307,32626],{"class":256},[201,35309,637],{"class":260},[201,35311,640],{"class":245},[201,35313,309],{"class":260},[201,35315,32635],{"class":211},[201,35317,277],{"class":260},[201,35319,19393],{"class":260},[201,35321,35322,35324,35326,35328,35330,35332,35334,35336,35338],{"class":203,"line":290},[201,35323,626],{"class":245},[201,35325,631],{"class":260},[201,35327,33511],{"class":256},[201,35329,637],{"class":260},[201,35331,640],{"class":245},[201,35333,309],{"class":260},[201,35335,33520],{"class":211},[201,35337,277],{"class":260},[201,35339,19393],{"class":260},[201,35341,35342],{"class":203,"line":301},[201,35343,654],{"emptyLinePlaceholder":653},[201,35345,35346,35348,35350,35352,35354,35356,35358,35360,35362,35364,35366,35368],{"class":203,"line":319},[201,35347,660],{"class":659},[201,35349,33551],{"class":256},[201,35351,1353],{"class":260},[201,35353,274],{"class":256},[201,35355,277],{"class":260},[201,35357,33560],{"class":211},[201,35359,277],{"class":260},[201,35361,409],{"class":260},[201,35363,309],{"class":260},[201,35365,32740],{"class":211},[201,35367,277],{"class":260},[201,35369,11187],{"class":256},[201,35371,35372,35374,35376,35378],{"class":203,"line":329},[201,35373,660],{"class":659},[201,35375,19373],{"class":256},[201,35377,1353],{"class":260},[201,35379,298],{"class":260},[201,35381,35382,35385,35387,35389,35391,35393,35395],{"class":203,"line":346},[201,35383,35384],{"class":260},"  ...",[201,35386,33620],{"class":252},[201,35388,33623],{"class":256},[201,35390,534],{"class":260},[201,35392,20628],{"class":256},[201,35394,409],{"class":260},[201,35396,35397],{"class":256}," propsToOmit)\n",[201,35399,35400],{"class":203,"line":363},[201,35401,724],{"class":260},[201,35403,35404],{"class":203,"line":380},[201,35405,654],{"emptyLinePlaceholder":653},[201,35407,35408,35410,35412,35414,35416],{"class":203,"line":391},[201,35409,246],{"class":245},[201,35411,249],{"class":245},[201,35413,34696],{"class":252},[201,35415,257],{"class":256},[201,35417,261],{"class":260},[201,35419,35420,35422,35424,35426,35428,35430],{"class":203,"line":441},[201,35421,32658],{"class":267},[201,35423,271],{"class":260},[201,35425,309],{"class":260},[201,35427,32665],{"class":211},[201,35429,277],{"class":260},[201,35431,287],{"class":260},[201,35433,35434,35436,35438,35440],{"class":203,"line":484},[201,35435,32674],{"class":267},[201,35437,271],{"class":260},[201,35439,32679],{"class":256},[201,35441,287],{"class":260},[201,35443,35444,35446],{"class":203,"line":492},[201,35445,27687],{"class":256},[201,35447,287],{"class":260},[201,35449,35450,35453,35455,35457,35459,35461],{"class":203,"line":498},[201,35451,35452],{"class":267},"  emits",[201,35454,271],{"class":260},[201,35456,32626],{"class":256},[201,35458,534],{"class":260},[201,35460,33907],{"class":256},[201,35462,287],{"class":260},[201,35464,35465],{"class":203,"line":504},[201,35466,35467],{"class":256},"  propsToOmit\n",[201,35469,35470,35472],{"class":203,"line":5949},[201,35471,507],{"class":260},[201,35473,510],{"class":256},[201,35475,35476,35478,35480],{"class":203,"line":5956},[201,35477,1760],{"class":260},[201,35479,2936],{"class":267},[201,35481,1718],{"class":260},[14,35483,35484,35485,35488,35489,35491],{},"Note the ",[137,35486,35487],{},"ref=\"input\""," template ref you can add to ",[137,35490,32406],{}," — you can reference it like this:",[192,35493,35495],{"className":1333,"code":35494,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nimport { onMounted, ref } from 'vue'\nimport VaInputElement from '.\u002FVaInputElement.vue'\n\nconst form$ = ref(null)\n\nonMounted(() => {\n  console.log(form$.value.el$('custom').input)\n})\n\u003C\u002Fscript>\n",[137,35496,35497,35507,35529,35543,35547,35564,35568,35580,35619,35625],{"__ignoreMap":197},[201,35498,35499,35501,35503,35505],{"class":203,"line":204},[201,35500,1342],{"class":260},[201,35502,2936],{"class":267},[201,35504,2939],{"class":659},[201,35506,1718],{"class":260},[201,35508,35509,35511,35513,35515,35517,35519,35521,35523,35525,35527],{"class":203,"line":224},[201,35510,626],{"class":245},[201,35512,631],{"class":260},[201,35514,19680],{"class":256},[201,35516,409],{"class":260},[201,35518,9534],{"class":256},[201,35520,637],{"class":260},[201,35522,640],{"class":245},[201,35524,309],{"class":260},[201,35526,1335],{"class":211},[201,35528,648],{"class":260},[201,35530,35531,35533,35535,35537,35539,35541],{"class":203,"line":264},[201,35532,626],{"class":245},[201,35534,32850],{"class":256},[201,35536,23381],{"class":245},[201,35538,309],{"class":260},[201,35540,33031],{"class":211},[201,35542,648],{"class":260},[201,35544,35545],{"class":203,"line":290},[201,35546,654],{"emptyLinePlaceholder":653},[201,35548,35549,35551,35554,35556,35558,35560,35562],{"class":203,"line":301},[201,35550,660],{"class":659},[201,35552,35553],{"class":256}," form$ ",[201,35555,1353],{"class":260},[201,35557,9534],{"class":252},[201,35559,257],{"class":256},[201,35561,4725],{"class":260},[201,35563,510],{"class":256},[201,35565,35566],{"class":203,"line":319},[201,35567,654],{"emptyLinePlaceholder":653},[201,35569,35570,35572,35574,35576,35578],{"class":203,"line":329},[201,35571,8105],{"class":252},[201,35573,257],{"class":256},[201,35575,6634],{"class":260},[201,35577,1999],{"class":659},[201,35579,298],{"class":260},[201,35581,35582,35585,35587,35589,35591,35594,35596,35598,35600,35602,35604,35606,35609,35611,35613,35615,35617],{"class":203,"line":346},[201,35583,35584],{"class":256},"  console",[201,35586,534],{"class":260},[201,35588,28177],{"class":252},[201,35590,257],{"class":267},[201,35592,35593],{"class":256},"form$",[201,35595,534],{"class":260},[201,35597,3048],{"class":256},[201,35599,534],{"class":260},[201,35601,32520],{"class":252},[201,35603,257],{"class":267},[201,35605,277],{"class":260},[201,35607,35608],{"class":211},"custom",[201,35610,277],{"class":260},[201,35612,3779],{"class":267},[201,35614,534],{"class":260},[201,35616,7361],{"class":256},[201,35618,510],{"class":267},[201,35620,35621,35623],{"class":203,"line":363},[201,35622,507],{"class":260},[201,35624,510],{"class":256},[201,35626,35627,35629,35631],{"class":203,"line":380},[201,35628,1760],{"class":260},[201,35630,2936],{"class":267},[201,35632,1718],{"class":260},[18,35634,35636],{"id":35635},"step-12-render-a-form-through-the-schema","Step 12: Render a form through the schema",[192,35638,35640],{"className":1333,"code":35639,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CVueform :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup>\nconst schema = {\n  MyCustomInput: {\n    type: 'VaInput',\n    rules: \"required|email|min:5\",\n    ['onUpdate:modelValue']: (v) => console.log(v),\n    slots: {\n      appendInner: () => 'appendInner',\n    }\n  }\n}\n\u003C\u002Fscript>\n",[137,35641,35642,35650,35670,35678,35682,35692,35703,35712,35727,35741,35778,35787,35806,35810,35814,35818],{"__ignoreMap":197},[201,35643,35644,35646,35648],{"class":203,"line":204},[201,35645,1342],{"class":260},[201,35647,1715],{"class":267},[201,35649,1718],{"class":260},[201,35651,35652,35654,35656,35659,35661,35663,35666,35668],{"class":203,"line":224},[201,35653,1723],{"class":260},[201,35655,31135],{"class":267},[201,35657,35658],{"class":659}," :schema",[201,35660,1353],{"class":260},[201,35662,1356],{"class":260},[201,35664,35665],{"class":211},"schema",[201,35667,1356],{"class":260},[201,35669,1539],{"class":260},[201,35671,35672,35674,35676],{"class":203,"line":264},[201,35673,1760],{"class":260},[201,35675,1715],{"class":267},[201,35677,1718],{"class":260},[201,35679,35680],{"class":203,"line":290},[201,35681,654],{"emptyLinePlaceholder":653},[201,35683,35684,35686,35688,35690],{"class":203,"line":301},[201,35685,1342],{"class":260},[201,35687,2936],{"class":267},[201,35689,2939],{"class":659},[201,35691,1718],{"class":260},[201,35693,35694,35696,35699,35701],{"class":203,"line":319},[201,35695,660],{"class":659},[201,35697,35698],{"class":256}," schema ",[201,35700,1353],{"class":260},[201,35702,298],{"class":260},[201,35704,35705,35708,35710],{"class":203,"line":329},[201,35706,35707],{"class":267},"  MyCustomInput",[201,35709,271],{"class":260},[201,35711,298],{"class":260},[201,35713,35714,35717,35719,35721,35723,35725],{"class":203,"line":346},[201,35715,35716],{"class":267},"    type",[201,35718,271],{"class":260},[201,35720,309],{"class":260},[201,35722,32406],{"class":211},[201,35724,277],{"class":260},[201,35726,287],{"class":260},[201,35728,35729,35731,35733,35735,35737,35739],{"class":203,"line":363},[201,35730,28933],{"class":267},[201,35732,271],{"class":260},[201,35734,23058],{"class":260},[201,35736,33836],{"class":211},[201,35738,1356],{"class":260},[201,35740,287],{"class":260},[201,35742,35743,35746,35748,35751,35753,35755,35757,35759,35762,35764,35766,35769,35771,35773,35776],{"class":203,"line":380},[201,35744,35745],{"class":267},"    [",[201,35747,277],{"class":260},[201,35749,35750],{"class":267},"onUpdate:modelValue",[201,35752,277],{"class":260},[201,35754,284],{"class":267},[201,35756,271],{"class":260},[201,35758,2142],{"class":260},[201,35760,35761],{"class":2106},"v",[201,35763,3779],{"class":260},[201,35765,1999],{"class":659},[201,35767,35768],{"class":256}," console",[201,35770,534],{"class":260},[201,35772,28177],{"class":252},[201,35774,35775],{"class":256},"(v)",[201,35777,287],{"class":260},[201,35779,35780,35783,35785],{"class":203,"line":391},[201,35781,35782],{"class":267},"    slots",[201,35784,271],{"class":260},[201,35786,298],{"class":260},[201,35788,35789,35792,35794,35796,35798,35800,35802,35804],{"class":203,"line":441},[201,35790,35791],{"class":252},"      appendInner",[201,35793,271],{"class":260},[201,35795,1996],{"class":260},[201,35797,1999],{"class":659},[201,35799,309],{"class":260},[201,35801,34575],{"class":211},[201,35803,277],{"class":260},[201,35805,287],{"class":260},[201,35807,35808],{"class":203,"line":484},[201,35809,27073],{"class":260},[201,35811,35812],{"class":203,"line":492},[201,35813,7326],{"class":260},[201,35815,35816],{"class":203,"line":498},[201,35817,724],{"class":260},[201,35819,35820,35822,35824],{"class":203,"line":504},[201,35821,1760],{"class":260},[201,35823,2936],{"class":267},[201,35825,1718],{"class":260},[14,35827,35828,35829,35831,35832,35834,35835,35837,35838,35840,35841,35844,35845,35847,35848,35851,35852,35854,35855,35857,35858,35861,35862,35864,35865,534],{},"Bind the ",[137,35830,35665],{}," object via props to ",[137,35833,31135],{}," to get the result. The key (",[137,35836,32974],{},") matches the mandatory ",[137,35839,7044],{}," prop. ",[137,35842,35843],{},"type: 'VaInput'"," is the argument from ",[137,35846,32728],{}," (it must always end with ",[137,35849,35850],{},"Element",", which we skip here). ",[137,35853,21233],{}," can be written as PascalCase (",[137,35856,32406],{},") or kebab-case (",[137,35859,35860],{},"va-input","). For events, replace the ",[137,35863,18445],{}," character with ",[137,35866,35867],{},"on",[18,35869,35871],{"id":35870},"step-13-define-slots-with-different-methods","Step 13: Define slots with different methods",[14,35873,35874],{},[2363,35875,35876],{},"Method 1 — arrow function:",[192,35878,35880],{"className":11083,"code":35879,"language":11085,"meta":197,"style":197},"slots: {\n  appendInner: () => 'appendInner',\n}\n",[137,35881,35882,35890,35909],{"__ignoreMap":197},[201,35883,35884,35886,35888],{"class":203,"line":204},[201,35885,35007],{"class":207},[201,35887,271],{"class":260},[201,35889,298],{"class":260},[201,35891,35892,35895,35897,35899,35901,35903,35905,35907],{"class":203,"line":224},[201,35893,35894],{"class":207},"  appendInner",[201,35896,271],{"class":260},[201,35898,1996],{"class":260},[201,35900,1999],{"class":659},[201,35902,309],{"class":260},[201,35904,34575],{"class":211},[201,35906,277],{"class":260},[201,35908,287],{"class":260},[201,35910,35911],{"class":203,"line":264},[201,35912,724],{"class":260},[14,35914,35915],{},[2363,35916,35917],{},"Method 2 — render() function:",[192,35919,35921],{"className":11083,"code":35920,"language":11085,"meta":197,"style":197},"import { h } from 'vue';\n\nconst schema = {\n  MyCustomInput: {\n    type: 'va-input',\n    slots: {\n      appendInner: {\n        props: ['el$'],\n        render() {\n          console.log(this.el$)\n          return h('div', 'Schema Slot')\n        }\n      }\n    }\n  }\n}\n",[137,35922,35923,35944,35948,35958,35966,35980,35988,35996,36014,36023,36040,36066,36070,36074,36078,36082],{"__ignoreMap":197},[201,35924,35925,35927,35929,35932,35934,35936,35938,35940,35942],{"class":203,"line":204},[201,35926,626],{"class":245},[201,35928,631],{"class":260},[201,35930,35931],{"class":256}," h",[201,35933,637],{"class":260},[201,35935,640],{"class":245},[201,35937,309],{"class":260},[201,35939,1335],{"class":211},[201,35941,277],{"class":260},[201,35943,19393],{"class":260},[201,35945,35946],{"class":203,"line":224},[201,35947,654],{"emptyLinePlaceholder":653},[201,35949,35950,35952,35954,35956],{"class":203,"line":264},[201,35951,660],{"class":659},[201,35953,35698],{"class":256},[201,35955,1353],{"class":260},[201,35957,298],{"class":260},[201,35959,35960,35962,35964],{"class":203,"line":290},[201,35961,35707],{"class":267},[201,35963,271],{"class":260},[201,35965,298],{"class":260},[201,35967,35968,35970,35972,35974,35976,35978],{"class":203,"line":301},[201,35969,35716],{"class":267},[201,35971,271],{"class":260},[201,35973,309],{"class":260},[201,35975,35860],{"class":211},[201,35977,277],{"class":260},[201,35979,287],{"class":260},[201,35981,35982,35984,35986],{"class":203,"line":319},[201,35983,35782],{"class":267},[201,35985,271],{"class":260},[201,35987,298],{"class":260},[201,35989,35990,35992,35994],{"class":203,"line":329},[201,35991,35791],{"class":267},[201,35993,271],{"class":260},[201,35995,298],{"class":260},[201,35997,35998,36000,36002,36004,36006,36008,36010,36012],{"class":203,"line":346},[201,35999,35208],{"class":267},[201,36001,271],{"class":260},[201,36003,274],{"class":256},[201,36005,277],{"class":260},[201,36007,32520],{"class":211},[201,36009,277],{"class":260},[201,36011,284],{"class":256},[201,36013,287],{"class":260},[201,36015,36016,36019,36021],{"class":203,"line":363},[201,36017,36018],{"class":267},"        render",[201,36020,6634],{"class":260},[201,36022,298],{"class":260},[201,36024,36025,36028,36030,36032,36034,36036,36038],{"class":203,"line":380},[201,36026,36027],{"class":256},"          console",[201,36029,534],{"class":260},[201,36031,28177],{"class":252},[201,36033,257],{"class":267},[201,36035,27043],{"class":260},[201,36037,32520],{"class":256},[201,36039,510],{"class":267},[201,36041,36042,36045,36047,36049,36051,36053,36055,36057,36059,36062,36064],{"class":203,"line":391},[201,36043,36044],{"class":245},"          return",[201,36046,35931],{"class":252},[201,36048,257],{"class":267},[201,36050,277],{"class":260},[201,36052,6013],{"class":211},[201,36054,277],{"class":260},[201,36056,409],{"class":260},[201,36058,309],{"class":260},[201,36060,36061],{"class":211},"Schema Slot",[201,36063,277],{"class":260},[201,36065,510],{"class":267},[201,36067,36068],{"class":203,"line":441},[201,36069,35172],{"class":260},[201,36071,36072],{"class":203,"line":484},[201,36073,35247],{"class":260},[201,36075,36076],{"class":203,"line":492},[201,36077,27073],{"class":260},[201,36079,36080],{"class":203,"line":498},[201,36081,7326],{"class":260},[201,36083,36084],{"class":203,"line":504},[201,36085,724],{"class":260},[14,36087,36088],{},[2363,36089,36090],{},"Method 3 — return h():",[192,36092,36094],{"className":11083,"code":36093,"language":11085,"meta":197,"style":197},"import { h } from 'vue';\nimport TestComponent from '.\u002FTestComponent.vue';\n\nconst schema = {\n  MyCustomInput: {\n    type: 'va-input',\n    slots: {\n      appendInner: () => h(TestComponent, {\n        label: 'hello',\n        onSomeEvent: () => console.log('onSomeEvent')\n      }, {\n        icon: () => '👋'\n      })\n    }\n  }\n}\n",[137,36095,36096,36116,36134,36138,36148,36156,36170,36178,36197,36213,36241,36247,36265,36271,36275,36279],{"__ignoreMap":197},[201,36097,36098,36100,36102,36104,36106,36108,36110,36112,36114],{"class":203,"line":204},[201,36099,626],{"class":245},[201,36101,631],{"class":260},[201,36103,35931],{"class":256},[201,36105,637],{"class":260},[201,36107,640],{"class":245},[201,36109,309],{"class":260},[201,36111,1335],{"class":211},[201,36113,277],{"class":260},[201,36115,19393],{"class":260},[201,36117,36118,36120,36123,36125,36127,36130,36132],{"class":203,"line":224},[201,36119,626],{"class":245},[201,36121,36122],{"class":256}," TestComponent ",[201,36124,23381],{"class":245},[201,36126,309],{"class":260},[201,36128,36129],{"class":211},".\u002FTestComponent.vue",[201,36131,277],{"class":260},[201,36133,19393],{"class":260},[201,36135,36136],{"class":203,"line":264},[201,36137,654],{"emptyLinePlaceholder":653},[201,36139,36140,36142,36144,36146],{"class":203,"line":290},[201,36141,660],{"class":659},[201,36143,35698],{"class":256},[201,36145,1353],{"class":260},[201,36147,298],{"class":260},[201,36149,36150,36152,36154],{"class":203,"line":301},[201,36151,35707],{"class":267},[201,36153,271],{"class":260},[201,36155,298],{"class":260},[201,36157,36158,36160,36162,36164,36166,36168],{"class":203,"line":319},[201,36159,35716],{"class":267},[201,36161,271],{"class":260},[201,36163,309],{"class":260},[201,36165,35860],{"class":211},[201,36167,277],{"class":260},[201,36169,287],{"class":260},[201,36171,36172,36174,36176],{"class":203,"line":329},[201,36173,35782],{"class":267},[201,36175,271],{"class":260},[201,36177,298],{"class":260},[201,36179,36180,36182,36184,36186,36188,36190,36193,36195],{"class":203,"line":346},[201,36181,35791],{"class":252},[201,36183,271],{"class":260},[201,36185,1996],{"class":260},[201,36187,1999],{"class":659},[201,36189,35931],{"class":252},[201,36191,36192],{"class":256},"(TestComponent",[201,36194,409],{"class":260},[201,36196,298],{"class":260},[201,36198,36199,36202,36204,36206,36209,36211],{"class":203,"line":363},[201,36200,36201],{"class":267},"        label",[201,36203,271],{"class":260},[201,36205,309],{"class":260},[201,36207,36208],{"class":211},"hello",[201,36210,277],{"class":260},[201,36212,287],{"class":260},[201,36214,36215,36218,36220,36222,36224,36226,36228,36230,36232,36234,36237,36239],{"class":203,"line":380},[201,36216,36217],{"class":252},"        onSomeEvent",[201,36219,271],{"class":260},[201,36221,1996],{"class":260},[201,36223,1999],{"class":659},[201,36225,35768],{"class":256},[201,36227,534],{"class":260},[201,36229,28177],{"class":252},[201,36231,257],{"class":256},[201,36233,277],{"class":260},[201,36235,36236],{"class":211},"onSomeEvent",[201,36238,277],{"class":260},[201,36240,510],{"class":256},[201,36242,36243,36245],{"class":203,"line":391},[201,36244,34951],{"class":260},[201,36246,298],{"class":260},[201,36248,36249,36252,36254,36256,36258,36260,36263],{"class":203,"line":441},[201,36250,36251],{"class":252},"        icon",[201,36253,271],{"class":260},[201,36255,1996],{"class":260},[201,36257,1999],{"class":659},[201,36259,309],{"class":260},[201,36261,36262],{"class":211},"👋",[201,36264,648],{"class":260},[201,36266,36267,36269],{"class":203,"line":484},[201,36268,19619],{"class":260},[201,36270,510],{"class":256},[201,36272,36273],{"class":203,"line":492},[201,36274,27073],{"class":260},[201,36276,36277],{"class":203,"line":498},[201,36278,7326],{"class":260},[201,36280,36281],{"class":203,"line":504},[201,36282,724],{"class":260},[14,36284,36285,36288],{},[137,36286,36287],{},"h()"," takes a component as the first argument, props and events as the second, and slots as the third.",[18,36290,36291],{"id":28266},"Final thoughts",[14,36293,36294],{},"In this guide, we walked through building a custom wrapper around Vuestic UI components for use inside Vueform. We covered everything you need for full compatibility:",[2357,36296,36297,36300,36303,36309,36312],{},[188,36298,36299],{},"✅ Handling v-model and validation",[188,36301,36302],{},"✅ Passing props with automatic omission",[188,36304,36305,36306,36308],{},"✅ Listening to events using ",[137,36307,33879],{}," for schema support",[188,36310,36311],{},"✅ Managing generic and custom slots without conflicts",[188,36313,36314],{},"✅ Using render functions in schema configuration",[14,36316,36317],{},"This approach gives you the flexibility of Vueform with the design power of Vuestic. If you're working with many components, abstract your wrapper logic for easier maintenance. Happy building! 🚀",[6170,36319],{"label":11830,"to":6173},[984,36321,36322],{},"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}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 .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 .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .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 .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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":197,"searchDepth":264,"depth":264,"links":36324},[36325,36326,36327,36328,36329,36330,36331,36332,36333,36334,36335,36336,36337,36338,36339],{"id":32372,"depth":224,"text":32373},{"id":32399,"depth":224,"text":32400},{"id":32768,"depth":224,"text":32769},{"id":32937,"depth":224,"text":32938},{"id":33049,"depth":224,"text":33050},{"id":33449,"depth":224,"text":33450},{"id":33782,"depth":224,"text":33783},{"id":33862,"depth":224,"text":33863},{"id":34065,"depth":224,"text":34066},{"id":34502,"depth":224,"text":34503},{"id":34617,"depth":224,"text":34618},{"id":35264,"depth":224,"text":35265},{"id":35635,"depth":224,"text":35636},{"id":35870,"depth":224,"text":35871},{"id":28266,"depth":224,"text":36291},"2025-03-20","A step-by-step guide to wrapping Vuestic UI components as custom Vueform elements — v-model, validation, props, events, and schema-driven slots.","\u002Fimages\u002Fblog\u002Fvueform\u002Fcard.png",{},"\u002Fblog\u002Fvueform",{"title":32364,"description":36341},"blog\u002Fvueform",[2822,13021,36348],"Forms","open-source","5PUfsDrQ_SC07EZ9pIhrjObJ8Gzw4oa3r1UgLPf07UY",{"id":36352,"title":36353,"articleType":7,"author":12943,"authorSlug":1008,"body":36354,"cta":1008,"date":36913,"description":36914,"extension":1011,"faq":1008,"featured":1021,"image":36915,"meta":36916,"navigation":653,"noCtaBox":1021,"path":36917,"readTime":1008,"seo":36918,"seoTitle":1008,"stem":36919,"tags":36920,"topic":1032,"video":1008,"__hash__":36922},"blog\u002Fblog\u002Fcyber-resilience-act.md","Vue.js and the Cyber Resilience Act: How Developers Can Avoid Mistakes",{"type":11,"value":36355,"toc":36899},[36356,36366,36370,36373,36388,36391,36395,36400,36426,36430,36434,36437,36499,36502,36533,36536,36540,36543,36574,36577,36614,36618,36621,36779,36786,36790,36804,36808,36815,36833,36837,36844,36848,36879,36883,36886,36893,36896],[14,36357,5350,36358,36361,36362,36365],{},[2363,36359,36360],{},"Cyber Resilience Act (CRA)"," is a new EU regulation that requires all digital products to be ",[14885,36363,36364],{},"secure by default"," and properly maintained throughout their entire lifecycle. The goal is simple: reduce security risks in software and ensure that companies ship products that meet modern cybersecurity standards.",[18,36367,36369],{"id":36368},"what-is-cra-and-why-does-it-matter-for-frontend-teams","What is CRA and why does it matter for frontend teams?",[14,36371,36372],{},"For Vue developers and frontend engineering teams, CRA creates concrete technical responsibilities that directly affect product compliance:",[2357,36374,36375,36382,36385],{},[188,36376,36377,36378,36381],{},"you can't ignore ",[2363,36379,36380],{},"vulnerabilities in npm packages"," or outdated dependencies",[188,36383,36384],{},"security by design becomes an expected requirement for EU client projects under CRA",[188,36386,36387],{},"the way we structure code, handle dependencies, and manage updates now directly affects whether clients stay compliant or face legal, financial, or reputational risks",[14,36389,36390],{},"If you build or maintain Vue applications for European businesses, understanding CRA obligations is essential to avoid security gaps and ensure your software meets EU-level compliance.",[18,36392,36394],{"id":36393},"why-this-matters-for-clients","Why this matters for clients",[14,36396,36397],{},[2363,36398,36399],{},"Business-friendly arguments:",[185,36401,36402,36408,36414,36420],{},[188,36403,36404,36407],{},[2363,36405,36406],{},"Fines and reputation risk."," Under the EU Cyber Resilience Act, companies may face penalties if they ship digital products without proper security measures, maintenance, and vulnerability handling.",[188,36409,36410,36413],{},[2363,36411,36412],{},"Transparency and trust through SBOMs."," Providing an SBOM (software bill of materials) and clear security changelogs demonstrates reliability, professionalism, and proactive risk management. Many enterprise clients now require this as part of vendor evaluation.",[188,36415,36416,36419],{},[2363,36417,36418],{},"Lower long-term maintenance costs."," Continuous small updates, dependency patches, and vulnerability monitoring cost significantly less than urgent large-scale remediation when a critical issue appears.",[188,36421,36422,36425],{},[2363,36423,36424],{},"Competitive advantage in the EU market."," Products that are aligned with CRA requirements, secure by design, or EU-ready gain trust faster.",[18,36427,36429],{"id":36428},"what-vue-developers-should-do-right-now","What Vue developers should do right now",[169,36431,36433],{"id":36432},"_1-keep-dependencies-healthy","1. Keep dependencies healthy",[14,36435,36436],{},"Bad dependencies → better alternatives:",[2357,36438,36439,36453,36465,36471,36480,36490],{},[188,36440,36441,36442,36445,36446,809,36449,36452],{},"❌ ",[2363,36443,36444],{},"moment.js"," — deprecated, huge bundle size. ✅ Use ",[2363,36447,36448],{},"date-fns",[2363,36450,36451],{},"dayjs"," (lightweight, active support).",[188,36454,36441,36455,36458,36459,809,36462,534],{},[2363,36456,36457],{},"request"," — old HTTP client, unmaintained. ✅ Use ",[2363,36460,36461],{},"axios",[2363,36463,36464],{},"ky",[188,36466,36441,36467,36470],{},[2363,36468,36469],{},"left-pad"," (and similar tiny packages). ✅ Inline small utilities yourself — less supply-chain risk.",[188,36472,36441,36473,36476,36477,36479],{},[2363,36474,36475],{},"lodash (full package)"," — bloats the bundle. ✅ Use ",[2363,36478,11266],{}," with tree-shaking or minimal libs like just \u002F radash.",[188,36481,36441,36482,36485,36486,36489],{},[2363,36483,36484],{},"crypto-js"," — outdated crypto, known issues. ✅ Use the ",[2363,36487,36488],{},"Web Crypto API"," (built into modern browsers).",[188,36491,36441,36492,36495,36496,534],{},[2363,36493,36494],{},"core-js@2"," — deprecated. ✅ Upgrade to ",[2363,36497,36498],{},"core-js@3",[14,36500,36501],{},"Vulnerability checks:",[192,36503,36505],{"className":194,"code":36504,"language":196,"meta":197,"style":197},"npx osv-scanner --lockfile pnpm-lock.yaml\nnpx knip --include vue,nuxt,vitest\n",[137,36506,36507,36520],{"__ignoreMap":197},[201,36508,36509,36511,36514,36517],{"class":203,"line":204},[201,36510,208],{"class":207},[201,36512,36513],{"class":211}," osv-scanner",[201,36515,36516],{"class":211}," --lockfile",[201,36518,36519],{"class":211}," pnpm-lock.yaml\n",[201,36521,36522,36524,36527,36530],{"class":203,"line":224},[201,36523,208],{"class":207},[201,36525,36526],{"class":211}," knip",[201,36528,36529],{"class":211}," --include",[201,36531,36532],{"class":211}," vue,nuxt,vitest\n",[14,36534,36535],{},"Auto-updates: Dependabot or Renovate.",[169,36537,36539],{"id":36538},"_2-block-unsafe-html","2. Block unsafe HTML",[14,36541,36542],{},"ESLint rule:",[192,36544,36546],{"className":11083,"code":36545,"language":11085,"meta":197,"style":197},"rules: { 'vue\u002Fno-v-html': 'error' }\n",[137,36547,36548],{"__ignoreMap":197},[201,36549,36550,36552,36554,36556,36558,36561,36563,36566,36568,36570,36572],{"class":203,"line":204},[201,36551,33560],{"class":207},[201,36553,271],{"class":260},[201,36555,631],{"class":260},[201,36557,309],{"class":260},[201,36559,36560],{"class":211},"vue\u002Fno-v-html",[201,36562,277],{"class":260},[201,36564,36565],{"class":267},": ",[201,36567,277],{"class":260},[201,36569,4708],{"class":211},[201,36571,277],{"class":260},[201,36573,15495],{"class":260},[14,36575,36576],{},"If CMS content requires HTML, wrap it with DOMPurify:",[192,36578,36580],{"className":1333,"code":36579,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\u003Cdiv v-html=\"$sanitize(html)\">\u003C\u002Fdiv>\u003C\u002Ftemplate>\n",[137,36581,36582],{"__ignoreMap":197},[201,36583,36584,36586,36588,36591,36593,36595,36597,36599,36602,36604,36606,36608,36610,36612],{"class":203,"line":204},[201,36585,1342],{"class":260},[201,36587,1715],{"class":267},[201,36589,36590],{"class":260},">\u003C",[201,36592,6013],{"class":267},[201,36594,5583],{"class":659},[201,36596,1353],{"class":260},[201,36598,1356],{"class":260},[201,36600,36601],{"class":211},"$sanitize(html)",[201,36603,1356],{"class":260},[201,36605,20250],{"class":260},[201,36607,6013],{"class":267},[201,36609,20250],{"class":260},[201,36611,1715],{"class":267},[201,36613,1718],{"class":260},[169,36615,36617],{"id":36616},"_3-add-basic-ssr-security-headers","3. Add basic SSR security headers",[14,36619,36620],{},"For Nuxt projects, you can add these in a few lines:",[192,36622,36624],{"className":230,"code":36623,"language":232,"meta":197,"style":197},"export default defineNuxtConfig({\n  nitro: {\n    routeRules: {\n      '\u002F**': {\n        headers: {\n          'x-content-type-options': 'nosniff',\n          'referrer-policy': 'strict-origin-when-cross-origin',\n          'strict-transport-security': 'max-age=31536000; includeSubDomains',\n          'content-security-policy': \"default-src 'self'\"\n        }\n      }\n    }\n  }\n})\n",[137,36625,36626,36638,36647,36656,36669,36678,36699,36719,36739,36757,36761,36765,36769,36773],{"__ignoreMap":197},[201,36627,36628,36630,36632,36634,36636],{"class":203,"line":204},[201,36629,246],{"class":245},[201,36631,249],{"class":245},[201,36633,253],{"class":252},[201,36635,257],{"class":256},[201,36637,261],{"class":260},[201,36639,36640,36643,36645],{"class":203,"line":224},[201,36641,36642],{"class":267},"  nitro",[201,36644,271],{"class":260},[201,36646,298],{"class":260},[201,36648,36649,36652,36654],{"class":203,"line":264},[201,36650,36651],{"class":267},"    routeRules",[201,36653,271],{"class":260},[201,36655,298],{"class":260},[201,36657,36658,36661,36663,36665,36667],{"class":203,"line":290},[201,36659,36660],{"class":260},"      '",[201,36662,8853],{"class":267},[201,36664,277],{"class":260},[201,36666,271],{"class":260},[201,36668,298],{"class":260},[201,36670,36671,36674,36676],{"class":203,"line":301},[201,36672,36673],{"class":267},"        headers",[201,36675,271],{"class":260},[201,36677,298],{"class":260},[201,36679,36680,36683,36686,36688,36690,36692,36695,36697],{"class":203,"line":319},[201,36681,36682],{"class":260},"          '",[201,36684,36685],{"class":267},"x-content-type-options",[201,36687,277],{"class":260},[201,36689,271],{"class":260},[201,36691,309],{"class":260},[201,36693,36694],{"class":211},"nosniff",[201,36696,277],{"class":260},[201,36698,287],{"class":260},[201,36700,36701,36703,36706,36708,36710,36712,36715,36717],{"class":203,"line":329},[201,36702,36682],{"class":260},[201,36704,36705],{"class":267},"referrer-policy",[201,36707,277],{"class":260},[201,36709,271],{"class":260},[201,36711,309],{"class":260},[201,36713,36714],{"class":211},"strict-origin-when-cross-origin",[201,36716,277],{"class":260},[201,36718,287],{"class":260},[201,36720,36721,36723,36726,36728,36730,36732,36735,36737],{"class":203,"line":346},[201,36722,36682],{"class":260},[201,36724,36725],{"class":267},"strict-transport-security",[201,36727,277],{"class":260},[201,36729,271],{"class":260},[201,36731,309],{"class":260},[201,36733,36734],{"class":211},"max-age=31536000; includeSubDomains",[201,36736,277],{"class":260},[201,36738,287],{"class":260},[201,36740,36741,36743,36746,36748,36750,36752,36755],{"class":203,"line":363},[201,36742,36682],{"class":260},[201,36744,36745],{"class":267},"content-security-policy",[201,36747,277],{"class":260},[201,36749,271],{"class":260},[201,36751,23058],{"class":260},[201,36753,36754],{"class":211},"default-src 'self'",[201,36756,1362],{"class":260},[201,36758,36759],{"class":203,"line":380},[201,36760,35172],{"class":260},[201,36762,36763],{"class":203,"line":391},[201,36764,35247],{"class":260},[201,36766,36767],{"class":203,"line":441},[201,36768,27073],{"class":260},[201,36770,36771],{"class":203,"line":484},[201,36772,7326],{"class":260},[201,36774,36775,36777],{"class":203,"line":492},[201,36776,507],{"class":260},[201,36778,510],{"class":256},[14,36780,36781,36782,36785],{},"If your team needs help implementing a secure Nuxt setup from scratch, our ",[128,36783,36784],{"href":925},"Nuxt.js development services"," include architecture and security configuration.",[169,36787,36789],{"id":36788},"_4-secrets-server-only","4. Secrets → server only",[14,36791,36792,36793,36795,36796,36799,36800,36803],{},"Private keys stay in ",[137,36794,23518],{},", only variables prefixed with ",[137,36797,36798],{},"PUBLIC_"," go to the client. Always add ",[137,36801,36802],{},".env.example"," so colleagues know what's needed. Never store tokens in localStorage → use HttpOnly cookies.",[169,36805,36807],{"id":36806},"_5-transparency-documentation","5. Transparency & documentation",[14,36809,36810,36811,36814],{},"Add a ",[2363,36812,36813],{},"SECURITY.md"," with instructions on how to report vulnerabilities and fix timelines (Critical ≤ 72h, High ≤ 7d). Add a dedicated Security section to your changelog. Generate an SBOM at release time:",[192,36816,36818],{"className":194,"code":36817,"language":196,"meta":197,"style":197},"npx @cyclonedx\u002Fcyclonedx-npm --output sbom.json\n",[137,36819,36820],{"__ignoreMap":197},[201,36821,36822,36824,36827,36830],{"class":203,"line":204},[201,36823,208],{"class":207},[201,36825,36826],{"class":211}," @cyclonedx\u002Fcyclonedx-npm",[201,36828,36829],{"class":211}," --output",[201,36831,36832],{"class":211}," sbom.json\n",[169,36834,36836],{"id":36835},"_6-lightweight-incident-process","6. Lightweight incident process",[14,36838,36839,36840,36843],{},"Create a ",[137,36841,36842],{},"#security-incidents"," channel (Slack\u002FTeams). Use a simple ticket template: \"Issue → Affected → Temporary mitigation → Fix timeline.\" This builds trust and discipline without bureaucracy.",[18,36845,36847],{"id":36846},"how-to-introduce-this-without-pain","How to introduce this without pain",[2357,36849,36850,36862,36865],{},[188,36851,36852,36853,36856,36857,16914,36860,534],{},"Start with ",[2363,36854,36855],{},"one PR",": add ",[137,36858,36859],{},"dependency-review.yml",[137,36861,36813],{},[188,36863,36864],{},"Then gradually add: CSP → SafeHtml → Renovate.",[188,36866,36867,36868],{},"Don't ask the client to \"rewrite everything.\" Instead, show small wins:\n",[2357,36869,36870,36873,36876],{},[188,36871,36872],{},"Replacing moment.js → bundle size drops by 200 KB.",[188,36874,36875],{},"Adding CSP → browser blocks XSS attempts.",[188,36877,36878],{},"Generating SBOM → client can show auditors what's inside.",[18,36880,36882],{"id":36881},"bottom-line","Bottom line",[14,36884,36885],{},"CRA isn't just red tape — it's an opportunity to strengthen security and maintenance practices before they become a problem. For Vue developers working in outstaff and service companies, being future-proof means keeping dependencies up to date, building applications with security by design, and documenting security processes so clients can clearly demonstrate compliance.",[14,36887,36888,36889,36892],{},"At Epicmax, we help companies turn these requirements into clear, actionable steps. We can ",[128,36890,36891],{"href":2284},"audit your existing Vue or Nuxt application",", identify security and compliance gaps, and provide a practical, prioritized action plan — so you know exactly what to fix, why it matters, and how to do it without unnecessary refactoring.",[6170,36894],{"label":36895,"to":6173},"Get a CRA-ready audit",[984,36897,36898],{},"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 .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}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}",{"title":197,"searchDepth":264,"depth":264,"links":36900},[36901,36902,36903,36911,36912],{"id":36368,"depth":224,"text":36369},{"id":36393,"depth":224,"text":36394},{"id":36428,"depth":224,"text":36429,"children":36904},[36905,36906,36907,36908,36909,36910],{"id":36432,"depth":264,"text":36433},{"id":36538,"depth":264,"text":36539},{"id":36616,"depth":264,"text":36617},{"id":36788,"depth":264,"text":36789},{"id":36806,"depth":264,"text":36807},{"id":36835,"depth":264,"text":36836},{"id":36846,"depth":224,"text":36847},{"id":36881,"depth":224,"text":36882},"2025-01-15","The EU Cyber Resilience Act makes software secure-by-default a legal requirement. Here's what Vue and Nuxt developers should do right now to stay compliant.","\u002Fimages\u002Fblog\u002Fcyber-resilience-act\u002Fcard.png",{},"\u002Fblog\u002Fcyber-resilience-act",{"title":36353,"description":36914},"blog\u002Fcyber-resilience-act",[2822,36921,1030],"Security","qJz7QiIa15dofWuREysqOZAhHxyrgljLGzzt_7znXJg",{"id":36924,"title":36925,"articleType":1008,"author":12943,"authorSlug":1008,"body":36926,"cta":1008,"date":37746,"description":37747,"extension":1011,"faq":1008,"featured":1021,"image":37748,"meta":37749,"navigation":653,"noCtaBox":1021,"path":37750,"readTime":1025,"seo":37751,"seoTitle":1008,"stem":37752,"tags":37753,"topic":37754,"video":37755,"__hash__":37761},"blog\u002Fblog\u002Fvue-js-talks-3.md","Vue.js Talks #3 Recap: Micro Frontends, SOLID in JavaScript and Component Customization",{"type":11,"value":36927,"toc":37727},[36928,36931,36934,36938,36949,36952,36955,36959,36962,36988,36991,37011,37015,37022,37025,37071,37074,37283,37289,37324,37328,37331,37345,37348,37376,37379,37383,37424,37428,37438,37446,37450,37453,37456,37463,37480,37483,37487,37490,37493,37513,37519,37522,37525,37529,37539,37542,37546,37557,37561,37673,37677,37680,37694,37697,37701,37720,37724],[14,36929,36930],{},"Vue.js Talks #3 took place online on November 27, 2024. It was the third meetup in the series and the first with a guest speaker from outside Epicmax. Three talks were on the agenda: Klaus Hamperl showed how Einhell runs micro frontends on Vue and Vite, Dmitry Raichev finished his series on SOLID principles in JavaScript, and Yauheni Prakopchuk walked through the ways to make a Vue component customizable, and why you might not want to.",[14,36932,36933],{},"The full recording is above. Below is a summary of each talk with timestamps, so you can jump straight to the part you care about.",[18,36935,36937],{"id":36936},"micro-frontends-with-vue-and-vite-at-einhell","Micro frontends with Vue and Vite at Einhell",[14,36939,36940,36943,36944],{},[2363,36941,36942],{},"Speaker:"," Klaus Hamperl, Frontend Team Lead at Einhell Germany · ",[128,36945,36948],{"href":36946,"rel":36947},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=NIhuQibMQNQ&t=120s",[4980],"watch from 2:00",[14,36950,36951],{},"Klaus started with the problem micro frontends try to solve. Large frontends with many teams working on them are hard to keep stable and maintainable, and the same pieces get rebuilt again and again. The backend solved this years ago with microservices: small services that do one job and can be updated on their own. Micro frontends apply the same idea to the UI.",[14,36953,36954],{},"The term first appeared in 2011. Netflix and Amazon were early adopters, and Zalando later built its own solution. Module Federation, released as a webpack plugin at the end of 2020, became the recommended way to implement them. Klaus's point was that, compared to backend microservices, micro frontends are still early.",[169,36956,36958],{"id":36957},"pros-and-cons","Pros and cons",[14,36960,36961],{},"What you get:",[2357,36963,36964,36970,36976,36982],{},[188,36965,36966,36969],{},[2363,36967,36968],{},"Gradual migration."," You can split a monolith step by step, feature by feature.",[188,36971,36972,36975],{},[2363,36973,36974],{},"Smaller codebases"," per app.",[188,36977,36978,36981],{},[2363,36979,36980],{},"Independent deployment."," Change remote A, push it through its own pipeline, and only that change goes live in the host.",[188,36983,36984,36987],{},[2363,36985,36986],{},"Independent teams."," Each team owns its part. Technically you can even mix Vue and React in one app, though Klaus doesn't like that approach.",[14,36989,36990],{},"What it costs:",[2357,36992,36993,36999,37005],{},[188,36994,36995,36998],{},[2363,36996,36997],{},"More infrastructure."," Separate pipelines, subdomains and monitoring for every app.",[188,37000,37001,37004],{},[2363,37002,37003],{},"More configuration code",", especially for things every app shares: i18n, authentication, state.",[188,37006,37007,37010],{},[2363,37008,37009],{},"Overhead that doesn't pay off in small projects."," Micro frontends are a tool for breaking up big monoliths.",[169,37012,37014],{"id":37013},"setting-it-up-with-vite","Setting it up with Vite",[14,37016,37017,37018,37021],{},"Einhell uses ",[137,37019,37020],{},"@originjs\u002Fvite-plugin-federation",". It follows webpack's Module Federation and is compatible with it, so a Vite remote can work with a webpack host. You need at least two apps: a host (the wrapper) and one or more remotes. A remote can have remotes of its own.",[14,37023,37024],{},"The main options:",[2357,37026,37027,37032,37042,37048,37054],{},[188,37028,37029,37031],{},[137,37030,7044],{},": required for remotes, because the host imports them by this name.",[188,37033,37034,37037,37038,37041],{},[137,37035,37036],{},"filename",": the entry file, ",[137,37039,37040],{},"remoteEntry.js"," by default.",[188,37043,37044,37047],{},[137,37045,37046],{},"exposes",": the components (or any modules) a remote makes available.",[188,37049,37050,37053],{},[137,37051,37052],{},"remotes",": on the host, the remotes it consumes.",[188,37055,37056,37059,37060,37063,37064,37067,37068,37070],{},[137,37057,37058],{},"shared",": dependencies shared between host and remotes. The host can pin a ",[137,37061,37062],{},"version","; a remote can set a ",[137,37065,37066],{},"requiredVersion",". If the host can't provide that version, the remote bundles its own copy. The ",[137,37069,4961],{}," flag forces a remote to always bundle the dependency.",[14,37072,37073],{},"A minimal remote and host look roughly like this:",[192,37075,37077],{"className":230,"code":37076,"language":232,"meta":197,"style":197},"\u002F\u002F remote: vite.config.ts\nfederation({\n  name: 'articleSearch',\n  filename: 'remoteEntry.js',\n  exposes: {\n    '.\u002FArticleSearch': '.\u002Fsrc\u002Fcomponents\u002FArticleSearch.vue',\n  },\n  shared: ['vue', 'pinia'],\n})\n\n\u002F\u002F host: vite.config.ts\nfederation({\n  name: 'host',\n  remotes: {\n    articleSearch: 'https:\u002F\u002Fexample.com\u002Fassets\u002FremoteEntry.js',\n  },\n  shared: ['vue', 'pinia'],\n})\n",[137,37078,37079,37084,37093,37108,37123,37132,37152,37156,37184,37190,37194,37199,37207,37222,37231,37247,37251,37277],{"__ignoreMap":197},[201,37080,37081],{"class":203,"line":204},[201,37082,37083],{"class":239},"\u002F\u002F remote: vite.config.ts\n",[201,37085,37086,37089,37091],{"class":203,"line":224},[201,37087,37088],{"class":252},"federation",[201,37090,257],{"class":256},[201,37092,261],{"class":260},[201,37094,37095,37097,37099,37101,37104,37106],{"class":203,"line":264},[201,37096,32658],{"class":267},[201,37098,271],{"class":260},[201,37100,309],{"class":260},[201,37102,37103],{"class":211},"articleSearch",[201,37105,277],{"class":260},[201,37107,287],{"class":260},[201,37109,37110,37113,37115,37117,37119,37121],{"class":203,"line":290},[201,37111,37112],{"class":267},"  filename",[201,37114,271],{"class":260},[201,37116,309],{"class":260},[201,37118,37040],{"class":211},[201,37120,277],{"class":260},[201,37122,287],{"class":260},[201,37124,37125,37128,37130],{"class":203,"line":301},[201,37126,37127],{"class":267},"  exposes",[201,37129,271],{"class":260},[201,37131,298],{"class":260},[201,37133,37134,37136,37139,37141,37143,37145,37148,37150],{"class":203,"line":319},[201,37135,1847],{"class":260},[201,37137,37138],{"class":267},".\u002FArticleSearch",[201,37140,277],{"class":260},[201,37142,271],{"class":260},[201,37144,309],{"class":260},[201,37146,37147],{"class":211},".\u002Fsrc\u002Fcomponents\u002FArticleSearch.vue",[201,37149,277],{"class":260},[201,37151,287],{"class":260},[201,37153,37154],{"class":203,"line":329},[201,37155,501],{"class":260},[201,37157,37158,37161,37163,37165,37167,37169,37171,37173,37175,37178,37180,37182],{"class":203,"line":346},[201,37159,37160],{"class":267},"  shared",[201,37162,271],{"class":260},[201,37164,274],{"class":256},[201,37166,277],{"class":260},[201,37168,1335],{"class":211},[201,37170,277],{"class":260},[201,37172,409],{"class":260},[201,37174,309],{"class":260},[201,37176,37177],{"class":211},"pinia",[201,37179,277],{"class":260},[201,37181,284],{"class":256},[201,37183,287],{"class":260},[201,37185,37186,37188],{"class":203,"line":363},[201,37187,507],{"class":260},[201,37189,510],{"class":256},[201,37191,37192],{"class":203,"line":380},[201,37193,654],{"emptyLinePlaceholder":653},[201,37195,37196],{"class":203,"line":391},[201,37197,37198],{"class":239},"\u002F\u002F host: vite.config.ts\n",[201,37200,37201,37203,37205],{"class":203,"line":441},[201,37202,37088],{"class":252},[201,37204,257],{"class":256},[201,37206,261],{"class":260},[201,37208,37209,37211,37213,37215,37218,37220],{"class":203,"line":484},[201,37210,32658],{"class":267},[201,37212,271],{"class":260},[201,37214,309],{"class":260},[201,37216,37217],{"class":211},"host",[201,37219,277],{"class":260},[201,37221,287],{"class":260},[201,37223,37224,37227,37229],{"class":203,"line":492},[201,37225,37226],{"class":267},"  remotes",[201,37228,271],{"class":260},[201,37230,298],{"class":260},[201,37232,37233,37236,37238,37240,37243,37245],{"class":203,"line":498},[201,37234,37235],{"class":267},"    articleSearch",[201,37237,271],{"class":260},[201,37239,309],{"class":260},[201,37241,37242],{"class":211},"https:\u002F\u002Fexample.com\u002Fassets\u002FremoteEntry.js",[201,37244,277],{"class":260},[201,37246,287],{"class":260},[201,37248,37249],{"class":203,"line":504},[201,37250,501],{"class":260},[201,37252,37253,37255,37257,37259,37261,37263,37265,37267,37269,37271,37273,37275],{"class":203,"line":5949},[201,37254,37160],{"class":267},[201,37256,271],{"class":260},[201,37258,274],{"class":256},[201,37260,277],{"class":260},[201,37262,1335],{"class":211},[201,37264,277],{"class":260},[201,37266,409],{"class":260},[201,37268,309],{"class":260},[201,37270,37177],{"class":211},[201,37272,277],{"class":260},[201,37274,284],{"class":256},[201,37276,287],{"class":260},[201,37278,37279,37281],{"class":203,"line":5956},[201,37280,507],{"class":260},[201,37282,510],{"class":256},[14,37284,37285,37286,37288],{},"In the host, a remote component is loaded with ",[137,37287,11193],{}," and a dynamic import, then used like any other component, with props and emits:",[192,37290,37292],{"className":230,"code":37291,"language":232,"meta":197,"style":197},"const ArticleSearch = defineAsyncComponent(() => import('articleSearch\u002FArticleSearch'))\n",[137,37293,37294],{"__ignoreMap":197},[201,37295,37296,37298,37301,37303,37305,37307,37309,37311,37313,37315,37317,37320,37322],{"class":203,"line":204},[201,37297,660],{"class":659},[201,37299,37300],{"class":256}," ArticleSearch ",[201,37302,1353],{"class":260},[201,37304,11208],{"class":252},[201,37306,257],{"class":256},[201,37308,6634],{"class":260},[201,37310,1999],{"class":659},[201,37312,11128],{"class":260},[201,37314,257],{"class":256},[201,37316,277],{"class":260},[201,37318,37319],{"class":211},"articleSearch\u002FArticleSearch",[201,37321,277],{"class":260},[201,37323,3488],{"class":256},[169,37325,37327],{"id":37326},"how-einhell-uses-it","How Einhell uses it",[14,37329,37330],{},"Klaus showed two production examples:",[2357,37332,37333,37339],{},[188,37334,37335,37338],{},[2363,37336,37337],{},"The warranty claim form"," on Einhell's service site. It's built from eight apps: the host that gets embedded in the website, plus a remote for each step of the form (contact data, article identification, error description, spare parts, summary). They share Vue, Pinia, Axios, Keycloak and Einhell's component library.",[188,37340,37341,37344],{},[2363,37342,37343],{},"EWMS, the Einhell Web Management System."," An internal portal where the sidebar, the global search and every tool in the main area are separate apps. Examples include a shop locator for service partners and AWMS, where article data for the website is maintained. Teams in Germany and Greece work on different parts at the same time.",[14,37346,37347],{},"The portal had a few problems to solve:",[2357,37349,37350,37360,37366],{},[188,37351,37352,37355,37356,37359],{},[2363,37353,37354],{},"Routing."," There can be only one active Vue Router instance, and it lives in the host. Each remote defines its routes as usual and exposes its routes file. The host imports each remote's routes inside a ",[137,37357,37358],{},"try\u002Fcatch"," and spreads them into its own route list. If a remote is down, the catch handles it and the host stays up. Keeping the host available when a module fails was a hard requirement.",[188,37361,37362,37365],{},[2363,37363,37364],{},"Translations"," use the same expose-and-merge approach.",[188,37367,37368,37371,37372,37375],{},[2363,37369,37370],{},"Shared services."," A separate remote exposes the things every app needs: a global Pinia store (for example the logged-in user), a ",[137,37373,37374],{},"useKeycloak"," composable for login, logout, tokens and roles, and an Axios service that adds an interceptor to attach bearer tokens and refresh them when needed.",[14,37377,37378],{},"The takeaway: you can expose components, composables and Pinia stores, and they all work across remotes.",[169,37380,37382],{"id":37381},"qa-highlights","Q&A highlights",[2357,37384,37385,37391,37397,37403,37409,37415],{},[188,37386,37387,37390],{},[2363,37388,37389],{},"Is there a starter template?"," The originjs Federation repository has example apps for Vue and React.",[188,37392,37393,37396],{},[2363,37394,37395],{},"When should you split something into a micro frontend?"," Only when you're sure the extra complexity pays off for your situation.",[188,37398,37399,37402],{},[2363,37400,37401],{},"How do independent teams stay in sync?"," At Einhell, each team gets a clearly scoped app to build. Klaus owns the host and makes sure everything fits together, and code review still matters.",[188,37404,37405,37408],{},[2363,37406,37407],{},"Can remotes work offline in a mobile app?"," Not out of the box. Remotes are loaded from their servers on startup, so the app needs a connection unless you cache them yourself.",[188,37410,37411,37414],{},[2363,37412,37413],{},"How do you know a remote component's props and emits?"," Klaus is still working on this. For now he uses global type declarations, plus good communication between teams.",[188,37416,37417,37420,37421,37423],{},[2363,37418,37419],{},"Remotes on different Vue versions?"," Declare the ",[137,37422,37066],{}," in the remote. If the host can't provide it (say the remote needs Vue 2.6 and the host runs Vue 3), the remote bundles its own copy.",[18,37425,37427],{"id":37426},"rethinking-solid-principles-in-javascript-part-2","Rethinking SOLID principles in JavaScript, part 2",[14,37429,37430,37432,37433],{},[2363,37431,36942],{}," Dmitry Raichev, Software Engineer at Epicmax · ",[128,37434,37437],{"href":37435,"rel":37436},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=NIhuQibMQNQ&t=2150s",[4980],"watch from 35:50",[14,37439,37440,37441,37445],{},"In ",[128,37442,37444],{"href":37443},"\u002Fblog\u002Fvue-js-talks-1","the first part"," at Vue.js Talks #1, Dmitry covered the single responsibility, open\u002Fclosed and Liskov substitution principles. This time he took on the last two.",[169,37447,37449],{"id":37448},"interface-segregation","Interface segregation",[14,37451,37452],{},"Robert Martin's wording is \"clients should not be forced to depend upon interfaces that they do not use\". The client here is any code that uses your code. In practice that means splitting a large interface into smaller ones and passing each consumer only what it needs.",[14,37454,37455],{},"That doesn't mean one interface per method. There's no formula for where to draw the line; you get better at it with practice. Done right, it lowers coupling and makes dependency injection possible: if a signature matches, any implementation behind it will work.",[14,37457,37458,37459,37462],{},"Dmitry's example was a ",[137,37460,37461],{},"Message"," class that both creates and sends messages, which already breaks single responsibility. He split it into:",[2357,37464,37465,37471,37474],{},[188,37466,37467,37468,37470],{},"a ",[137,37469,37461],{}," with only the fields that describe the message itself;",[188,37472,37473],{},"a separate function that sends messages through some request API;",[188,37475,37467,37476,37479],{},[137,37477,37478],{},"prepareAttachment"," helper.",[14,37481,37482],{},"Attachments got three small interfaces instead of one generic \"file\": one for attachments created from a blob, one for files that are already uploaded, and one for files read through the File System API. They look similar (all have a file name), but different services consume them in different ways. The new pieces know as little about each other as possible and refer only to interfaces, so each can move to its own module and be swapped for anything that follows the same contract.",[169,37484,37486],{"id":37485},"dependency-inversion","Dependency inversion",[14,37488,37489],{},"Dmitry called this the hardest principle and the most useful one. The other principles are about structuring code; dependency inversion is about layering it, so that higher layers don't depend on lower ones.",[14,37491,37492],{},"He used a simplified onion architecture:",[2357,37494,37495,37501,37507],{},[188,37496,37497,37500],{},[2363,37498,37499],{},"Domain"," in the center: the most universal code, which could run on the backend, the frontend, mobile or desktop. The more it's tied to a platform API, the less useful it gets.",[188,37502,37503,37506],{},[2363,37504,37505],{},"Application"," layer: services for the outer layer.",[188,37508,37509,37512],{},[2363,37510,37511],{},"Client"," layer: presentation, storage, infrastructure.",[14,37514,37515,37516,37518],{},"In the original message code, the ",[137,37517,37461],{}," model imported from a message service, which in turn depended directly on a logger, storage and the request API. With dependency inversion, each layer depends on contracts instead of concrete implementations. Factory functions or strategies then create the right service and logger for the environment. It's the same idea that lets Vue and React render to platforms other than the web.",[169,37520,37382],{"id":37521},"qa-highlights-1",[14,37523,37524],{},"Asked about clean architecture resources for Vue (there are plenty for React and Angular), Dmitry suggested reading the architecture of the frameworks themselves. Vue's own design follows many clean architecture principles, which is part of why it runs on web, mobile and desktop.",[18,37526,37528],{"id":37527},"maximizing-component-customization-in-vuejs","Maximizing component customization in Vue.js",[14,37530,37531,37533,37534],{},[2363,37532,36942],{}," Yauheni Prakopchuk, CTO at Epicmax · ",[128,37535,37538],{"href":37536,"rel":37537},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=NIhuQibMQNQ&t=3540s",[4980],"watch from 59:00",[14,37540,37541],{},"Yauheni works on Vuestic UI and Vuestic Admin, where customization matters a lot. He presented it as a work in progress: the options he's found, and how to choose between them.",[169,37543,37545],{"id":37544},"when-customization-is-worth-it","When customization is worth it",[2357,37547,37548,37551,37554],{},[188,37549,37550],{},"You ship a component to other projects or as an npm package, and its users want to tweak it or apply global config.",[188,37552,37553],{},"You need flexible theming, for example themes chosen by your users.",[188,37555,37556],{},"One component (a data table, say) is reused across the app with different data and endpoints, and you don't want to create a new component each time.",[169,37558,37560],{"id":37559},"the-options-from-storybook-demos","The options, from Storybook demos",[26,37562,37563,37576],{},[29,37564,37565],{},[32,37566,37567,37570,37573],{},[35,37568,37569],{},"Approach",[35,37571,37572],{},"Good for",[35,37574,37575],{},"Watch out for",[51,37577,37578,37594,37606,37630,37647,37660],{},[32,37579,37580,37585,37588],{},[56,37581,37582],{},[2363,37583,37584],{},"Props and events",[56,37586,37587],{},"Most cases. The most balanced option, and easy to refactor away from later. Passing a reactive config object lets settings flow through nested components.",[56,37589,37590,37591,37593],{},"Too many props (50 props: please don't). Long chains of pass-through props and ",[137,37592,18424],{}," are hard to debug.",[32,37595,37596,37600,37603],{},[56,37597,37598],{},[2363,37599,19244],{},[56,37601,37602],{},"Letting users replace parts of a component. Cheap to add, and there are no limits on what users put inside.",[56,37604,37605],{},"Users can lose built-in behavior (hover states, updates). Many nested and scoped slots get confusing fast.",[32,37607,37608,37612,37627],{},[56,37609,37610],{},[2363,37611,19266],{},[56,37613,37614,37615,37618,37619,37622,37623,37626],{},"Internal coordination: in Vuestic, ",[137,37616,37617],{},"VaTab"," tells ",[137,37620,37621],{},"VaTabs"," about clicks without any props between them. Also external config: ",[137,37624,37625],{},"VaConfig"," provides defaults, like a color or icon, to every component inside it.",[56,37628,37629],{},"Think of it as a small store bound to the component. Powerful and easy to misuse, and when something isn't rendered the bugs get strange.",[32,37631,37632,37637,37644],{},[56,37633,37634],{},[2363,37635,37636],{},"Dynamic components",[56,37638,37639,37640,37643],{},"Swapping one part of a component, via ",[137,37641,37642],{},"\u003Ccomponent :is>",", in places slots can't reach, such as a component inside a JS config. Typing support is good.",[56,37645,37646],{},"More code, and the replacement must support the full interface. Updates to the default can break your custom version.",[32,37648,37649,37654,37657],{},[56,37650,37651],{},[2363,37652,37653],{},"CSS variables",[56,37655,37656],{},"Precise style tweaks. Users can inspect the element, find the variable and set it on a wrapper. Prefer them over CSS overrides.",[56,37658,37659],{},"Not meant for features. Keep the number small and only expose ones that can't break the component.",[32,37661,37662,37667,37670],{},[56,37663,37664],{},[2363,37665,37666],{},"Pass-through classes",[56,37668,37669],{},"Tailwind-based components, where none of the above lets you change nested classes. PrimeVue's Pass Through API lets you redefine classes at every nesting level.",[56,37671,37672],{},"A heavy solution, though with Tailwind there may be no better option.",[169,37674,37676],{"id":37675},"how-much-is-enough","How much is enough",[14,37678,37679],{},"Yauheni's answer: as little as possible, because flexibility is expensive. Ways to avoid it:",[2357,37681,37682,37685,37688,37691],{},[188,37683,37684],{},"Push back on the requirement, or move rendering to the backend if it doesn't belong in the component.",[188,37686,37687],{},"Suggest a separate component for the special case.",[188,37689,37690],{},"Ship composables and let consumers assemble the component themselves. It's flexible, but composables are trickier to test.",[188,37692,37693],{},"Ship headless components without CSS, in the style of Headless UI.",[14,37695,37696],{},"The host summed it up: a component's behavior should be defined by its API, and if you can convince designers to work with that API, do.",[18,37698,37700],{"id":37699},"join-the-next-vuejs-talks","Join the next Vue.js Talks",[14,37702,37703,37704,37709,37710,37714,37715,534],{},"Vue.js Talks is a free monthly online meetup. Recordings of every meetup are on the ",[128,37705,37708],{"href":37706,"rel":37707},"https:\u002F\u002Fwww.youtube.com\u002F@vuejs_talks",[4980],"Vue.js Talks YouTube channel",", and you can read more about the series on the ",[128,37711,37713],{"href":37712},"\u002Fvuejstalks","Vue.js Talks page",". Want to speak? First-time speakers are welcome; ",[128,37716,37719],{"href":37717,"rel":37718},"https:\u002F\u002Fforms.gle\u002FAMBkomBWZwmA5veQ7",[4980],"submit your talk here",[6170,37721],{"label":37722,"to":37723},"See the next meetup","https:\u002F\u002Flu.ma\u002Fvuestic",[984,37725,37726],{},"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 .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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":197,"searchDepth":264,"depth":264,"links":37728},[37729,37735,37740,37745],{"id":36936,"depth":224,"text":36937,"children":37730},[37731,37732,37733,37734],{"id":36957,"depth":264,"text":36958},{"id":37013,"depth":264,"text":37014},{"id":37326,"depth":264,"text":37327},{"id":37381,"depth":264,"text":37382},{"id":37426,"depth":224,"text":37427,"children":37736},[37737,37738,37739],{"id":37448,"depth":264,"text":37449},{"id":37485,"depth":264,"text":37486},{"id":37521,"depth":264,"text":37382},{"id":37527,"depth":224,"text":37528,"children":37741},[37742,37743,37744],{"id":37544,"depth":264,"text":37545},{"id":37559,"depth":264,"text":37560},{"id":37675,"depth":264,"text":37676},{"id":37699,"depth":224,"text":37700},"2024-11-27","Recap and full recording of Vue.js Talks #3: micro frontends with Vite at Einhell, SOLID in JavaScript part 2, and how far to take Vue component customization.","\u002Fimages\u002Fblog\u002Fvue-js-talks-3\u002Fcard.png",{},"\u002Fblog\u002Fvue-js-talks-3",{"title":36925,"description":37747},"blog\u002Fvue-js-talks-3",[15023,2822],"vuejs-talks",{"youtubeId":37756,"title":37757,"description":37758,"uploadDate":37759,"duration":37760},"NIhuQibMQNQ","Vue.js Talks #3: Micro Frontends, Vue Component Customization and SOLID in JavaScript","Full recording of Vue.js Talks #3: Klaus Hamperl on micro frontends at Einhell, Dmitry Raichev on SOLID principles in JavaScript (part 2), and Yauheni Prakopchuk on maximizing component customization in Vue.js.","2024-11-28","PT1H17M55S","pmpxLyr_DoDP012Xlu4pn9Q4raxD3UeWvyIw3cLocek",{"id":37763,"title":37764,"articleType":1008,"author":12943,"authorSlug":1008,"body":37765,"cta":1008,"date":37849,"description":37850,"extension":1011,"faq":1008,"featured":1021,"image":37851,"meta":37852,"navigation":653,"noCtaBox":1021,"path":37853,"readTime":1008,"seo":37854,"seoTitle":1008,"stem":37855,"tags":37856,"topic":13049,"video":1008,"__hash__":37857},"blog\u002Fblog\u002Fepicmax-partners-with-vuetify.md","Epicmax x Vuetify: A New Chapter in Vue.js Excellence",{"type":11,"value":37766,"toc":37844},[37767,37777,37781,37784,37788,37799,37802,37806,37809,37812,37829,37832,37842],[14,37768,37769,37770,37772,37773,37776],{},"When we began building our own open-source Vue.js framework, ",[2363,37771,13021],{},", we drew inspiration from the pioneers of modern frontend development. Among them, ",[2363,37774,37775],{},"Vuetify"," stood out as one of the most robust and thoughtfully designed UI libraries in the Vue ecosystem. Its focus on elegant design, usability, and scalability perfectly aligned with our values at Epicmax.",[18,37778,37780],{"id":37779},"inspired-by-the-best-how-vuetify-shaped-our-vision","Inspired by the best: how Vuetify shaped our vision",[14,37782,37783],{},"Over the past seven years, we've successfully delivered dozens of enterprise-grade applications using Vuetify and Vue.js, helping businesses build fast, beautiful, and reliable user interfaces. Through this hands-on experience, we gained deep expertise in Vuetify's capabilities — and saw firsthand how it accelerates frontend development without compromising design standards.",[18,37785,37787],{"id":37786},"official-vuetify-partnership-built-for-innovation","Official Vuetify partnership: built for innovation",[14,37789,37790,37791,37794,37795,37798],{},"We're proud to announce that Epicmax is now an ",[2363,37792,37793],{},"official Vuetify partner",", collaborating directly with its creator, ",[2363,37796,37797],{},"John Leider",". This partnership is more than a milestone — it's a shared mission to push the boundaries of what's possible with Vue.js.",[14,37800,37801],{},"With direct access to Vuetify's roadmap, insights, and enterprise support, we're uniquely positioned to deliver even more powerful, future-ready solutions to our clients. Whether you're starting a new Vue project or scaling an existing app, you can now benefit from our combined expertise and innovation.",[18,37803,37805],{"id":37804},"why-choose-epicmax-for-vuetify-vuejs-development","Why choose Epicmax for Vuetify & Vue.js development?",[14,37807,37808],{},"As a trusted Vue.js development company, Epicmax helps businesses turn ideas into scalable applications using best-in-class tools and frameworks like Vuetify. Our services go beyond coding — we bring strategic thinking, architectural clarity, and design-driven development to every project.",[14,37810,37811],{},"Our Vuetify & Vue.js consulting services include:",[2357,37813,37814,37817,37820,37823,37826],{},[188,37815,37816],{},"Detailed project assessments and accurate estimates",[188,37818,37819],{},"Architecture planning and UI\u002FUX strategy",[188,37821,37822],{},"Full-cycle Vue.js and Vuetify development",[188,37824,37825],{},"Migration to Vuetify 3 and performance optimization",[188,37827,37828],{},"Component design systems and scalable frontend architecture",[14,37830,37831],{},"Whether you need to build from scratch, modernize your existing codebase, or simply get expert advice — we're here to help.",[14,37833,37834,37835,809,37838,37841],{},"Looking for top-tier ",[2363,37836,37837],{},"Vuetify consulting",[2363,37839,37840],{},"Vue.js experts","? Let's talk.",[6170,37843],{"label":11830,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":37845},[37846,37847,37848],{"id":37779,"depth":224,"text":37780},{"id":37786,"depth":224,"text":37787},{"id":37804,"depth":224,"text":37805},"2024-10-14","Epicmax is now an official Vuetify partner, collaborating directly with creator John Leider to deliver more powerful, future-ready Vue.js solutions.","\u002Fimages\u002Fblog\u002Fepicmax-partners-with-vuetify\u002Fcard.png",{},"\u002Fblog\u002Fepicmax-partners-with-vuetify",{"title":37764,"description":37850},"blog\u002Fepicmax-partners-with-vuetify",[2822,13048],"ybCi_qeLhl7o2EWlAhrzdbr2fRRxbgHlHL4QHOf47c8",{"id":37859,"title":37860,"articleType":1008,"author":12943,"authorSlug":1008,"body":37861,"cta":1008,"date":38456,"description":38457,"extension":1011,"faq":1008,"featured":1021,"image":38458,"meta":38459,"navigation":653,"noCtaBox":1021,"path":37443,"readTime":2334,"seo":38460,"seoTitle":1008,"stem":38461,"tags":38462,"topic":37754,"video":38463,"__hash__":38468},"blog\u002Fblog\u002Fvue-js-talks-1.md","Vue.js Talks #1 Recap: Vuestic Compiler, SOLID in JavaScript and Hydration Errors",{"type":11,"value":37862,"toc":38435},[37863,37866,37868,37872,37882,37890,37893,37897,37904,37911,37914,37934,37943,37945,37971,37975,37984,37990,37994,37997,38023,38030,38033,38037,38040,38044,38047,38068,38071,38073,38093,38097,38110,38113,38117,38120,38123,38126,38130,38133,38156,38160,38195,38199,38228,38231,38406,38409,38417,38419,38430,38432],[14,37864,37865],{},"Vue.js Talks #1 took place online on September 11, 2024. It was the first meetup in the series, run by the Vuestic UI team at Epicmax for Vue developers of any level. Three talks were on the agenda: Maksym Nedoshev presented the Vuestic compiler and the new Vuestic devtools, Dmitry Raichev started a series on SOLID principles in JavaScript, and Pavel Mironov explained where hydration errors in Vue SSR come from and how to avoid them.",[14,37867,36933],{},[18,37869,37871],{"id":37870},"vuestic-compiler-moving-framework-work-to-build-time","Vuestic compiler: moving framework work to build time",[14,37873,37874,37876,37877],{},[2363,37875,36942],{}," Maksym Nedoshev, Lead Developer of Vuestic UI at Epicmax · ",[128,37878,37881],{"href":37879,"rel":37880},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=M7dtKFAjDA8&t=60s",[4980],"watch from 1:00",[14,37883,37884,37885,37889],{},"Maksym started with where ",[128,37886,13021],{"href":37887,"rel":37888},"https:\u002F\u002Fgithub.com\u002Fepicmaxco\u002Fvuestic-ui",[4980]," stands today: over 50 components, each customizable with CSS variables; global settings for colors, icons and breakpoints; and a preset system that can store a component's props, classes, styles, slot text and even components for slots. On top of that come validation, masks, and integrations with projects like Tailwind and auto-import plugins.",[14,37891,37892],{},"All of that has a cost. A large framework affects bundle size and runtime performance, and developers have to learn its features before they save time. The Vuestic compiler is the team's answer: move some framework features from runtime to build time.",[169,37894,37896],{"id":37895},"smaller-bundles-without-code-changes","Smaller bundles without code changes",[14,37898,37899,37900,37903],{},"Maksym's example was a date input. It is made of several features: the input field with its styles, icons and hover effects, a dropdown with a calendar, and a date mask. When a component gets a ",[137,37901,37902],{},"mask"," prop, the mask feature is obviously in use. When no instance uses it, the compiler can detect that and remove the mask code from the output bundle. The plan is to apply this build-time optimization to most components, and it needs no changes to your code.",[14,37905,37906,37907,37910],{},"The compiler also makes a ",[2363,37908,37909],{},"clean theme"," possible: only the essential positioning styles, so teams that want to style everything from scratch don't have to override the default theme first. That means a smaller bundle and no fighting existing classes.",[169,37912,37913],{"id":17875},"Developer experience",[2357,37915,37916,37922,37928],{},[188,37917,37918,37921],{},[2363,37919,37920],{},"Less setup."," Today, using Vuestic with something like Tailwind means reading docs and configuring the project. The plan is for the compiler to check whether Tailwind is installed and configure Vuestic and Tailwind to work together in dev and build. You install the packages and start building.",[188,37923,37924,37927],{},[2363,37925,37926],{},"Generated types"," for icons, colors, i18n strings and presets, so the IDE can suggest them and you don't have to remember what is in your config.",[188,37929,37930,37933],{},[2363,37931,37932],{},"Devtools in the browser."," A built-in, visual way to edit your app: change component props, edit slot text, adjust layout settings, and add or remove components. It edits your local code, so you keep working on your own branches.",[14,37935,37936,37937,37942],{},"Further plans include a presets editor in the devtools, possibly a backend integration, and an AI assistant where you can ask something like \"make this button red and add an icon\". The compiler is still in development; the devtools can already be tried, and the team asked for feedback and feature requests on the ",[128,37938,37941],{"href":37939,"rel":37940},"https:\u002F\u002Fui.vuestic.dev",[4980],"Vuestic docs"," and Discord.",[169,37944,37382],{"id":37381},[2357,37946,37947,37953,37959,37965],{},[188,37948,37949,37952],{},[2363,37950,37951],{},"What does \"backend integration\" mean?"," Integration with your API endpoints. In theory the devtools could scan the API routes you have and let you wire, for example, a click event to an endpoint from a list of available ones.",[188,37954,37955,37958],{},[2363,37956,37957],{},"Can the clean theme apply to only some components"," (styled buttons, but a clean calendar)? Yes. The goal is to allow it per component, not only globally: in Maksym's experience, some Vuestic components match a project's design as they are and others need to look completely different.",[188,37960,37961,37964],{},[2363,37962,37963],{},"Why devtools if HMR already shows changes instantly?"," Maksym agreed that writing code can be faster for frontend developers. The devtools are meant more for backend developers and teammates who don't want to learn every prop: they see the options on screen, for example a color picker with previews, instead of keeping the docs in their head.",[188,37966,37967,37970],{},[2363,37968,37969],{},"Will Vuestic stay open source?"," Pavel, the host, said it is free and open source with no paid option, and there are no plans to change that.",[18,37972,37974],{"id":37973},"rethinking-solid-principles-in-javascript-part-1","Rethinking SOLID principles in JavaScript, part 1",[14,37976,37977,37432,37979],{},[2363,37978,36942],{},[128,37980,37983],{"href":37981,"rel":37982},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=M7dtKFAjDA8&t=900s",[4980],"watch from 15:00",[14,37985,37986,37987,534],{},"Dmitry noted that SOLID was introduced around 2000 to help write software that survives constantly changing requirements while staying reliable and easy to maintain. The original work focused on object-oriented languages, and more than 20 years later there is still little material on applying it to JavaScript and frontend development. He didn't claim to fill that gap, but shared examples from real projects. This talk covered the first three principles: single responsibility, open\u002Fclosed and Liskov substitution. Interface segregation and dependency inversion came in ",[128,37988,37989],{"href":37750},"part 2 at Vue.js Talks #3",[169,37991,37993],{"id":37992},"single-responsibility","Single responsibility",[14,37995,37996],{},"Every software entity should have one responsibility. Applied to components, Dmitry splits them into four types:",[2357,37998,37999,38005,38011,38017],{},[188,38000,38001,38004],{},[2363,38002,38003],{},"Layouts",": the main structure of a page, reused by every view that shares it.",[188,38006,38007,38010],{},[2363,38008,38009],{},"Pages (views)",": one per route. A view gets the application context and the resources it consumes directly, and assembles the components that present the content. It does not orchestrate state, behavior or communication between its children; that work is delegated. It passes only presentation props such as booleans or style values, and state and actions are resolved by the component that actually uses them.",[188,38012,38013,38016],{},[2363,38014,38015],{},"Composing components",": bundle a feature out of nested components, following the same rules.",[188,38018,38019,38022],{},[2363,38020,38021],{},"Atomic components",": the building blocks, as \"dumb\" as possible.",[14,38024,38025,38026,38029],{},"This sounds obvious, but it is easy to break. Dmitry's example was a composable, say ",[137,38027,38028],{},"useCategory",", that loads products for a product list page but also starts the loader, decides how to show error messages and knows about the view. The composable knows too much, and so does the page, whose only job should be arranging elements.",[14,38031,38032],{},"The refactor reduces the composable to one purpose: abstracting the API layer that fetches and updates products. Dedicated components do their own work instead of filling the page's state. The page passes simple flags, such as whether to show error messages or recommendations (usually from feature flags or other configuration), plus style props. When components need to talk to each other, a separate abstraction handles it, such as an event bus or provide\u002Finject. Because each component holds its own logic, you can move it around without breaking anything.",[169,38034,38036],{"id":38035},"openclosed","Open\u002Fclosed",[14,38038,38039],{},"Software entities should be open for extension but closed for modification. Dmitry's example was a component that shows a user's full name. That logic is unlikely to change, and even if the markup changes or the data source switches to a different integration, you shouldn't have to rewrite the script. So the component reads the name through a separate abstraction layer for user data. Switching integrations means writing a new implementation of that layer, not touching the component.",[169,38041,38043],{"id":38042},"liskov-substitution","Liskov substitution",[14,38045,38046],{},"The central idea here is design by contract. Dmitry illustrated it with his recent project: a company that owns several apparel, footwear and accessories brands, each with its own technical specifics and design, all sharing one codebase. When the app is built for one brand, code for the other brands must not end up in it.",[14,38048,38049,38050,38053,38054,38057,38058,38061,38062,38064,38065,38067],{},"Simplified, the project has a folder per brand (in his example, ",[137,38051,38052],{},"epicmax"," and a white-label ",[137,38055,38056],{},"wl",") next to a ",[137,38059,38060],{},"core"," folder, all with the same structure. ",[137,38063,38060],{}," holds everything that must work out of the box, including the contracts the app depends on. A product list component in ",[137,38066,38060],{}," renders product cards, but each brand's card looks different. Instead of changing core code, the right brand's card is substituted at build time. The only requirement is that every substitute follows the same contract.",[14,38069,38070],{},"In a large project, you can help other developers keep to the pattern with generator scripts that scaffold brand components with the required bindings, or with ESLint rules that check the contract. Besides making the code more resilient, this keeps code for other brands out of the bundle so it can be tree-shaken properly.",[169,38072,37382],{"id":37521},[2357,38074,38075,38081,38087],{},[188,38076,38077,38080],{},[2363,38078,38079],{},"Why not keep a \"get user data\" helper in the composable instead of repeating it in every component?"," Because if the API or integration changes, you have to go back and rewrite the composable. With the data layer separated, a simple composable can be written once and left alone. Sometimes it is better to be a little less DRY than to rewrite code that already works and is tested. Testing came up as a further reason: a composable that pulls in many others forces you to mock all of them to test it.",[188,38082,38083,38086],{},[2363,38084,38085],{},"Isn't that the whole idea of composables?"," Composables are one mechanism for abstraction. Their main benefit is making explicit what is exposed; with mixins it was often unclear where a method or property came from. The principles are about abstractions; a composable is a mechanism, not a principle.",[188,38088,38089,38092],{},[2363,38090,38091],{},"Where can I read about SOLID with Vue?"," There are few articles on SOLID for JavaScript and Vue, which is why Dmitry prepared the talk. He planned to cover the remaining principles with live coding next time and to collect the material into an article.",[18,38094,38096],{"id":38095},"understanding-and-solving-hydration-errors-in-vuejs","Understanding and solving hydration errors in Vue.js",[14,38098,38099,4218,38101,38104,38105],{},[2363,38100,36942],{},[128,38102,8],{"href":38103},"\u002Fauthors\u002Fpavel-mironov",", Vue.js Developer at Epicmax · ",[128,38106,38109],{"href":38107,"rel":38108},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=M7dtKFAjDA8&t=2160s",[4980],"watch from 36:00",[14,38111,38112],{},"Pavel, who also hosted the meetup, works on large e-commerce projects at Epicmax. His talk covered what hydration is, why server-side rendering matters, why hydration mismatches are a problem, the common causes, and how to avoid them.",[169,38114,38116],{"id":38115},"how-ssr-and-hydration-work","How SSR and hydration work",[14,38118,38119],{},"Hydration is the process that turns static, server-rendered HTML into an interactive page by attaching Vue on the client. Like adding water to something dry, it brings the page to life. It happens after the initial server-side render and lets users interact with the page without waiting for a full client-side render.",[14,38121,38122],{},"With SSR, the server runs the Vue app (on Node.js, directly or through a framework like Nuxt), renders the components into HTML strings and sends them in the response. The browser shows that HTML right away, which gives faster initial page loads and helps SEO. Pavel's example was an e-commerce product listing that customers should see as fast as possible, with extras like add-to-cart animations and slideshows arriving once Vue takes over.",[14,38124,38125],{},"On the client, Vue builds the virtual DOM from the component tree and compares it with the HTML that is already there. If they match, Vue attaches its reactivity, such as event listeners and data bindings, to the existing DOM elements without re-rendering. The key point: every component renders twice, once on the server and once on the client.",[169,38127,38129],{"id":38128},"why-mismatches-hurt","Why mismatches hurt",[14,38131,38132],{},"In Pavel's description, when the two renders don't match, the client has to discard the server output and rebuild the HTML. He listed the consequences:",[2357,38134,38135,38138,38141,38144,38147,38150,38153],{},[188,38136,38137],{},"Wasted server work, since the client redoes it.",[188,38139,38140],{},"A flash of incorrect UI: content shifting or blinking.",[188,38142,38143],{},"SEO and Core Web Vitals problems, depending on how much of the page is affected.",[188,38145,38146],{},"Slower pages and higher resource and CPU usage on the client, especially on large or dynamic pages.",[188,38148,38149],{},"Extra network usage if the client has to fetch data or assets again.",[188,38151,38152],{},"JavaScript errors, especially from third-party libraries that depend on component state, and they are painful to debug.",[188,38154,38155],{},"Inconsistent state and potential accessibility issues.",[169,38157,38159],{"id":38158},"common-causes","Common causes",[2357,38161,38162,38177,38189],{},[188,38163,38164,38167,38168,38170,38171,38173,38174,38176],{},[2363,38165,38166],{},"Different HTML on server and client."," A timestamp rendered on the server won't match the one rendered on the client a moment later. Pavel's second example was a ",[137,38169,11548],{}," on a component's root element, where he suggested ",[137,38172,11552],{}," instead, because ",[137,38175,11552],{}," keeps the element in the DOM and only hides it.",[188,38178,38179,38182,38183,38185,38186,38188],{},[2363,38180,38181],{},"Timing and browser-only APIs."," Code that relies on ",[137,38184,8610],{}," behaves differently, since the server has no ",[137,38187,8610],{}," at all.",[188,38190,38191,38194],{},[2363,38192,38193],{},"State out of sync."," Async requests that return different data on the server and the client produce different markup.",[169,38196,38198],{"id":38197},"best-practices","Best practices",[2357,38200,38201,38210,38219],{},[188,38202,38203,38206,38207,38209],{},[2363,38204,38205],{},"Don't render random or time-sensitive values during SSR."," Render a fixed value on the server and update it on the client after hydration, in a lifecycle hook such as ",[137,38208,8105],{},". For example, show a placeholder for \"current time\" and fill it in on mount.",[188,38211,38212,38215,38216,38218],{},[2363,38213,38214],{},"Fetch data on the server before rendering,"," so the HTML already contains the content. Use ",[137,38217,8105],{}," on the client only for client-specific updates, for example refreshing part of a user profile after hydration.",[188,38220,38221,38224,38225,38227],{},[2363,38222,38223],{},"Prefer CSS media queries to JavaScript breakpoints."," Breakpoint services in some UI frameworks rely on ",[137,38226,8610],{},", which doesn't exist during SSR. Media queries are applied by the browser during rendering, so the server HTML and the client layout stay consistent. Utility-first CSS frameworks like UnoCSS or Tailwind make this easy with responsive classes.",[14,38229,38230],{},"The first practice looks roughly like this (an illustrative example, not code from the talk):",[192,38232,38234],{"className":1333,"code":38233,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nimport { onMounted, ref } from 'vue'\n\n\u002F\u002F Server and client render the same placeholder, so hydration matches.\nconst loadedAt = ref\u003Cstring | null>(null)\n\nonMounted(() => {\n  loadedAt.value = new Date().toLocaleTimeString()\n})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cp>Loaded at {{ loadedAt ?? '…' }}\u003C\u002Fp>\n\u003C\u002Ftemplate>\n",[137,38235,38236,38256,38278,38282,38287,38314,38318,38330,38355,38361,38369,38373,38381,38398],{"__ignoreMap":197},[201,38237,38238,38240,38242,38244,38246,38248,38250,38252,38254],{"class":203,"line":204},[201,38239,1342],{"class":260},[201,38241,2936],{"class":267},[201,38243,2939],{"class":659},[201,38245,2942],{"class":659},[201,38247,1353],{"class":260},[201,38249,1356],{"class":260},[201,38251,232],{"class":211},[201,38253,1356],{"class":260},[201,38255,1718],{"class":260},[201,38257,38258,38260,38262,38264,38266,38268,38270,38272,38274,38276],{"class":203,"line":224},[201,38259,626],{"class":245},[201,38261,631],{"class":260},[201,38263,19680],{"class":256},[201,38265,409],{"class":260},[201,38267,9534],{"class":256},[201,38269,637],{"class":260},[201,38271,640],{"class":245},[201,38273,309],{"class":260},[201,38275,1335],{"class":211},[201,38277,648],{"class":260},[201,38279,38280],{"class":203,"line":264},[201,38281,654],{"emptyLinePlaceholder":653},[201,38283,38284],{"class":203,"line":290},[201,38285,38286],{"class":239},"\u002F\u002F Server and client render the same placeholder, so hydration matches.\n",[201,38288,38289,38291,38294,38296,38298,38300,38302,38304,38306,38308,38310,38312],{"class":203,"line":301},[201,38290,660],{"class":659},[201,38292,38293],{"class":256}," loadedAt ",[201,38295,1353],{"class":260},[201,38297,9534],{"class":252},[201,38299,1342],{"class":260},[201,38301,14677],{"class":207},[201,38303,21253],{"class":260},[201,38305,23582],{"class":207},[201,38307,3416],{"class":260},[201,38309,257],{"class":256},[201,38311,4725],{"class":260},[201,38313,510],{"class":256},[201,38315,38316],{"class":203,"line":319},[201,38317,654],{"emptyLinePlaceholder":653},[201,38319,38320,38322,38324,38326,38328],{"class":203,"line":329},[201,38321,8105],{"class":252},[201,38323,257],{"class":256},[201,38325,6634],{"class":260},[201,38327,1999],{"class":659},[201,38329,298],{"class":260},[201,38331,38332,38335,38337,38339,38341,38343,38346,38348,38350,38353],{"class":203,"line":346},[201,38333,38334],{"class":256},"  loadedAt",[201,38336,534],{"class":260},[201,38338,3048],{"class":256},[201,38340,670],{"class":260},[201,38342,14669],{"class":260},[201,38344,38345],{"class":252}," Date",[201,38347,6634],{"class":267},[201,38349,534],{"class":260},[201,38351,38352],{"class":252},"toLocaleTimeString",[201,38354,2967],{"class":267},[201,38356,38357,38359],{"class":203,"line":363},[201,38358,507],{"class":260},[201,38360,510],{"class":256},[201,38362,38363,38365,38367],{"class":203,"line":380},[201,38364,1760],{"class":260},[201,38366,2936],{"class":267},[201,38368,1718],{"class":260},[201,38370,38371],{"class":203,"line":391},[201,38372,654],{"emptyLinePlaceholder":653},[201,38374,38375,38377,38379],{"class":203,"line":441},[201,38376,1342],{"class":260},[201,38378,1715],{"class":267},[201,38380,1718],{"class":260},[201,38382,38383,38385,38387,38389,38392,38394,38396],{"class":203,"line":484},[201,38384,1723],{"class":260},[201,38386,14],{"class":267},[201,38388,3416],{"class":260},[201,38390,38391],{"class":256},"Loaded at {{ loadedAt ?? '…' }}",[201,38393,1760],{"class":260},[201,38395,14],{"class":267},[201,38397,1718],{"class":260},[201,38399,38400,38402,38404],{"class":203,"line":492},[201,38401,1760],{"class":260},[201,38403,1715],{"class":267},[201,38405,1718],{"class":260},[169,38407,37382],{"id":38408},"qa-highlights-2",[2357,38410,38411],{},[188,38412,38413,38416],{},[2363,38414,38415],{},"Can a CDN cache cause mismatches?"," One attendee pointed out that caching on a CDN like Netlify can cause a mismatch when the data wasn't fetched in time. Pavel agreed.",[18,38418,37700],{"id":37699},[14,38420,38421,38422,37709,38425,37714,38427,534],{},"Vue.js Talks is a free online meetup for the Vue.js and open-source community. Recordings of every meetup are on the ",[128,38423,37708],{"href":37706,"rel":38424},[4980],[128,38426,37713],{"href":37712},[128,38428,37719],{"href":37717,"rel":38429},[4980],[6170,38431],{"label":37722,"to":37723},[984,38433,38434],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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":197,"searchDepth":264,"depth":264,"links":38436},[38437,38442,38448,38455],{"id":37870,"depth":224,"text":37871,"children":38438},[38439,38440,38441],{"id":37895,"depth":264,"text":37896},{"id":17875,"depth":264,"text":37913},{"id":37381,"depth":264,"text":37382},{"id":37973,"depth":224,"text":37974,"children":38443},[38444,38445,38446,38447],{"id":37992,"depth":264,"text":37993},{"id":38035,"depth":264,"text":38036},{"id":38042,"depth":264,"text":38043},{"id":37521,"depth":264,"text":37382},{"id":38095,"depth":224,"text":38096,"children":38449},[38450,38451,38452,38453,38454],{"id":38115,"depth":264,"text":38116},{"id":38128,"depth":264,"text":38129},{"id":38158,"depth":264,"text":38159},{"id":38197,"depth":264,"text":38198},{"id":38408,"depth":264,"text":37382},{"id":37699,"depth":224,"text":37700},"2024-09-11","Recap and full recording of Vue.js Talks #1: the Vuestic UI compiler and devtools, SOLID principles in JavaScript (part 1), and hydration errors in Vue SSR.","\u002Fimages\u002Fblog\u002Fvue-js-talks-1\u002Fcard.png",{},{"title":37860,"description":38457},"blog\u002Fvue-js-talks-1",[15023,2822],{"youtubeId":38464,"title":38465,"description":38466,"uploadDate":37759,"duration":38467},"M7dtKFAjDA8","Vue.js Talks #1: Vuestic Compiler, SOLID Principles in JavaScript and Hydration Errors in Vue SSR","Full recording of Vue.js Talks #1: Maksym Nedoshev on the Vuestic UI compiler and devtools, Dmitry Raichev on SOLID principles in JavaScript (part 1), and Pavel Mironov on understanding and solving hydration errors in Vue.js.","PT56M44S","m8EwlZNziryR_1NXnIdYSA6-ZWE4Gv5t1xVxZfVdIFo",{"id":38470,"title":19039,"articleType":7,"author":12943,"authorSlug":1008,"body":38471,"cta":1008,"date":40541,"description":40542,"extension":1011,"faq":1008,"featured":1021,"image":40543,"meta":40544,"navigation":653,"noCtaBox":1021,"path":19038,"readTime":1008,"seo":40545,"seoTitle":1008,"stem":40546,"tags":40547,"topic":1032,"video":1008,"__hash__":40548},"blog\u002Fblog\u002Ffixing-vue-sfc-templates-for-react.md",{"type":11,"value":38472,"toc":40534},[38473,38476,38480,38483,38486,38489,38701,38704,38914,38918,38928,38932,38939,38953,38958,38969,39043,39057,39257,39266,39272,39404,39410,39606,39610,39613,39841,39855,39941,39954,40187,40208,40518,40522,40529,40531],[14,38474,38475],{},"Moving from React to Vue.js can be tricky. This article shares tips to help you get comfortable with Vue, especially with reusing templates. Learn how to make your Vue.js development smoother with VueUse.",[18,38477,38479],{"id":38478},"the-pain-with-vue-templates","The pain with Vue templates",[14,38481,38482],{},"One of the most common bummers with templates comes from the inability to define a template part and reuse it across the template — for example, when some block needs to appear in different places in the markup depending on a condition.",[14,38484,38485],{},"It doesn't always make sense to extract a part into a separate component of its own. Even with a separate component it's quite common that they need to be passed numerous props, and simply duplicating prop declarations multiple times is too much repetition that grows your template and leaves you open to bugs: when a new prop needs to be added to all of the occurrences it's easy to overlook one (and then debug it for half an hour 🥲).",[14,38487,38488],{},"Let's consider a case where you need to render some template block in the header or footer depending on whether the view is compact. This is not a problem in React, where you can easily do something like this:",[192,38490,38492],{"className":12095,"code":38491,"language":12097,"meta":197,"style":197},"\u002F\u002F Component.jsx\n\nconst block = (\n  \u003Cdiv\n    class=\"block\"\n    onClick={handleClick}\n  >\n    Block that should be reused\n  \u003C\u002Fdiv>\n);\n\nreturn (\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      {!isCompact && block}\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      {isCompact && block}\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n);\n",[137,38493,38494,38498,38502,38513,38520,38534,38546,38551,38556,38564,38570,38574,38580,38599,38617,38622,38636,38644,38662,38667,38679,38687,38695],{"__ignoreMap":197},[201,38495,38496],{"class":203,"line":204},[201,38497,19299],{"class":239},[201,38499,38500],{"class":203,"line":224},[201,38501,654],{"emptyLinePlaceholder":653},[201,38503,38504,38506,38509,38511],{"class":203,"line":264},[201,38505,660],{"class":659},[201,38507,38508],{"class":256}," block ",[201,38510,1353],{"class":260},[201,38512,6996],{"class":256},[201,38514,38515,38517],{"class":203,"line":290},[201,38516,1723],{"class":260},[201,38518,38519],{"class":267},"div\n",[201,38521,38522,38525,38527,38529,38532],{"class":203,"line":301},[201,38523,38524],{"class":659},"    class",[201,38526,1353],{"class":260},[201,38528,1356],{"class":260},[201,38530,38531],{"class":211},"block",[201,38533,1362],{"class":260},[201,38535,38536,38539,38541,38544],{"class":203,"line":319},[201,38537,38538],{"class":659},"    onClick",[201,38540,6735],{"class":260},[201,38542,38543],{"class":256},"handleClick",[201,38545,724],{"class":260},[201,38547,38548],{"class":203,"line":329},[201,38549,38550],{"class":260},"  >\n",[201,38552,38553],{"class":203,"line":346},[201,38554,38555],{"class":256},"    Block that should be reused\n",[201,38557,38558,38560,38562],{"class":203,"line":363},[201,38559,5608],{"class":260},[201,38561,6013],{"class":267},[201,38563,1718],{"class":260},[201,38565,38566,38568],{"class":203,"line":380},[201,38567,3779],{"class":256},[201,38569,19393],{"class":260},[201,38571,38572],{"class":203,"line":391},[201,38573,654],{"emptyLinePlaceholder":653},[201,38575,38576,38578],{"class":203,"line":441},[201,38577,14767],{"class":245},[201,38579,6996],{"class":256},[201,38581,38582,38584,38586,38588,38590,38592,38595,38597],{"class":203,"line":484},[201,38583,1723],{"class":260},[201,38585,6013],{"class":267},[201,38587,15430],{"class":659},[201,38589,1353],{"class":260},[201,38591,1356],{"class":260},[201,38593,38594],{"class":211},"container",[201,38596,1356],{"class":260},[201,38598,1718],{"class":260},[201,38600,38601,38603,38605,38607,38609,38611,38613,38615],{"class":203,"line":492},[201,38602,5556],{"class":260},[201,38604,6013],{"class":267},[201,38606,15430],{"class":659},[201,38608,1353],{"class":260},[201,38610,1356],{"class":260},[201,38612,20245],{"class":211},[201,38614,1356],{"class":260},[201,38616,1718],{"class":260},[201,38618,38619],{"class":203,"line":498},[201,38620,38621],{"class":256},"      Header content\n",[201,38623,38624,38627,38630,38632,38634],{"class":203,"line":504},[201,38625,38626],{"class":260},"      {!",[201,38628,38629],{"class":256},"isCompact ",[201,38631,27160],{"class":260},[201,38633,30640],{"class":256},[201,38635,724],{"class":260},[201,38637,38638,38640,38642],{"class":203,"line":5949},[201,38639,5599],{"class":260},[201,38641,6013],{"class":267},[201,38643,1718],{"class":260},[201,38645,38646,38648,38650,38652,38654,38656,38658,38660],{"class":203,"line":5956},[201,38647,5556],{"class":260},[201,38649,6013],{"class":267},[201,38651,15430],{"class":659},[201,38653,1353],{"class":260},[201,38655,1356],{"class":260},[201,38657,20284],{"class":211},[201,38659,1356],{"class":260},[201,38661,1718],{"class":260},[201,38663,38664],{"class":203,"line":5965},[201,38665,38666],{"class":256},"      Footer content\n",[201,38668,38669,38671,38673,38675,38677],{"class":203,"line":5970},[201,38670,7009],{"class":260},[201,38672,38629],{"class":256},[201,38674,27160],{"class":260},[201,38676,30640],{"class":256},[201,38678,724],{"class":260},[201,38680,38681,38683,38685],{"class":203,"line":5979},[201,38682,5599],{"class":260},[201,38684,6013],{"class":267},[201,38686,1718],{"class":260},[201,38688,38689,38691,38693],{"class":203,"line":5988},[201,38690,5608],{"class":260},[201,38692,6013],{"class":267},[201,38694,1718],{"class":260},[201,38696,38697,38699],{"class":203,"line":6008},[201,38698,3779],{"class":256},[201,38700,19393],{"class":260},[14,38702,38703],{},"With Vue, by default you have no other option but to duplicate the block:",[192,38705,38707],{"className":1333,"code":38706,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      \u003Cdiv v-if=\"!isCompact\" class=\"block\" @click=\"handleClick\">\n        Block that should be reused\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      \u003Cdiv v-if=\"isCompact\" class=\"block\" @click=\"handleClick\">\n        Block that should be reused\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,38708,38709,38717,38735,38753,38757,38796,38801,38809,38817,38835,38839,38878,38882,38890,38898,38906],{"__ignoreMap":197},[201,38710,38711,38713,38715],{"class":203,"line":204},[201,38712,1342],{"class":260},[201,38714,1715],{"class":267},[201,38716,1718],{"class":260},[201,38718,38719,38721,38723,38725,38727,38729,38731,38733],{"class":203,"line":224},[201,38720,1723],{"class":260},[201,38722,6013],{"class":267},[201,38724,15430],{"class":659},[201,38726,1353],{"class":260},[201,38728,1356],{"class":260},[201,38730,38594],{"class":211},[201,38732,1356],{"class":260},[201,38734,1718],{"class":260},[201,38736,38737,38739,38741,38743,38745,38747,38749,38751],{"class":203,"line":264},[201,38738,5556],{"class":260},[201,38740,6013],{"class":267},[201,38742,15430],{"class":659},[201,38744,1353],{"class":260},[201,38746,1356],{"class":260},[201,38748,20245],{"class":211},[201,38750,1356],{"class":260},[201,38752,1718],{"class":260},[201,38754,38755],{"class":203,"line":290},[201,38756,38621],{"class":256},[201,38758,38759,38761,38763,38765,38767,38769,38772,38774,38776,38778,38780,38782,38784,38786,38788,38790,38792,38794],{"class":203,"line":301},[201,38760,5578],{"class":260},[201,38762,6013],{"class":267},[201,38764,18234],{"class":659},[201,38766,1353],{"class":260},[201,38768,1356],{"class":260},[201,38770,38771],{"class":211},"!isCompact",[201,38773,1356],{"class":260},[201,38775,15430],{"class":659},[201,38777,1353],{"class":260},[201,38779,1356],{"class":260},[201,38781,38531],{"class":211},[201,38783,1356],{"class":260},[201,38785,9611],{"class":659},[201,38787,1353],{"class":260},[201,38789,1356],{"class":260},[201,38791,38543],{"class":211},[201,38793,1356],{"class":260},[201,38795,1718],{"class":260},[201,38797,38798],{"class":203,"line":319},[201,38799,38800],{"class":256},"        Block that should be reused\n",[201,38802,38803,38805,38807],{"class":203,"line":329},[201,38804,24275],{"class":260},[201,38806,6013],{"class":267},[201,38808,1718],{"class":260},[201,38810,38811,38813,38815],{"class":203,"line":346},[201,38812,5599],{"class":260},[201,38814,6013],{"class":267},[201,38816,1718],{"class":260},[201,38818,38819,38821,38823,38825,38827,38829,38831,38833],{"class":203,"line":363},[201,38820,5556],{"class":260},[201,38822,6013],{"class":267},[201,38824,15430],{"class":659},[201,38826,1353],{"class":260},[201,38828,1356],{"class":260},[201,38830,20284],{"class":211},[201,38832,1356],{"class":260},[201,38834,1718],{"class":260},[201,38836,38837],{"class":203,"line":380},[201,38838,38666],{"class":256},[201,38840,38841,38843,38845,38847,38849,38851,38854,38856,38858,38860,38862,38864,38866,38868,38870,38872,38874,38876],{"class":203,"line":391},[201,38842,5578],{"class":260},[201,38844,6013],{"class":267},[201,38846,18234],{"class":659},[201,38848,1353],{"class":260},[201,38850,1356],{"class":260},[201,38852,38853],{"class":211},"isCompact",[201,38855,1356],{"class":260},[201,38857,15430],{"class":659},[201,38859,1353],{"class":260},[201,38861,1356],{"class":260},[201,38863,38531],{"class":211},[201,38865,1356],{"class":260},[201,38867,9611],{"class":659},[201,38869,1353],{"class":260},[201,38871,1356],{"class":260},[201,38873,38543],{"class":211},[201,38875,1356],{"class":260},[201,38877,1718],{"class":260},[201,38879,38880],{"class":203,"line":441},[201,38881,38800],{"class":256},[201,38883,38884,38886,38888],{"class":203,"line":484},[201,38885,24275],{"class":260},[201,38887,6013],{"class":267},[201,38889,1718],{"class":260},[201,38891,38892,38894,38896],{"class":203,"line":492},[201,38893,5599],{"class":260},[201,38895,6013],{"class":267},[201,38897,1718],{"class":260},[201,38899,38900,38902,38904],{"class":203,"line":498},[201,38901,5608],{"class":260},[201,38903,6013],{"class":267},[201,38905,1718],{"class":260},[201,38907,38908,38910,38912],{"class":203,"line":504},[201,38909,1760],{"class":260},[201,38911,1715],{"class":267},[201,38913,1718],{"class":260},[18,38915,38917],{"id":38916},"what-is-vueuse","What is VueUse",[14,38919,38920,38923,38924,38927],{},[2363,38921,38922],{},"VueUse"," is a utility library aimed at solving common use-cases, packed with useful composables and other helpers — similar to ",[2363,38925,38926],{},"react-use"," in the React ecosystem.",[18,38929,38931],{"id":38930},"reusing-parts-of-the-template","Reusing parts of the template",[14,38933,38934,38935,38938],{},"VueUse provides a ",[137,38936,38937],{},"createReusableTemplate"," function that can help to DRY your templates. As it's a separate package and not part of the Vue framework API, it needs to be installed:",[192,38940,38942],{"className":194,"code":38941,"language":196,"meta":197,"style":197},"npm i @vueuse\u002Fcore\n",[137,38943,38944],{"__ignoreMap":197},[201,38945,38946,38948,38950],{"class":203,"line":204},[201,38947,578],{"class":207},[201,38949,581],{"class":211},[201,38951,38952],{"class":211}," @vueuse\u002Fcore\n",[14,38954,38955,38956,10891],{},"Check out the installation guide for instructions for your package manager of choice or meta-framework (if you're using ",[2363,38957,1030],{},[14,38959,38960,38961,38964,38965,38968],{},"To reuse markup you need to first call ",[137,38962,38963],{},"createReusableTemplate()"," in the ",[137,38966,38967],{},"\u003Cscript>"," section:",[192,38970,38972],{"className":1333,"code":38971,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nimport { createReusableTemplate } from '@vueuse\u002Fcore'\nconst [DefineTemplate, ReuseTemplate] = createReusableTemplate()\n\u003C\u002Fscript>\n",[137,38973,38974,38994,39013,39035],{"__ignoreMap":197},[201,38975,38976,38978,38980,38982,38984,38986,38988,38990,38992],{"class":203,"line":204},[201,38977,1342],{"class":260},[201,38979,2936],{"class":267},[201,38981,2939],{"class":659},[201,38983,2942],{"class":659},[201,38985,1353],{"class":260},[201,38987,1356],{"class":260},[201,38989,232],{"class":211},[201,38991,1356],{"class":260},[201,38993,1718],{"class":260},[201,38995,38996,38998,39000,39003,39005,39007,39009,39011],{"class":203,"line":224},[201,38997,626],{"class":245},[201,38999,631],{"class":260},[201,39001,39002],{"class":256}," createReusableTemplate",[201,39004,637],{"class":260},[201,39006,640],{"class":245},[201,39008,309],{"class":260},[201,39010,28017],{"class":211},[201,39012,648],{"class":260},[201,39014,39015,39017,39019,39022,39024,39027,39029,39031,39033],{"class":203,"line":264},[201,39016,660],{"class":659},[201,39018,274],{"class":260},[201,39020,39021],{"class":256},"DefineTemplate",[201,39023,409],{"class":260},[201,39025,39026],{"class":256}," ReuseTemplate",[201,39028,284],{"class":260},[201,39030,670],{"class":260},[201,39032,39002],{"class":252},[201,39034,2967],{"class":256},[201,39036,39037,39039,39041],{"class":203,"line":290},[201,39038,1760],{"class":260},[201,39040,2936],{"class":267},[201,39042,1718],{"class":260},[14,39044,39045,39046,39048,39049,39052,39053,39056],{},"It returns two component constructors: ",[137,39047,39021],{}," to wrap the template part you want to reuse, and ",[137,39050,39051],{},"ReuseTemplate"," to render the part in place. You can then use them in ",[137,39054,39055],{},"\u003Ctemplate>"," like so:",[192,39058,39060],{"className":1333,"code":39059,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CDefineTemplate>\n    \u003Cdiv class=\"block\" @click=\"handleClick\">\n      Block that should be reused\n    \u003C\u002Fdiv>\n  \u003C\u002FDefineTemplate>\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      \u003CReuseTemplate v-if=\"!isCompact\" \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      \u003CReuseTemplate v-if=\"isCompact\" \u002F>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,39061,39062,39070,39078,39106,39111,39119,39127,39145,39163,39167,39185,39193,39211,39215,39233,39241,39249],{"__ignoreMap":197},[201,39063,39064,39066,39068],{"class":203,"line":204},[201,39065,1342],{"class":260},[201,39067,1715],{"class":267},[201,39069,1718],{"class":260},[201,39071,39072,39074,39076],{"class":203,"line":224},[201,39073,1723],{"class":260},[201,39075,39021],{"class":267},[201,39077,1718],{"class":260},[201,39079,39080,39082,39084,39086,39088,39090,39092,39094,39096,39098,39100,39102,39104],{"class":203,"line":264},[201,39081,5556],{"class":260},[201,39083,6013],{"class":267},[201,39085,15430],{"class":659},[201,39087,1353],{"class":260},[201,39089,1356],{"class":260},[201,39091,38531],{"class":211},[201,39093,1356],{"class":260},[201,39095,9611],{"class":659},[201,39097,1353],{"class":260},[201,39099,1356],{"class":260},[201,39101,38543],{"class":211},[201,39103,1356],{"class":260},[201,39105,1718],{"class":260},[201,39107,39108],{"class":203,"line":290},[201,39109,39110],{"class":256},"      Block that should be reused\n",[201,39112,39113,39115,39117],{"class":203,"line":301},[201,39114,5599],{"class":260},[201,39116,6013],{"class":267},[201,39118,1718],{"class":260},[201,39120,39121,39123,39125],{"class":203,"line":319},[201,39122,5608],{"class":260},[201,39124,39021],{"class":267},[201,39126,1718],{"class":260},[201,39128,39129,39131,39133,39135,39137,39139,39141,39143],{"class":203,"line":329},[201,39130,1723],{"class":260},[201,39132,6013],{"class":267},[201,39134,15430],{"class":659},[201,39136,1353],{"class":260},[201,39138,1356],{"class":260},[201,39140,38594],{"class":211},[201,39142,1356],{"class":260},[201,39144,1718],{"class":260},[201,39146,39147,39149,39151,39153,39155,39157,39159,39161],{"class":203,"line":346},[201,39148,5556],{"class":260},[201,39150,6013],{"class":267},[201,39152,15430],{"class":659},[201,39154,1353],{"class":260},[201,39156,1356],{"class":260},[201,39158,20245],{"class":211},[201,39160,1356],{"class":260},[201,39162,1718],{"class":260},[201,39164,39165],{"class":203,"line":363},[201,39166,38621],{"class":256},[201,39168,39169,39171,39173,39175,39177,39179,39181,39183],{"class":203,"line":380},[201,39170,5578],{"class":260},[201,39172,39051],{"class":267},[201,39174,18234],{"class":659},[201,39176,1353],{"class":260},[201,39178,1356],{"class":260},[201,39180,38771],{"class":211},[201,39182,1356],{"class":260},[201,39184,1539],{"class":260},[201,39186,39187,39189,39191],{"class":203,"line":391},[201,39188,5599],{"class":260},[201,39190,6013],{"class":267},[201,39192,1718],{"class":260},[201,39194,39195,39197,39199,39201,39203,39205,39207,39209],{"class":203,"line":441},[201,39196,5556],{"class":260},[201,39198,6013],{"class":267},[201,39200,15430],{"class":659},[201,39202,1353],{"class":260},[201,39204,1356],{"class":260},[201,39206,20284],{"class":211},[201,39208,1356],{"class":260},[201,39210,1718],{"class":260},[201,39212,39213],{"class":203,"line":484},[201,39214,38666],{"class":256},[201,39216,39217,39219,39221,39223,39225,39227,39229,39231],{"class":203,"line":492},[201,39218,5578],{"class":260},[201,39220,39051],{"class":267},[201,39222,18234],{"class":659},[201,39224,1353],{"class":260},[201,39226,1356],{"class":260},[201,39228,38853],{"class":211},[201,39230,1356],{"class":260},[201,39232,1539],{"class":260},[201,39234,39235,39237,39239],{"class":203,"line":498},[201,39236,5599],{"class":260},[201,39238,6013],{"class":267},[201,39240,1718],{"class":260},[201,39242,39243,39245,39247],{"class":203,"line":504},[201,39244,5608],{"class":260},[201,39246,6013],{"class":267},[201,39248,1718],{"class":260},[201,39250,39251,39253,39255],{"class":203,"line":5949},[201,39252,1760],{"class":260},[201,39254,1715],{"class":267},[201,39256,1718],{"class":260},[14,39258,39259,39262,39263,534],{},[137,39260,39261],{},"\u003CDefineTemplate>"," must be used before ",[137,39264,39265],{},"\u003CReuseTemplate>",[14,39267,39268,39269,39271],{},"You can't, however, use the return of one ",[137,39270,38963],{}," call to reuse different blocks simultaneously:",[192,39273,39275],{"className":1333,"code":39274,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CDefineTemplate>\n    \u003Cdiv>Reused block A\u003C\u002Fdiv>\n  \u003C\u002FDefineTemplate>\n  \u003CReuseTemplate \u002F>\n  \u003C!-- registers another template instead -->\n  \u003CDefineTemplate>\n    \u003Cdiv>Reused block B\u003C\u002Fdiv>\n  \u003C\u002FDefineTemplate>\n  \u003C!-- will now render new template -->\n  \u003CReuseTemplate \u002F>\n\u003C\u002Ftemplate>\n\n\u003C!-- Output: -->\n\u003C!-- Reused block A -->\n\u003C!-- Reused block B -->\n",[137,39276,39277,39285,39293,39310,39318,39326,39331,39339,39356,39364,39369,39377,39385,39389,39394,39399],{"__ignoreMap":197},[201,39278,39279,39281,39283],{"class":203,"line":204},[201,39280,1342],{"class":260},[201,39282,1715],{"class":267},[201,39284,1718],{"class":260},[201,39286,39287,39289,39291],{"class":203,"line":224},[201,39288,1723],{"class":260},[201,39290,39021],{"class":267},[201,39292,1718],{"class":260},[201,39294,39295,39297,39299,39301,39304,39306,39308],{"class":203,"line":264},[201,39296,5556],{"class":260},[201,39298,6013],{"class":267},[201,39300,3416],{"class":260},[201,39302,39303],{"class":256},"Reused block A",[201,39305,1760],{"class":260},[201,39307,6013],{"class":267},[201,39309,1718],{"class":260},[201,39311,39312,39314,39316],{"class":203,"line":290},[201,39313,5608],{"class":260},[201,39315,39021],{"class":267},[201,39317,1718],{"class":260},[201,39319,39320,39322,39324],{"class":203,"line":301},[201,39321,1723],{"class":260},[201,39323,39051],{"class":267},[201,39325,1539],{"class":260},[201,39327,39328],{"class":203,"line":319},[201,39329,39330],{"class":239},"  \u003C!-- registers another template instead -->\n",[201,39332,39333,39335,39337],{"class":203,"line":329},[201,39334,1723],{"class":260},[201,39336,39021],{"class":267},[201,39338,1718],{"class":260},[201,39340,39341,39343,39345,39347,39350,39352,39354],{"class":203,"line":346},[201,39342,5556],{"class":260},[201,39344,6013],{"class":267},[201,39346,3416],{"class":260},[201,39348,39349],{"class":256},"Reused block B",[201,39351,1760],{"class":260},[201,39353,6013],{"class":267},[201,39355,1718],{"class":260},[201,39357,39358,39360,39362],{"class":203,"line":363},[201,39359,5608],{"class":260},[201,39361,39021],{"class":267},[201,39363,1718],{"class":260},[201,39365,39366],{"class":203,"line":380},[201,39367,39368],{"class":239},"  \u003C!-- will now render new template -->\n",[201,39370,39371,39373,39375],{"class":203,"line":391},[201,39372,1723],{"class":260},[201,39374,39051],{"class":267},[201,39376,1539],{"class":260},[201,39378,39379,39381,39383],{"class":203,"line":441},[201,39380,1760],{"class":260},[201,39382,1715],{"class":267},[201,39384,1718],{"class":260},[201,39386,39387],{"class":203,"line":484},[201,39388,654],{"emptyLinePlaceholder":653},[201,39390,39391],{"class":203,"line":492},[201,39392,39393],{"class":239},"\u003C!-- Output: -->\n",[201,39395,39396],{"class":203,"line":498},[201,39397,39398],{"class":239},"\u003C!-- Reused block A -->\n",[201,39400,39401],{"class":203,"line":504},[201,39402,39403],{"class":239},"\u003C!-- Reused block B -->\n",[14,39405,39406,39407,39409],{},"So instead you would need to call ",[137,39408,38963],{}," for each individual reused piece you want to use simultaneously in the markup:",[192,39411,39413],{"className":1333,"code":39412,"language":1335,"meta":197,"style":197},"\u003Cscript setup>\nimport { createReusableTemplate } from '@vueuse\u002Fcore'\n\nconst [DefineBlockA, ReuseBlockA] = createReusableTemplate()\nconst [DefineBlockB, ReuseBlockB] = createReusableTemplate()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CDefineBlockA>\n    \u003Cdiv>Reused block A\u003C\u002Fdiv>\n  \u003C\u002FDefineBlockA>\n  \u003CDefineBlockB>\n    \u003Cdiv>Reused block B\u003C\u002Fdiv>\n  \u003C\u002FDefineBlockB>\n  \u003C!-- the two can exist simultaneously -->\n  \u003CReuseBlockA \u002F>\n  \u003CReuseBlockB \u002F>\n\u003C\u002Ftemplate>\n",[137,39414,39415,39425,39443,39447,39469,39491,39499,39503,39511,39519,39535,39543,39551,39567,39575,39580,39589,39598],{"__ignoreMap":197},[201,39416,39417,39419,39421,39423],{"class":203,"line":204},[201,39418,1342],{"class":260},[201,39420,2936],{"class":267},[201,39422,2939],{"class":659},[201,39424,1718],{"class":260},[201,39426,39427,39429,39431,39433,39435,39437,39439,39441],{"class":203,"line":224},[201,39428,626],{"class":245},[201,39430,631],{"class":260},[201,39432,39002],{"class":256},[201,39434,637],{"class":260},[201,39436,640],{"class":245},[201,39438,309],{"class":260},[201,39440,28017],{"class":211},[201,39442,648],{"class":260},[201,39444,39445],{"class":203,"line":264},[201,39446,654],{"emptyLinePlaceholder":653},[201,39448,39449,39451,39453,39456,39458,39461,39463,39465,39467],{"class":203,"line":290},[201,39450,660],{"class":659},[201,39452,274],{"class":260},[201,39454,39455],{"class":256},"DefineBlockA",[201,39457,409],{"class":260},[201,39459,39460],{"class":256}," ReuseBlockA",[201,39462,284],{"class":260},[201,39464,670],{"class":260},[201,39466,39002],{"class":252},[201,39468,2967],{"class":256},[201,39470,39471,39473,39475,39478,39480,39483,39485,39487,39489],{"class":203,"line":301},[201,39472,660],{"class":659},[201,39474,274],{"class":260},[201,39476,39477],{"class":256},"DefineBlockB",[201,39479,409],{"class":260},[201,39481,39482],{"class":256}," ReuseBlockB",[201,39484,284],{"class":260},[201,39486,670],{"class":260},[201,39488,39002],{"class":252},[201,39490,2967],{"class":256},[201,39492,39493,39495,39497],{"class":203,"line":319},[201,39494,1760],{"class":260},[201,39496,2936],{"class":267},[201,39498,1718],{"class":260},[201,39500,39501],{"class":203,"line":329},[201,39502,654],{"emptyLinePlaceholder":653},[201,39504,39505,39507,39509],{"class":203,"line":346},[201,39506,1342],{"class":260},[201,39508,1715],{"class":267},[201,39510,1718],{"class":260},[201,39512,39513,39515,39517],{"class":203,"line":363},[201,39514,1723],{"class":260},[201,39516,39455],{"class":267},[201,39518,1718],{"class":260},[201,39520,39521,39523,39525,39527,39529,39531,39533],{"class":203,"line":380},[201,39522,5556],{"class":260},[201,39524,6013],{"class":267},[201,39526,3416],{"class":260},[201,39528,39303],{"class":256},[201,39530,1760],{"class":260},[201,39532,6013],{"class":267},[201,39534,1718],{"class":260},[201,39536,39537,39539,39541],{"class":203,"line":391},[201,39538,5608],{"class":260},[201,39540,39455],{"class":267},[201,39542,1718],{"class":260},[201,39544,39545,39547,39549],{"class":203,"line":441},[201,39546,1723],{"class":260},[201,39548,39477],{"class":267},[201,39550,1718],{"class":260},[201,39552,39553,39555,39557,39559,39561,39563,39565],{"class":203,"line":484},[201,39554,5556],{"class":260},[201,39556,6013],{"class":267},[201,39558,3416],{"class":260},[201,39560,39349],{"class":256},[201,39562,1760],{"class":260},[201,39564,6013],{"class":267},[201,39566,1718],{"class":260},[201,39568,39569,39571,39573],{"class":203,"line":492},[201,39570,5608],{"class":260},[201,39572,39477],{"class":267},[201,39574,1718],{"class":260},[201,39576,39577],{"class":203,"line":498},[201,39578,39579],{"class":239},"  \u003C!-- the two can exist simultaneously -->\n",[201,39581,39582,39584,39587],{"class":203,"line":504},[201,39583,1723],{"class":260},[201,39585,39586],{"class":267},"ReuseBlockA",[201,39588,1539],{"class":260},[201,39590,39591,39593,39596],{"class":203,"line":5949},[201,39592,1723],{"class":260},[201,39594,39595],{"class":267},"ReuseBlockB",[201,39597,1539],{"class":260},[201,39599,39600,39602,39604],{"class":203,"line":5956},[201,39601,1760],{"class":260},[201,39603,1715],{"class":267},[201,39605,1718],{"class":260},[18,39607,39609],{"id":39608},"analogue-to-react-render-functions","Analogue to React render functions",[14,39611,39612],{},"Having the ability to reuse the same template part is good, but with JSX in React one can also define a render function to dynamically pass different props to the reused piece:",[192,39614,39616],{"className":12095,"code":39615,"language":12097,"meta":197,"style":197},"const renderBlock = (className) => (\n  \u003Cdiv\n    class={`block ${className}`}\n    onClick={handleClick}>\n    Block that should be reused and customized.\n  \u003C\u002Fdiv>\n);\n\nreturn (\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      {!isCompact && renderBlock(\"full\")}\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      {isCompact && renderBlock(\"compact\")}\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n);\n",[137,39617,39618,39638,39644,39663,39673,39678,39686,39692,39696,39702,39720,39738,39742,39766,39774,39792,39796,39819,39827,39835],{"__ignoreMap":197},[201,39619,39620,39622,39625,39627,39629,39632,39634,39636],{"class":203,"line":204},[201,39621,660],{"class":659},[201,39623,39624],{"class":256}," renderBlock ",[201,39626,1353],{"class":260},[201,39628,2142],{"class":260},[201,39630,39631],{"class":2106},"className",[201,39633,3779],{"class":260},[201,39635,1999],{"class":659},[201,39637,6996],{"class":256},[201,39639,39640,39642],{"class":203,"line":224},[201,39641,1723],{"class":260},[201,39643,38519],{"class":267},[201,39645,39646,39648,39650,39652,39655,39657,39659,39661],{"class":203,"line":264},[201,39647,38524],{"class":659},[201,39649,6735],{"class":260},[201,39651,2993],{"class":260},[201,39653,39654],{"class":211},"block ",[201,39656,2999],{"class":260},[201,39658,39631],{"class":256},[201,39660,3015],{"class":260},[201,39662,724],{"class":260},[201,39664,39665,39667,39669,39671],{"class":203,"line":290},[201,39666,38538],{"class":659},[201,39668,6735],{"class":260},[201,39670,38543],{"class":256},[201,39672,7354],{"class":260},[201,39674,39675],{"class":203,"line":301},[201,39676,39677],{"class":256},"    Block that should be reused and customized.\n",[201,39679,39680,39682,39684],{"class":203,"line":319},[201,39681,5608],{"class":260},[201,39683,6013],{"class":267},[201,39685,1718],{"class":260},[201,39687,39688,39690],{"class":203,"line":329},[201,39689,3779],{"class":256},[201,39691,19393],{"class":260},[201,39693,39694],{"class":203,"line":346},[201,39695,654],{"emptyLinePlaceholder":653},[201,39697,39698,39700],{"class":203,"line":363},[201,39699,14767],{"class":245},[201,39701,6996],{"class":256},[201,39703,39704,39706,39708,39710,39712,39714,39716,39718],{"class":203,"line":380},[201,39705,1723],{"class":260},[201,39707,6013],{"class":267},[201,39709,15430],{"class":659},[201,39711,1353],{"class":260},[201,39713,1356],{"class":260},[201,39715,38594],{"class":211},[201,39717,1356],{"class":260},[201,39719,1718],{"class":260},[201,39721,39722,39724,39726,39728,39730,39732,39734,39736],{"class":203,"line":391},[201,39723,5556],{"class":260},[201,39725,6013],{"class":267},[201,39727,15430],{"class":659},[201,39729,1353],{"class":260},[201,39731,1356],{"class":260},[201,39733,20245],{"class":211},[201,39735,1356],{"class":260},[201,39737,1718],{"class":260},[201,39739,39740],{"class":203,"line":441},[201,39741,38621],{"class":256},[201,39743,39744,39746,39748,39750,39753,39755,39757,39760,39762,39764],{"class":203,"line":484},[201,39745,38626],{"class":260},[201,39747,38629],{"class":256},[201,39749,27160],{"class":260},[201,39751,39752],{"class":252}," renderBlock",[201,39754,257],{"class":256},[201,39756,1356],{"class":260},[201,39758,39759],{"class":211},"full",[201,39761,1356],{"class":260},[201,39763,3779],{"class":256},[201,39765,724],{"class":260},[201,39767,39768,39770,39772],{"class":203,"line":492},[201,39769,5599],{"class":260},[201,39771,6013],{"class":267},[201,39773,1718],{"class":260},[201,39775,39776,39778,39780,39782,39784,39786,39788,39790],{"class":203,"line":498},[201,39777,5556],{"class":260},[201,39779,6013],{"class":267},[201,39781,15430],{"class":659},[201,39783,1353],{"class":260},[201,39785,1356],{"class":260},[201,39787,20284],{"class":211},[201,39789,1356],{"class":260},[201,39791,1718],{"class":260},[201,39793,39794],{"class":203,"line":504},[201,39795,38666],{"class":256},[201,39797,39798,39800,39802,39804,39806,39808,39810,39813,39815,39817],{"class":203,"line":5949},[201,39799,7009],{"class":260},[201,39801,38629],{"class":256},[201,39803,27160],{"class":260},[201,39805,39752],{"class":252},[201,39807,257],{"class":256},[201,39809,1356],{"class":260},[201,39811,39812],{"class":211},"compact",[201,39814,1356],{"class":260},[201,39816,3779],{"class":256},[201,39818,724],{"class":260},[201,39820,39821,39823,39825],{"class":203,"line":5956},[201,39822,5599],{"class":260},[201,39824,6013],{"class":267},[201,39826,1718],{"class":260},[201,39828,39829,39831,39833],{"class":203,"line":5965},[201,39830,5608],{"class":260},[201,39832,6013],{"class":267},[201,39834,1718],{"class":260},[201,39836,39837,39839],{"class":203,"line":5970},[201,39838,3779],{"class":256},[201,39840,19393],{"class":260},[14,39842,39843,39844,39847,39848,39850,39851,39854],{},"Vue provides ",[2363,39845,39846],{},"scoped slots"," as the general alternative to React JSX render functions, and ",[137,39849,38937],{}," supports this feature to pass data to the reused template. You can use the same ",[137,39852,39853],{},"v-slot"," you would normally use to pass data from a child component back to the parent:",[192,39856,39858],{"className":1333,"code":39857,"language":1335,"meta":197,"style":197},"\u003Cscript setup lang=\"ts\">\nimport { createReusableTemplate } from '@vueuse\u002Fcore'\n\nconst [DefineTemplate, ReuseTemplate] = createReusableTemplate\u003C{ className: string }>()\n\u003C\u002Fscript>\n",[137,39859,39860,39880,39898,39902,39933],{"__ignoreMap":197},[201,39861,39862,39864,39866,39868,39870,39872,39874,39876,39878],{"class":203,"line":204},[201,39863,1342],{"class":260},[201,39865,2936],{"class":267},[201,39867,2939],{"class":659},[201,39869,2942],{"class":659},[201,39871,1353],{"class":260},[201,39873,1356],{"class":260},[201,39875,232],{"class":211},[201,39877,1356],{"class":260},[201,39879,1718],{"class":260},[201,39881,39882,39884,39886,39888,39890,39892,39894,39896],{"class":203,"line":224},[201,39883,626],{"class":245},[201,39885,631],{"class":260},[201,39887,39002],{"class":256},[201,39889,637],{"class":260},[201,39891,640],{"class":245},[201,39893,309],{"class":260},[201,39895,28017],{"class":211},[201,39897,648],{"class":260},[201,39899,39900],{"class":203,"line":264},[201,39901,654],{"emptyLinePlaceholder":653},[201,39903,39904,39906,39908,39910,39912,39914,39916,39918,39920,39922,39925,39927,39929,39931],{"class":203,"line":290},[201,39905,660],{"class":659},[201,39907,274],{"class":260},[201,39909,39021],{"class":256},[201,39911,409],{"class":260},[201,39913,39026],{"class":256},[201,39915,284],{"class":260},[201,39917,670],{"class":260},[201,39919,39002],{"class":252},[201,39921,3391],{"class":260},[201,39923,39924],{"class":267}," className",[201,39926,271],{"class":260},[201,39928,3399],{"class":207},[201,39930,9520],{"class":260},[201,39932,2967],{"class":256},[201,39934,39935,39937,39939],{"class":203,"line":301},[201,39936,1760],{"class":260},[201,39938,2936],{"class":267},[201,39940,1718],{"class":260},[14,39942,39943,39945,39946,39948,39949,39951,39952,271],{},[137,39944,38937],{}," accepts a generic type argument for typing the data passed to the template, similar to specifying a render function signature. You can then bind props to ",[137,39947,39051],{}," and access them in the reusable part inside ",[137,39950,39021],{}," via ",[137,39953,39853],{},[192,39955,39957],{"className":1333,"code":39956,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CDefineTemplate v-slot=\"{ className }\">\n    \u003Cdiv :class=\"['block', className]\" @click=\"handleClick\">\n      Block that should be reused and customized.\n    \u003C\u002Fdiv>\n  \u003C\u002FDefineTemplate>\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      \u003CReuseTemplate v-if=\"!isCompact\" className=\"full\" \u002F>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      \u003CReuseTemplate v-if=\"isCompact\" className=\"compact\" \u002F>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,39958,39959,39967,39986,40016,40021,40029,40037,40055,40073,40077,40105,40113,40131,40135,40163,40171,40179],{"__ignoreMap":197},[201,39960,39961,39963,39965],{"class":203,"line":204},[201,39962,1342],{"class":260},[201,39964,1715],{"class":267},[201,39966,1718],{"class":260},[201,39968,39969,39971,39973,39975,39977,39979,39982,39984],{"class":203,"line":224},[201,39970,1723],{"class":260},[201,39972,39021],{"class":267},[201,39974,20375],{"class":659},[201,39976,1353],{"class":260},[201,39978,1356],{"class":260},[201,39980,39981],{"class":211},"{ className }",[201,39983,1356],{"class":260},[201,39985,1718],{"class":260},[201,39987,39988,39990,39992,39995,39997,39999,40002,40004,40006,40008,40010,40012,40014],{"class":203,"line":264},[201,39989,5556],{"class":260},[201,39991,6013],{"class":267},[201,39993,39994],{"class":659}," :class",[201,39996,1353],{"class":260},[201,39998,1356],{"class":260},[201,40000,40001],{"class":211},"['block', className]",[201,40003,1356],{"class":260},[201,40005,9611],{"class":659},[201,40007,1353],{"class":260},[201,40009,1356],{"class":260},[201,40011,38543],{"class":211},[201,40013,1356],{"class":260},[201,40015,1718],{"class":260},[201,40017,40018],{"class":203,"line":290},[201,40019,40020],{"class":256},"      Block that should be reused and customized.\n",[201,40022,40023,40025,40027],{"class":203,"line":301},[201,40024,5599],{"class":260},[201,40026,6013],{"class":267},[201,40028,1718],{"class":260},[201,40030,40031,40033,40035],{"class":203,"line":319},[201,40032,5608],{"class":260},[201,40034,39021],{"class":267},[201,40036,1718],{"class":260},[201,40038,40039,40041,40043,40045,40047,40049,40051,40053],{"class":203,"line":329},[201,40040,1723],{"class":260},[201,40042,6013],{"class":267},[201,40044,15430],{"class":659},[201,40046,1353],{"class":260},[201,40048,1356],{"class":260},[201,40050,38594],{"class":211},[201,40052,1356],{"class":260},[201,40054,1718],{"class":260},[201,40056,40057,40059,40061,40063,40065,40067,40069,40071],{"class":203,"line":346},[201,40058,5556],{"class":260},[201,40060,6013],{"class":267},[201,40062,15430],{"class":659},[201,40064,1353],{"class":260},[201,40066,1356],{"class":260},[201,40068,20245],{"class":211},[201,40070,1356],{"class":260},[201,40072,1718],{"class":260},[201,40074,40075],{"class":203,"line":363},[201,40076,38621],{"class":256},[201,40078,40079,40081,40083,40085,40087,40089,40091,40093,40095,40097,40099,40101,40103],{"class":203,"line":380},[201,40080,5578],{"class":260},[201,40082,39051],{"class":267},[201,40084,18234],{"class":659},[201,40086,1353],{"class":260},[201,40088,1356],{"class":260},[201,40090,38771],{"class":211},[201,40092,1356],{"class":260},[201,40094,39924],{"class":659},[201,40096,1353],{"class":260},[201,40098,1356],{"class":260},[201,40100,39759],{"class":211},[201,40102,1356],{"class":260},[201,40104,1539],{"class":260},[201,40106,40107,40109,40111],{"class":203,"line":391},[201,40108,5599],{"class":260},[201,40110,6013],{"class":267},[201,40112,1718],{"class":260},[201,40114,40115,40117,40119,40121,40123,40125,40127,40129],{"class":203,"line":441},[201,40116,5556],{"class":260},[201,40118,6013],{"class":267},[201,40120,15430],{"class":659},[201,40122,1353],{"class":260},[201,40124,1356],{"class":260},[201,40126,20284],{"class":211},[201,40128,1356],{"class":260},[201,40130,1718],{"class":260},[201,40132,40133],{"class":203,"line":484},[201,40134,38666],{"class":256},[201,40136,40137,40139,40141,40143,40145,40147,40149,40151,40153,40155,40157,40159,40161],{"class":203,"line":492},[201,40138,5578],{"class":260},[201,40140,39051],{"class":267},[201,40142,18234],{"class":659},[201,40144,1353],{"class":260},[201,40146,1356],{"class":260},[201,40148,38853],{"class":211},[201,40150,1356],{"class":260},[201,40152,39924],{"class":659},[201,40154,1353],{"class":260},[201,40156,1356],{"class":260},[201,40158,39812],{"class":211},[201,40160,1356],{"class":260},[201,40162,1539],{"class":260},[201,40164,40165,40167,40169],{"class":203,"line":498},[201,40166,5599],{"class":260},[201,40168,6013],{"class":267},[201,40170,1718],{"class":260},[201,40172,40173,40175,40177],{"class":203,"line":504},[201,40174,5608],{"class":260},[201,40176,6013],{"class":267},[201,40178,1718],{"class":260},[201,40180,40181,40183,40185],{"class":203,"line":5949},[201,40182,1760],{"class":260},[201,40184,1715],{"class":267},[201,40186,1718],{"class":260},[14,40188,40189,40190,40192,40193,40195,40196,40198,40199,40201,40202,7672,40204,40207],{},"Render functions in JSX can also accept JSX as arguments to be rendered somewhere inside. No worries — ",[137,40191,38937],{}," has you covered here as well, as ",[137,40194,39051],{}," can be passed slots that can be accessed via ",[137,40197,21147],{}," on ",[137,40200,39853],{}," and rendered inside ",[137,40203,39021],{},[2363,40205,40206],{},"dynamic components"," syntax:",[192,40209,40211],{"className":1333,"code":40210,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003CDefineTemplate v-slot=\"{ className, $slots }\">\n    \u003Cdiv :class=\"['block', className]\" @click=\"handleClick\">\n      Block that should be reused with custom content.\n      Custom content:\n      \u003C!-- To render the slot -->\n      \u003Ccomponent :is=\"$slots.default\" \u002F>\n    \u003C\u002Fdiv>\n  \u003C\u002FDefineTemplate>\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      \u003CReuseTemplate v-if=\"!isCompact\" className=\"full\">\n        \u003Cdiv>Full content\u003C\u002Fdiv>\n      \u003C\u002FReuseTemplate>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      \u003CReuseTemplate v-if=\"isCompact\" className=\"compact\">\n        \u003Cdiv>Compact content\u003C\u002Fdiv>\n      \u003C\u002FReuseTemplate>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,40212,40213,40221,40240,40268,40273,40278,40283,40302,40310,40318,40336,40354,40358,40386,40403,40411,40419,40437,40441,40469,40486,40494,40502,40510],{"__ignoreMap":197},[201,40214,40215,40217,40219],{"class":203,"line":204},[201,40216,1342],{"class":260},[201,40218,1715],{"class":267},[201,40220,1718],{"class":260},[201,40222,40223,40225,40227,40229,40231,40233,40236,40238],{"class":203,"line":224},[201,40224,1723],{"class":260},[201,40226,39021],{"class":267},[201,40228,20375],{"class":659},[201,40230,1353],{"class":260},[201,40232,1356],{"class":260},[201,40234,40235],{"class":211},"{ className, $slots }",[201,40237,1356],{"class":260},[201,40239,1718],{"class":260},[201,40241,40242,40244,40246,40248,40250,40252,40254,40256,40258,40260,40262,40264,40266],{"class":203,"line":264},[201,40243,5556],{"class":260},[201,40245,6013],{"class":267},[201,40247,39994],{"class":659},[201,40249,1353],{"class":260},[201,40251,1356],{"class":260},[201,40253,40001],{"class":211},[201,40255,1356],{"class":260},[201,40257,9611],{"class":659},[201,40259,1353],{"class":260},[201,40261,1356],{"class":260},[201,40263,38543],{"class":211},[201,40265,1356],{"class":260},[201,40267,1718],{"class":260},[201,40269,40270],{"class":203,"line":290},[201,40271,40272],{"class":256},"      Block that should be reused with custom content.\n",[201,40274,40275],{"class":203,"line":301},[201,40276,40277],{"class":256},"      Custom content:\n",[201,40279,40280],{"class":203,"line":319},[201,40281,40282],{"class":239},"      \u003C!-- To render the slot -->\n",[201,40284,40285,40287,40289,40291,40293,40295,40298,40300],{"class":203,"line":329},[201,40286,5578],{"class":260},[201,40288,20668],{"class":267},[201,40290,32533],{"class":659},[201,40292,1353],{"class":260},[201,40294,1356],{"class":260},[201,40296,40297],{"class":211},"$slots.default",[201,40299,1356],{"class":260},[201,40301,1539],{"class":260},[201,40303,40304,40306,40308],{"class":203,"line":346},[201,40305,5599],{"class":260},[201,40307,6013],{"class":267},[201,40309,1718],{"class":260},[201,40311,40312,40314,40316],{"class":203,"line":363},[201,40313,5608],{"class":260},[201,40315,39021],{"class":267},[201,40317,1718],{"class":260},[201,40319,40320,40322,40324,40326,40328,40330,40332,40334],{"class":203,"line":380},[201,40321,1723],{"class":260},[201,40323,6013],{"class":267},[201,40325,15430],{"class":659},[201,40327,1353],{"class":260},[201,40329,1356],{"class":260},[201,40331,38594],{"class":211},[201,40333,1356],{"class":260},[201,40335,1718],{"class":260},[201,40337,40338,40340,40342,40344,40346,40348,40350,40352],{"class":203,"line":391},[201,40339,5556],{"class":260},[201,40341,6013],{"class":267},[201,40343,15430],{"class":659},[201,40345,1353],{"class":260},[201,40347,1356],{"class":260},[201,40349,20245],{"class":211},[201,40351,1356],{"class":260},[201,40353,1718],{"class":260},[201,40355,40356],{"class":203,"line":441},[201,40357,38621],{"class":256},[201,40359,40360,40362,40364,40366,40368,40370,40372,40374,40376,40378,40380,40382,40384],{"class":203,"line":484},[201,40361,5578],{"class":260},[201,40363,39051],{"class":267},[201,40365,18234],{"class":659},[201,40367,1353],{"class":260},[201,40369,1356],{"class":260},[201,40371,38771],{"class":211},[201,40373,1356],{"class":260},[201,40375,39924],{"class":659},[201,40377,1353],{"class":260},[201,40379,1356],{"class":260},[201,40381,39759],{"class":211},[201,40383,1356],{"class":260},[201,40385,1718],{"class":260},[201,40387,40388,40390,40392,40394,40397,40399,40401],{"class":203,"line":492},[201,40389,24173],{"class":260},[201,40391,6013],{"class":267},[201,40393,3416],{"class":260},[201,40395,40396],{"class":256},"Full content",[201,40398,1760],{"class":260},[201,40400,6013],{"class":267},[201,40402,1718],{"class":260},[201,40404,40405,40407,40409],{"class":203,"line":498},[201,40406,24275],{"class":260},[201,40408,39051],{"class":267},[201,40410,1718],{"class":260},[201,40412,40413,40415,40417],{"class":203,"line":504},[201,40414,5599],{"class":260},[201,40416,6013],{"class":267},[201,40418,1718],{"class":260},[201,40420,40421,40423,40425,40427,40429,40431,40433,40435],{"class":203,"line":5949},[201,40422,5556],{"class":260},[201,40424,6013],{"class":267},[201,40426,15430],{"class":659},[201,40428,1353],{"class":260},[201,40430,1356],{"class":260},[201,40432,20284],{"class":211},[201,40434,1356],{"class":260},[201,40436,1718],{"class":260},[201,40438,40439],{"class":203,"line":5956},[201,40440,38666],{"class":256},[201,40442,40443,40445,40447,40449,40451,40453,40455,40457,40459,40461,40463,40465,40467],{"class":203,"line":5965},[201,40444,5578],{"class":260},[201,40446,39051],{"class":267},[201,40448,18234],{"class":659},[201,40450,1353],{"class":260},[201,40452,1356],{"class":260},[201,40454,38853],{"class":211},[201,40456,1356],{"class":260},[201,40458,39924],{"class":659},[201,40460,1353],{"class":260},[201,40462,1356],{"class":260},[201,40464,39812],{"class":211},[201,40466,1356],{"class":260},[201,40468,1718],{"class":260},[201,40470,40471,40473,40475,40477,40480,40482,40484],{"class":203,"line":5970},[201,40472,24173],{"class":260},[201,40474,6013],{"class":267},[201,40476,3416],{"class":260},[201,40478,40479],{"class":256},"Compact content",[201,40481,1760],{"class":260},[201,40483,6013],{"class":267},[201,40485,1718],{"class":260},[201,40487,40488,40490,40492],{"class":203,"line":5979},[201,40489,24275],{"class":260},[201,40491,39051],{"class":267},[201,40493,1718],{"class":260},[201,40495,40496,40498,40500],{"class":203,"line":5988},[201,40497,5599],{"class":260},[201,40499,6013],{"class":267},[201,40501,1718],{"class":260},[201,40503,40504,40506,40508],{"class":203,"line":6008},[201,40505,5608],{"class":260},[201,40507,6013],{"class":267},[201,40509,1718],{"class":260},[201,40511,40512,40514,40516],{"class":203,"line":6029},[201,40513,1760],{"class":260},[201,40515,1715],{"class":267},[201,40517,1718],{"class":260},[18,40519,40521],{"id":40520},"thats-it","That's it!",[14,40523,40524,40525,40528],{},"If you're a React dev struggling to embrace Vue because you feel down having to write templates, consider giving it another shot with this addon. Alternatively, if this still isn't enough to make templates plausible for you, you can learn how to ",[128,40526,40527],{"href":19044},"use JSX with Vue"," to make your experience with Vue more close to home.",[6170,40530],{"label":11830,"to":6173},[984,40532,40533],{},"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}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .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 .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}",{"title":197,"searchDepth":264,"depth":264,"links":40535},[40536,40537,40538,40539,40540],{"id":38478,"depth":224,"text":38479},{"id":38916,"depth":224,"text":38917},{"id":38930,"depth":224,"text":38931},{"id":39608,"depth":224,"text":39609},{"id":40520,"depth":224,"text":40521},"2024-06-12","Coming to Vue from React? Learn how to reuse template blocks in Vue SFCs with VueUse's createReusableTemplate — the closest thing to JSX render functions.","\u002Fimages\u002Fblog\u002Ffixing-vue-sfc-templates-for-react\u002Fcard.png",{},{"title":19039,"description":40542},"blog\u002Ffixing-vue-sfc-templates-for-react",[2822,2429,38922],"gDciT4I23XWrYEvhBspy4HjvW_DsdyhwSNaVWnSHVNo",{"id":40550,"title":40551,"articleType":1008,"author":12943,"authorSlug":1008,"body":40552,"cta":1008,"date":40634,"description":40635,"extension":1011,"faq":1008,"featured":1021,"image":40636,"meta":40637,"navigation":653,"noCtaBox":1021,"path":40638,"readTime":1008,"seo":40639,"seoTitle":1008,"stem":40640,"tags":1008,"topic":15025,"video":1008,"__hash__":40641},"blog\u002Fblog\u002Fepicmax-bilbao-slush.md","Epicmax at Bilbao Slush'D 2025",{"type":11,"value":40553,"toc":40628},[40554,40574,40580,40584,40587,40591,40598,40602,40613,40617,40622],[14,40555,40556,40559,40560,40562,40563,40566,40567,519,40570,40573],{},[2363,40557,40558],{},"Bilbao Slush'D"," is the first edition of the famous global event Slush, tailored to the Southern European context. We are excited to announce that Epicmax will be participating in the upcoming ",[2363,40561,40558],{}," conference, taking place on ",[2363,40564,40565],{},"February 20th, 2025",", at the ",[2363,40568,40569],{},"Bilbao Exhibition Centre (BEC)",[2363,40571,40572],{},"Bilbao, Spain",". This event brings together top experts and companies in the tech industry, and we can't wait to showcase our solutions and discuss the latest trends in development.",[14,40575,40576],{},[14615,40577],{"alt":40578,"src":40579},"Bilbao Slush'D 2025 conference banner","\u002Fimages\u002Fblog\u002Fepicmax-bilbao-slush\u002F1739958194092.jpeg",[18,40581,40583],{"id":40582},"about-bilbao-slushd-conference","About Bilbao Slush'D Conference",[14,40585,40586],{},"The conference will gather over 200 international investors, including venture capital firms, venture debt, corporate venture capital, and business angels, as well as more than 150 startups. It's an excellent platform to network, discuss innovations, and explore new business opportunities.",[18,40588,40590],{"id":40589},"what-well-be-showcasing-at-bilbao-slushd","What We'll Be Showcasing at Bilbao Slush'D",[14,40592,40593,40594,40597],{},"At ",[2363,40595,40596],{},"Booth 4",", we're excited to share our experience in developing scalable Vue.js solutions and discuss how our UI frameworks help IT companies streamline their development processes. We've prepared some exciting demos and case studies that we hope will inspire and be useful to you.",[18,40599,40601],{"id":40600},"why-you-should-visit-our-booth","Why You Should Visit Our Booth",[2357,40603,40604,40607,40610],{},[188,40605,40606],{},"Expert Consultations: Our specialists are ready to answer your questions and share best practices in development.",[188,40608,40609],{},"Networking Opportunities: Connect with industry professionals and discuss potential projects.",[188,40611,40612],{},"Interactive Demos: Experience our products and services in action and see their functionality firsthand.",[18,40614,40616],{"id":40615},"about-us","About Us",[14,40618,40619,40621],{},[2363,40620,16284],{}," is a team of professionals dedicated to creating high-quality web development solutions. With a focus on Vue.js and other modern technologies, we strive to help companies succeed in the digital world.",[14,40623,40624,40625,40627],{},"We look forward to seeing you at ",[2363,40626,40558],{}," and are confident that our collaboration can lead to exciting opportunities and projects. See you in Bilbao!",{"title":197,"searchDepth":264,"depth":264,"links":40629},[40630,40631,40632,40633],{"id":40582,"depth":224,"text":40583},{"id":40589,"depth":224,"text":40590},{"id":40600,"depth":224,"text":40601},{"id":40615,"depth":224,"text":40616},"2024-04-10","Meet Epicmax at Bilbao Slush'D 2025! Discover cutting-edge Vue.js solutions, UI frameworks, and expert strategies to boost your front-end development. Stop by Booth 4 to connect with our team and explore collaboration opportunities.","\u002Fimages\u002Fblog\u002Fepicmax-bilbao-slush\u002Fcard.jpeg",{},"\u002Fblog\u002Fepicmax-bilbao-slush",{"title":40551,"description":40635},"blog\u002Fepicmax-bilbao-slush","I-gICRT_kuaHxuG2OTw4Xd1bQEoHQeOZF6j9eUV3AFI",{"id":40643,"title":40644,"articleType":1008,"author":12943,"authorSlug":1008,"body":40645,"cta":1008,"date":40634,"description":40719,"extension":1011,"faq":1008,"featured":1021,"image":40720,"meta":40721,"navigation":653,"noCtaBox":1021,"path":40722,"readTime":1008,"seo":40723,"seoTitle":1008,"stem":40724,"tags":1008,"topic":15025,"video":1008,"__hash__":40725},"blog\u002Fblog\u002Fepicmax-devdays-europe-2025.md","Unlocking the Power of Open Source – Epicmax at DevDays Europe 2025",{"type":11,"value":40646,"toc":40717},[40647,40659,40664,40669,40683,40686,40691,40694,40699,40704],[14,40648,40649,40652,40655,40658],{},[2363,40650,40651],{},"DevDays Europe 2025",[2363,40653,40654],{},"Vilnius, Lithuania",[2363,40656,40657],{},"May 21-23, 2025"," We’re excited to announce that our Co-founder & COO, Anastasiia Zvenigorodskaia, will be speaking at DevDays Europe 2025 – one of the leading software development conferences in Europe, taking place in Vilnius, Lithuania.\nIn her talk, Anastasiia will explore how open-source projects can go beyond community value and become sustainable, profitable business assets.",[14,40660,40661],{},[14615,40662],{"alt":197,"src":40663},"\u002Fimages\u002Fblog\u002Fepicmax-devdays-europe-2025\u002F1740473534291.jpeg",[14,40665,40666],{},[2363,40667,40668],{},"What You’ll Learn",[2357,40670,40671,40674,40677,40680],{},[188,40672,40673],{},"How to transform open-source contributions into real business value",[188,40675,40676],{},"Proven monetization models: from freemium and premium support to dual licensing and enterprise partnerships",[188,40678,40679],{},"How to generate revenue while maintaining transparency and community trust",[188,40681,40682],{},"Strategies to align business goals with community-driven development",[14,40684,40685],{},"Whether you’re a startup founder, open-source contributor, or tech lead looking to bring structure and sustainability to your project — this talk is for you.",[14,40687,40688],{},[2363,40689,40690],{},"Why It Matters",[14,40692,40693],{},"Many open-source projects start as passion-driven ideas, but without a solid strategy, they risk burnout or stagnation. Anastasiia will share her real-world experience of scaling community-driven initiatives into business-ready products — and how to do it without compromising your values.",[14,40695,40696],{},[2363,40697,40698],{},"Let’s Meet in Vilnius",[14,40700,40701,40703],{},[2363,40702,40651],{}," is a perfect opportunity to connect with developers, leaders, and creators from across the continent.\nReserve your spot, join the conversation, and let’s unlock the true business potential of open source — together.",[14,40705,40706,4218,40709,4218,40713],{},[2363,40707,40708],{},"Register and learn more:",[128,40710,40711],{"href":40711,"rel":40712},"https:\u002F\u002Fdevdays.lt\u002F",[4980],[128,40714,40716],{"href":40715},"\u002Fblog","All News and Events",{"title":197,"searchDepth":264,"depth":264,"links":40718},[],"Epicmax Co-founder & COO Anastasiia Zvenigorodskaia will speak at DevDays Europe 2025 in Vilnius on “How to Make Open Source Profitable.” Discover strategies to turn open-source projects into sustainable and revenue-generating business assets.","\u002Fimages\u002Fblog\u002Fepicmax-devdays-europe-2025\u002Fcard.jpeg",{},"\u002Fblog\u002Fepicmax-devdays-europe-2025",{"title":40644,"description":40719},"blog\u002Fepicmax-devdays-europe-2025","2WOudZC549xdqQlST42Ffof8jKrsR3RZT54j67VuNMI",{"id":40727,"title":40728,"articleType":1008,"author":12943,"authorSlug":1008,"body":40729,"cta":1008,"date":40805,"description":40806,"extension":1011,"faq":1008,"featured":1021,"image":40807,"meta":40808,"navigation":653,"noCtaBox":1021,"path":40809,"readTime":1008,"seo":40810,"seoTitle":1008,"stem":40811,"tags":1008,"topic":15025,"video":1008,"__hash__":40812},"blog\u002Fblog\u002Fsalamanca-ole.md","Epicmax at Startup Olé 2024 – Startup Networking in Spain",{"type":11,"value":40730,"toc":40803},[40731,40735,40745,40750,40753,40756,40761,40764,40769,40783,40789,40794],[5993,40732,40734],{"id":40733},"epicmax-at-startup-olé-salamanca","Epicmax at Startup Olé Salamanca 🇪🇸",[14,40736,40737,40738,40740,40741,40744],{},"📅 October 2024\n📍 Salamanca, Spain Last week, part of the ",[2363,40739,16284],{}," team took part in",[2363,40742,40743],{},"Startup Olé 2024"," in Salamanca — and what a ride it was! 🚀",[14,40746,40747],{},[14615,40748],{"alt":197,"src":40749},"\u002Fimages\u002Fblog\u002Fsalamanca-ole\u002F3.jpg",[14,40751,40752],{},"From the very first minute, the event felt like a celebration of creativity, technology, and collaboration. We were surrounded by inspiring startup founders, investors, mentors, and innovators from all over Europe — and beyond. The energy was amazing, the conversations were deep, and the ideas were endless.",[14,40754,40755],{},"Our COO, Anastasiia Zvenigorodskaia, shared her thoughts after the event:",[14,40757,40758],{},[14885,40759,40760],{},"\"I haven’t seen so many amazing and friendly people gathered in one place 😍. Thanks to everyone who shared valuable insights and patiently listened to my non-stop ideas on how to optimize literally everything =)\"",[14,40762,40763],{},"We were blown away by the incredible projects presented — bold, smart, and full of purpose. And even if not everyone walked away with an award, it’s clear to us: you’re already on the path to success.",[14,40765,40766],{},[14615,40767],{"alt":197,"src":40768},"\u002Fimages\u002Fblog\u002Fsalamanca-ole\u002F4.jpg",[14,40770,40771,40774,40775,40778,40779,40782],{},[2363,40772,40773],{},"Why Events Like Startup Olé Matter","\nAt Epicmax, we’re passionate about building tools and frameworks that help teams scale. Whether it’s through open source (hello, ",[128,40776,13021],{"href":37887,"rel":40777},[4980]," 👋), ",[128,40780,40781],{"href":908},"consulting services",", or sharing insights, we believe in empowering people to do more with less chaos.\nEvents like Startup Olé remind us how much potential there is when tech meets community. It's not just about funding or pitching — it's about listening, exchanging, and building real connections.",[14,40784,40785,40788],{},[2363,40786,40787],{},"Salamanca — Windy, Rainy, and Unforgettable","\nFor us, this was also a first visit to Salamanca, and it instantly became one of our favorite cities in Spain. The historic streets, cozy record shops, and unbelievably good food… it’s a place we’ll definitely return to (hopefully with more sunshine next time ☀️🌧️).",[14,40790,40791],{},[14615,40792],{"alt":197,"src":40793},"\u002Fimages\u002Fblog\u002Fsalamanca-ole\u002F5.jpg",[14,40795,40796,40797,40800,40801],{},"We’re leaving this event full of ideas, new friends, and renewed energy. Thanks again to ",[2363,40798,40799],{},"Startup Olé Accelerator"," for organizing such a powerful gathering. See you soon — at the next conference! ✨ ",[128,40802,40716],{"href":40715},{"title":197,"searchDepth":264,"depth":264,"links":40804},[],"2024-04-07","Epicmax joined Startup Olé 2024 in Salamanca, Spain – connecting with startups, sharing growth ideas, and exploring innovation, open source, and tech networking.","\u002Fimages\u002Fblog\u002Fsalamanca-ole\u002Fcard.jpg",{},"\u002Fblog\u002Fsalamanca-ole",{"title":40728,"description":40806},"blog\u002Fsalamanca-ole","tOzYgqHn3gNNEe4WD3S6j2PI0OZNfpsTsycmDkii6qw",{"id":40814,"title":40815,"articleType":1008,"author":12943,"authorSlug":1008,"body":40816,"cta":1008,"date":40805,"description":40918,"extension":1011,"faq":1008,"featured":1021,"image":40919,"meta":40920,"navigation":653,"noCtaBox":1021,"path":40921,"readTime":1008,"seo":40922,"seoTitle":1008,"stem":40923,"tags":40924,"topic":15025,"video":1008,"__hash__":40925},"blog\u002Fblog\u002Fvuejs-conf-2024.md","Epicmax at Vue.js.de Conf 2024 Germany – Vue.js & UI Library Talk",{"type":11,"value":40817,"toc":40914},[40818,40824,40831,40837,40840,40844,40847,40861,40864,40868,40871,40874,40877,40880,40894,40897,40906,40912],[14,40819,40820,40821,40823],{},"📅 October 8–9, 2024",[26786,40822],{},"\n📍 Vue.js.de Conf, Germany",[14,40825,40826,40827,40830],{},"We’re excited to announce that Yauheni Prakopchyk, CTO at Epicmax and lead developer of the open-source Vuestic UI component framework, will be speaking at ",[2363,40828,40829],{},"Vue.js.de Conf 2024"," – one of the leading Vue.js conferences in Europe!",[14,40832,40833],{},[14615,40834],{"alt":40835,"src":40836},"Vue.js.de Conf 2024 Germany — Epicmax CTO Yauheni Prakopchyk speaker announcement","\u002Fimages\u002Fblog\u002Fvuejs-conf-2024\u002Fvuejs_talks_7_1080_x.jpg",[14,40838,40839],{},"If you're passionate about Vue.js development, building scalable front-end architecture, and UI component libraries, this is a talk you won't want to miss.",[18,40841,40843],{"id":40842},"talk-cooking-up-a-ui-component-library","🎤 Talk: Cooking Up a UI Component Library",[14,40845,40846],{},"In his session, Yauheni will walk through the process of creating a custom Vue.js UI component library from scratch. He’ll dive deep into:",[2357,40848,40849,40852,40855,40858],{},[188,40850,40851],{},"When and why your company should build its own Vue.js component system",[188,40853,40854],{},"Common mistakes in front-end library development",[188,40856,40857],{},"Best practices for planning, testing, accessibility, and documentation",[188,40859,40860],{},"Lessons from developing Vuestic UI, an open-source Vue 3 component framework trusted by thousands of developers",[14,40862,40863],{},"Whether you’re a startup scaling your design system or an enterprise building internal tools, this session will provide actionable insights into Vue.js UI architecture and component-driven development.",[18,40865,40867],{"id":40866},"about-the-speaker","👨‍💻 About the Speaker",[14,40869,40870],{},"Yauheni Prakopchyk, CTO @ Epicmax.",[14,40872,40873],{},"Yauheni is a seasoned front-end engineer with 10+ years of experience in full-stack development. After transitioning from Laravel to Vue.js, he became a core contributor and visionary behind Vuestic UI – a powerful, open-source Vue.js UI library.",[14,40875,40876],{},"As CTO at Epicmax, Yauheni leads the engineering team, contributes to open source, and mentors companies on scaling their Vue.js applications and component libraries. He has spoken at international Vue conferences, including VueConf Toronto 2022 and VueJs Amsterdam 2023.",[14,40878,40879],{},"If you're attending Vue.js.de Conf 2024 in Germany and want to chat about:",[2357,40881,40882,40885,40888,40891],{},[188,40883,40884],{},"Building open-source tools with Vue.js",[188,40886,40887],{},"Creating efficient, accessible UI component systems",[188,40889,40890],{},"Scaling front-end architecture with Vue",[188,40892,40893],{},"Collaborating on Vuestic UI or Epicmax services",[14,40895,40896],{},"… we’d love to meet you in person!",[14,40898,40899,40900,40905],{},"📅 ",[128,40901,40904],{"href":40902,"rel":40903},"https:\u002F\u002Fcalendar.app.google\u002FnqGDauqE7kCkxExX7",[4980],"Book a meeting with our team"," – let’s talk Vue.js, open source, and building better tools together.",[14,40907,40908],{},[14615,40909],{"alt":40910,"src":40911},"Vue.js.de Conf 2024 venue and audience","\u002Fimages\u002Fblog\u002Fvuejs-conf-2024\u002F1727958978221.jpeg",[6170,40913],{"label":40716,"to":40715},{"title":197,"searchDepth":264,"depth":264,"links":40915},[40916,40917],{"id":40842,"depth":224,"text":40843},{"id":40866,"depth":224,"text":40867},"Join Epicmax CTO at Vue.js.de Conf 2024 to learn how to build scalable Vue 3 UI component libraries with best practices in architecture, testing, accessibility, and open source.","\u002Fimages\u002Fblog\u002Fvuejs-conf-2024\u002Fcard.jpg",{},"\u002Fblog\u002Fvuejs-conf-2024",{"title":40815,"description":40918},"blog\u002Fvuejs-conf-2024",[2822],"S0avesQNQVMohjVlHxVKKU7U7lynOOpa5fL6wTnGHbM",{"id":40927,"title":40928,"articleType":1008,"author":12943,"authorSlug":1008,"body":40929,"cta":1008,"date":41209,"description":41210,"extension":1011,"faq":1008,"featured":1021,"image":41211,"meta":41212,"navigation":653,"noCtaBox":1021,"path":41213,"readTime":1008,"seo":41214,"seoTitle":1008,"stem":41215,"tags":41216,"topic":13049,"video":1008,"__hash__":41217},"blog\u002Fblog\u002Fekool.md","eKool Case Study: K12 EdTech Platform Built with Vuetify and Vue.js",{"type":11,"value":40930,"toc":41193},[40931,40935,40946,40953,40959,40962,40965,40969,40993,40997,41000,41017,41023,41027,41031,41042,41046,41054,41058,41069,41073,41081,41085,41097,41101,41127,41131,41134,41151,41154,41158,41166,41170,41173,41184,41187,41191],[18,40932,40934],{"id":40933},"ekool-a-national-k12-education-platform","eKool: A National K12 Education Platform",[14,40936,40937,40938,40941,40942,40945],{},"Looking to build a scalable ",[2363,40939,40940],{},"online school platform"," or modern ",[2363,40943,40944],{},"K12 EdTech solution","? Discover how Epicmax used Vue.js and Vuetify to help eKool—Estonia’s national education system—scale across 90% of the country’s schools.",[14,40947,40948,40949,40952],{},"👉 ",[128,40950,40951],{"href":13646},"Check out the full eKool case study"," and explore what Epicmax can do for educational platform.",[14,40954,40955],{},[14615,40956],{"alt":40957,"src":40958},"eKool K12 education platform — Vue.js dashboard for students, teachers, and parents","\u002Fimages\u002Fblog\u002Fekool\u002F67444fbf19301343be44.png",[14,40960,40961],{},"eKool is a digital learning platform that powers communication and collaboration between students, teachers, school administrators, parents, and government authorities.",[14,40963,40964],{},"Designed for K12 education, it’s one of the most widely adopted online learning platforms in Europe. With over 90% of Estonian schools using it, eKool supports assignment tracking, grading, communication, and real-time updates for nearly 30% of Estonia’s population.",[18,40966,40968],{"id":40967},"why-vuejs-is-the-best-choice-for-online-learning-platforms","Why Vue.js Is the Best Choice for Online Learning Platforms",[14,40970,40971,40972,40974,40975,40977,40978,40980,40981,40983,40984,40986,40987,40989,40990,40992],{},"When building a scalable K12 educational platform or online school, choosing the right frontend framework is critical. Here’s why Vue.js is a top choice for EdTech:",[26786,40973],{},"\n⚡ Fast load times for students and teachers across devices",[26786,40976],{},"\n🧩 Component-based architecture for reusable educational features",[26786,40979],{},"\n📚 Support for real-time dashboards, notifications, calendars, and grading systems",[26786,40982],{},"\n🧠 Intuitive syntax, perfect for mixed-skill dev teams",[26786,40985],{},"\n🛠️ Ecosystem of tools: Vue 3, Vuetify, Pinia, Vuex, Vite",[26786,40988],{},"\n🔄 Long-term maintainability for public-sector apps",[26786,40991],{},"\n👨🏫 Trusted by schools, universities, and online learning platforms globally",[18,40994,40996],{"id":40995},"project-challenges","Project Challenges",[14,40998,40999],{},"eKool’s microservices-based architecture posed several challenges:",[2357,41001,41002,41005,41008,41011,41014],{},[188,41003,41004],{},"Lack of design and structure consistency across services",[188,41006,41007],{},"Need for a custom UI component library with Vuetify",[188,41009,41010],{},"Migration from Vue 2 to Vue 3",[188,41012,41013],{},"Legacy technologies blocking performance",[188,41015,41016],{},"Need for clear, centralized developer documentation",[14,41018,41019,41022],{},[2363,41020,41021],{},"Our goal:"," modernize and unify eKool’s frontend infrastructure while keeping the user experience intuitive and efficient for students, teachers, and admins.",[18,41024,41026],{"id":41025},"our-solution-for-a-scalable-edtech-platform","Our Solution for a Scalable EdTech Platform",[169,41028,41030],{"id":41029},"custom-ui-component-library-with-vuetify","🧩 Custom UI Component Library with Vuetify",[2357,41032,41033,41036,41039],{},[188,41034,41035],{},"Designed to wrap Vuetify with school-specific branding and behavior",[188,41037,41038],{},"Ensured reusability across multiple apps",[188,41040,41041],{},"Followed best UX practices for online learning platforms",[169,41043,41045],{"id":41044},"documentation-built-in-storybook","📘 Documentation Built in Storybook",[2357,41047,41048,41051],{},[188,41049,41050],{},"Made for fast onboarding of EdTech development teams",[188,41052,41053],{},"Included live examples, usage guidelines, and developer notes",[169,41055,41057],{"id":41056},"️-vue-3-migration","⚙️ Vue 3 Migration",[2357,41059,41060,41063,41066],{},[188,41061,41062],{},"Migrated core components to Vue 3",[188,41064,41065],{},"Applied Composition API and modern patterns",[188,41067,41068],{},"Removed outdated dependencies and improved app speed",[169,41070,41072],{"id":41071},"boilerplate-for-new-microservices","🚀 Boilerplate for New Microservices",[2357,41074,41075,41078],{},[188,41076,41077],{},"Ready-to-use template with routing, layout, and component integration",[188,41079,41080],{},"Ideal for launching new features like online gradebooks, report generators, or messaging tools",[18,41082,41084],{"id":41083},"key-results","Key Results",[14,41086,41087,41088,41090,41091,41093,41094,41096],{},"✅ Unified and scalable UI across the entire K12 platform",[26786,41089],{},"\n✅ Improved development speed for new education modules",[26786,41092],{},"\n✅ Future-ready frontend with Vue 3, Vuetify, and Pinia",[26786,41095],{},"\n✅ Clean, maintainable codebase built for long-term growth",[18,41098,41100],{"id":41099},"tech-stack-for-online-school-development","Tech Stack for Online School Development",[2357,41102,41103,41109,41115,41121],{},[188,41104,41105,41108],{},[2363,41106,41107],{},"Frontend:"," Vue.js 2 → Vue 3, Vuetify, Pinia, Composition API",[188,41110,41111,41114],{},[2363,41112,41113],{},"Tooling:"," Storybook, ESLint, Vite",[188,41116,41117,41120],{},[2363,41118,41119],{},"Architecture:"," Microservices with backend integrations",[188,41122,41123,41126],{},[2363,41124,41125],{},"Design Focus:"," Accessibility, mobile support, multilingual UI",[18,41128,41130],{"id":41129},"why-epicmax-for-vuejs-edtech-development","Why Epicmax for Vue.js EdTech Development?",[14,41132,41133],{},"Epicmax is a Vue.js-focused agency trusted by startups, government platforms, and global enterprises. If you’re building a K12 EdTech product, online school, or educational dashboard, we can help you:",[2357,41135,41136,41139,41142,41145,41148],{},[188,41137,41138],{},"Audit your existing system",[188,41140,41141],{},"Migrate to Vue 3 and modern tools",[188,41143,41144],{},"Build a frontend from scratch",[188,41146,41147],{},"Create a design system for your platform",[188,41149,41150],{},"Launch fast and scale safely",[14,41152,41153],{},"We blend engineering with product thinking — and we understand how to build platforms that support millions of users in education.",[18,41155,41157],{"id":41156},"got-an-edtech-project-in-mind","Got an EdTech Project in Mind?",[14,41159,41160,41161,41165],{},"Let’s bring it to life. Contact us at ",[128,41162,41164],{"href":41163},"mailto:hello@epicmax.co","hello@epicmax.co"," or via WhatsApp, and let’s discuss how we can help you build the next big thing in online learning.",[18,41167,41169],{"id":41168},"about-epicmax","About Epicmax",[14,41171,41172],{},"Epicmax is a core contributor to the Vue.js ecosystem, known for open-source tools like:",[2357,41174,41175,41178,41181],{},[188,41176,41177],{},"Vuestic UI – UI framework for Vue 3",[188,41179,41180],{},"Vuestic Admin – Admin dashboard for Vue.js",[188,41182,41183],{},"Epic Spinners – Lightweight Vue animation library",[14,41185,41186],{},"We help you build better, faster, and smarter—especially when education is on the line.",[14,41188,40948,41189,40952],{},[128,41190,40951],{"href":13646},[6170,41192],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":41194},[41195,41196,41197,41198,41204,41205,41206,41207,41208],{"id":40933,"depth":224,"text":40934},{"id":40967,"depth":224,"text":40968},{"id":40995,"depth":224,"text":40996},{"id":41025,"depth":224,"text":41026,"children":41199},[41200,41201,41202,41203],{"id":41029,"depth":264,"text":41030},{"id":41044,"depth":264,"text":41045},{"id":41056,"depth":264,"text":41057},{"id":41071,"depth":264,"text":41072},{"id":41083,"depth":224,"text":41084},{"id":41099,"depth":224,"text":41100},{"id":41129,"depth":224,"text":41130},{"id":41156,"depth":224,"text":41157},{"id":41168,"depth":224,"text":41169},"2024-03-27","Discover how Epicmax used Vue.js and Vuetify to build eKool — a K12 EdTech platform for online schools. Scalable architecture, UI library & Vue 3 migration.","\u002Fimages\u002Fblog\u002Fekool\u002Fcard.png",{},"\u002Fblog\u002Fekool",{"title":40928,"description":41210},"blog\u002Fekool",[2822],"axDiJaIuHktmCh6GFGZQ9F_AyV0c5o5z1-7fAs6cg_Y",{"id":41219,"title":41220,"articleType":1008,"author":12943,"authorSlug":1008,"body":41221,"cta":1008,"date":41335,"description":41336,"extension":1011,"faq":1008,"featured":1021,"image":41337,"meta":41338,"navigation":653,"noCtaBox":1021,"path":41339,"readTime":1008,"seo":41340,"seoTitle":1008,"stem":41341,"tags":41342,"topic":13049,"video":1008,"__hash__":41343},"blog\u002Fblog\u002Fepicmax-partners-with-vuejobs.md","Epicmax Partners with VueJobs to Enhance the Vue.js Ecosystem",{"type":11,"value":41222,"toc":41329},[41223,41226,41230,41233,41242,41245,41249,41252,41284,41288,41308,41314,41318,41321,41324,41327],[14,41224,41225],{},"VueJobs is the leading job portal for Vue.js developers. We are thrilled to announce that Epicmax has officially partnered with VueJobs, marking an exciting milestone in our journey to provide top-tier services and support to the Vue.js community.",[18,41227,41229],{"id":41228},"what-this-partnership-means-for-you","What This Partnership Means for You",[14,41231,41232],{},"As an Epicmax client, you can now take advantage of exclusive benefits through VueJobs. This includes a special discount on our services, designed to enhance your project's success and ensure top-quality outcomes.",[14,41234,41235,41236,41241],{},"Specifically, you can now get 10% off our professional ",[2363,41237,41238],{},[128,41239,41240],{"href":2284},"Vue.js code audit services"," by using the promo code VUEJOBS.",[14,41243,41244],{},"Our goal is to make it easier for businesses to connect with skilled Vue.js developers and elevate the quality of their codebases through our expert services.",[18,41246,41248],{"id":41247},"elevate-your-code-quality-with-epicmax","Elevate Your Code Quality with Epicmax",[14,41250,41251],{},"At Epicmax, we understand the importance of clean, efficient, and secure code. That's why we offer comprehensive Vue.js code audits to ensure your code meets the highest standards. Our code audit services cover every aspect of your project, including:",[2357,41253,41254,41257,41260,41263,41266,41269,41272,41275,41278,41281],{},[188,41255,41256],{},"Technical Debt: Identifying and reducing suboptimal code solutions.",[188,41258,41259],{},"Code Quality & Standards: Ensuring adherence to best practices.",[188,41261,41262],{},"Code Structure: Assessing design and organization for maintainability.",[188,41264,41265],{},"Deployment & Build: Streamlining build processes and deployment pipelines.",[188,41267,41268],{},"Security: Detecting and addressing vulnerabilities.",[188,41270,41271],{},"Testing: Reviewing and improving testing methods.",[188,41273,41274],{},"Performance: Optimizing speed and resource usage.",[188,41276,41277],{},"Error Handling: Implementing robust error management systems.",[188,41279,41280],{},"External Libraries & Plugins: Evaluating the necessity and effectiveness of third-party tools.",[188,41282,41283],{},"Documentation: Ensuring clear and thorough documentation for future maintenance.",[18,41285,41287],{"id":41286},"who-gains-from-our-code-audit","Who Gains from Our Code Audit?",[2357,41289,41290,41293,41296,41299,41302,41305],{},[188,41291,41292],{},"Startups Seeking Investment: Perfect your pitch and captivate investors with a polished, investor-ready codebase.",[188,41294,41295],{},"CTOs Focused on Excellence: Assure top-notch quality in your tech stack with our comprehensive code audit.",[188,41297,41298],{},"Managers Focused on Quality: Enhance your product's quality and user satisfaction through detailed code insights.",[188,41300,41301],{},"Business Owners Ensuring Project Health: Stay informed about your project's frontend health without deep-diving into code.",[188,41303,41304],{},"Developers in the Pre-release Stage: Confirm your code's readiness and robustness before hitting the launch button.",[188,41306,41307],{},"Business Owners Pre-Investment: Validate the frontend quality of your potential investment to ensure it's a sound choice.",[14,41309,41310],{},[14615,41311],{"alt":41312,"src":41313},"Epicmax and VueJobs partnership announcement","\u002Fimages\u002Fblog\u002Fepicmax-partners-with-vuejobs\u002F66d5bab4d4ac84a36d32.jpeg",[18,41315,41317],{"id":41316},"why-choose-epicmax","Why Choose Epicmax?",[14,41319,41320],{},"With over 60 global projects under our belt, Epicmax combines deep Vue.js expertise with a commitment to innovation and transparency. Our experience in contributing to open-source projects and our dedication to delivering tailored solutions make us a trusted partner for businesses looking to enhance their Vue.js applications.",[14,41322,41323],{},"Whether you're hiring developers through VueJobs or seeking to improve your code quality, Epicmax is here to support your growth and success in the Vue.js ecosystem.",[14,41325,41326],{},"Ready to take your project to the next level? Contact us today to learn more about our services and how we can help you achieve your goals.",[6170,41328],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":41330},[41331,41332,41333,41334],{"id":41228,"depth":224,"text":41229},{"id":41247,"depth":224,"text":41248},{"id":41286,"depth":224,"text":41287},{"id":41316,"depth":224,"text":41317},"2023-03-27","We are thrilled to announce that Epicmax has officially partnered with VueJobs, the leading job portal for Vue.js developers. This collaboration marks an exciting milestone in our journey to provide top-tier services and support to the Vue.js community.","\u002Fimages\u002Fblog\u002Fepicmax-partners-with-vuejobs\u002Fcard.png",{},"\u002Fblog\u002Fepicmax-partners-with-vuejobs",{"title":41220,"description":41336},"blog\u002Fepicmax-partners-with-vuejobs",[2822],"b2J2Ylkyzwxz2cYqQW9U2mdnsrzOf2Q1I-KoPwQD5VY",{"id":41345,"title":41346,"articleType":1008,"author":12943,"authorSlug":1008,"body":41347,"cta":1008,"date":41335,"description":41462,"extension":1011,"faq":1008,"featured":1021,"image":41463,"meta":41464,"navigation":653,"noCtaBox":1021,"path":41465,"readTime":1008,"seo":41466,"seoTitle":1008,"stem":41467,"tags":1008,"topic":2823,"video":1008,"__hash__":41468},"blog\u002Fblog\u002Fnetlify-over-railway.md","Comparing Hosting Providers: Why Epicmax Chose Netlify Over Railway",{"type":11,"value":41348,"toc":41458},[41349,41358,41372,41376,41382,41393,41396,41402,41410,41415,41420,41423,41428,41433,41439,41441,41444,41451,41456],[14,41350,41351,41352,41357],{},"At Epicmax, we've recently decided to move our hosting provider from Railway to ",[128,41353,41356],{"href":41354,"rel":41355},"https:\u002F\u002Fwww.netlify.com\u002F?utm_source=epicmax&utm_campaign=epicmax_blog&utm_medium=epicmax_website&utm_content=epicmax_blogpost",[4980],"Netlify"," as we transition to Netlify's Open Source team plan, which includes, at the time of writing:",[2357,41359,41360,41363,41366,41369],{},[188,41361,41362],{},"1TB bandwidth per month",[188,41364,41365],{},"25,000 build minutes per month",[188,41367,41368],{},"2 million edge functions invocations per month",[188,41370,41371],{},"Up to 3 concurrent builds",[18,41373,41375],{"id":41374},"what-are-the-other-benefits-of-netlify-compared-to-railway","What are the other benefits of Netlify compared to Railway?",[14,41377,41378,41381],{},[2363,41379,41380],{},"1. Specialization in Jamstack architectures"," (JS, APIs, and Markup), whereas Railway is more suited for container-based stacks.",[14,41383,41384,41387,41388,534],{},[2363,41385,41386],{},"2. Comprehensive features",": Forms, Edge functions, Blobs, Image CDN, Cache Control, and analytics ",[128,41389,41392],{"href":41390,"rel":41391},"https:\u002F\u002Fdocs.netlify.com\u002Fplatform\u002Fprimitives\u002F",[4980],"out of the box",[14,41394,41395],{},"For instance, this is how real use metrics would look like:",[14,41397,41398],{},[14615,41399],{"alt":41400,"src":41401},"Netlify usage metrics dashboard","\u002Fimages\u002Fblog\u002Fnetlify-over-railway\u002F66fffd9346bbb7b46b76.png",[14,41403,41404,41405,25405],{},"Forms look very promising (haven't tried it yet, here's the ",[128,41406,41409],{"href":41407,"rel":41408},"https:\u002F\u002Fdocs.netlify.com\u002Fforms\u002Fsetup\u002F",[4980],"documentation",[14,41411,41412],{},[14615,41413],{"alt":41414,"src":41401},"Netlify forms setup interface",[14,41416,41417],{},[2363,41418,41419],{},"3. Supportive ecosystem and community.",[14,41421,41422],{},"E.g., Netlify has an impressive list of 3rd party integrations:",[14,41424,41425],{},[14615,41426],{"alt":41427,"src":41401},"Netlify third-party integrations directory",[14,41429,41430],{},[2363,41431,41432],{},"4. Powerful and well documented CLI tools",[14,41434,41435,41438],{},[2363,41436,41437],{},"5. Flexible tuning for your branches and deploy contexts."," Now we can build a preview for any commit, check it out via unique URL and then deploy for production for just a matter of several minutes.",[18,41440,914],{"id":913},[14,41442,41443],{},"Switching from Railway to Netlify has allowed us to take advantage of a more specialized platform for our Jamstack-based projects. With features like built-in forms, edge functions, image CDN, and a highly supportive ecosystem, Netlify offers a comprehensive solution tailored to our needs. Its robust CLI tools and flexible deployment options give us the ability to streamline our workflows and focus on delivering quality projects faster. As we continue to grow and evolve, Netlify's scalability and open-source support make it the perfect partner for our future endeavors.",[14,41445,41446,41447,41450],{},"If you're considering a hosting provider optimized for modern web architectures, we highly recommend giving ",[128,41448,41356],{"href":41354,"rel":41449},[4980]," a try.",[14,41452,41453],{},[14885,41454,41455],{},"Author: Dmitry Raichev, Senior Frontend Developer",[6170,41457],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":41459},[41460,41461],{"id":41374,"depth":224,"text":41375},{"id":913,"depth":224,"text":914},"In this article, we explain why Epicmax decided to switch from Railway to Netlify as our hosting provider. We explore the key advantages of Netlify’s Open Source team plan, including features like Jamstack architecture, powerful CLI tools, built-in forms, edge functions, and an extensive list of third-party integrations. Discover how Netlify's comprehensive features better align with our needs and why it stands out as the preferred choice over Railway.","\u002Fimages\u002Fblog\u002Fnetlify-over-railway\u002Fcard.png",{},"\u002Fblog\u002Fnetlify-over-railway",{"title":41346,"description":41462},"blog\u002Fnetlify-over-railway","K-XnshAop7hw_ySnKrDcJpRchBZSRWB9_f945pobskQ",{"id":41470,"title":41471,"articleType":1008,"author":12943,"authorSlug":1008,"body":41472,"cta":1008,"date":41335,"description":41564,"extension":1011,"faq":1008,"featured":1021,"image":41565,"meta":41566,"navigation":653,"noCtaBox":1021,"path":12970,"readTime":1008,"seo":41567,"seoTitle":1008,"stem":41568,"tags":41569,"topic":13049,"video":1008,"__hash__":41570},"blog\u002Fblog\u002Fprimevue.md","Epicmax and PrimeVue: A Partnership to Enhance Frontend Development",{"type":11,"value":41473,"toc":41557},[41474,41485,41488,41494,41497,41501,41504,41508,41511,41515,41518,41521,41538,41542,41545,41549,41552,41555],[20999,41475,41476],{},[14,41477,41478,41481,41482,534],{},[2363,41479,41480],{},"Update, October 2026:"," PrimeVue is now part of PrimeUI, the suite that also includes PrimeReact and PrimeNG, and Epicmax has become a ",[128,41483,41484],{"href":13043},"Premier PrimeUI Partner",[14,41486,41487],{},"PrimeVue is a rich set of open source UI Components for Vue. At Epicmax, we pride ourselves on delivering top-notch Vue.js solutions that push the boundaries of frontend development. Today, we're excited to announce a new chapter in our journey—a strategic partnership with PrimeVue, one of the leading UI component libraries for Vue.js.",[14,41489,41490],{},[14615,41491],{"alt":41492,"src":41493},"Epicmax and PrimeVue partnership announcement","\u002Fimages\u002Fblog\u002Fprimevue\u002F66eabd9e7a91f51354b6.jpeg",[14,41495,41496],{},"This collaboration reflects our shared commitment to providing businesses with high-quality, scalable, and performant applications. Together, we aim to support developers and enterprises in optimizing their products, ensuring they meet the highest standards of performance, security, and user experience.",[18,41498,41500],{"id":41499},"why-primevue","Why PrimeVue?",[14,41502,41503],{},"PrimeVue is renowned for its extensive suite of UI components, allowing developers to quickly and efficiently create stunning, feature-rich applications. With a strong focus on ease of use, flexibility, and modern design principles, PrimeVue has become a go-to resource for Vue.js developers. Our partnership with PrimeVue allows us to extend our capabilities and offer more comprehensive services to businesses using Vue.js technologies.",[18,41505,41507],{"id":41506},"epicmax-a-vuejs-expert","Epicmax: A Vue.js Expert",[14,41509,41510],{},"At Epicmax, we are dedicated to delivering top-tier development and consulting services for businesses relying on Vue.js. Our expertise spans across different industries, ensuring that we can tackle complex challenges and create solutions tailored to each client's needs. With over 57 completed projects and a deep understanding of frontend technologies, Epicmax stands out as a leader in the Vue.js ecosystem.",[18,41512,41514],{"id":41513},"what-we-offer","What We Offer",[14,41516,41517],{},"Through this partnership, Epicmax will deliver a wide range of services to complement PrimeVue's offerings. Our goal is to help businesses maximize the potential of their projects by ensuring best practices are followed and performance is optimized.",[14,41519,41520],{},"Here's what we offer as part of our collaboration with PrimeVue:",[2357,41522,41523,41526,41529,41535],{},[188,41524,41525],{},"Custom Vue.js Development: Whether you're starting from scratch or enhancing an existing project, our team delivers custom solutions tailored to your business needs. From building complex applications to creating responsive UIs, Epicmax ensures that your product is scalable and maintainable.",[188,41527,41528],{},"Frontend Code Audits: Our code audit service is designed to uncover hidden issues and inefficiencies in your codebase. We thoroughly review your frontend code to ensure it's optimized for performance, security, and scalability. With actionable recommendations, we'll help you get your code in shape for the future.",[188,41530,41531,41532,41534],{},"Consulting Services: Need expert guidance? Our ",[128,41533,17605],{"href":908}," offer the flexibility to assist you with anything from quick problem-solving to long-term strategic advice. We can help you fine-tune your frontend architecture, improve performance, and stay on track for success.",[188,41536,41537],{},"Team Extension: For businesses looking to scale quickly, our team extension services provide experienced Vue.js developers ready to join your project. Whether you need short-term help or long-term collaboration, we offer skilled professionals who can seamlessly integrate into your team.",[18,41539,41541],{"id":41540},"a-shared-vision-for-open-source","A Shared Vision for Open Source",[14,41543,41544],{},"Both PrimeVue and Epicmax believe in the power of open source. Our partnership aims to not only deliver quality solutions to businesses but also to contribute to the broader Vue.js community. Together, we're excited to work on projects that push the limits of what can be achieved with Vue.js, while also supporting the ongoing growth of open-source technologies.",[18,41546,41548],{"id":41547},"looking-ahead","Looking Ahead",[14,41550,41551],{},"As we embark on this partnership, we're thrilled about the opportunities ahead. By combining PrimeVue's powerful UI components with Epicmax's expertise in Vue.js development and consulting, we are confident that we'll deliver exceptional value to our clients and the broader community.",[14,41553,41554],{},"Stay tuned for exciting updates, special offers, and new services that will help you take your Vue.js projects to the next level. Together, we're building the future of frontend development—one line of code at a time.",[6170,41556],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":41558},[41559,41560,41561,41562,41563],{"id":41499,"depth":224,"text":41500},{"id":41506,"depth":224,"text":41507},{"id":41513,"depth":224,"text":41514},{"id":41540,"depth":224,"text":41541},{"id":41547,"depth":224,"text":41548},"At Epicmax, we pride ourselves on delivering top-notch Vue.js solutions that push the boundaries of frontend development. Today, we’re excited to announce a new chapter in our journey—a strategic partnership with PrimeVue, one of the leading UI component libraries for Vue.js.","\u002Fimages\u002Fblog\u002Fprimevue\u002Fcard.png",{},{"title":41471,"description":41564},"blog\u002Fprimevue",[2822],"QqrzcufhpAjIJ1kbG3uWslRQ25A5Pd3ikcmcvDFbiDU",{"id":41572,"title":19045,"articleType":7,"author":12943,"authorSlug":1008,"body":41573,"cta":1008,"date":41335,"description":41577,"extension":1011,"faq":1008,"featured":1021,"image":42837,"meta":42838,"navigation":653,"noCtaBox":1021,"path":19044,"readTime":1008,"seo":42839,"seoTitle":1008,"stem":42840,"tags":42841,"topic":1032,"video":1008,"__hash__":42842},"blog\u002Fblog\u002Fusing-jsx-with-vue.md",{"type":11,"value":41574,"toc":42833},[41575,41578,41587,41596,41599,41603,41606,41614,41844,41857,41861,41873,41890,41896,42025,42031,42037,42040,42184,42190,42330,42336,42498,42507,42634,42644,42647,42655,42767,42830],[14,41576,41577],{},"With Vue templates being the recommended way to build components by the framework standard, Vue also supports writing component markup using JSX or TSX with Typescript.",[14,41579,41580,41581,41586],{},"Despite common conception, JSX is not exclusive to React, although it was initially developed for and popularized by React as it’s way for writing markup within JavaScript. And even though Vue has it’s own alternative template syntax, ",[128,41582,41585],{"href":41583,"rel":41584},"https:\u002F\u002Fvuejs.org\u002Fguide\u002Fextras\u002Frender-function.html#functional-components",[4980],"official docs"," acknowledge it’s limitations and the benefits that come from having the full programmatic power of JavaScript at your disposal when generation the markup and recognize the need for it for solving complex scenarios.",[14,41588,41589,41590,41595],{},"Teams maintaining large legacy Vue apps often benefit from professional ",[2363,41591,41592],{},[128,41593,41594],{"href":17584},"Vue.js migration services"," to adopt JSX strategically, ensuring maintainability and consistency across the codebase.",[14,41597,41598],{},"Let’s have a look on what are the options with using it in Vue.",[18,41600,41602],{"id":41601},"how-jsx-is-possible-in-vue","How JSX is possible in Vue",[14,41604,41605],{},"Vue templates are syntactic sugar for you to right a more readable and DX-friendly way to create virtual DOM nodes (vnodes how Vue calls them) in an HTML-like markup.",[14,41607,41608,41609,534],{},"You can check in the compiled templates that what it translates into under the hood are render functions with calls to function that creates vnodes that is h() function. You can read more on relationship between templates and render function in ",[128,41610,41613],{"href":41611,"rel":41612},"https:\u002F\u002Fvuejs.org\u002Fguide\u002Fextras\u002Frendering-mechanism.html#templates-vs-render-functions",[4980],"Vue docs",[192,41615,41617],{"className":11083,"code":41616,"language":11085,"meta":197,"style":197},"const vnode = (\n  h(\n    'div',\n    {\n      id: 'foo',\n      class: 'bar',\n      \u002F\u002F here may go other props, possibly complex ones\n    },\n    [\n      \u002F* children *\u002F\n    ]\n  )\n);\n\nreturn (\n  \u003Cdiv class=\"container\">\n    \u003Cdiv class=\"header\">\n      Header content\n      {!isCompact && vnode}\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"footer\">\n      Footer content\n      {isCompact && vnode}\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n);\n",[137,41618,41619,41630,41637,41647,41652,41668,41683,41688,41692,41697,41702,41707,41711,41717,41721,41727,41745,41763,41767,41780,41788,41806,41810,41822,41830,41838],{"__ignoreMap":197},[201,41620,41621,41623,41626,41628],{"class":203,"line":204},[201,41622,660],{"class":659},[201,41624,41625],{"class":256}," vnode ",[201,41627,1353],{"class":260},[201,41629,6996],{"class":256},[201,41631,41632,41635],{"class":203,"line":224},[201,41633,41634],{"class":252},"  h",[201,41636,35027],{"class":256},[201,41638,41639,41641,41643,41645],{"class":203,"line":264},[201,41640,1847],{"class":260},[201,41642,6013],{"class":211},[201,41644,277],{"class":260},[201,41646,287],{"class":260},[201,41648,41649],{"class":203,"line":290},[201,41650,41651],{"class":260},"    {\n",[201,41653,41654,41657,41659,41661,41664,41666],{"class":203,"line":301},[201,41655,41656],{"class":267},"      id",[201,41658,271],{"class":260},[201,41660,309],{"class":260},[201,41662,41663],{"class":211},"foo",[201,41665,277],{"class":260},[201,41667,287],{"class":260},[201,41669,41670,41673,41675,41677,41679,41681],{"class":203,"line":319},[201,41671,41672],{"class":267},"      class",[201,41674,271],{"class":260},[201,41676,309],{"class":260},[201,41678,28134],{"class":211},[201,41680,277],{"class":260},[201,41682,287],{"class":260},[201,41684,41685],{"class":203,"line":329},[201,41686,41687],{"class":239},"      \u002F\u002F here may go other props, possibly complex ones\n",[201,41689,41690],{"class":203,"line":346},[201,41691,495],{"class":260},[201,41693,41694],{"class":203,"line":363},[201,41695,41696],{"class":256},"    [\n",[201,41698,41699],{"class":203,"line":380},[201,41700,41701],{"class":239},"      \u002F* children *\u002F\n",[201,41703,41704],{"class":203,"line":391},[201,41705,41706],{"class":256},"    ]\n",[201,41708,41709],{"class":203,"line":441},[201,41710,7067],{"class":256},[201,41712,41713,41715],{"class":203,"line":484},[201,41714,3779],{"class":256},[201,41716,19393],{"class":260},[201,41718,41719],{"class":203,"line":492},[201,41720,654],{"emptyLinePlaceholder":653},[201,41722,41723,41725],{"class":203,"line":498},[201,41724,14767],{"class":245},[201,41726,6996],{"class":256},[201,41728,41729,41731,41733,41735,41737,41739,41741,41743],{"class":203,"line":504},[201,41730,1723],{"class":260},[201,41732,6013],{"class":267},[201,41734,15430],{"class":659},[201,41736,1353],{"class":260},[201,41738,1356],{"class":260},[201,41740,38594],{"class":211},[201,41742,1356],{"class":260},[201,41744,1718],{"class":260},[201,41746,41747,41749,41751,41753,41755,41757,41759,41761],{"class":203,"line":5949},[201,41748,5556],{"class":260},[201,41750,6013],{"class":267},[201,41752,15430],{"class":659},[201,41754,1353],{"class":260},[201,41756,1356],{"class":260},[201,41758,20245],{"class":211},[201,41760,1356],{"class":260},[201,41762,1718],{"class":260},[201,41764,41765],{"class":203,"line":5956},[201,41766,38621],{"class":256},[201,41768,41769,41771,41773,41775,41778],{"class":203,"line":5965},[201,41770,38626],{"class":260},[201,41772,38629],{"class":256},[201,41774,27160],{"class":260},[201,41776,41777],{"class":256}," vnode",[201,41779,724],{"class":260},[201,41781,41782,41784,41786],{"class":203,"line":5970},[201,41783,5599],{"class":260},[201,41785,6013],{"class":267},[201,41787,1718],{"class":260},[201,41789,41790,41792,41794,41796,41798,41800,41802,41804],{"class":203,"line":5979},[201,41791,5556],{"class":260},[201,41793,6013],{"class":267},[201,41795,15430],{"class":659},[201,41797,1353],{"class":260},[201,41799,1356],{"class":260},[201,41801,20284],{"class":211},[201,41803,1356],{"class":260},[201,41805,1718],{"class":260},[201,41807,41808],{"class":203,"line":5988},[201,41809,38666],{"class":256},[201,41811,41812,41814,41816,41818,41820],{"class":203,"line":6008},[201,41813,7009],{"class":260},[201,41815,38629],{"class":256},[201,41817,27160],{"class":260},[201,41819,41777],{"class":256},[201,41821,724],{"class":260},[201,41823,41824,41826,41828],{"class":203,"line":6029},[201,41825,5599],{"class":260},[201,41827,6013],{"class":267},[201,41829,1718],{"class":260},[201,41831,41832,41834,41836],{"class":203,"line":6038},[201,41833,5608],{"class":260},[201,41835,6013],{"class":267},[201,41837,1718],{"class":260},[201,41839,41840,41842],{"class":203,"line":24104},[201,41841,3779],{"class":256},[201,41843,19393],{"class":260},[14,41845,41846,41847,534,41854,41856],{},"Vue also provides APIs that allow us to skip the template compilation step and directly author render functions via exporting h() function that you can manually call. This is described in docs on ",[2363,41848,41849],{},[128,41850,41853],{"href":41851,"rel":41852},"https:\u002F\u002Fvuejs.org\u002Fguide\u002Fextras\u002Frender-function.html#basic-usage",[4980],"Render Functions & JSX",[26786,41855],{},"\nJSX here comes into play here as an alternative syntactic sugar to define render functions, but contrary to Vue templates that are static JSX is written as part of your code directly so can be manipulated with it.",[18,41858,41860],{"id":41859},"setup","Setup",[14,41862,41863,41864,41869,41870,41872],{},"create-vue and Vue CLI both have options for scaffolding projects with pre-configured JSX support. In order to manually enable an existing Vite-based Vue project with JSX you should perform the following configuration. (If you have different environment, see ",[128,41865,41868],{"href":41866,"rel":41867},"https:\u002F\u002Fvuejs.org\u002Fguide\u002Fextras\u002Frender-function.html#jsx-tsx",[4980],"Vue docs on JSX\u002FTSX"," for configuring options)",[26786,41871],{},"\nInstall Vite plugin with command like:",[192,41874,41876],{"className":194,"code":41875,"language":196,"meta":197,"style":197},"npm install @vitejs\u002Fplugin-vue-jsx -D\n",[137,41877,41878],{"__ignoreMap":197},[201,41879,41880,41882,41884,41887],{"class":203,"line":204},[201,41881,578],{"class":207},[201,41883,23345],{"class":211},[201,41885,41886],{"class":211}," @vitejs\u002Fplugin-vue-jsx",[201,41888,41889],{"class":211}," -D\n",[14,41891,41892,41893],{},"Next, add plugin to the ",[2363,41894,41895],{},"vite.config.ts:",[192,41897,41899],{"className":11083,"code":41898,"language":11085,"meta":197,"style":197},"\u002F\u002F vite.config.js\n\nimport { defineConfig } from 'vite'\nimport vue from '@vitejs\u002Fplugin-vue'\nimport vueJsx from '@vitejs\u002Fplugin-vue-jsx'\n\nexport default defineConfig({\n  plugins: [\n    vue(),\n    vueJsx(),\n  ],\n  \u002F\u002F other configurations\n  ...\n});\n",[137,41900,41901,41906,41910,41928,41942,41958,41962,41974,41982,41991,42000,42007,42012,42017],{"__ignoreMap":197},[201,41902,41903],{"class":203,"line":204},[201,41904,41905],{"class":239},"\u002F\u002F vite.config.js\n",[201,41907,41908],{"class":203,"line":224},[201,41909,654],{"emptyLinePlaceholder":653},[201,41911,41912,41914,41916,41918,41920,41922,41924,41926],{"class":203,"line":264},[201,41913,626],{"class":245},[201,41915,631],{"class":260},[201,41917,23051],{"class":256},[201,41919,637],{"class":260},[201,41921,640],{"class":245},[201,41923,309],{"class":260},[201,41925,10158],{"class":211},[201,41927,648],{"class":260},[201,41929,41930,41932,41934,41936,41938,41940],{"class":203,"line":290},[201,41931,626],{"class":245},[201,41933,28669],{"class":256},[201,41935,23381],{"class":245},[201,41937,309],{"class":260},[201,41939,28676],{"class":211},[201,41941,648],{"class":260},[201,41943,41944,41946,41949,41951,41953,41956],{"class":203,"line":301},[201,41945,626],{"class":245},[201,41947,41948],{"class":256}," vueJsx ",[201,41950,23381],{"class":245},[201,41952,309],{"class":260},[201,41954,41955],{"class":211},"@vitejs\u002Fplugin-vue-jsx",[201,41957,648],{"class":260},[201,41959,41960],{"class":203,"line":319},[201,41961,654],{"emptyLinePlaceholder":653},[201,41963,41964,41966,41968,41970,41972],{"class":203,"line":329},[201,41965,246],{"class":245},[201,41967,249],{"class":245},[201,41969,23051],{"class":252},[201,41971,257],{"class":256},[201,41973,261],{"class":260},[201,41975,41976,41978,41980],{"class":203,"line":346},[201,41977,28699],{"class":267},[201,41979,271],{"class":260},[201,41981,388],{"class":256},[201,41983,41984,41987,41989],{"class":203,"line":363},[201,41985,41986],{"class":252},"    vue",[201,41988,6634],{"class":256},[201,41990,287],{"class":260},[201,41992,41993,41996,41998],{"class":203,"line":380},[201,41994,41995],{"class":252},"    vueJsx",[201,41997,6634],{"class":256},[201,41999,287],{"class":260},[201,42001,42002,42005],{"class":203,"line":391},[201,42003,42004],{"class":256},"  ]",[201,42006,287],{"class":260},[201,42008,42009],{"class":203,"line":441},[201,42010,42011],{"class":239},"  \u002F\u002F other configurations\n",[201,42013,42014],{"class":203,"line":484},[201,42015,42016],{"class":260},"  ...\n",[201,42018,42019,42021,42023],{"class":203,"line":492},[201,42020,507],{"class":260},[201,42022,3779],{"class":256},[201,42024,19393],{"class":260},[14,42026,42027,42028],{},"If you are using Typescript, make changes to ",[2363,42029,42030],{},"tsconfig.json :",[192,42032,42035],{"className":42033,"code":42034,"language":9281},[9279],"\u002F\u002F tsconfig.json\n\n{\n  \"compilerOptions\": {\n    \"jsx\": \"preserve\",\n    \"jsxImportSource\": \"vue\",\n    \u002F\u002F other compiler options\n    ...\n  }\n}\n",[137,42036,42034],{"__ignoreMap":197},[14,42038,42039],{},"Vue docs are not so exhaustive in the section covering the topic and just tell that in Composition API a render function can be returned from setup() hook to be treated as component’s render output. Then they only showcase usage with h() function for explicitly creating vnodes:",[192,42041,42043],{"className":11083,"code":42042,"language":11085,"meta":197,"style":197},"import { ref, h } from 'vue'\n\nexport default {\n  props: {\n    \u002F\u002F define props here\n    ...\n  },\n  setup(props) {\n    const count = ref(1)\n\n    \u002F\u002F return the render function\n    return () => h('div', props.msg + count.value)\n  }\n}\n",[137,42044,42045,42067,42071,42079,42087,42092,42097,42101,42113,42129,42133,42138,42176,42180],{"__ignoreMap":197},[201,42046,42047,42049,42051,42053,42055,42057,42059,42061,42063,42065],{"class":203,"line":204},[201,42048,626],{"class":245},[201,42050,631],{"class":260},[201,42052,9534],{"class":256},[201,42054,409],{"class":260},[201,42056,35931],{"class":256},[201,42058,637],{"class":260},[201,42060,640],{"class":245},[201,42062,309],{"class":260},[201,42064,1335],{"class":211},[201,42066,648],{"class":260},[201,42068,42069],{"class":203,"line":224},[201,42070,654],{"emptyLinePlaceholder":653},[201,42072,42073,42075,42077],{"class":203,"line":264},[201,42074,246],{"class":245},[201,42076,249],{"class":245},[201,42078,298],{"class":260},[201,42080,42081,42083,42085],{"class":203,"line":290},[201,42082,27687],{"class":267},[201,42084,271],{"class":260},[201,42086,298],{"class":260},[201,42088,42089],{"class":203,"line":301},[201,42090,42091],{"class":239},"    \u002F\u002F define props here\n",[201,42093,42094],{"class":203,"line":319},[201,42095,42096],{"class":260},"    ...\n",[201,42098,42099],{"class":203,"line":329},[201,42100,501],{"class":260},[201,42102,42103,42105,42107,42109,42111],{"class":203,"line":346},[201,42104,28036],{"class":267},[201,42106,257],{"class":260},[201,42108,20628],{"class":2106},[201,42110,3779],{"class":260},[201,42112,298],{"class":260},[201,42114,42115,42117,42119,42121,42123,42125,42127],{"class":203,"line":363},[201,42116,19770],{"class":659},[201,42118,12150],{"class":256},[201,42120,670],{"class":260},[201,42122,9534],{"class":252},[201,42124,257],{"class":267},[201,42126,27531],{"class":1268},[201,42128,510],{"class":267},[201,42130,42131],{"class":203,"line":380},[201,42132,654],{"emptyLinePlaceholder":653},[201,42134,42135],{"class":203,"line":391},[201,42136,42137],{"class":239},"    \u002F\u002F return the render function\n",[201,42139,42140,42142,42144,42146,42148,42150,42152,42154,42156,42158,42160,42162,42165,42168,42170,42172,42174],{"class":203,"line":441},[201,42141,25249],{"class":245},[201,42143,1996],{"class":260},[201,42145,1999],{"class":659},[201,42147,35931],{"class":252},[201,42149,257],{"class":267},[201,42151,277],{"class":260},[201,42153,6013],{"class":211},[201,42155,277],{"class":260},[201,42157,409],{"class":260},[201,42159,33741],{"class":256},[201,42161,534],{"class":260},[201,42163,42164],{"class":256},"msg",[201,42166,42167],{"class":260}," +",[201,42169,12150],{"class":256},[201,42171,534],{"class":260},[201,42173,3048],{"class":256},[201,42175,510],{"class":267},[201,42177,42178],{"class":203,"line":484},[201,42179,7326],{"class":260},[201,42181,42182],{"class":203,"line":492},[201,42183,724],{"class":260},[14,42185,42186,42187,42189],{},"The docs then imply that the render function can be written with JSX instead but don’t provide a complete example on this so let’s explore the options more closely.",[26786,42188],{},"\nThe equivalent of this with JSX would be:",[192,42191,42193],{"className":11083,"code":42192,"language":11085,"meta":197,"style":197},"\u002F\u002F Component.jsx\n\nimport { ref } from \"vue\"\n\nexport default {\n  setup(props) {\n    const count = ref(1)\n\n    \u002F\u002F render function with JSX\n    return () => (\n      \u003Cdiv>\n        {props.msg + count.value}\n      \u003C\u002Fdiv>\n    )\n  }\n}\n",[137,42194,42195,42199,42203,42221,42225,42233,42245,42261,42265,42270,42280,42288,42309,42317,42322,42326],{"__ignoreMap":197},[201,42196,42197],{"class":203,"line":204},[201,42198,19299],{"class":239},[201,42200,42201],{"class":203,"line":224},[201,42202,654],{"emptyLinePlaceholder":653},[201,42204,42205,42207,42209,42211,42213,42215,42217,42219],{"class":203,"line":264},[201,42206,626],{"class":245},[201,42208,631],{"class":260},[201,42210,9534],{"class":256},[201,42212,637],{"class":260},[201,42214,640],{"class":245},[201,42216,23058],{"class":260},[201,42218,1335],{"class":211},[201,42220,1362],{"class":260},[201,42222,42223],{"class":203,"line":290},[201,42224,654],{"emptyLinePlaceholder":653},[201,42226,42227,42229,42231],{"class":203,"line":301},[201,42228,246],{"class":245},[201,42230,249],{"class":245},[201,42232,298],{"class":260},[201,42234,42235,42237,42239,42241,42243],{"class":203,"line":319},[201,42236,28036],{"class":267},[201,42238,257],{"class":260},[201,42240,20628],{"class":2106},[201,42242,3779],{"class":260},[201,42244,298],{"class":260},[201,42246,42247,42249,42251,42253,42255,42257,42259],{"class":203,"line":329},[201,42248,19770],{"class":659},[201,42250,12150],{"class":256},[201,42252,670],{"class":260},[201,42254,9534],{"class":252},[201,42256,257],{"class":267},[201,42258,27531],{"class":1268},[201,42260,510],{"class":267},[201,42262,42263],{"class":203,"line":346},[201,42264,654],{"emptyLinePlaceholder":653},[201,42266,42267],{"class":203,"line":363},[201,42268,42269],{"class":239},"    \u002F\u002F render function with JSX\n",[201,42271,42272,42274,42276,42278],{"class":203,"line":380},[201,42273,25249],{"class":245},[201,42275,1996],{"class":260},[201,42277,1999],{"class":659},[201,42279,6996],{"class":267},[201,42281,42282,42284,42286],{"class":203,"line":391},[201,42283,5578],{"class":260},[201,42285,6013],{"class":267},[201,42287,1718],{"class":260},[201,42289,42290,42292,42294,42296,42299,42301,42303,42305,42307],{"class":203,"line":441},[201,42291,394],{"class":260},[201,42293,20628],{"class":256},[201,42295,534],{"class":260},[201,42297,42298],{"class":256},"msg ",[201,42300,12183],{"class":260},[201,42302,12150],{"class":256},[201,42304,534],{"class":260},[201,42306,3048],{"class":256},[201,42308,724],{"class":260},[201,42310,42311,42313,42315],{"class":203,"line":484},[201,42312,24275],{"class":260},[201,42314,6013],{"class":267},[201,42316,1718],{"class":260},[201,42318,42319],{"class":203,"line":492},[201,42320,42321],{"class":267},"    )\n",[201,42323,42324],{"class":203,"line":498},[201,42325,7326],{"class":260},[201,42327,42328],{"class":203,"line":504},[201,42329,724],{"class":260},[14,42331,42332,42333,42335],{},"The file extension should be .jsx here to enable it.",[26786,42334],{},"\nOr the same in Typescript in .tsx and wrapped with defineComponent:",[192,42337,42339],{"className":11083,"code":42338,"language":11085,"meta":197,"style":197},"\u002F\u002F Component.tsx\n\nimport { defineComponent, provide, inject, Ref, ref } from \"vue\"\n\nexport default defineComponent({\n  setup(props) {\n    const count = ref(1)\n\n    \u002F\u002F render function with JSX\n    return () => (\n      \u003Cdiv>\n        {props.msg + count.value}\n      \u003C\u002Fdiv>\n    )\n  }\n})\n",[137,42340,42341,42346,42350,42386,42390,42402,42414,42430,42434,42438,42448,42456,42476,42484,42488,42492],{"__ignoreMap":197},[201,42342,42343],{"class":203,"line":204},[201,42344,42345],{"class":239},"\u002F\u002F Component.tsx\n",[201,42347,42348],{"class":203,"line":224},[201,42349,654],{"emptyLinePlaceholder":653},[201,42351,42352,42354,42356,42358,42360,42363,42365,42367,42369,42372,42374,42376,42378,42380,42382,42384],{"class":203,"line":264},[201,42353,626],{"class":245},[201,42355,631],{"class":260},[201,42357,27654],{"class":256},[201,42359,409],{"class":260},[201,42361,42362],{"class":256}," provide",[201,42364,409],{"class":260},[201,42366,20558],{"class":256},[201,42368,409],{"class":260},[201,42370,42371],{"class":256}," Ref",[201,42373,409],{"class":260},[201,42375,9534],{"class":256},[201,42377,637],{"class":260},[201,42379,640],{"class":245},[201,42381,23058],{"class":260},[201,42383,1335],{"class":211},[201,42385,1362],{"class":260},[201,42387,42388],{"class":203,"line":290},[201,42389,654],{"emptyLinePlaceholder":653},[201,42391,42392,42394,42396,42398,42400],{"class":203,"line":301},[201,42393,246],{"class":245},[201,42395,249],{"class":245},[201,42397,27654],{"class":252},[201,42399,257],{"class":256},[201,42401,261],{"class":260},[201,42403,42404,42406,42408,42410,42412],{"class":203,"line":319},[201,42405,28036],{"class":267},[201,42407,257],{"class":260},[201,42409,20628],{"class":2106},[201,42411,3779],{"class":260},[201,42413,298],{"class":260},[201,42415,42416,42418,42420,42422,42424,42426,42428],{"class":203,"line":329},[201,42417,19770],{"class":659},[201,42419,12150],{"class":256},[201,42421,670],{"class":260},[201,42423,9534],{"class":252},[201,42425,257],{"class":267},[201,42427,27531],{"class":1268},[201,42429,510],{"class":267},[201,42431,42432],{"class":203,"line":346},[201,42433,654],{"emptyLinePlaceholder":653},[201,42435,42436],{"class":203,"line":363},[201,42437,42269],{"class":239},[201,42439,42440,42442,42444,42446],{"class":203,"line":380},[201,42441,25249],{"class":245},[201,42443,1996],{"class":260},[201,42445,1999],{"class":659},[201,42447,6996],{"class":267},[201,42449,42450,42452,42454],{"class":203,"line":391},[201,42451,5578],{"class":260},[201,42453,6013],{"class":267},[201,42455,1718],{"class":260},[201,42457,42458,42460,42462,42464,42466,42468,42470,42472,42474],{"class":203,"line":441},[201,42459,394],{"class":260},[201,42461,20628],{"class":256},[201,42463,534],{"class":260},[201,42465,42298],{"class":256},[201,42467,12183],{"class":260},[201,42469,12150],{"class":256},[201,42471,534],{"class":260},[201,42473,3048],{"class":256},[201,42475,724],{"class":260},[201,42477,42478,42480,42482],{"class":203,"line":484},[201,42479,24275],{"class":260},[201,42481,6013],{"class":267},[201,42483,1718],{"class":260},[201,42485,42486],{"class":203,"line":492},[201,42487,42321],{"class":267},[201,42489,42490],{"class":203,"line":498},[201,42491,7326],{"class":260},[201,42493,42494,42496],{"class":203,"line":504},[201,42495,507],{"class":260},[201,42497,510],{"class":256},[14,42499,42500,42501,42503,42504],{},"The former is what most articles show as examples and this may suggest that in order to use JSX in Vue one should ditch SFC and instead declare Options API style component mixing it up with setup() hook if you want to stick to the Composition API. But this is not the case.",[26786,42502],{},"\nYou can use to JSX or TSX inside Vue SFC with specifying lang=\"jsx\" or lang=\"tsx\" on ",[2936,42505,42506],{}," tag:",[192,42508,42510],{"className":11083,"code":42509,"language":11085,"meta":197,"style":197},"\u002F\u002F Component.vue\n\n\u003Cscript lang=\"tsx\">\nimport { defineComponent } from 'vue'\n\nexport default defineComponent({\n  setup(props) {\n    return () => (\n      \u003Cdiv>\n        Hello, World\n      \u003C\u002Fdiv>\n    )\n  }\n})\n\u003C\u002Fscript>\n",[137,42511,42512,42517,42521,42539,42554,42558,42565,42574,42584,42592,42602,42612,42616,42620,42626],{"__ignoreMap":197},[201,42513,42514],{"class":203,"line":204},[201,42515,42516],{"class":239},"\u002F\u002F Component.vue\n",[201,42518,42519],{"class":203,"line":224},[201,42520,654],{"emptyLinePlaceholder":653},[201,42522,42523,42525,42527,42529,42531,42533,42535,42537],{"class":203,"line":264},[201,42524,1342],{"class":260},[201,42526,2936],{"class":267},[201,42528,2942],{"class":659},[201,42530,1353],{"class":260},[201,42532,1356],{"class":260},[201,42534,6585],{"class":211},[201,42536,1356],{"class":260},[201,42538,1718],{"class":260},[201,42540,42541,42544,42546,42549,42551],{"class":203,"line":290},[201,42542,42543],{"class":256},"import ",[201,42545,1620],{"class":260},[201,42547,42548],{"class":256}," defineComponent ",[201,42550,507],{"class":260},[201,42552,42553],{"class":256}," from 'vue'\n",[201,42555,42556],{"class":203,"line":301},[201,42557,654],{"emptyLinePlaceholder":653},[201,42559,42560,42563],{"class":203,"line":319},[201,42561,42562],{"class":256},"export default defineComponent(",[201,42564,261],{"class":260},[201,42566,42567,42569,42572],{"class":203,"line":329},[201,42568,28036],{"class":252},[201,42570,42571],{"class":256},"(props) ",[201,42573,261],{"class":260},[201,42575,42576,42578,42580,42582],{"class":203,"line":346},[201,42577,25249],{"class":267},[201,42579,1996],{"class":260},[201,42581,1999],{"class":659},[201,42583,6996],{"class":256},[201,42585,42586,42588,42590],{"class":203,"line":363},[201,42587,5578],{"class":260},[201,42589,6013],{"class":207},[201,42591,1718],{"class":260},[201,42593,42594,42597,42599],{"class":203,"line":380},[201,42595,42596],{"class":207},"        Hello",[201,42598,409],{"class":260},[201,42600,42601],{"class":207}," World\n",[201,42603,42604,42606,42608,42610],{"class":203,"line":391},[201,42605,5578],{"class":260},[201,42607,1850],{"class":256},[201,42609,6013],{"class":207},[201,42611,1718],{"class":260},[201,42613,42614],{"class":203,"line":441},[201,42615,42321],{"class":256},[201,42617,42618],{"class":203,"line":484},[201,42619,7326],{"class":260},[201,42621,42622,42624],{"class":203,"line":492},[201,42623,507],{"class":260},[201,42625,510],{"class":256},[201,42627,42628,42630,42632],{"class":203,"line":498},[201,42629,1760],{"class":260},[201,42631,2936],{"class":267},[201,42633,1718],{"class":260},[14,42635,42636,42637,42640,42641],{},"You can even use JSX in ",[2936,42638,42639],{"setup":197}," with lang=\"tsx\" or lang=\"tsx\". In this scenario you can declare ** Functional Components","** in ",[2936,42642,42643],{"setup":197}," and use them in \u003Ctemplate> to render part of the markup**.**",[14,42645,42646],{},"Functional components are a lightweight form of component that must be pure functions and can’t have state or side-effect (pretty much like Function components in React before React hooks).",[14,42648,42649,42650,42654],{},"You can declare a single ",[128,42651,42653],{"href":41583,"rel":42652},[4980],"** Functional Components","** to produce your entire SFC markup like we did in the previous examples with component definition, you just need to call it not as a function but instantiate as a component:",[192,42656,42658],{"className":1333,"code":42657,"language":1335,"meta":197,"style":197},"\u002F\u002F Component.vue\n\n\u003Cscript lang=\"tsx\" setup>\nconst RenderComponent = () => (\n  \u003Cdiv>\n    Hello, World\n  \u003C\u002Fdiv>\n);\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CRenderComponent \u002F>\n\u003C\u002Ftemplate>\n",[137,42659,42660,42664,42668,42688,42703,42711,42716,42724,42730,42738,42742,42750,42759],{"__ignoreMap":197},[201,42661,42662],{"class":203,"line":204},[201,42663,42516],{"class":256},[201,42665,42666],{"class":203,"line":224},[201,42667,654],{"emptyLinePlaceholder":653},[201,42669,42670,42672,42674,42676,42678,42680,42682,42684,42686],{"class":203,"line":264},[201,42671,1342],{"class":260},[201,42673,2936],{"class":267},[201,42675,2942],{"class":659},[201,42677,1353],{"class":260},[201,42679,1356],{"class":260},[201,42681,6585],{"class":211},[201,42683,1356],{"class":260},[201,42685,2939],{"class":659},[201,42687,1718],{"class":260},[201,42689,42690,42692,42695,42697,42699,42701],{"class":203,"line":290},[201,42691,660],{"class":659},[201,42693,42694],{"class":256}," RenderComponent ",[201,42696,1353],{"class":260},[201,42698,1996],{"class":260},[201,42700,1999],{"class":659},[201,42702,6996],{"class":256},[201,42704,42705,42707,42709],{"class":203,"line":301},[201,42706,1723],{"class":260},[201,42708,6013],{"class":267},[201,42710,1718],{"class":260},[201,42712,42713],{"class":203,"line":319},[201,42714,42715],{"class":256},"    Hello, World\n",[201,42717,42718,42720,42722],{"class":203,"line":329},[201,42719,5608],{"class":260},[201,42721,6013],{"class":267},[201,42723,1718],{"class":260},[201,42725,42726,42728],{"class":203,"line":346},[201,42727,3779],{"class":256},[201,42729,19393],{"class":260},[201,42731,42732,42734,42736],{"class":203,"line":363},[201,42733,1760],{"class":260},[201,42735,2936],{"class":267},[201,42737,1718],{"class":260},[201,42739,42740],{"class":203,"line":380},[201,42741,654],{"emptyLinePlaceholder":653},[201,42743,42744,42746,42748],{"class":203,"line":391},[201,42745,1342],{"class":260},[201,42747,1715],{"class":267},[201,42749,1718],{"class":260},[201,42751,42752,42754,42757],{"class":203,"line":441},[201,42753,1723],{"class":260},[201,42755,42756],{"class":267},"RenderComponent",[201,42758,1539],{"class":260},[201,42760,42761,42763,42765],{"class":203,"line":484},[201,42762,1760],{"class":260},[201,42764,1715],{"class":267},[201,42766,1718],{"class":260},[14,42768,42769,42770],{},"But perhaps the most potent is that you can still use ",[1715,42771,42772,42773,42777,42778],{}," for most of your template like you normally would in Vue and occasionally embed a ",[128,42774,42776],{"href":41583,"rel":42775},[4980],"** Functional Component","** to produce some parts of the markup that can’t be easily expressed with the template syntax.",[14,42779,42780,42781,10891,42786,42788,42789,42792,42793],{},"One of the notable limitations is inability to define a template part and reuse it across template, for example when some block needs to appear in different places in the markup depending on some condition (although there is now an alternative pure-template solution for this problem that is explored in ",[128,42782,42785],{"href":42783,"rel":42784},"https:\u002F\u002Fwww.notion.so\u002FFixing-Vue-SFC-templates-for-React-developers-e449f064f64a4b6c9d3d303e107a71dc?pvs=21",[4980],"another article",[26786,42787],{},"\nThis part can be extracted into a ",[128,42790,42776],{"href":41583,"rel":42791},[4980],"** and reused across ",[1715,42794,42795,42796,42803,42812,42818,42823,42828],{}," :\n",[192,42797,42801],{"className":42798,"code":42800,"language":1335,"meta":197},[42799],"language-vue","\u002F\u002F Component.vue\n\n\u003Cscript lang=\"tsx\" setup>\nimport { ref } from 'vue';\n\nconst ReusedPart = () => (\n  \u003Cdiv>\n    Hello, World\n  \u003C\u002Fdiv>\n);\n\nconst someCondition = ref(true);\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003CReusedPart v-if=\"someCondition\" \u002F>\n  \u003C\u002Fdiv>\n  \u003Cdiv>\n    \u003CReusedPart v-if=\"!someCondition\" \u002F>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[137,42802,42800],{"__ignoreMap":197},[14,42804,42805,42811],{},[2363,42806,42807],{},[128,42808,42810],{"href":41583,"rel":42809},[4980],"Functional Component"," can be passed props, just like you would pass them to normal components:",[192,42813,42816],{"className":42814,"code":42815,"language":1335,"meta":197},[42799],"\u002F\u002F Component.vue\n\n\u003Cscript lang=\"tsx\" setup>\ninterface Props {\n  label: string;\n}\n\nconst SubComponentA = (props: Props) => (\n  \u003Cdiv>\n    \u003Clabel>{props.label}\u003C\u002Flabel>\n    \u003Cinput type=\"number\" \u002F>\n  \u003C\u002Fdiv>\n);\n\nconst SubComponentB = (props: Props) => (\n  \u003Cdiv>\n    \u003Clabel>{props.label}\u003C\u002Flabel>\n    \u003Ctextarea \u002F>\n  \u003C\u002Fdiv>\n);\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSubComponentA label=\"Label 1\" \u002F>\n  \u003CSubComponentB label=\"Label 2\" \u002F>\n  \u003CSubComponentA label=\"Label 3\" \u002F>\n  \u003CSubComponentB label=\"Label 4\" \u002F>\n\u003C\u002Ftemplate>\n",[137,42817,42815],{"__ignoreMap":197},[14,42819,42820],{},[2363,42821,42822],{},"Hope that this was a usefull tour on how to incorporate JSX in your Vue app to help you write your templates more easily.",[14,42824,42825],{},[14885,42826,42827],{},"Autor: Alexandra Petrova, Lead Frontend developer",[6170,42829],{"label":22616,"to":6173},[984,42831,42832],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .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 .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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":197,"searchDepth":264,"depth":264,"links":42834},[42835,42836],{"id":41601,"depth":224,"text":41602},{"id":41859,"depth":224,"text":41860},"\u002Fimages\u002Fblog\u002Fusing-jsx-with-vue\u002Fcard.png",{},{"title":19045,"description":41577},"blog\u002Fusing-jsx-with-vue",[2822],"4v8I0qqf5EKoJ3XQMcLwwEmOyWBZCG9EPqf9Dqj-M_s",{"id":42844,"title":42845,"articleType":1008,"author":12943,"authorSlug":1008,"body":42846,"cta":1008,"date":43064,"description":43065,"extension":1011,"faq":1008,"featured":1021,"image":43066,"meta":43067,"navigation":653,"noCtaBox":1021,"path":43068,"readTime":1008,"seo":43069,"seoTitle":1008,"stem":43070,"tags":43071,"topic":36349,"video":1008,"__hash__":43072},"blog\u002Fblog\u002Fvuestic-ui-1-10.md","Vuestic UI 1.10 Release: New Features and Optimizations",{"type":11,"value":42847,"toc":43052},[42848,42854,42857,42861,42865,42868,42874,42877,42957,42960,42964,42967,42970,42974,42977,42981,42985,42988,42996,42999,43004,43008,43015,43018,43029,43033,43036,43039,43047,43049],[14,42849,42850,42851],{},"Today, we've released a new version of Vuestic UI. You can find the repository here: ",[128,42852,37887],{"href":37887,"rel":42853},[4980],[14,42855,42856],{},"⭐️⭐️⭐️ If you're using Vuestic, please give us a star and share the news on your social media so more people can learn about Vuestic!",[18,42858,42860],{"id":42859},"new-features-in-vuestic-110","New Features in Vuestic 1.10",[169,42862,42864],{"id":42863},"input-mask-customizable-flexible","Input Mask: Customizable & Flexible",[14,42866,42867],{},"With Vuestic 1.10, we've introduced a new composable for building custom input masks. The useInputMask composable is a versatile solution that works with any HTML input element or vue component, including VaInput, VaDateInput, and more. The mask is based on regex syntax, allowing you to easily define the format you need.",[14,42869,42870],{},[14615,42871],{"alt":42872,"src":42873},"Vuestic UI 1.10 input mask example","\u002Fimages\u002Fblog\u002Fvuestic-ui-1-10\u002F66cc72c80f6b41b86ea9.png",[14,42875,42876],{},"Here's an example:",[192,42878,42880],{"className":11083,"code":42879,"language":11085,"meta":197,"style":197},"const phone = createRegexMask(\u002F(+\\d{1,3})? \\d\\d\\d-\\d\\d-\\d\\d\u002F)\n\u002F\u002F This mask will accept two phone formats. In traditional method it is:\n\u002F\u002F +### ###-##-## or ###-##-## where # is a number\n\u002F\u002F Notice that country code can be #, ## or ### and it is not required because of ?\n\nconst myPhoneInput = ref()\nuseInputMask(phone, myPhoneInput)\n",[137,42881,42882,42912,42917,42922,42927,42931,42944],{"__ignoreMap":197},[201,42883,42884,42886,42889,42891,42894,42896,42899,42902,42905,42908,42910],{"class":203,"line":204},[201,42885,660],{"class":659},[201,42887,42888],{"class":256}," phone ",[201,42890,1353],{"class":260},[201,42892,42893],{"class":252}," createRegexMask",[201,42895,257],{"class":256},[201,42897,42898],{"class":260},"\u002F(+",[201,42900,42901],{"class":211},"\\d",[201,42903,42904],{"class":260},"{1,3})?",[201,42906,42907],{"class":211}," \\d\\d\\d-\\d\\d-\\d\\d",[201,42909,1850],{"class":260},[201,42911,510],{"class":256},[201,42913,42914],{"class":203,"line":224},[201,42915,42916],{"class":239},"\u002F\u002F This mask will accept two phone formats. In traditional method it is:\n",[201,42918,42919],{"class":203,"line":264},[201,42920,42921],{"class":239},"\u002F\u002F +### ###-##-## or ###-##-## where # is a number\n",[201,42923,42924],{"class":203,"line":290},[201,42925,42926],{"class":239},"\u002F\u002F Notice that country code can be #, ## or ### and it is not required because of ?\n",[201,42928,42929],{"class":203,"line":301},[201,42930,654],{"emptyLinePlaceholder":653},[201,42932,42933,42935,42938,42940,42942],{"class":203,"line":319},[201,42934,660],{"class":659},[201,42936,42937],{"class":256}," myPhoneInput ",[201,42939,1353],{"class":260},[201,42941,9534],{"class":252},[201,42943,2967],{"class":256},[201,42945,42946,42949,42952,42954],{"class":203,"line":329},[201,42947,42948],{"class":252},"useInputMask",[201,42950,42951],{"class":256},"(phone",[201,42953,409],{"class":260},[201,42955,42956],{"class":256}," myPhoneInput)\n",[14,42958,42959],{},"We've also included built-in mask presets, such as createDateMask and createNumeralMask, which you can explore further in our updated documentation.",[169,42961,42963],{"id":42962},"sticky-table-headers-better-ux-for-large-tables","Sticky Table Headers: Better UX for Large Tables",[14,42965,42966],{},"Handling large data tables just got easier with the introduction of sticky table headers. The useStickyTableHeader composable creates a copy of the thead and keeps it visible as a fixed element when you scroll through long tables. This feature works with any HTML table or vue component, including VaDataTable.",[14,42968,42969],{},"All you need to do is pass your table element to useStickyTableHeader, and you're good to go!",[169,42971,42973],{"id":42972},"sticky-scrollbars-improve-visibility-and-ux","Sticky Scrollbars: Improve Visibility and UX",[14,42975,42976],{},"When working with large scroll containers or tables, it's easy to lose important columns or sections as users scroll. Vuestic 1.10 introduces the \"sticky scrollbar\" feature, which ensures that scrollbars remain visible even when they're outside the window bounds. This improvement helps users stay oriented and improves overall user experience.",[18,42978,42980],{"id":42979},"performance-optimization","Performance & Optimization",[169,42982,42984],{"id":42983},"bundle-size-reductions","Bundle Size Reductions",[14,42986,42987],{},"Performance matters, and we've made significant strides in reducing the bundle size in Vuestic 1.10. By reducing external dependencies, we've achieved impressive reductions:",[2357,42989,42990,42993],{},[188,42991,42992],{},"Core Build + Button: Reduced by 50% (from 173kb to 86kb).",[188,42994,42995],{},"Full Build: Reduced by 14% (from 1084kb to 946kb).",[14,42997,42998],{},"This means your applications will load faster and run more efficiently, using only the features you need.",[14,43000,43001],{},[14615,43002],{"alt":43003,"src":42873},"Vuestic UI 1.10 bundle size comparison",[18,43005,43007],{"id":43006},"introducing-the-vuestic-compiler-performance-developer-experience","Introducing the Vuestic Compiler: Performance & Developer Experience",[14,43009,43010,43011,43014],{},"As we continue to add more features and composables to Vuestic, we recognize the need to optimize the development process and prevent runtime overhead. That's why we're introducing the ",[2363,43012,43013],{},"Vuestic compiler",". This new tool is designed to enhance performance during build time, reducing complexity without sacrificing the developer experience.",[14,43016,43017],{},"Here's additional features you can play with right now:",[2357,43019,43020,43023,43026],{},[188,43021,43022],{},"Automatic Configuration: The compiler detects your vuestic.config.ts and sets up createVuestic in your main.ts. (Manual configuration is also supported, of course.)",[188,43024,43025],{},"CSS Layer Integration: If you're using Tailwind or UnoCSS, the compiler ensures that Vuestic styles are less important than your CSS framework. This solves a common issue where multiple stylesheets clash in production, causing layout inconsistencies.",[188,43027,43028],{},"Visual DevTools: Vuestic now includes new devtools that allow you to visually edit your application without needing to write a single line of code.",[18,43030,43032],{"id":43031},"looking-ahead-more-compiler-optimizations","Looking Ahead: More Compiler Optimizations",[14,43034,43035],{},"In the future, we plan to move more components into the Vuestic compiler, further optimizing performance without negatively impacting the developer experience. Stay tuned for updates as we continue refining and improving Vuestic UI!",[14,43037,43038],{},"With these new features and optimizations, Vuestic 1.10 offers better flexibility, performance, and usability, whether you're working with large tables, complex input fields, or modern CSS frameworks. We're excited to see what you build with these new tools and can't wait to continue improving your developer experience.",[14,43040,43041,43042,43046],{},"For more details, check out our updated ",[128,43043,41409],{"href":43044,"rel":43045},"https:\u002F\u002Fvuestic.dev\u002F",[4980]," and get started with Vuestic 1.10 today!",[6170,43048],{"label":22616,"to":6173},[984,43050,43051],{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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":197,"searchDepth":264,"depth":264,"links":43053},[43054,43059,43062,43063],{"id":42859,"depth":224,"text":42860,"children":43055},[43056,43057,43058],{"id":42863,"depth":264,"text":42864},{"id":42962,"depth":264,"text":42963},{"id":42972,"depth":264,"text":42973},{"id":42979,"depth":224,"text":42980,"children":43060},[43061],{"id":42983,"depth":264,"text":42984},{"id":43006,"depth":224,"text":43007},{"id":43031,"depth":224,"text":43032},"2023-03-26","We're excited to announce the release of Vuestic UI 1.10! This update brings a range of new features, optimizations, and improvements to enhance your development workflow and deliver better performance for your applications. In this blog post, we'll dive into the key highlights of this release, including input masks, sticky table headers, sticky scrollbars, bundle size reductions, and the introduction of the Vuestic compiler. Let's take a closer look at each of these exciting updates.","\u002Fimages\u002Fblog\u002Fvuestic-ui-1-10\u002Fcard.png",{},"\u002Fblog\u002Fvuestic-ui-1-10",{"title":42845,"description":43065},"blog\u002Fvuestic-ui-1-10",[2822],"N2mnNoEA954ljrAEZ2sansccNgih7yA0Dryka6RwUeI",{"id":43074,"title":43075,"articleType":1008,"author":12943,"authorSlug":1008,"body":43076,"cta":1008,"date":43139,"description":43140,"extension":1011,"faq":1008,"featured":1021,"image":43141,"meta":43142,"navigation":653,"noCtaBox":1021,"path":43143,"readTime":1008,"seo":43144,"seoTitle":1008,"stem":43145,"tags":1008,"topic":36349,"video":1008,"__hash__":43146},"blog\u002Fblog\u002Fopen-source-business-2024.md","Starting a Business from Open Source in 2024: How to Make Open Source Profitable",{"type":11,"value":43077,"toc":43136},[43078,43086,43089,43092,43095,43113,43116,43119,43123,43126,43129,43134],[14,43079,43080,43081,43085],{},"We at Epicmax have extensive experience with open-source development, and today I want to look back on how it all started and explore whether starting a company today with an open-source project is a good idea. Epicmax launched its first open-source project, ",[128,43082,32198],{"href":43083,"rel":43084},"https:\u002F\u002Fadmin.vuestic.dev\u002F?=epicmax-blog-post-15-05",[4980]," 7 years ago, and it quickly became the 4th most popular on GitHub in just 23 hours. This success was a key moment for the company.",[14,43087,43088],{},"You all know that finding new customers is hard for small outsourcing businesses, especially when you need to find your FIRST client. At this hard moment, some companies start with sending numerous proposals on Upwork or LinkedIn, hoping to find good clients.",[14,43090,43091],{},"Others simply get any job they can, trying to secure any contract at all, and then quickly burnout and lose their positioning. Some even hire a sales team to make many cold calls and send emails every day, but turning these efforts into real customers is challenging when you don't have cases and reputation. Nobody wants to be the first and invest own time and money to provide you with a case and experience.",[14,43093,43094],{},"In 2017, Epicmax team decided to try a different way.\nIt was risky and challenging, but also exciting - they started by building a non-commercial Admin template and putting it on GitHub.",[14,43096,43097,43098,43103,43104,43108,43109,43112],{},"It’s been over 7 years now. Vuestic Admin has received more than 10 000 stars on ",[128,43099,43102],{"href":43100,"rel":43101},"https:\u002F\u002Fgithub.com\u002Fepicmaxco\u002Fvuestic-admin",[4980],"GitHub"," ⭐⭐⭐\nIt led to more successful open-source products and significant growth for the company. After realizing that they could leverage own previous experience to create something cool, they developed ",[128,43105,13021],{"href":43106,"rel":43107},"https:\u002F\u002Fui.vuestic.dev\u002F?=epicmax-blog-post-15-05",[4980]," - an open-source Vue.js UI Framework. It currently has only 3 300 stars on ",[128,43110,43102],{"href":37887,"rel":43111},[4980],", but let's see what happens next.",[14,43114,43115],{},"We have great and beautiful competitors in the world of Vue.js Frameworks, but we still have something special under the hood that I am sure you will absolutely love!",[14,43117,43118],{},"Having several open-source products now helps us to connect and collaborate with interesting projects, and to join the best conferences in the field (they're happy when our CTO gives a talk or when we come just for fun and discussions).",[18,43120,43122],{"id":43121},"so-what-about-our-sales-process-now","So, what about our sales process now?",[14,43124,43125],{},"We still have to look for new clients and try new ways to reach people who need our services, but some of them come to us with exciting offers after discovering our open-source work.",[14,43127,43128],{},"And for me, as a part of Epicmax, it's a great honor to know that we're not all about money.\nWe have something more, and I am thankful that I've met a lot of amazing people working at Epicmax. And one more benefit for me - I always have a place where I can put my ideas. If I were to start a new business now, I would definitely begin with an open-source project, but for 2025 it must not be called Vuestic UI, but Vuestic AI. 🤣",[14,43130,43131],{},[14885,43132,43133],{},"Anastasiia Zvenigorodskaia, COO and Community manager",[6170,43135],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43137},[43138],{"id":43121,"depth":224,"text":43122},"2022-02-26","Can an open-source project become a successful business in 2024? Discover how Epicmax grew from Vuestic Admin to Vuestic UI, a Vue.js open-source framework, and how open-source development helps attract clients, build reputation, and drive growth.","\u002Fimages\u002Fblog\u002Fopen-source-business-2024\u002Fcard.png",{},"\u002Fblog\u002Fopen-source-business-2024",{"title":43075,"description":43140},"blog\u002Fopen-source-business-2024","pbT_vscohk_E95WI3WPnlU92DjHp_4urslgZtxPXUTI",{"id":43148,"title":43149,"articleType":1008,"author":12943,"authorSlug":1008,"body":43150,"cta":1008,"date":43206,"description":43207,"extension":1011,"faq":1008,"featured":1021,"image":43208,"meta":43209,"navigation":653,"noCtaBox":1021,"path":43210,"readTime":1008,"seo":43211,"seoTitle":1008,"stem":43212,"tags":43213,"topic":15025,"video":1008,"__hash__":43214},"blog\u002Fblog\u002Fvuejsamsterdam.md","VueJsAmsterdam 2024 | Storybook & Playwright Testing Insights from Epicmax",{"type":11,"value":43151,"toc":43201},[43152,43155,43158,43170,43174,43178,43181,43187,43190,43196,43199],[14,43153,43154],{},"Our CTO, Yauheni Prakopchyk, took the stage at Europe's leading Vue.js conference, VueJsAmsterdam, with an insightful talk titled 'Cost-Effective Testing with Storybook and Playwright in Vue Applications'.",[14,43156,43157],{},"Here's a sneak peek into what his presentation covered:",[14,43159,43160,43161,43163,43164,43166,43167,43169],{},"🙈 The Story of Crafting My Own “Storybook”",[26786,43162],{},"\n🤓 Story-Driven Development Example",[26786,43165],{},"\n📈 Maximizing Storybook Value to Cost ratio",[26786,43168],{},"\n🫰 Bonus Points: Team Interaction and Aligning with Business Goals",[18,43171,43173],{"id":43172},"key-takeaways","Key Takeaways",[169,43175,43177],{"id":43176},"mastering-efficient-story-usage","Mastering Efficient Story Usage",[14,43179,43180],{},"Feeling the urge to test your Vue applications? Storybook might just be the cost-effective solution you're seeking. Start by setting up Storybook with interaction and visual tests, then gradually add a story for each component. Prioritize complex modular components, followed by simpler ones and CSS utils. Reserve stories for pages and widgets only if absolutely necessary.",[14,43182,43183],{},[14615,43184],{"alt":43185,"src":43186},"Yauheni Prakopchyk presenting on cost-effective Vue.js testing at VueJsAmsterdam 2024","\u002Fimages\u002Fblog\u002Fvuejsamsterdam\u002F662b9e34700704698776.jpg",[14,43188,43189],{},"Curious if this testing approach suits your project?",[14,43191,43192],{},[128,43193,43195],{"href":6173,"rel":43194},[4980],"Schedule a consultation with our CTO.",[14,43197,43198],{},"A big shoutout to the organizers for orchestrating such an exceptional event! These conferences aren't merely about showcasing skills; they're opportunities to forge new connections and have a blast. We're already counting down the days until next year's edition!",[6170,43200],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43202},[43203],{"id":43172,"depth":224,"text":43173,"children":43204},[43205],{"id":43176,"depth":264,"text":43177},"2022-02-25","Epicmax CTO Yauheni Prakopchyk shared insights on cost-effective testing with Storybook & Playwright at VueJsAmsterdam 2024. Learn how to streamline Vue app testing, improve team collaboration, and align development with business goals. Explore key takeaways and book a consultation!","\u002Fimages\u002Fblog\u002Fvuejsamsterdam\u002Fcard.jpg",{},"\u002Fblog\u002Fvuejsamsterdam",{"title":43149,"description":43207},"blog\u002Fvuejsamsterdam",[2822],"9AAgD_PgEEtmFsl39542KanKN0a4d1EujqkMbGlrneo",{"id":43216,"title":43217,"articleType":1008,"author":12943,"authorSlug":1008,"body":43218,"cta":1008,"date":43206,"description":43364,"extension":1011,"faq":1008,"featured":1021,"image":43365,"meta":43366,"navigation":653,"noCtaBox":1021,"path":43367,"readTime":1008,"seo":43368,"seoTitle":1008,"stem":43369,"tags":43370,"topic":36349,"video":1008,"__hash__":43371},"blog\u002Fblog\u002Fvuestic-admin-3-0.md","Vuestic Admin 3.0 | Vue 3 Admin Dashboard Built with Vite, Pinia & Tailwind CSS",{"type":11,"value":43219,"toc":43356},[43220,43223,43232,43236,43239,43245,43249,43257,43260,43274,43278,43281,43307,43311,43314,43318,43321,43331,43335,43338,43346,43349,43354],[14,43221,43222],{},"Free Admin Template utilizing Vue 3, Vite, Pinia, and Tailwind CSS. Tailored to speed up development, Vuestic Admin integrates the latest web technologies for a seamless experience.",[14,43224,43225,43226,43231],{},"Hi there! We've just rolled out ",[128,43227,43230],{"href":43228,"rel":43229},"https:\u002F\u002Fgithub.com\u002Fepicmaxco\u002Fvuestic-admin?ref=epicmax-blog-post",[4980],"Vuestic Admin 3.0",", built with Vue 3, Vite, Pinia, and Tailwind CSS, aiming to make your coding life a bit easier.",[18,43233,43235],{"id":43234},"its-more-than-just-pretty-pages","It's More Than Just Pretty Pages!",[14,43237,43238],{},"We decided not to stop at just making templates. Instead, we're giving you pages that you'll actually use - like a dashboard you can tweak, a settings page that makes sense, and even a login page that's ready to go. We thought about what you really need for your projects and put it all in Vuestic Admin.",[14,43240,43241],{},[14615,43242],{"alt":43243,"src":43244},"Vuestic Admin 3.0 dashboard preview","\u002Fimages\u002Fblog\u002Fvuestic-admin-3-0\u002Fvuestic_admin__2025-.png",[18,43246,43248],{"id":43247},"built-with-vuestic-ui-by-a-community-for-the-community","Built With Vuestic UI, By a Community for the Community",[14,43250,43251,43252,43256],{},"We use UI components from ",[128,43253,13021],{"href":43254,"rel":43255},"https:\u002F\u002Fui.vuestic.dev\u002F?ref=epicmax-blog-post",[4980],", which helps with updates and ensures consistent design.",[14,43258,43259],{},"Vuestic Admin is more than just tools and codes; it's about the people behind and around it. Whether you're just starting out or you've been coding for years, there's something here for you:",[2357,43261,43262,43265,43268,43271],{},[188,43263,43264],{},"For Beginners: Get your hands dirty with actual code and learn with us.",[188,43266,43267],{},"For the Curious: Dive into new experiments and maybe even join us at some tech events.",[188,43269,43270],{},"For Open Source Fans: Got an idea? Let's collaborate and see where we can take it.",[188,43272,43273],{},"For Business Minds: Need a custom solution or a code checkup? We're here for that too ;)",[18,43275,43277],{"id":43276},"core-features","Core Features",[14,43279,43280],{},"Here's what you'll find in Vuestic Admin 3.0:",[2357,43282,43283,43286,43289,43292,43295,43298,43301,43304],{},[188,43284,43285],{},"Quick to Start: Vue 3 and Vite make setup a breeze.",[188,43287,43288],{},"Looks Good on Any Screen: Responsive design is a given.",[188,43290,43291],{},"Dark Mode: Because it's cool (and easier on the eyes).",[188,43293,43294],{},"Customize It: Make it fit your style and needs.",[188,43296,43297],{},"For Everyone: We kept accessibility in mind.",[188,43299,43300],{},"Speak Any Language: i18n ready for your global audience.",[188,43302,43303],{},"Learn Something New: Great for picking up Vue.js.",[188,43305,43306],{},"Got Questions? We're here to help.",[18,43308,43310],{"id":43309},"a-little-background","A Little Background",[14,43312,43313],{},"Vuestic started small in 2017 as a side project because we love Vue.js and wanted to give back to the community. Fast forward to now, and it's grown thanks to the team and users like you. Vuestic Admin 3.0, built on the Vuestic UI framework, is our latest effort to make web development smoother and more fun.",[18,43315,43317],{"id":43316},"the-team","The Team",[14,43319,43320],{},"The team behind Vuestic is in ❤️ with Vue.js and Open Source. We're just a bunch of folks who love coding and Vue.js. We believe in making tools that we'd want to use too.",[14,43322,43323,43324,43326,43327,43330],{},"Vuestic was created and backed by ",[128,43325,16284],{"href":1850},", and is supported through all the years. You can ",[128,43328,43329],{"href":26793},"request a consultation or order web development services"," from Epicmax.",[18,43332,43334],{"id":43333},"check-it-out","Check It Out",[14,43336,43337],{},"What do you think? What do you need? Your feedback is super important — it helps us make Vuestic even better.",[14,43339,43340,43345],{},[128,43341,43344],{"href":43342,"rel":43343},"https:\u002F\u002Fdiscord.com\u002Finvite\u002Fu7fQdqQt8c",[4980],"Join the community",", share your thoughts, or just have a look around.",[14,43347,43348],{},"Need something more? We're always ready to talk.\nLet's make something cool together.",[14,43350,43351],{},[2363,43352,43353],{},"Welcome to Vuestic Admin!",[6170,43355],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43357},[43358,43359,43360,43361,43362,43363],{"id":43234,"depth":224,"text":43235},{"id":43247,"depth":224,"text":43248},{"id":43276,"depth":224,"text":43277},{"id":43309,"depth":224,"text":43310},{"id":43316,"depth":224,"text":43317},{"id":43333,"depth":224,"text":43334},"Discover Vuestic Admin 3.0—an open-source Vue 3 admin dashboard powered by Vite, Pinia, and Tailwind CSS. Fully responsive, customizable, and packed with essential features like dark mode, i18n, and accessibility. Built with Vuestic UI by the Epicmax team for developers and businesses alike!","\u002Fimages\u002Fblog\u002Fvuestic-admin-3-0\u002Fcard.jpg",{},"\u002Fblog\u002Fvuestic-admin-3-0",{"title":43217,"description":43364},"blog\u002Fvuestic-admin-3-0",[2822],"sr8EJBpGNK0MHwTccDv9DzgdkXXthFvxdI9kKAXuVpQ",{"id":43373,"title":43374,"articleType":1008,"author":12943,"authorSlug":1008,"body":43375,"cta":1008,"date":43206,"description":43624,"extension":1011,"faq":1008,"featured":1021,"image":43625,"meta":43626,"navigation":653,"noCtaBox":1021,"path":15571,"readTime":1008,"seo":43627,"seoTitle":1008,"stem":43628,"tags":43629,"topic":36349,"video":1008,"__hash__":43630},"blog\u002Fblog\u002Fvuestic-ui.md","Vuestic UI - The Best Open Source Vue 3 UI Framework in 2024",{"type":11,"value":43376,"toc":43615},[43377,43380,43388,43394,43398,43404,43410,43416,43422,43428,43434,43437,43441,43444,43458,43461,43473,43476,43484,43492,43498,43502,43505,43508,43514,43518,43521,43524,43527,43533,43536,43542,43545,43551,43558,43561,43567,43573,43577,43580,43583,43586,43590,43593,43601,43604,43610,43612],[14,43378,43379],{},"At Epicmax, we develop Vuestic UI with a focus on creating components that are user-friendly for developers, adaptable for designers, robust for testing environments, accessible for all users, and visually appealing for potential clients. Vuestic UI is an Open Source Vue 3 based UI framework. Featuring beautifully designed components, it offers extensive features for building high-quality, performance-optimized applications rapidly.",[14,43381,43382,43383,43387],{},"With the support of our active ",[128,43384,43386],{"href":43342,"rel":43385},[4980],"Discord community",", we at Epicmax consistently gather feedback to refine and enhance Vuestic UI. Leveraging our collective experience, we address common front-end development challenges, enabling developers to focus entirely on building exceptional applications. This discussion explores our strategies to create the dream UI framework for your projects.",[14,43389,43390],{},[14615,43391],{"alt":43392,"src":43393},"Vuestic UI Vue 3 component library overview","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9dceb3751d994171.png",[18,43395,43397],{"id":43396},"why-choose-vuestic-ui-in-2024","Why Choose Vuestic UI in 2024?",[14,43399,43400,43403],{},[2363,43401,43402],{},"1. Developer-Friendly:"," Our components are developed with care to be intuitive and easy to integrate, speeding up both development and deployment.",[14,43405,43406,43409],{},[2363,43407,43408],{},"2. Active Development and Support:"," Our team is constantly improving Vuestic UI, and we're here to help you with any challenges you might encounter.",[14,43411,43412,43415],{},[2363,43413,43414],{},"3. Robust Testing:"," We ensure Vuestic UI components are reliable and stable, no matter what you throw at them.",[14,43417,43418,43421],{},[2363,43419,43420],{},"4. Accessibility Commitment:"," Accessibility is a priority for us; we strive to make Vuestic UI usable for everyone, enhancing user experience across all demographics.",[14,43423,43424,43427],{},[2363,43425,43426],{},"5. Community Driven:"," We listen to our users. Your feedback directly influences future updates and features, making sure Vuestic UI evolves in the right direction.",[14,43429,43430,43433],{},[2363,43431,43432],{},"6. Open Source Spirit:"," We believe in the power of open source. Vuestic UI is yours to tweak, improve, and adapt to your needs.",[6170,43435],{"label":43436,"to":13019},"Learn more",[18,43438,43440],{"id":43439},"efficient-installation-process","Efficient Installation Process",[14,43442,43443],{},"Getting started with Vuestic UI is straightforward. Simply run the following command in your terminal to begin:",[192,43445,43447],{"className":194,"code":43446,"language":196,"meta":197,"style":197},"npm create vuestic@latest\n",[137,43448,43449],{"__ignoreMap":197},[201,43450,43451,43453,43455],{"class":203,"line":204},[201,43452,578],{"class":207},[201,43454,28330],{"class":211},[201,43456,43457],{"class":211}," vuestic@latest\n",[14,43459,43460],{},"You will be presented with a few templates and features.",[14,43462,43463,43464,43467,43468,534],{},"We recommend ",[128,43465,43466],{"href":925},"Nuxt.js development"," for large applications because Nuxt's auto imports and tree-shaking features help keep codebases cleaner and more efficient. Vuestic UI is fully tree-shakable, meaning components you don't use will not be bundled in the final build. You can read more about tree-shaking ",[128,43469,43472],{"href":43470,"rel":43471},"https:\u002F\u002Fui.vuestic.dev\u002Fgetting-started\u002Ftree-shaking",[4980],"here",[14,43474,43475],{},"Looking to set up something faster? Use our Vuestic Admin template with preconfigured pages like dashboard, users, project, payments, etc.",[14,43477,43478,43479,534],{},"Want to include Vuestic in your existing project? Follow ",[128,43480,43483],{"href":43481,"rel":43482},"https:\u002F\u002Fui.vuestic.dev\u002Fgetting-started\u002Finstallation#manual-installation",[4980],"this guide",[14,43485,43486,43487,534],{},"Interested in trying it out online? Visit our ",[128,43488,43491],{"href":43489,"rel":43490},"https:\u002F\u002Fui.vuestic.dev\u002Fplay",[4980],"playground",[14,43493,43494],{},[14615,43495],{"alt":43496,"src":43497},"Vuestic UI installation walkthrough","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663ca3cd1d81210cb76b.jpg",[18,43499,43501],{"id":43500},"advanced-configuration-for-customization","Advanced Configuration for Customization",[14,43503,43504],{},"Vuestic UI goes beyond basic customization, offering multiple theme presets beyond the standard light and dark modes. Our intelligent design automatically selects the best text colors for backgrounds, ensuring optimal readability and contrast.",[14,43506,43507],{},"Say goodbye to poor contrast. We have a limited number of colors by design, making it easier for you to modify them. You can also extend the default color palette with any colors of your choice. Additionally, we provide a tool in case you prefer to use Tailwind colors.",[14,43509,43510],{},[14615,43511],{"alt":43512,"src":43513},"Vuestic UI theme customization preview","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9e7a1634a2862ac9.gif",[169,43515,43517],{"id":43516},"interested-in-changing-icons","Interested in changing icons?",[14,43519,43520],{},"How about using two different icon fonts? Interested in using SVG icons instead of a font? What about Iconify icons? That's easy with our Icons Config, which supports multiple icon configurations and aliases.",[14,43522,43523],{},"We make it easy to globally change component props, slots, and CSS variables. In addition to global configuration, you can also save presets and reuse them across the application when needed. All configurations support TypeScript types.",[14,43525,43526],{},"Here is an example of alert customization:",[14,43528,43529],{},[14615,43530],{"alt":43531,"src":43532},"Vuestic UI alert customization code example","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9e9471d19184564c.png",[14,43534,43535],{},"Here we make all alerts closeable by default and set icons, text and color for success and error presets. We can use it later like this:",[14,43537,43538],{},[14615,43539],{"alt":43540,"src":43541},"Vuestic UI alert usage code example","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9ea3b3751d994172.png",[14,43543,43544],{},"And this is the final result:",[14,43546,43547],{},[14615,43548],{"alt":43549,"src":43550},"Vuestic UI customized alert components","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9eb1869cd5334108.png",[14,43552,43553,43554,534],{},"Dive deeper into extensive customization ",[128,43555,43472],{"href":43556,"rel":43557},"https:\u002F\u002Fui.vuestic.dev\u002Fgetting-started\u002Fconfiguration-guide",[4980],[14,43559,43560],{},"In practice, you can create a frontend for a popular app in just one day. All with keyboard navigation, correct text contrast, and component presets.",[14,43562,43563],{},[14615,43564],{"alt":43565,"src":43566},"Vuestic UI rapid frontend prototype example","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9ebe76dfceefc304.png",[14,43568,43569],{},[14615,43570],{"alt":43571,"src":43572},"Vuestic UI prototype interface preview","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002F663c9ec58db072d552e7.png",[18,43574,43576],{"id":43575},"simplified-development-experience","Simplified Development Experience",[14,43578,43579],{},"To make your life easier as a developer, we made components simple: no more Material Design and strange borders that are hard to override! When working with large UI libraries, there are always style issues.",[14,43581,43582],{},"We use BEM and prefix all of our classes, so you can expect no conflicts with any library you use or with your existing code. We care about IntelliSense in your IDE and use TypeScript everywhere: in configs, component props, emits, and slots. Sometimes you need helpers like defineVaDataTableColumns to have IDE auto-suggestions. Easy to work with forms using the VaForm component.",[14,43584,43585],{},"We provide a lot of components that you can use in your forms. If you need something extra, you can create your own component using the VaFormField component! The documentation is full of examples and guides. If you struggle with any use case, you can easily ask a question in our Discord community.",[18,43587,43589],{"id":43588},"active-contribution-opportunities","Active Contribution Opportunities",[14,43591,43592],{},"Have you found something we can improve?",[14,43594,43595,43596,43600],{},"Don't hesitate to join our ",[128,43597,43386],{"href":43598,"rel":43599},"https:\u002F\u002Fdiscord.gg\u002Fu7fQdqQt8c",[4980]," and discuss it! Are you interested in the code? Usually, diving into UI library source code is hard. We make frequent updates, usually every 1-2 weeks, or if you have an important feature that we have thoroughly tested before release ❤️",[14,43602,43603],{},"If you're integrating Vuestic into your project, we'd love to hear from you! Your feedback helps us better understand your needs and improve our framework. Please share your experiences and insights with us.",[14,43605,43606,43607,43609],{},"Additionally, if you have ideas for collaboration or are interested in forming a partnership, don't hesitate to reach out at ",[128,43608,41164],{"href":41163},". We are excited about exploring potential synergies and opportunities together.",[6170,43611],{"label":22616,"to":6173},[984,43613,43614],{},"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);}",{"title":197,"searchDepth":264,"depth":264,"links":43616},[43617,43618,43619,43622,43623],{"id":43396,"depth":224,"text":43397},{"id":43439,"depth":224,"text":43440},{"id":43500,"depth":224,"text":43501,"children":43620},[43621],{"id":43516,"depth":264,"text":43517},{"id":43575,"depth":224,"text":43576},{"id":43588,"depth":224,"text":43589},"Vuestic UI is a modern open-source Vue.js UI framework with beautifully designed components, built for performance and accessibility. Developed by Epicmax, it offers a feature-rich, developer-friendly, and customizable solution for building high-quality Vue 3 applications effortlessly.","\u002Fimages\u002Fblog\u002Fvuestic-ui\u002Fcard.png",{},{"title":43374,"description":43624},"blog\u002Fvuestic-ui",[2822],"RKUHhppIZ65Y1NsHL7NTT88jDBe1eGm0hdxgNBxqecM",{"id":43632,"title":43633,"articleType":1008,"author":12943,"authorSlug":1008,"body":43634,"cta":1008,"date":43700,"description":43701,"extension":1011,"faq":1008,"featured":1021,"image":43702,"meta":43703,"navigation":653,"noCtaBox":1021,"path":43704,"readTime":1008,"seo":43705,"seoTitle":1008,"stem":43706,"tags":43707,"topic":36349,"video":1008,"__hash__":43708},"blog\u002Fblog\u002Fag-grid.md","Epicmax & AG Grid - seamless Vue 3 Datagrid integration with Vuestic UI",{"type":11,"value":43635,"toc":43698},[43636,43645,43648,43653,43658,43661,43666,43671,43679,43690,43696],[14,43637,43638,43639,43644],{},"Vuestic UI, the Vue 3 UI framework from Epicmax, have collaborated with AG Grid, the leading datagrid provider, to empower users with feature-rich table functionality. ",[128,43640,43643],{"href":43641,"rel":43642},"https:\u002F\u002Fwww.ag-grid.com\u002F",[4980],"AG Grid"," is available as an extension via Vuestic UI, meaning users can add AG Grid tables to their projects with no extra cost or difficulty. The company also provides a ready-made style theme for AG Grid's library of tables, which integrates with Vuestic global config, keeping AG Grid in sync with other components on the page.",[14,43646,43647],{},"Niall Crosby, CEO, CTO and Founder of AG Grid said:",[14,43649,43650],{},[14885,43651,43652],{},"“This collaboration with Vuestic ensures users of the platform have access to the most feature-rich and clean datagrid tables in the industry. This will empower their Vue projects, and encourages them to develop creative, disruptive and flexible user interfaces.",[14,43654,43655],{},[14885,43656,43657],{},"It has also been a pleasure working alongside the team at Epicmax, and we will continue to update the AG Grid framework and extension for even more seamless collaboration in the future.”",[14,43659,43660],{},"Yauheni Prakopchyk, CTO of Epicmax added:",[14,43662,43663],{},[14885,43664,43665],{},"“While selecting a UI framework, users are looking for different flavors of tables – from simplest one to robust and complicated. AG Grid covers the most sophisticated needs, and Vuestic UI holds your hand for simpler cases. Sounds like a perfect match to me.",[14,43667,43668],{},[14885,43669,43670],{},"To support this awesome collaboration we plan to cover upcoming updates of AG Grid as well as improve integration with Vuestic UI theming system.”",[14,43672,43673,43678],{},[128,43674,43677],{"href":43675,"rel":43676},"https:\u002F\u002Fbmmagazine.co.uk\u002Fbusiness\u002Fvuestic-ui-teams-up-with-ag-grid-to-empower-users-with-datagrid-capabilities\u002F",[4980],"Read more"," on the UK's largest business magazine for entrepreneur, start-up & enterprise.",[14,43680,43681,43682,43686,43687],{},"To start using AG Grid with Vuestic UI see the guide: ",[128,43683,43684],{"href":43684,"rel":43685},"https:\u002F\u002Fvuestic.dev\u002Fen\u002Fextensions\u002Fag-grid",[4980],"\nIf you have any ideas for a partnership with us - say hi to ",[128,43688,41164],{"href":43689},"mailto:hello@epicmax.co?subject=Message%20from%20epicmax.co",[14,43691,43692],{},[14615,43693],{"alt":43694,"src":43695},"Vuestic UI and AG Grid partnership banner","\u002Fimages\u002Fblog\u002Fag-grid\u002Fvuestic_ui_-_ag_grid.png",[6170,43697],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43699},[],"2022-02-24","Epicmax partners with AG Grid to bring powerful, feature-rich Vue 3 datagrids to Vuestic UI. Enjoy seamless integration, custom styling, and enhanced table functionality—all at no extra cost. Discover how this collaboration empowers Vue.js developers with the best UI and data table solutions.","\u002Fimages\u002Fblog\u002Fag-grid\u002Fcard.jpg",{},"\u002Fblog\u002Fag-grid",{"title":43633,"description":43701},"blog\u002Fag-grid",[2822],"d5H4Evlb2DZK5ebuDC7GIlK0wgpRU9N4u6gz6z2tV4c",{"id":43710,"title":43711,"articleType":1008,"author":12943,"authorSlug":1008,"body":43712,"cta":1008,"date":43700,"description":43753,"extension":1011,"faq":1008,"featured":1021,"image":43754,"meta":43755,"navigation":653,"noCtaBox":1021,"path":43756,"readTime":1008,"seo":43757,"seoTitle":1008,"stem":43758,"tags":43759,"topic":15025,"video":1008,"__hash__":43760},"blog\u002Fblog\u002Fvueconf-toronto.md","Epicmax at VueConf Toronto - Meet Our CTO & Explore Vue.js Innovations",{"type":11,"value":43713,"toc":43751},[43714,43717,43720,43734,43737,43742,43747],[14,43715,43716],{},"VueConf Toronto is the #1 Vue.js conference in Toronto. We’re excited to announce that Yauheni Prakopchyk, CTO of Epicmax, will be speaking at VueConf Toronto, one of the world’s top Vue.js conferences! The event takes place from November 1-3, 2022, bringing together Vue.js experts, developers, and enthusiasts to discuss the latest advancements in the ecosystem.",[14,43718,43719],{},"🚀 Why Attend VueConf Toronto?",[2357,43721,43722,43725,43728,43731],{},[188,43723,43724],{},"Gain insights from leading Vue.js experts",[188,43726,43727],{},"Explore the latest trends in frontend development",[188,43729,43730],{},"Connect with the global Vue.js community",[188,43732,43733],{},"Learn from real-world case studies and hands-on sessions",[14,43735,43736],{},"🎤 Meet Our CTO on Stage\nYauheni will share valuable technical knowledge, industry trends, and best practices in Vue.js development. If you’re attending VueConf, don’t miss the chance to learn from one of the top Vue experts in Europe!",[14,43738,43739,43740],{},"📩 Interested in working with us? Say hi at ",[128,43741,41164],{"href":41163},[14,43743,43744],{},[14615,43745],{"alt":197,"src":43746},"\u002Fimages\u002Fblog\u002Fvueconf-toronto\u002F662a0c83f64ed9bae11f.jpg",[14,43748,43749],{},[128,43750,40716],{"href":40715},{"title":197,"searchDepth":264,"depth":264,"links":43752},[],"Epicmax CTO Yauheni Prakopchyk is speaking at VueConf Toronto, one of the top Vue.js conferences worldwide! Join us from November 1-3, 2022, to explore cutting-edge Vue.js trends, network with industry experts, and discover career opportunities at Epicmax.","\u002Fimages\u002Fblog\u002Fvueconf-toronto\u002Fcard.jpg",{},"\u002Fblog\u002Fvueconf-toronto",{"title":43711,"description":43753},"blog\u002Fvueconf-toronto",[2822],"DrpOnWv9ONDR1oNFWNSxcAjzhHFbHaZK_3dX2j6djmo",{"id":43762,"title":43763,"articleType":1008,"author":12943,"authorSlug":1008,"body":43764,"cta":1008,"date":43700,"description":43893,"extension":1011,"faq":1008,"featured":1021,"image":43894,"meta":43895,"navigation":653,"noCtaBox":1021,"path":43896,"readTime":1008,"seo":43897,"seoTitle":1008,"stem":43898,"tags":43899,"topic":36349,"video":1008,"__hash__":43900},"blog\u002Fblog\u002Fvuestic-ui-epicmax.md","Epicmax’s Journey | From Vue.js Enthusiasts to Open-Source Innovators",{"type":11,"value":43765,"toc":43889},[43766,43773,43781,43788,43794,43797,43805,43809,43838,43842,43846,43873,43876,43881,43887],[14,43767,43768,43769,43772],{},"We're a passionate team of front-end developers united by our love for coding and open source. Founded in 2017, Epicmax quickly became known for our deep dive into open source with a sharp focus on Vue.js, marking our expertise in the domain. Discover the journey of Epicmax, from the birth of an idea in 2017 to the creation of ",[128,43770,13021],{"href":13019,"rel":43771},[4980],", a powerful open-source framework for modern web applications, born out of passion for technology and a dedication to innovation.",[14,43774,43775,43776,43780],{},"Our journey at Epicmax began with a deep-rooted love for technology and a passion for problem-solving. This unyielding drive to innovate culminated in 2017 with the founding of our company and the birth of our first project: ",[128,43777,32198],{"href":43778,"rel":43779},"https:\u002F\u002Fadmin.vuestic.dev\u002F",[4980],". This free, open-source Vue.js admin template was not merely a project, but a testament to our technical prowess. The idea was simple - we wanted to showcase our capabilities to prospective clients, and what better way than to create an open-source project that encapsulates our skills and dedication?",[14,43782,43783,43784,43787],{},"As we brainstormed ideas for a product that would bring value to the tech community, the concept of admin templates emerged as a promising choice. Our collective curiosity was piqued by Vue.js, a growing JavaScript framework, and we were eager to delve into its intricacies. The result of this exploration was ",[128,43785,32198],{"href":43778,"rel":43786},[4980],", a project that not only showcased our talents but also resonated well with the tech community. This success marked the start of our continued commitment to maintaining and improving this project.",[14,43789,43790],{},[14615,43791],{"alt":43792,"src":43793},"Epicmax team working on Vuestic Admin","\u002Fimages\u002Fblog\u002Fvuestic-ui-epicmax\u002F6464ad07f295c0007c87.png",[14,43795,43796],{},"Over time, we came to the realization that we could leverage our experience with Vuestic Admin to create something even more impactful - a comprehensive components framework of our own. This led to the evolution of Vuestic Admin into what is now known as Vuestic UI.",[14,43798,43799,43800,43804],{},"Launched in 2021, ",[128,43801,13021],{"href":43802,"rel":43803},"https:\u002F\u002Fgithub.com\u002Fepicmaxco\u002Fvuestic-ui\u002F",[4980]," is a robust framework for modern web applications. It embodies the fruits of our labor, the lessons learned, and the insights gained over years of dedication to our craft. Today, we take pride in sharing the advantages that Vuestic UI offers.",[18,43806,43808],{"id":43807},"explore-vuestic-ui","Explore Vuestic UI",[2357,43810,43811,43818,43824,43831],{},[188,43812,43813,43814],{},"Read more about Vuestic UI: ",[128,43815,43817],{"href":13019,"rel":43816},[4980],"ui.vuestic.dev",[188,43819,43820,43821],{},"Give us a star on ",[128,43822,43102],{"href":43802,"rel":43823},[4980],[188,43825,43826],{},[128,43827,43830],{"href":43828,"rel":43829},"https:\u002F\u002Fui.vuestic.dev\u002Fcontribution\u002Fguide",[4980],"Contribution Guide",[188,43832,43833],{},[128,43834,43837],{"href":43835,"rel":43836},"https:\u002F\u002Fui.vuestic.dev\u002Fsupport\u002Fconsulting",[4980],"Support & Consulting",[6170,43839],{"label":43840,"to":43841},"Get Started","https:\u002F\u002Fui.vuestic.dev\u002Fgetting-started\u002Finstallation",[18,43843,43845],{"id":43844},"explore-vuestic-admin","Explore Vuestic Admin",[2357,43847,43848,43855,43860,43867],{},[188,43849,43850,43851],{},"Read more about Vuestic Admin: ",[128,43852,43854],{"href":43778,"rel":43853},[4980],"admin.vuestic.dev",[188,43856,43820,43857],{},[128,43858,43102],{"href":43100,"rel":43859},[4980],[188,43861,43862],{},[128,43863,43866],{"href":43864,"rel":43865},"https:\u002F\u002Fadmin-demo.vuestic.dev\u002Fdashboard",[4980],"Live Demo",[188,43868,43869],{},[128,43870,43872],{"href":43556,"rel":43871},[4980],"Learn How to Configure",[14,43874,43875],{},"Stay tuned as we continue to evolve, innovate, and contribute to the tech community with our open-source projects.",[14,43877,43878],{},[2363,43879,43880],{},"At Epicmax, our journey is just beginning, and we are excited about the future we are building together.",[14,43882,43883],{},[14615,43884],{"alt":43885,"src":43886},"Epicmax open-source community celebration","\u002Fimages\u002Fblog\u002Fvuestic-ui-epicmax\u002F6464ad23868661375f62.png",[6170,43888],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43890},[43891,43892],{"id":43807,"depth":224,"text":43808},{"id":43844,"depth":224,"text":43845},"Discover Epicmax’s evolution from a passionate frontend team to a leading Vue.js open-source powerhouse. Learn how Vuestic Admin grew into Vuestic UI, a modern Vue 3 framework for web applications. Join our journey, explore our projects, and contribute to the future of open source!","\u002Fimages\u002Fblog\u002Fvuestic-ui-epicmax\u002Fcard.jpg",{},"\u002Fblog\u002Fvuestic-ui-epicmax",{"title":43763,"description":43893},"blog\u002Fvuestic-ui-epicmax",[2822],"u9zcxbpqrOl3gM9l_YntSkw4X15G4HH4zNuBe6bnYpU",{"id":43902,"title":43903,"articleType":1008,"author":12943,"authorSlug":1008,"body":43904,"cta":1008,"date":43700,"description":43980,"extension":1011,"faq":1008,"featured":1021,"image":43981,"meta":43982,"navigation":653,"noCtaBox":1021,"path":43983,"readTime":1008,"seo":43984,"seoTitle":1008,"stem":43985,"tags":43986,"topic":36349,"video":1008,"__hash__":43987},"blog\u002Fblog\u002Fvuestic-ui-v1-5.md","Vuestic UI Update | New Features, Dark Theme & Accessibility in Vue 3 Framework",{"type":11,"value":43905,"toc":43973},[43906,43909,43914,43918,43922,43926,43929,43933,43947,43950,43957,43960,43965,43971],[14,43907,43908],{},"We have good news! Vuestic UI v1.5 is released! 🚀",[14,43910,43911,43913],{},[2363,43912,13021],{}," is an open-source Vue 3-based UI framework that provides easily configurable, ready-to-use frontend components that speed up the development of responsive, fast-loading web interfaces. Epicmax initially released it in May 2021.",[18,43915,43917],{"id":43916},"whats-new","💥 What's New?",[169,43919,43921],{"id":43920},"dark-theme","🌚 Dark Theme",[169,43923,43925],{"id":43924},"accessibility-feature-added-this-is-a-big-one","👁 Accessibility feature added — this is a big one.",[14,43927,43928],{},"Vuestic became accessible across the board. All components are designed so that it is convenient for all people to use.",[18,43930,43932],{"id":43931},"new-components","🐣 New components",[2357,43934,43935,43938,43941,43944],{},[188,43936,43937],{},"Tree view",[188,43939,43940],{},"Split view",[188,43942,43943],{},"Dropdown",[188,43945,43946],{},"Virtual scroll",[14,43948,43949],{},"In addition to these changes is a lot of other fixes and updates.",[14,43951,43952,43953],{},"View on GitHub: ",[128,43954,37887],{"href":43955,"rel":43956},"https:\u002F\u002Flnkd.in\u002Fdb-CzHW",[4980],[14,43958,43959],{},"If you have any questions come to our Discord channel. We like to discuss any ideas 💥💥💥",[14,43961,43962],{},[128,43963,43342],{"href":43342,"rel":43964},[4980],[14,43966,43967],{},[14615,43968],{"alt":43969,"src":43970},"Vuestic UI v1.5 release banner","\u002Fimages\u002Fblog\u002Fvuestic-ui-v1-5\u002F662a4f1b76a551b1d15d.jpg",[6170,43972],{"label":22616,"to":6173},{"title":197,"searchDepth":264,"depth":264,"links":43974},[43975,43979],{"id":43916,"depth":224,"text":43917,"children":43976},[43977,43978],{"id":43920,"depth":264,"text":43921},{"id":43924,"depth":264,"text":43925},{"id":43931,"depth":224,"text":43932},"Discover the latest Vuestic UI updates! Now with a Dark Theme, enhanced accessibility, new Vue 3 components like Tree View, Split View, Dropdown, and Virtual Scroll. Build fast, responsive web apps with Vuestic UI. Explore on GitHub & join our Discord!","\u002Fimages\u002Fblog\u002Fvuestic-ui-v1-5\u002Fcard.jpg",{},"\u002Fblog\u002Fvuestic-ui-v1-5",{"title":43903,"description":43980},"blog\u002Fvuestic-ui-v1-5",[2822],"6GWZOhDHlmBi8qGGdftd71Q0XUNju-_7TNUTGuMU3S4",{"id":43989,"title":43990,"articleType":7,"author":12943,"authorSlug":1008,"body":43991,"cta":1008,"date":43700,"description":47001,"extension":1011,"faq":1008,"featured":1021,"image":47002,"meta":47003,"navigation":653,"noCtaBox":1021,"path":47004,"readTime":1008,"seo":47005,"seoTitle":1008,"stem":47006,"tags":47007,"topic":36349,"video":1008,"__hash__":47008},"blog\u002Fblog\u002Fvuestic-ui-with-ag-grid.md","Vuestic UI & AG Grid Tutorial - Build Advanced Vue 3 Datatables with Epicmax",{"type":11,"value":43992,"toc":46992},[43993,43996,44002,44005,44008,44016,44023,44032,44037,44040,44079,44084,44088,44141,44144,44149,44169,44321,44325,44692,44872,44877,45063,45117,45122,45126,45354,45407,45412,45492,45498,45502,45651,45656,45660,46108,46113,46117,46464,46470,46969,46975,46980,46985,46987,46989],[14,43994,43995],{},"Vuestic UI, the Vue 3 UI framework from Epicmax, have collaborated with AG Grid, the leading datagrid provider, to empower users with feature-rich table functionality.",[14,43997,43998,44001],{},[128,43999,43643],{"href":43641,"rel":44000},[4980]," is available as an extension via Vuestic UI, meaning users can add AG Grid tables to their projects with no extra cost or difficulty. The company also provides a ready-made style theme for AG Grid’s library of tables, which integrates with Vuestic global config, keeping AG Grid in sync with other components on the page.",[14,44003,44004],{},"Vuestic selected AG Grid as an excellent solution for complex data handling needs. Features like fixed columns and grouping are too expensive to implement, so it’s more beneficial to use a trusted tool instead of developing something independently. The experience in non open source projects was positive as well.",[14,44006,44007],{},"AG Grid works with all JavaScript frameworks, including React, Angular, and Vue, including Vue 2 and Vue 3. AG Grid saves on development time, providing the perfect mix of out-of-the-box functionality and customization.",[14,44009,44010,44011,44015],{},"For teams upgrading legacy Vue 2 projects, combining AG Grid with Vuestic UI pairs well with professional ",[2363,44012,44013],{},[128,44014,41594],{"href":17584},", helping ensure a smooth transition to modern Vue 3 architecture.",[14,44017,44018,44019,534],{},"You can find the repo here and the code sandbox ",[128,44020,43472],{"href":44021,"rel":44022},"https:\u002F\u002Fcodesandbox.io\u002Fp\u002Fgithub\u002Fepicmaxco\u002Fvuestic-ag-grid-app\u002Fdraft\u002Famazing-violet?file=%2Fsrc%2Fcomponents%2FUsersPage.vue",[4980],[14,44024,44025,44026,44028,44029,44031],{},"Requirements",[26786,44027],{},"\nThe application we will build is a CRUD page of users - something an admin would use to manage users. You can find something similar in almost any admin dashboard.",[26786,44030],{},"\nHere’s a wireframe for the application:",[14,44033,44034],{},[14615,44035],{"alt":197,"src":44036},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f8e184aa2197bc7e.png",[14,44038,44039],{},"Can’t work on an app without a plan, so here’s one:",[2357,44041,44043,44049,44055,44061,44067,44073],{"className":44042},[21459],[188,44044,44046,44048],{"className":44045},[21463],[7361,44047],{"disabled":653,"type":21466}," Scaffold new project",[188,44050,44052,44054],{"className":44051},[21463],[7361,44053],{"disabled":653,"type":21466}," Make a simple table with image, name, email",[188,44056,44058,44060],{"className":44057},[21463],[7361,44059],{"disabled":653,"type":21466}," Add active column",[188,44062,44064,44066],{"className":44063},[21463],[7361,44065],{"disabled":653,"type":21466}," Implement sorting for all columns",[188,44068,44070,44072],{"className":44069},[21463],[7361,44071],{"disabled":653,"type":21466}," Implement full-text filtering",[188,44074,44076,44078],{"className":44075},[21463],[7361,44077],{"disabled":653,"type":21466}," Add create, edit and delete functionality",[14,44080,44081],{},[14615,44082],{"alt":197,"src":44083},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f90cccd0c4a50fc3.gif",[18,44085,44087],{"id":44086},"scaffold-new-project","Scaffold new project",[192,44089,44091],{"className":194,"code":44090,"language":196,"meta":197,"style":197},"npm create vite ag-grid-project -- --template vue-ts \ncd ag-grid-project \nnpm install \nnpm run dev\n",[137,44092,44093,44117,44125,44133],{"__ignoreMap":197},[201,44094,44095,44097,44099,44102,44105,44108,44111,44114],{"class":203,"line":204},[201,44096,578],{"class":207},[201,44098,28330],{"class":211},[201,44100,44101],{"class":211}," vite",[201,44103,44104],{"class":211}," ag-grid-project",[201,44106,44107],{"class":211}," --",[201,44109,44110],{"class":211}," --template",[201,44112,44113],{"class":211}," vue-ts",[201,44115,44116],{"class":256}," \n",[201,44118,44119,44121,44123],{"class":203,"line":224},[201,44120,22973],{"class":252},[201,44122,44104],{"class":211},[201,44124,44116],{"class":256},[201,44126,44127,44129,44131],{"class":203,"line":264},[201,44128,578],{"class":207},[201,44130,23345],{"class":211},[201,44132,44116],{"class":256},[201,44134,44135,44137,44139],{"class":203,"line":290},[201,44136,578],{"class":207},[201,44138,23003],{"class":211},[201,44140,23006],{"class":211},[14,44142,44143],{},"If you open the page in browser - you should see default vite page:",[14,44145,44146],{},[14615,44147],{"alt":197,"src":44148},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f948bfc2e72f2376.png",[192,44150,44152],{"className":194,"code":44151,"language":196,"meta":197,"style":197},"npm install vuestic-ui @vuestic\u002Fag-grid-theme sass\n",[137,44153,44154],{"__ignoreMap":197},[201,44155,44156,44158,44160,44163,44166],{"class":203,"line":204},[201,44157,578],{"class":207},[201,44159,23345],{"class":211},[201,44161,44162],{"class":211}," vuestic-ui",[201,44164,44165],{"class":211}," @vuestic\u002Fag-grid-theme",[201,44167,44168],{"class":211}," sass\n",[192,44170,44172],{"className":11083,"code":44171,"language":11085,"meta":197,"style":197},"import { createApp } from \"vue\";\nimport App from \".\u002FApp.vue\";\nimport { createVuesticEssential } from \"vuestic-ui\"; \u002F\u002F \u003C--\nimport 'vuestic-ui\u002Fdist\u002Fvuestic-ui.css' \u002F\u002F \u003C--\n\nconst app = createApp(App);\n\napp.use(createVuesticEssential()); \u002F\u002F \u003C--\n\napp.mount(\"#app\");\n",[137,44173,44174,44195,44213,44237,44250,44254,44269,44273,44295,44299],{"__ignoreMap":197},[201,44175,44176,44178,44180,44183,44185,44187,44189,44191,44193],{"class":203,"line":204},[201,44177,626],{"class":245},[201,44179,631],{"class":260},[201,44181,44182],{"class":256}," createApp",[201,44184,637],{"class":260},[201,44186,640],{"class":245},[201,44188,23058],{"class":260},[201,44190,1335],{"class":211},[201,44192,1356],{"class":260},[201,44194,19393],{"class":260},[201,44196,44197,44199,44202,44204,44206,44209,44211],{"class":203,"line":224},[201,44198,626],{"class":245},[201,44200,44201],{"class":256}," App ",[201,44203,23381],{"class":245},[201,44205,23058],{"class":260},[201,44207,44208],{"class":211},".\u002FApp.vue",[201,44210,1356],{"class":260},[201,44212,19393],{"class":260},[201,44214,44215,44217,44219,44222,44224,44226,44228,44230,44232,44234],{"class":203,"line":264},[201,44216,626],{"class":245},[201,44218,631],{"class":260},[201,44220,44221],{"class":256}," createVuesticEssential",[201,44223,637],{"class":260},[201,44225,640],{"class":245},[201,44227,23058],{"class":260},[201,44229,32635],{"class":211},[201,44231,1356],{"class":260},[201,44233,9510],{"class":260},[201,44235,44236],{"class":239}," \u002F\u002F \u003C--\n",[201,44238,44239,44241,44243,44246,44248],{"class":203,"line":290},[201,44240,626],{"class":245},[201,44242,309],{"class":260},[201,44244,44245],{"class":211},"vuestic-ui\u002Fdist\u002Fvuestic-ui.css",[201,44247,277],{"class":260},[201,44249,44236],{"class":239},[201,44251,44252],{"class":203,"line":301},[201,44253,654],{"emptyLinePlaceholder":653},[201,44255,44256,44258,44260,44262,44264,44267],{"class":203,"line":319},[201,44257,660],{"class":659},[201,44259,17120],{"class":256},[201,44261,1353],{"class":260},[201,44263,44182],{"class":252},[201,44265,44266],{"class":256},"(App)",[201,44268,19393],{"class":260},[201,44270,44271],{"class":203,"line":329},[201,44272,654],{"emptyLinePlaceholder":653},[201,44274,44275,44278,44280,44283,44285,44288,44291,44293],{"class":203,"line":346},[201,44276,44277],{"class":256},"app",[201,44279,534],{"class":260},[201,44281,44282],{"class":252},"use",[201,44284,257],{"class":256},[201,44286,44287],{"class":252},"createVuesticEssential",[201,44289,44290],{"class":256},"())",[201,44292,9510],{"class":260},[201,44294,44236],{"class":239},[201,44296,44297],{"class":203,"line":363},[201,44298,654],{"emptyLinePlaceholder":653},[201,44300,44301,44303,44305,44308,44310,44312,44315,44317,44319],{"class":203,"line":380},[201,44302,44277],{"class":256},[201,44304,534],{"class":260},[201,44306,44307],{"class":252},"mount",[201,44309,257],{"class":256},[201,44311,1356],{"class":260},[201,44313,44314],{"class":211},"#app",[201,44316,1356],{"class":260},[201,44318,3779],{"class":256},[201,44320,19393],{"class":260},[18,44322,44324],{"id":44323},"make-a-simple-table-with-image-name-email","Make a simple table with \"image\", \"name\", \"email\"",[192,44326,44328],{"className":1333,"code":44327,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cdiv style=\"height: 300px; width: 100%;\">\n    \u003Cag-grid-vue\n      class=\"ag-theme-vuestic\"\n      style=\"width: 100%; height: 100%;\"\n      :columnDefs=\"columnDefs\"\n      :rowData=\"reactiveUsers\"\n      :modules=\"modules\"\n    \u002F>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\nimport { AgGridVue } from '@ag-grid-community\u002Fvue3'\nimport {\n  ClientSideRowModelModule,\n} from '@ag-grid-community\u002Fclient-side-row-model'\nimport { users } from '..\u002Fdata\u002Fusers'\nimport { reactive } from 'vue'\n\nconst modules = [ClientSideRowModelModule]\n\nconst reactiveUsers = reactive(users)\n\nconst columnDefs = [\n  { field: 'name' },\n  { field: 'email' },\n]\n\u003C\u002Fscript>\n\n\u003Cstyle lang=\"scss\">\n@import \"@vuestic\u002Fag-grid-theme\u002Findex.scss\";\n\u003C\u002Fstyle>\n",[137,44329,44330,44338,44357,44364,44377,44391,44405,44419,44433,44438,44446,44454,44458,44478,44498,44504,44511,44524,44544,44562,44566,44578,44582,44596,44600,44611,44628,44644,44648,44656,44660,44679,44684],{"__ignoreMap":197},[201,44331,44332,44334,44336],{"class":203,"line":204},[201,44333,1342],{"class":260},[201,44335,1715],{"class":267},[201,44337,1718],{"class":260},[201,44339,44340,44342,44344,44346,44348,44350,44353,44355],{"class":203,"line":224},[201,44341,1723],{"class":260},[201,44343,6013],{"class":267},[201,44345,30234],{"class":659},[201,44347,1353],{"class":260},[201,44349,1356],{"class":260},[201,44351,44352],{"class":211},"height: 300px; width: 100%;",[201,44354,1356],{"class":260},[201,44356,1718],{"class":260},[201,44358,44359,44361],{"class":203,"line":264},[201,44360,5556],{"class":260},[201,44362,44363],{"class":267},"ag-grid-vue\n",[201,44365,44366,44368,44370,44372,44375],{"class":203,"line":290},[201,44367,41672],{"class":659},[201,44369,1353],{"class":260},[201,44371,1356],{"class":260},[201,44373,44374],{"class":211},"ag-theme-vuestic",[201,44376,1362],{"class":260},[201,44378,44379,44382,44384,44386,44389],{"class":203,"line":301},[201,44380,44381],{"class":659},"      style",[201,44383,1353],{"class":260},[201,44385,1356],{"class":260},[201,44387,44388],{"class":211},"width: 100%; height: 100%;",[201,44390,1362],{"class":260},[201,44392,44393,44396,44398,44400,44403],{"class":203,"line":319},[201,44394,44395],{"class":659},"      :columnDefs",[201,44397,1353],{"class":260},[201,44399,1356],{"class":260},[201,44401,44402],{"class":211},"columnDefs",[201,44404,1362],{"class":260},[201,44406,44407,44410,44412,44414,44417],{"class":203,"line":329},[201,44408,44409],{"class":659},"      :rowData",[201,44411,1353],{"class":260},[201,44413,1356],{"class":260},[201,44415,44416],{"class":211},"reactiveUsers",[201,44418,1362],{"class":260},[201,44420,44421,44424,44426,44428,44431],{"class":203,"line":346},[201,44422,44423],{"class":659},"      :modules",[201,44425,1353],{"class":260},[201,44427,1356],{"class":260},[201,44429,44430],{"class":211},"modules",[201,44432,1362],{"class":260},[201,44434,44435],{"class":203,"line":363},[201,44436,44437],{"class":260},"    \u002F>\n",[201,44439,44440,44442,44444],{"class":203,"line":380},[201,44441,5608],{"class":260},[201,44443,6013],{"class":267},[201,44445,1718],{"class":260},[201,44447,44448,44450,44452],{"class":203,"line":391},[201,44449,1760],{"class":260},[201,44451,1715],{"class":267},[201,44453,1718],{"class":260},[201,44455,44456],{"class":203,"line":441},[201,44457,654],{"emptyLinePlaceholder":653},[201,44459,44460,44462,44464,44466,44468,44470,44472,44474,44476],{"class":203,"line":484},[201,44461,1342],{"class":260},[201,44463,2936],{"class":267},[201,44465,2939],{"class":659},[201,44467,2942],{"class":659},[201,44469,1353],{"class":260},[201,44471,1356],{"class":260},[201,44473,232],{"class":211},[201,44475,1356],{"class":260},[201,44477,1718],{"class":260},[201,44479,44480,44482,44484,44487,44489,44491,44493,44496],{"class":203,"line":492},[201,44481,626],{"class":245},[201,44483,631],{"class":260},[201,44485,44486],{"class":256}," AgGridVue",[201,44488,637],{"class":260},[201,44490,640],{"class":245},[201,44492,309],{"class":260},[201,44494,44495],{"class":211},"@ag-grid-community\u002Fvue3",[201,44497,648],{"class":260},[201,44499,44500,44502],{"class":203,"line":498},[201,44501,626],{"class":245},[201,44503,298],{"class":260},[201,44505,44506,44509],{"class":203,"line":504},[201,44507,44508],{"class":256},"  ClientSideRowModelModule",[201,44510,287],{"class":260},[201,44512,44513,44515,44517,44519,44522],{"class":203,"line":5949},[201,44514,507],{"class":260},[201,44516,640],{"class":245},[201,44518,309],{"class":260},[201,44520,44521],{"class":211},"@ag-grid-community\u002Fclient-side-row-model",[201,44523,648],{"class":260},[201,44525,44526,44528,44530,44533,44535,44537,44539,44542],{"class":203,"line":5956},[201,44527,626],{"class":245},[201,44529,631],{"class":260},[201,44531,44532],{"class":256}," users",[201,44534,637],{"class":260},[201,44536,640],{"class":245},[201,44538,309],{"class":260},[201,44540,44541],{"class":211},"..\u002Fdata\u002Fusers",[201,44543,648],{"class":260},[201,44545,44546,44548,44550,44552,44554,44556,44558,44560],{"class":203,"line":5965},[201,44547,626],{"class":245},[201,44549,631],{"class":260},[201,44551,27788],{"class":256},[201,44553,637],{"class":260},[201,44555,640],{"class":245},[201,44557,309],{"class":260},[201,44559,1335],{"class":211},[201,44561,648],{"class":260},[201,44563,44564],{"class":203,"line":5970},[201,44565,654],{"emptyLinePlaceholder":653},[201,44567,44568,44570,44573,44575],{"class":203,"line":5979},[201,44569,660],{"class":659},[201,44571,44572],{"class":256}," modules ",[201,44574,1353],{"class":260},[201,44576,44577],{"class":256}," [ClientSideRowModelModule]\n",[201,44579,44580],{"class":203,"line":5988},[201,44581,654],{"emptyLinePlaceholder":653},[201,44583,44584,44586,44589,44591,44593],{"class":203,"line":6008},[201,44585,660],{"class":659},[201,44587,44588],{"class":256}," reactiveUsers ",[201,44590,1353],{"class":260},[201,44592,27788],{"class":252},[201,44594,44595],{"class":256},"(users)\n",[201,44597,44598],{"class":203,"line":6029},[201,44599,654],{"emptyLinePlaceholder":653},[201,44601,44602,44604,44607,44609],{"class":203,"line":6038},[201,44603,660],{"class":659},[201,44605,44606],{"class":256}," columnDefs ",[201,44608,1353],{"class":260},[201,44610,388],{"class":256},[201,44612,44613,44615,44618,44620,44622,44624,44626],{"class":203,"line":24104},[201,44614,11103],{"class":260},[201,44616,44617],{"class":267}," field",[201,44619,271],{"class":260},[201,44621,309],{"class":260},[201,44623,7044],{"class":211},[201,44625,277],{"class":260},[201,44627,438],{"class":260},[201,44629,44630,44632,44634,44636,44638,44640,44642],{"class":203,"line":24119},[201,44631,11103],{"class":260},[201,44633,44617],{"class":267},[201,44635,271],{"class":260},[201,44637,309],{"class":260},[201,44639,26994],{"class":211},[201,44641,277],{"class":260},[201,44643,438],{"class":260},[201,44645,44646],{"class":203,"line":24134},[201,44647,11187],{"class":256},[201,44649,44650,44652,44654],{"class":203,"line":24149},[201,44651,1760],{"class":260},[201,44653,2936],{"class":267},[201,44655,1718],{"class":260},[201,44657,44658],{"class":203,"line":24164},[201,44659,654],{"emptyLinePlaceholder":653},[201,44661,44662,44664,44666,44668,44670,44672,44675,44677],{"class":203,"line":24170},[201,44663,1342],{"class":260},[201,44665,984],{"class":267},[201,44667,2942],{"class":659},[201,44669,1353],{"class":260},[201,44671,1356],{"class":260},[201,44673,44674],{"class":211},"scss",[201,44676,1356],{"class":260},[201,44678,1718],{"class":260},[201,44680,44681],{"class":203,"line":24178},[201,44682,44683],{"class":256},"@import \"@vuestic\u002Fag-grid-theme\u002Findex.scss\";\n",[201,44685,44686,44688,44690],{"class":203,"line":24193},[201,44687,1760],{"class":260},[201,44689,984],{"class":267},[201,44691,1718],{"class":260},[192,44693,44695],{"className":230,"code":44694,"language":232,"meta":197,"style":197},"type User = {\n  id: number,\n  image: string,\n  name: string,\n  email: string,\n  active: boolean,\n}\n\nexport const users: User[] = [\n  {\n    id: 1,\n    image: 'https:\u002F\u002Fpicsum.photos\u002Fid\u002F1\u002F50\u002F50',\n    name: 'Ashley Mcdaniel',\n    email: 'ashleymcdaniel@nebulean.com',\n    active: true,\n  },\n...\n",[137,44696,44697,44708,44719,44729,44739,44750,44762,44766,44770,44789,44794,44805,44821,44836,44852,44863,44867],{"__ignoreMap":197},[201,44698,44699,44701,44704,44706],{"class":203,"line":204},[201,44700,21233],{"class":659},[201,44702,44703],{"class":207}," User",[201,44705,670],{"class":260},[201,44707,298],{"class":260},[201,44709,44710,44713,44715,44717],{"class":203,"line":224},[201,44711,44712],{"class":267},"  id",[201,44714,271],{"class":260},[201,44716,9517],{"class":207},[201,44718,287],{"class":260},[201,44720,44721,44723,44725,44727],{"class":203,"line":264},[201,44722,1254],{"class":267},[201,44724,271],{"class":260},[201,44726,3399],{"class":207},[201,44728,287],{"class":260},[201,44730,44731,44733,44735,44737],{"class":203,"line":290},[201,44732,32658],{"class":267},[201,44734,271],{"class":260},[201,44736,3399],{"class":207},[201,44738,287],{"class":260},[201,44740,44741,44744,44746,44748],{"class":203,"line":301},[201,44742,44743],{"class":267},"  email",[201,44745,271],{"class":260},[201,44747,3399],{"class":207},[201,44749,287],{"class":260},[201,44751,44752,44755,44757,44760],{"class":203,"line":319},[201,44753,44754],{"class":267},"  active",[201,44756,271],{"class":260},[201,44758,44759],{"class":207}," boolean",[201,44761,287],{"class":260},[201,44763,44764],{"class":203,"line":329},[201,44765,724],{"class":260},[201,44767,44768],{"class":203,"line":346},[201,44769,654],{"emptyLinePlaceholder":653},[201,44771,44772,44774,44776,44778,44780,44782,44785,44787],{"class":203,"line":363},[201,44773,246],{"class":245},[201,44775,23556],{"class":659},[201,44777,44532],{"class":256},[201,44779,271],{"class":260},[201,44781,44703],{"class":207},[201,44783,44784],{"class":256},"[] ",[201,44786,1353],{"class":260},[201,44788,388],{"class":256},[201,44790,44791],{"class":203,"line":380},[201,44792,44793],{"class":260},"  {\n",[201,44795,44796,44799,44801,44803],{"class":203,"line":391},[201,44797,44798],{"class":267},"    id",[201,44800,271],{"class":260},[201,44802,5773],{"class":1268},[201,44804,287],{"class":260},[201,44806,44807,44810,44812,44814,44817,44819],{"class":203,"line":441},[201,44808,44809],{"class":267},"    image",[201,44811,271],{"class":260},[201,44813,309],{"class":260},[201,44815,44816],{"class":211},"https:\u002F\u002Fpicsum.photos\u002Fid\u002F1\u002F50\u002F50",[201,44818,277],{"class":260},[201,44820,287],{"class":260},[201,44822,44823,44825,44827,44829,44832,44834],{"class":203,"line":484},[201,44824,3232],{"class":267},[201,44826,271],{"class":260},[201,44828,309],{"class":260},[201,44830,44831],{"class":211},"Ashley Mcdaniel",[201,44833,277],{"class":260},[201,44835,287],{"class":260},[201,44837,44838,44841,44843,44845,44848,44850],{"class":203,"line":492},[201,44839,44840],{"class":267},"    email",[201,44842,271],{"class":260},[201,44844,309],{"class":260},[201,44846,44847],{"class":211},"ashleymcdaniel@nebulean.com",[201,44849,277],{"class":260},[201,44851,287],{"class":260},[201,44853,44854,44857,44859,44861],{"class":203,"line":498},[201,44855,44856],{"class":267},"    active",[201,44858,271],{"class":260},[201,44860,1865],{"class":1864},[201,44862,287],{"class":260},[201,44864,44865],{"class":203,"line":504},[201,44866,501],{"class":260},[201,44868,44869],{"class":203,"line":5949},[201,44870,44871],{"class":260},"...\n",[14,44873,44874],{},[14615,44875],{"alt":197,"src":44876},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f988feeda38b9ee8.png",[192,44878,44880],{"className":1333,"code":44879,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cva-avatar :src=\"url\" :size=\"44\" \u002F>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\nimport { VaAvatar } from 'vuestic-ui'\nimport { computed } from 'vue'\n\nconst props = defineProps\u003C{params: {value: string}}>()\n\nconst url = computed(() => props.params.value)\n\u003C\u002Fscript>\n",[137,44881,44882,44890,44921,44929,44933,44953,44972,44990,44994,45023,45027,45055],{"__ignoreMap":197},[201,44883,44884,44886,44888],{"class":203,"line":204},[201,44885,1342],{"class":260},[201,44887,1715],{"class":267},[201,44889,1718],{"class":260},[201,44891,44892,44894,44897,44899,44901,44903,44905,44907,44910,44912,44914,44917,44919],{"class":203,"line":224},[201,44893,1723],{"class":260},[201,44895,44896],{"class":267},"va-avatar",[201,44898,30089],{"class":659},[201,44900,1353],{"class":260},[201,44902,1356],{"class":260},[201,44904,19462],{"class":211},[201,44906,1356],{"class":260},[201,44908,44909],{"class":659}," :size",[201,44911,1353],{"class":260},[201,44913,1356],{"class":260},[201,44915,44916],{"class":211},"44",[201,44918,1356],{"class":260},[201,44920,1539],{"class":260},[201,44922,44923,44925,44927],{"class":203,"line":264},[201,44924,1760],{"class":260},[201,44926,1715],{"class":267},[201,44928,1718],{"class":260},[201,44930,44931],{"class":203,"line":290},[201,44932,654],{"emptyLinePlaceholder":653},[201,44934,44935,44937,44939,44941,44943,44945,44947,44949,44951],{"class":203,"line":301},[201,44936,1342],{"class":260},[201,44938,2936],{"class":267},[201,44940,2939],{"class":659},[201,44942,2942],{"class":659},[201,44944,1353],{"class":260},[201,44946,1356],{"class":260},[201,44948,232],{"class":211},[201,44950,1356],{"class":260},[201,44952,1718],{"class":260},[201,44954,44955,44957,44959,44962,44964,44966,44968,44970],{"class":203,"line":319},[201,44956,626],{"class":245},[201,44958,631],{"class":260},[201,44960,44961],{"class":256}," VaAvatar",[201,44963,637],{"class":260},[201,44965,640],{"class":245},[201,44967,309],{"class":260},[201,44969,32635],{"class":211},[201,44971,648],{"class":260},[201,44973,44974,44976,44978,44980,44982,44984,44986,44988],{"class":203,"line":329},[201,44975,626],{"class":245},[201,44977,631],{"class":260},[201,44979,12245],{"class":256},[201,44981,637],{"class":260},[201,44983,640],{"class":245},[201,44985,309],{"class":260},[201,44987,1335],{"class":211},[201,44989,648],{"class":260},[201,44991,44992],{"class":203,"line":346},[201,44993,654],{"emptyLinePlaceholder":653},[201,44995,44996,44998,45000,45002,45004,45006,45008,45010,45012,45014,45016,45018,45021],{"class":203,"line":363},[201,44997,660],{"class":659},[201,44999,19373],{"class":256},[201,45001,1353],{"class":260},[201,45003,19378],{"class":252},[201,45005,3391],{"class":260},[201,45007,3007],{"class":267},[201,45009,271],{"class":260},[201,45011,631],{"class":260},[201,45013,3048],{"class":267},[201,45015,271],{"class":260},[201,45017,3399],{"class":207},[201,45019,45020],{"class":260},"}}>",[201,45022,2967],{"class":256},[201,45024,45025],{"class":203,"line":380},[201,45026,654],{"emptyLinePlaceholder":653},[201,45028,45029,45031,45034,45036,45038,45040,45042,45044,45046,45048,45050,45052],{"class":203,"line":391},[201,45030,660],{"class":659},[201,45032,45033],{"class":256}," url ",[201,45035,1353],{"class":260},[201,45037,12245],{"class":252},[201,45039,257],{"class":256},[201,45041,6634],{"class":260},[201,45043,1999],{"class":659},[201,45045,33741],{"class":256},[201,45047,534],{"class":260},[201,45049,3007],{"class":256},[201,45051,534],{"class":260},[201,45053,45054],{"class":256},"value)\n",[201,45056,45057,45059,45061],{"class":203,"line":441},[201,45058,1760],{"class":260},[201,45060,2936],{"class":267},[201,45062,1718],{"class":260},[192,45064,45066],{"className":11083,"code":45065,"language":11085,"meta":197,"style":197},"const columnDefs = [\n  { field: 'image', cellRenderer: UserImage, width: 65 },\n  ...\n",[137,45067,45068,45078,45113],{"__ignoreMap":197},[201,45069,45070,45072,45074,45076],{"class":203,"line":204},[201,45071,660],{"class":659},[201,45073,44606],{"class":256},[201,45075,1353],{"class":260},[201,45077,388],{"class":256},[201,45079,45080,45082,45084,45086,45088,45090,45092,45094,45097,45099,45102,45104,45106,45108,45111],{"class":203,"line":224},[201,45081,11103],{"class":260},[201,45083,44617],{"class":267},[201,45085,271],{"class":260},[201,45087,309],{"class":260},[201,45089,15952],{"class":211},[201,45091,277],{"class":260},[201,45093,409],{"class":260},[201,45095,45096],{"class":267}," cellRenderer",[201,45098,271],{"class":260},[201,45100,45101],{"class":256}," UserImage",[201,45103,409],{"class":260},[201,45105,1491],{"class":267},[201,45107,271],{"class":260},[201,45109,45110],{"class":1268}," 65",[201,45112,438],{"class":260},[201,45114,45115],{"class":203,"line":264},[201,45116,42016],{"class":260},[14,45118,45119],{},[14615,45120],{"alt":197,"src":45121},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9b5dd9f1cb7a53b.png",[18,45123,45125],{"id":45124},"add-active-column","Add 'active' column",[192,45127,45129],{"className":1333,"code":45128,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cva-switch class=\"user-active\" v-model=\"user.active\" size=\"small\" \u002F>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\nimport { VaSwitch } from 'vuestic-ui'\nimport { computed, reactive } from 'vue'\nimport { User } from '..\u002Fdata\u002Fusers'\n\nconst props = defineProps\u003C{params: {data: User}}>()\n\n\u002F\u002F AG Grid strips reactivity for some reason, so we have to force it back.\nconst user = computed(() => reactive(props.params.data))\n\u003C\u002Fscript>\n",[137,45130,45131,45139,45183,45191,45195,45215,45234,45256,45274,45278,45306,45310,45315,45346],{"__ignoreMap":197},[201,45132,45133,45135,45137],{"class":203,"line":204},[201,45134,1342],{"class":260},[201,45136,1715],{"class":267},[201,45138,1718],{"class":260},[201,45140,45141,45143,45146,45148,45150,45152,45155,45157,45160,45162,45164,45167,45169,45172,45174,45176,45179,45181],{"class":203,"line":224},[201,45142,1723],{"class":260},[201,45144,45145],{"class":267},"va-switch",[201,45147,15430],{"class":659},[201,45149,1353],{"class":260},[201,45151,1356],{"class":260},[201,45153,45154],{"class":211},"user-active",[201,45156,1356],{"class":260},[201,45158,45159],{"class":659}," v-model",[201,45161,1353],{"class":260},[201,45163,1356],{"class":260},[201,45165,45166],{"class":211},"user.active",[201,45168,1356],{"class":260},[201,45170,45171],{"class":659}," size",[201,45173,1353],{"class":260},[201,45175,1356],{"class":260},[201,45177,45178],{"class":211},"small",[201,45180,1356],{"class":260},[201,45182,1539],{"class":260},[201,45184,45185,45187,45189],{"class":203,"line":264},[201,45186,1760],{"class":260},[201,45188,1715],{"class":267},[201,45190,1718],{"class":260},[201,45192,45193],{"class":203,"line":290},[201,45194,654],{"emptyLinePlaceholder":653},[201,45196,45197,45199,45201,45203,45205,45207,45209,45211,45213],{"class":203,"line":301},[201,45198,1342],{"class":260},[201,45200,2936],{"class":267},[201,45202,2939],{"class":659},[201,45204,2942],{"class":659},[201,45206,1353],{"class":260},[201,45208,1356],{"class":260},[201,45210,232],{"class":211},[201,45212,1356],{"class":260},[201,45214,1718],{"class":260},[201,45216,45217,45219,45221,45224,45226,45228,45230,45232],{"class":203,"line":319},[201,45218,626],{"class":245},[201,45220,631],{"class":260},[201,45222,45223],{"class":256}," VaSwitch",[201,45225,637],{"class":260},[201,45227,640],{"class":245},[201,45229,309],{"class":260},[201,45231,32635],{"class":211},[201,45233,648],{"class":260},[201,45235,45236,45238,45240,45242,45244,45246,45248,45250,45252,45254],{"class":203,"line":329},[201,45237,626],{"class":245},[201,45239,631],{"class":260},[201,45241,12245],{"class":256},[201,45243,409],{"class":260},[201,45245,27788],{"class":256},[201,45247,637],{"class":260},[201,45249,640],{"class":245},[201,45251,309],{"class":260},[201,45253,1335],{"class":211},[201,45255,648],{"class":260},[201,45257,45258,45260,45262,45264,45266,45268,45270,45272],{"class":203,"line":346},[201,45259,626],{"class":245},[201,45261,631],{"class":260},[201,45263,44703],{"class":256},[201,45265,637],{"class":260},[201,45267,640],{"class":245},[201,45269,309],{"class":260},[201,45271,44541],{"class":211},[201,45273,648],{"class":260},[201,45275,45276],{"class":203,"line":363},[201,45277,654],{"emptyLinePlaceholder":653},[201,45279,45280,45282,45284,45286,45288,45290,45292,45294,45296,45298,45300,45302,45304],{"class":203,"line":380},[201,45281,660],{"class":659},[201,45283,19373],{"class":256},[201,45285,1353],{"class":260},[201,45287,19378],{"class":252},[201,45289,3391],{"class":260},[201,45291,3007],{"class":267},[201,45293,271],{"class":260},[201,45295,631],{"class":260},[201,45297,4705],{"class":267},[201,45299,271],{"class":260},[201,45301,44703],{"class":207},[201,45303,45020],{"class":260},[201,45305,2967],{"class":256},[201,45307,45308],{"class":203,"line":391},[201,45309,654],{"emptyLinePlaceholder":653},[201,45311,45312],{"class":203,"line":441},[201,45313,45314],{"class":239},"\u002F\u002F AG Grid strips reactivity for some reason, so we have to force it back.\n",[201,45316,45317,45319,45322,45324,45326,45328,45330,45332,45334,45337,45339,45341,45343],{"class":203,"line":484},[201,45318,660],{"class":659},[201,45320,45321],{"class":256}," user ",[201,45323,1353],{"class":260},[201,45325,12245],{"class":252},[201,45327,257],{"class":256},[201,45329,6634],{"class":260},[201,45331,1999],{"class":659},[201,45333,27788],{"class":252},[201,45335,45336],{"class":256},"(props",[201,45338,534],{"class":260},[201,45340,3007],{"class":256},[201,45342,534],{"class":260},[201,45344,45345],{"class":256},"data))\n",[201,45347,45348,45350,45352],{"class":203,"line":492},[201,45349,1760],{"class":260},[201,45351,2936],{"class":267},[201,45353,1718],{"class":260},[192,45355,45357],{"className":11083,"code":45356,"language":11085,"meta":197,"style":197},"const columnDefs = [\n    ...\n  { field: 'active', cellRenderer: UserActive, width: 75 },\n",[137,45358,45359,45369,45373],{"__ignoreMap":197},[201,45360,45361,45363,45365,45367],{"class":203,"line":204},[201,45362,660],{"class":659},[201,45364,44606],{"class":256},[201,45366,1353],{"class":260},[201,45368,388],{"class":256},[201,45370,45371],{"class":203,"line":224},[201,45372,42096],{"class":260},[201,45374,45375,45377,45379,45381,45383,45385,45387,45389,45391,45393,45396,45398,45400,45402,45405],{"class":203,"line":264},[201,45376,11103],{"class":260},[201,45378,44617],{"class":267},[201,45380,271],{"class":260},[201,45382,309],{"class":260},[201,45384,11368],{"class":211},[201,45386,277],{"class":260},[201,45388,409],{"class":260},[201,45390,45096],{"class":267},[201,45392,271],{"class":260},[201,45394,45395],{"class":256}," UserActive",[201,45397,409],{"class":260},[201,45399,1491],{"class":267},[201,45401,271],{"class":260},[201,45403,45404],{"class":1268}," 75",[201,45406,438],{"class":260},[14,45408,45409],{},[14615,45410],{"alt":197,"src":45411},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9a90f6a576ee140.png",[192,45413,45415],{"className":11083,"code":45414,"language":11085,"meta":197,"style":197},"const active = computed(() => props.params.data.active)\nconst setActive = (value) => api.setActive(props.params.data.id, value)\n",[137,45416,45417,45449],{"__ignoreMap":197},[201,45418,45419,45421,45424,45426,45428,45430,45432,45434,45436,45438,45440,45442,45444,45446],{"class":203,"line":204},[201,45420,660],{"class":659},[201,45422,45423],{"class":256}," active ",[201,45425,1353],{"class":260},[201,45427,12245],{"class":252},[201,45429,257],{"class":256},[201,45431,6634],{"class":260},[201,45433,1999],{"class":659},[201,45435,33741],{"class":256},[201,45437,534],{"class":260},[201,45439,3007],{"class":256},[201,45441,534],{"class":260},[201,45443,4705],{"class":256},[201,45445,534],{"class":260},[201,45447,45448],{"class":256},"active)\n",[201,45450,45451,45453,45456,45458,45460,45462,45464,45466,45468,45470,45473,45475,45477,45479,45481,45483,45485,45487,45489],{"class":203,"line":224},[201,45452,660],{"class":659},[201,45454,45455],{"class":256}," setActive ",[201,45457,1353],{"class":260},[201,45459,2142],{"class":260},[201,45461,3048],{"class":2106},[201,45463,3779],{"class":260},[201,45465,1999],{"class":659},[201,45467,14796],{"class":256},[201,45469,534],{"class":260},[201,45471,45472],{"class":252},"setActive",[201,45474,45336],{"class":256},[201,45476,534],{"class":260},[201,45478,3007],{"class":256},[201,45480,534],{"class":260},[201,45482,4705],{"class":256},[201,45484,534],{"class":260},[201,45486,6742],{"class":256},[201,45488,409],{"class":260},[201,45490,45491],{"class":256}," value)\n",[192,45493,45496],{"className":45494,"code":45495,"language":9281},[9279],"\u003Cva-switch :modelValue=\"active\" @modelValue:update=\"setActive\" \u002F>\n",[137,45497,45495],{"__ignoreMap":197},[18,45499,45501],{"id":45500},"implement-sorting-for-all-columns","Implement sorting for all columns",[192,45503,45505],{"className":11083,"code":45504,"language":11085,"meta":197,"style":197},"const columnDefs = [\n  { field: 'image', headerName: '', cellRenderer: UserImage, width: 65 },\n  { field: 'name', sortable: true },\n  { field: 'email', sortable: true },\n  { field: 'active', cellRenderer: UserActive, width: 75, sortable: true },\n]\n",[137,45506,45507,45517,45558,45583,45607,45647],{"__ignoreMap":197},[201,45508,45509,45511,45513,45515],{"class":203,"line":204},[201,45510,660],{"class":659},[201,45512,44606],{"class":256},[201,45514,1353],{"class":260},[201,45516,388],{"class":256},[201,45518,45519,45521,45523,45525,45527,45529,45531,45533,45536,45538,45540,45542,45544,45546,45548,45550,45552,45554,45556],{"class":203,"line":224},[201,45520,11103],{"class":260},[201,45522,44617],{"class":267},[201,45524,271],{"class":260},[201,45526,309],{"class":260},[201,45528,15952],{"class":211},[201,45530,277],{"class":260},[201,45532,409],{"class":260},[201,45534,45535],{"class":267}," headerName",[201,45537,271],{"class":260},[201,45539,26945],{"class":260},[201,45541,409],{"class":260},[201,45543,45096],{"class":267},[201,45545,271],{"class":260},[201,45547,45101],{"class":256},[201,45549,409],{"class":260},[201,45551,1491],{"class":267},[201,45553,271],{"class":260},[201,45555,45110],{"class":1268},[201,45557,438],{"class":260},[201,45559,45560,45562,45564,45566,45568,45570,45572,45574,45577,45579,45581],{"class":203,"line":264},[201,45561,11103],{"class":260},[201,45563,44617],{"class":267},[201,45565,271],{"class":260},[201,45567,309],{"class":260},[201,45569,7044],{"class":211},[201,45571,277],{"class":260},[201,45573,409],{"class":260},[201,45575,45576],{"class":267}," sortable",[201,45578,271],{"class":260},[201,45580,1865],{"class":1864},[201,45582,438],{"class":260},[201,45584,45585,45587,45589,45591,45593,45595,45597,45599,45601,45603,45605],{"class":203,"line":290},[201,45586,11103],{"class":260},[201,45588,44617],{"class":267},[201,45590,271],{"class":260},[201,45592,309],{"class":260},[201,45594,26994],{"class":211},[201,45596,277],{"class":260},[201,45598,409],{"class":260},[201,45600,45576],{"class":267},[201,45602,271],{"class":260},[201,45604,1865],{"class":1864},[201,45606,438],{"class":260},[201,45608,45609,45611,45613,45615,45617,45619,45621,45623,45625,45627,45629,45631,45633,45635,45637,45639,45641,45643,45645],{"class":203,"line":301},[201,45610,11103],{"class":260},[201,45612,44617],{"class":267},[201,45614,271],{"class":260},[201,45616,309],{"class":260},[201,45618,11368],{"class":211},[201,45620,277],{"class":260},[201,45622,409],{"class":260},[201,45624,45096],{"class":267},[201,45626,271],{"class":260},[201,45628,45395],{"class":256},[201,45630,409],{"class":260},[201,45632,1491],{"class":267},[201,45634,271],{"class":260},[201,45636,45404],{"class":1268},[201,45638,409],{"class":260},[201,45640,45576],{"class":267},[201,45642,271],{"class":260},[201,45644,1865],{"class":1864},[201,45646,438],{"class":260},[201,45648,45649],{"class":203,"line":319},[201,45650,11187],{"class":256},[14,45652,45653],{},[14615,45654],{"alt":197,"src":45655},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9c30e2557daa426.png",[18,45657,45659],{"id":45658},"implement-full-text-filtering","Implement full text filtering",[192,45661,45663],{"className":1333,"code":45662,"language":1335,"meta":197,"style":197},"\n\u003Ctemplate>\n  \u003Cva-input\n    v-model=\"filter\"\n    placeholder=\"Filter...\"\n  \u002F>\n  \u003Cdiv style=\"height: 300px; width: 100%;\">\n    \u003Cag-grid-vue\n      class=\"ag-theme-vuestic\"\n      style=\"width: 100%; height: 100%;\"\n      :columnDefs=\"columnDefs\"\n      :rowData=\"reactiveUsers\"\n      :isExternalFilterPresent=\"() => true\"\n      :doesExternalFilterPass=\"doesExternalFilterPass\"\n      @grid-ready=\"onGridReady\"\n      :modules=\"modules\"\n    \u002F>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\n\n...\n\nconst filter = ref('')\nlet gridApi: any = null\n\nconst onGridReady = (params: any) => {\n  gridApi = params.api\n}\n\nwatch(() => filter.value, () => {\n  gridApi.onFilterChanged()\n})\n\nconst doesExternalFilterPass = ({ data: user }: {user: User}) => {\n  return JSON.stringify(user).includes(filter.value)\n}\n\n...\n",[137,45664,45665,45669,45677,45684,45697,45711,45716,45734,45740,45752,45764,45776,45788,45802,45816,45830,45842,45846,45854,45862,45866,45886,45890,45894,45898,45915,45931,45935,45958,45973,45977,45981,46006,46017,46023,46027,46064,46096,46100,46104],{"__ignoreMap":197},[201,45666,45667],{"class":203,"line":204},[201,45668,654],{"emptyLinePlaceholder":653},[201,45670,45671,45673,45675],{"class":203,"line":224},[201,45672,1342],{"class":260},[201,45674,1715],{"class":267},[201,45676,1718],{"class":260},[201,45678,45679,45681],{"class":203,"line":264},[201,45680,1723],{"class":260},[201,45682,45683],{"class":267},"va-input\n",[201,45685,45686,45689,45691,45693,45695],{"class":203,"line":290},[201,45687,45688],{"class":659},"    v-model",[201,45690,1353],{"class":260},[201,45692,1356],{"class":260},[201,45694,35024],{"class":211},[201,45696,1362],{"class":260},[201,45698,45699,45702,45704,45706,45709],{"class":203,"line":301},[201,45700,45701],{"class":659},"    placeholder",[201,45703,1353],{"class":260},[201,45705,1356],{"class":260},[201,45707,45708],{"class":211},"Filter...",[201,45710,1362],{"class":260},[201,45712,45713],{"class":203,"line":319},[201,45714,45715],{"class":260},"  \u002F>\n",[201,45717,45718,45720,45722,45724,45726,45728,45730,45732],{"class":203,"line":329},[201,45719,1723],{"class":260},[201,45721,6013],{"class":267},[201,45723,30234],{"class":659},[201,45725,1353],{"class":260},[201,45727,1356],{"class":260},[201,45729,44352],{"class":211},[201,45731,1356],{"class":260},[201,45733,1718],{"class":260},[201,45735,45736,45738],{"class":203,"line":346},[201,45737,5556],{"class":260},[201,45739,44363],{"class":267},[201,45741,45742,45744,45746,45748,45750],{"class":203,"line":363},[201,45743,41672],{"class":659},[201,45745,1353],{"class":260},[201,45747,1356],{"class":260},[201,45749,44374],{"class":211},[201,45751,1362],{"class":260},[201,45753,45754,45756,45758,45760,45762],{"class":203,"line":380},[201,45755,44381],{"class":659},[201,45757,1353],{"class":260},[201,45759,1356],{"class":260},[201,45761,44388],{"class":211},[201,45763,1362],{"class":260},[201,45765,45766,45768,45770,45772,45774],{"class":203,"line":391},[201,45767,44395],{"class":659},[201,45769,1353],{"class":260},[201,45771,1356],{"class":260},[201,45773,44402],{"class":211},[201,45775,1362],{"class":260},[201,45777,45778,45780,45782,45784,45786],{"class":203,"line":441},[201,45779,44409],{"class":659},[201,45781,1353],{"class":260},[201,45783,1356],{"class":260},[201,45785,44416],{"class":211},[201,45787,1362],{"class":260},[201,45789,45790,45793,45795,45797,45800],{"class":203,"line":484},[201,45791,45792],{"class":659},"      :isExternalFilterPresent",[201,45794,1353],{"class":260},[201,45796,1356],{"class":260},[201,45798,45799],{"class":211},"() => true",[201,45801,1362],{"class":260},[201,45803,45804,45807,45809,45811,45814],{"class":203,"line":492},[201,45805,45806],{"class":659},"      :doesExternalFilterPass",[201,45808,1353],{"class":260},[201,45810,1356],{"class":260},[201,45812,45813],{"class":211},"doesExternalFilterPass",[201,45815,1362],{"class":260},[201,45817,45818,45821,45823,45825,45828],{"class":203,"line":498},[201,45819,45820],{"class":659},"      @grid-ready",[201,45822,1353],{"class":260},[201,45824,1356],{"class":260},[201,45826,45827],{"class":211},"onGridReady",[201,45829,1362],{"class":260},[201,45831,45832,45834,45836,45838,45840],{"class":203,"line":504},[201,45833,44423],{"class":659},[201,45835,1353],{"class":260},[201,45837,1356],{"class":260},[201,45839,44430],{"class":211},[201,45841,1362],{"class":260},[201,45843,45844],{"class":203,"line":5949},[201,45845,44437],{"class":260},[201,45847,45848,45850,45852],{"class":203,"line":5956},[201,45849,5608],{"class":260},[201,45851,6013],{"class":267},[201,45853,1718],{"class":260},[201,45855,45856,45858,45860],{"class":203,"line":5965},[201,45857,1760],{"class":260},[201,45859,1715],{"class":267},[201,45861,1718],{"class":260},[201,45863,45864],{"class":203,"line":5970},[201,45865,654],{"emptyLinePlaceholder":653},[201,45867,45868,45870,45872,45874,45876,45878,45880,45882,45884],{"class":203,"line":5979},[201,45869,1342],{"class":260},[201,45871,2936],{"class":267},[201,45873,2939],{"class":659},[201,45875,2942],{"class":659},[201,45877,1353],{"class":260},[201,45879,1356],{"class":260},[201,45881,232],{"class":211},[201,45883,1356],{"class":260},[201,45885,1718],{"class":260},[201,45887,45888],{"class":203,"line":5988},[201,45889,654],{"emptyLinePlaceholder":653},[201,45891,45892],{"class":203,"line":6008},[201,45893,44871],{"class":260},[201,45895,45896],{"class":203,"line":6029},[201,45897,654],{"emptyLinePlaceholder":653},[201,45899,45900,45902,45905,45907,45909,45911,45913],{"class":203,"line":6038},[201,45901,660],{"class":659},[201,45903,45904],{"class":256}," filter ",[201,45906,1353],{"class":260},[201,45908,9534],{"class":252},[201,45910,257],{"class":256},[201,45912,27115],{"class":260},[201,45914,510],{"class":256},[201,45916,45917,45920,45923,45925,45927,45929],{"class":203,"line":24104},[201,45918,45919],{"class":659},"let",[201,45921,45922],{"class":256}," gridApi",[201,45924,271],{"class":260},[201,45926,5791],{"class":207},[201,45928,670],{"class":260},[201,45930,23754],{"class":260},[201,45932,45933],{"class":203,"line":24119},[201,45934,654],{"emptyLinePlaceholder":653},[201,45936,45937,45939,45942,45944,45946,45948,45950,45952,45954,45956],{"class":203,"line":24134},[201,45938,660],{"class":659},[201,45940,45941],{"class":256}," onGridReady ",[201,45943,1353],{"class":260},[201,45945,2142],{"class":260},[201,45947,3007],{"class":2106},[201,45949,271],{"class":260},[201,45951,5791],{"class":207},[201,45953,3779],{"class":260},[201,45955,1999],{"class":659},[201,45957,298],{"class":260},[201,45959,45960,45963,45965,45968,45970],{"class":203,"line":24149},[201,45961,45962],{"class":256},"  gridApi",[201,45964,670],{"class":260},[201,45966,45967],{"class":256}," params",[201,45969,534],{"class":260},[201,45971,45972],{"class":256},"api\n",[201,45974,45975],{"class":203,"line":24164},[201,45976,724],{"class":260},[201,45978,45979],{"class":203,"line":24170},[201,45980,654],{"emptyLinePlaceholder":653},[201,45982,45983,45985,45987,45989,45991,45994,45996,45998,46000,46002,46004],{"class":203,"line":24178},[201,45984,8102],{"class":252},[201,45986,257],{"class":256},[201,45988,6634],{"class":260},[201,45990,1999],{"class":659},[201,45992,45993],{"class":256}," filter",[201,45995,534],{"class":260},[201,45997,3048],{"class":256},[201,45999,409],{"class":260},[201,46001,1996],{"class":260},[201,46003,1999],{"class":659},[201,46005,298],{"class":260},[201,46007,46008,46010,46012,46015],{"class":203,"line":24193},[201,46009,45962],{"class":256},[201,46011,534],{"class":260},[201,46013,46014],{"class":252},"onFilterChanged",[201,46016,2967],{"class":267},[201,46018,46019,46021],{"class":203,"line":24207},[201,46020,507],{"class":260},[201,46022,510],{"class":256},[201,46024,46025],{"class":203,"line":24222},[201,46026,654],{"emptyLinePlaceholder":653},[201,46028,46029,46031,46034,46036,46039,46041,46043,46046,46049,46051,46053,46055,46057,46060,46062],{"class":203,"line":24237},[201,46030,660],{"class":659},[201,46032,46033],{"class":256}," doesExternalFilterPass ",[201,46035,1353],{"class":260},[201,46037,46038],{"class":260}," ({",[201,46040,2069],{"class":267},[201,46042,271],{"class":260},[201,46044,46045],{"class":2106}," user",[201,46047,46048],{"class":260}," }:",[201,46050,631],{"class":260},[201,46052,22016],{"class":267},[201,46054,271],{"class":260},[201,46056,44703],{"class":207},[201,46058,46059],{"class":260},"})",[201,46061,1999],{"class":659},[201,46063,298],{"class":260},[201,46065,46066,46068,46071,46073,46076,46078,46080,46082,46084,46086,46088,46090,46092,46094],{"class":203,"line":24243},[201,46067,2006],{"class":245},[201,46069,46070],{"class":256}," JSON",[201,46072,534],{"class":260},[201,46074,46075],{"class":252},"stringify",[201,46077,257],{"class":267},[201,46079,22016],{"class":256},[201,46081,3779],{"class":267},[201,46083,534],{"class":260},[201,46085,26999],{"class":252},[201,46087,257],{"class":267},[201,46089,35024],{"class":256},[201,46091,534],{"class":260},[201,46093,3048],{"class":256},[201,46095,510],{"class":267},[201,46097,46098],{"class":203,"line":24272},[201,46099,724],{"class":260},[201,46101,46102],{"class":203,"line":24282},[201,46103,654],{"emptyLinePlaceholder":653},[201,46105,46106],{"class":203,"line":24291},[201,46107,44871],{"class":260},[14,46109,46110],{},[14615,46111],{"alt":197,"src":46112},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9e2ccd0c4a200c3.png",[18,46114,46116],{"id":46115},"add-create-edit-and-delete-functionality","Add create, edit and delete functionality",[192,46118,46120],{"className":1333,"code":46119,"language":1335,"meta":197,"style":197},"\u003Ctemplate>\n  \u003Cdiv>\n    \u003Cva-button flat icon=\"edit\" @click=\"editUser(user)\" \u002F>\n    \u003Cva-button flat icon=\"close\" @click=\"removeUser(user)\" \u002F>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\nimport { VaButton } from 'vuestic-ui'\nimport { computed, reactive } from 'vue'\nimport { User } from '..\u002Fdata\u002Fusers'\n\nconst props = defineProps\u003C{params: {data: User, context: {\n  editUser: (user: User) => {},\n  removeUser: (user: User) => {},\n}}}>()\n\nconst { editUser, removeUser } = props.params.context\n\nconst user = computed(() => reactive(props.params.data))\n\u003C\u002Fscript>\n",[137,46121,46122,46130,46138,46173,46205,46213,46221,46225,46245,46264,46286,46304,46308,46341,46363,46384,46391,46395,46424,46428,46456],{"__ignoreMap":197},[201,46123,46124,46126,46128],{"class":203,"line":204},[201,46125,1342],{"class":260},[201,46127,1715],{"class":267},[201,46129,1718],{"class":260},[201,46131,46132,46134,46136],{"class":203,"line":224},[201,46133,1723],{"class":260},[201,46135,6013],{"class":267},[201,46137,1718],{"class":260},[201,46139,46140,46142,46145,46148,46151,46153,46155,46158,46160,46162,46164,46166,46169,46171],{"class":203,"line":264},[201,46141,5556],{"class":260},[201,46143,46144],{"class":267},"va-button",[201,46146,46147],{"class":659}," flat",[201,46149,46150],{"class":659}," icon",[201,46152,1353],{"class":260},[201,46154,1356],{"class":260},[201,46156,46157],{"class":211},"edit",[201,46159,1356],{"class":260},[201,46161,9611],{"class":659},[201,46163,1353],{"class":260},[201,46165,1356],{"class":260},[201,46167,46168],{"class":211},"editUser(user)",[201,46170,1356],{"class":260},[201,46172,1539],{"class":260},[201,46174,46175,46177,46179,46181,46183,46185,46187,46190,46192,46194,46196,46198,46201,46203],{"class":203,"line":290},[201,46176,5556],{"class":260},[201,46178,46144],{"class":267},[201,46180,46147],{"class":659},[201,46182,46150],{"class":659},[201,46184,1353],{"class":260},[201,46186,1356],{"class":260},[201,46188,46189],{"class":211},"close",[201,46191,1356],{"class":260},[201,46193,9611],{"class":659},[201,46195,1353],{"class":260},[201,46197,1356],{"class":260},[201,46199,46200],{"class":211},"removeUser(user)",[201,46202,1356],{"class":260},[201,46204,1539],{"class":260},[201,46206,46207,46209,46211],{"class":203,"line":301},[201,46208,5608],{"class":260},[201,46210,6013],{"class":267},[201,46212,1718],{"class":260},[201,46214,46215,46217,46219],{"class":203,"line":319},[201,46216,1760],{"class":260},[201,46218,1715],{"class":267},[201,46220,1718],{"class":260},[201,46222,46223],{"class":203,"line":329},[201,46224,654],{"emptyLinePlaceholder":653},[201,46226,46227,46229,46231,46233,46235,46237,46239,46241,46243],{"class":203,"line":346},[201,46228,1342],{"class":260},[201,46230,2936],{"class":267},[201,46232,2939],{"class":659},[201,46234,2942],{"class":659},[201,46236,1353],{"class":260},[201,46238,1356],{"class":260},[201,46240,232],{"class":211},[201,46242,1356],{"class":260},[201,46244,1718],{"class":260},[201,46246,46247,46249,46251,46254,46256,46258,46260,46262],{"class":203,"line":363},[201,46248,626],{"class":245},[201,46250,631],{"class":260},[201,46252,46253],{"class":256}," VaButton",[201,46255,637],{"class":260},[201,46257,640],{"class":245},[201,46259,309],{"class":260},[201,46261,32635],{"class":211},[201,46263,648],{"class":260},[201,46265,46266,46268,46270,46272,46274,46276,46278,46280,46282,46284],{"class":203,"line":380},[201,46267,626],{"class":245},[201,46269,631],{"class":260},[201,46271,12245],{"class":256},[201,46273,409],{"class":260},[201,46275,27788],{"class":256},[201,46277,637],{"class":260},[201,46279,640],{"class":245},[201,46281,309],{"class":260},[201,46283,1335],{"class":211},[201,46285,648],{"class":260},[201,46287,46288,46290,46292,46294,46296,46298,46300,46302],{"class":203,"line":391},[201,46289,626],{"class":245},[201,46291,631],{"class":260},[201,46293,44703],{"class":256},[201,46295,637],{"class":260},[201,46297,640],{"class":245},[201,46299,309],{"class":260},[201,46301,44541],{"class":211},[201,46303,648],{"class":260},[201,46305,46306],{"class":203,"line":441},[201,46307,654],{"emptyLinePlaceholder":653},[201,46309,46310,46312,46314,46316,46318,46320,46322,46324,46326,46328,46330,46332,46334,46337,46339],{"class":203,"line":484},[201,46311,660],{"class":659},[201,46313,19373],{"class":256},[201,46315,1353],{"class":260},[201,46317,19378],{"class":256},[201,46319,3391],{"class":260},[201,46321,3007],{"class":267},[201,46323,271],{"class":260},[201,46325,631],{"class":260},[201,46327,4705],{"class":267},[201,46329,271],{"class":260},[201,46331,44703],{"class":256},[201,46333,409],{"class":260},[201,46335,46336],{"class":267}," context",[201,46338,271],{"class":260},[201,46340,298],{"class":260},[201,46342,46343,46346,46348,46350,46352,46354,46356,46358,46360],{"class":203,"line":492},[201,46344,46345],{"class":252},"  editUser",[201,46347,271],{"class":260},[201,46349,2142],{"class":260},[201,46351,22016],{"class":2106},[201,46353,271],{"class":260},[201,46355,44703],{"class":207},[201,46357,3779],{"class":260},[201,46359,1999],{"class":659},[201,46361,46362],{"class":260}," {},\n",[201,46364,46365,46368,46370,46372,46374,46376,46378,46380,46382],{"class":203,"line":498},[201,46366,46367],{"class":252},"  removeUser",[201,46369,271],{"class":260},[201,46371,2142],{"class":260},[201,46373,22016],{"class":2106},[201,46375,271],{"class":260},[201,46377,44703],{"class":207},[201,46379,3779],{"class":260},[201,46381,1999],{"class":659},[201,46383,46362],{"class":260},[201,46385,46386,46389],{"class":203,"line":504},[201,46387,46388],{"class":260},"}}}>",[201,46390,2967],{"class":256},[201,46392,46393],{"class":203,"line":5949},[201,46394,654],{"emptyLinePlaceholder":653},[201,46396,46397,46399,46401,46404,46406,46409,46411,46413,46415,46417,46419,46421],{"class":203,"line":5956},[201,46398,660],{"class":659},[201,46400,631],{"class":260},[201,46402,46403],{"class":256}," editUser",[201,46405,409],{"class":260},[201,46407,46408],{"class":256}," removeUser ",[201,46410,507],{"class":260},[201,46412,670],{"class":260},[201,46414,33741],{"class":256},[201,46416,534],{"class":260},[201,46418,3007],{"class":256},[201,46420,534],{"class":260},[201,46422,46423],{"class":256},"context\n",[201,46425,46426],{"class":203,"line":5965},[201,46427,654],{"emptyLinePlaceholder":653},[201,46429,46430,46432,46434,46436,46438,46440,46442,46444,46446,46448,46450,46452,46454],{"class":203,"line":5970},[201,46431,660],{"class":659},[201,46433,45321],{"class":256},[201,46435,1353],{"class":260},[201,46437,12245],{"class":252},[201,46439,257],{"class":256},[201,46441,6634],{"class":260},[201,46443,1999],{"class":659},[201,46445,27788],{"class":252},[201,46447,45336],{"class":256},[201,46449,534],{"class":260},[201,46451,3007],{"class":256},[201,46453,534],{"class":260},[201,46455,45345],{"class":256},[201,46457,46458,46460,46462],{"class":203,"line":5979},[201,46459,1760],{"class":260},[201,46461,2936],{"class":267},[201,46463,1718],{"class":260},[192,46465,46468],{"className":46466,"code":46467,"language":9281},[9279]," \u003Cva-button @click=\"createUser()\" icon=\"add\" text-color=\"white\" color=\"success\" \u002F>\n\n \u003Cva-modal\n  :model-value=\"!!selectedUser\"\n  ok-text=\"Save\"\n  cancel-text=\"Cancel\"\n  @cancel=\"selectedUser = null\"\n  @ok=\"saveUser()\"\n>\n  \u003Cva-input class=\"mb-3 d-block\" label=\"Image\" v-model=\"selectedUser.image\"\u002F>\n  \u003Cva-input class=\"mb-3 d-block\" label=\"Name\" v-model=\"selectedUser.name\"\u002F>\n  \u003Cva-input class=\"mb-3 d-block\" label=\"Email\" v-model=\"selectedUser.email\"\u002F>\n\u003C\u002Fva-modal>\n",[137,46469,46467],{"__ignoreMap":197},[192,46471,46473],{"className":11083,"code":46472,"language":11085,"meta":197,"style":197}," const editUser = (user: User) => {\n  selectedUser.value = { ...user }\n}\n\nconst removeUser = (userToRemove: User) => {\n  reactiveUsers.value = reactiveUsers.value.filter(user => user !== userToRemove)\n}\n\nconst createUser = () => {\n  selectedUser.value = {\n    id: Math.ceil(Math.random()*10000),\n    image: 'https:\u002F\u002Fpicsum.photos\u002Fid\u002F100\u002F50\u002F50',\n    name: '',\n    email: '',\n    active: true,\n  }\n}\n\nconst saveUser = () => {\n  const currentUser = selectedUser.value\n  selectedUser.value = null\n\n  if (!currentUser) {\n    return\n  }\n\n  const users = reactiveUsers.value\n  const existingUser = users.find(user => user.id === currentUser.id)\n\n  if (existingUser) {\n    reactiveUsers.value = reactiveUsers.value.map(user => existingUser === user ? currentUser : user)\n  } else {\n    reactiveUsers.value.push(currentUser)\n  }\n}\n\nconst agGridContext = {\n  editUser,\n  removeUser,\n}\n",[137,46474,46475,46498,46517,46521,46525,46548,46586,46590,46594,46609,46621,46656,46671,46681,46691,46701,46705,46709,46713,46728,46744,46756,46760,46775,46780,46784,46788,46802,46841,46845,46858,46902,46911,46930,46934,46938,46942,46953,46959,46965],{"__ignoreMap":197},[201,46476,46477,46479,46482,46484,46486,46488,46490,46492,46494,46496],{"class":203,"line":204},[201,46478,23556],{"class":659},[201,46480,46481],{"class":256}," editUser ",[201,46483,1353],{"class":260},[201,46485,2142],{"class":260},[201,46487,22016],{"class":2106},[201,46489,271],{"class":260},[201,46491,44703],{"class":207},[201,46493,3779],{"class":260},[201,46495,1999],{"class":659},[201,46497,298],{"class":260},[201,46499,46500,46503,46505,46507,46509,46511,46513,46515],{"class":203,"line":224},[201,46501,46502],{"class":256},"  selectedUser",[201,46504,534],{"class":260},[201,46506,3048],{"class":256},[201,46508,670],{"class":260},[201,46510,631],{"class":260},[201,46512,20625],{"class":260},[201,46514,22016],{"class":256},[201,46516,15495],{"class":260},[201,46518,46519],{"class":203,"line":264},[201,46520,724],{"class":260},[201,46522,46523],{"class":203,"line":290},[201,46524,654],{"emptyLinePlaceholder":653},[201,46526,46527,46529,46531,46533,46535,46538,46540,46542,46544,46546],{"class":203,"line":301},[201,46528,660],{"class":659},[201,46530,46408],{"class":256},[201,46532,1353],{"class":260},[201,46534,2142],{"class":260},[201,46536,46537],{"class":2106},"userToRemove",[201,46539,271],{"class":260},[201,46541,44703],{"class":207},[201,46543,3779],{"class":260},[201,46545,1999],{"class":659},[201,46547,298],{"class":260},[201,46549,46550,46553,46555,46557,46559,46562,46564,46566,46568,46570,46572,46574,46576,46578,46581,46584],{"class":203,"line":319},[201,46551,46552],{"class":256},"  reactiveUsers",[201,46554,534],{"class":260},[201,46556,3048],{"class":256},[201,46558,670],{"class":260},[201,46560,46561],{"class":256}," reactiveUsers",[201,46563,534],{"class":260},[201,46565,3048],{"class":256},[201,46567,534],{"class":260},[201,46569,35024],{"class":252},[201,46571,257],{"class":267},[201,46573,22016],{"class":2106},[201,46575,1999],{"class":659},[201,46577,46045],{"class":256},[201,46579,46580],{"class":260}," !==",[201,46582,46583],{"class":256}," userToRemove",[201,46585,510],{"class":267},[201,46587,46588],{"class":203,"line":329},[201,46589,724],{"class":260},[201,46591,46592],{"class":203,"line":346},[201,46593,654],{"emptyLinePlaceholder":653},[201,46595,46596,46598,46601,46603,46605,46607],{"class":203,"line":363},[201,46597,660],{"class":659},[201,46599,46600],{"class":256}," createUser ",[201,46602,1353],{"class":260},[201,46604,1996],{"class":260},[201,46606,1999],{"class":659},[201,46608,298],{"class":260},[201,46610,46611,46613,46615,46617,46619],{"class":203,"line":380},[201,46612,46502],{"class":256},[201,46614,534],{"class":260},[201,46616,3048],{"class":256},[201,46618,670],{"class":260},[201,46620,298],{"class":260},[201,46622,46623,46625,46627,46630,46632,46635,46637,46640,46642,46645,46647,46649,46652,46654],{"class":203,"line":391},[201,46624,44798],{"class":267},[201,46626,271],{"class":260},[201,46628,46629],{"class":256}," Math",[201,46631,534],{"class":260},[201,46633,46634],{"class":252},"ceil",[201,46636,257],{"class":267},[201,46638,46639],{"class":256},"Math",[201,46641,534],{"class":260},[201,46643,46644],{"class":252},"random",[201,46646,6634],{"class":267},[201,46648,12303],{"class":260},[201,46650,46651],{"class":1268},"10000",[201,46653,3779],{"class":267},[201,46655,287],{"class":260},[201,46657,46658,46660,46662,46664,46667,46669],{"class":203,"line":441},[201,46659,44809],{"class":267},[201,46661,271],{"class":260},[201,46663,309],{"class":260},[201,46665,46666],{"class":211},"https:\u002F\u002Fpicsum.photos\u002Fid\u002F100\u002F50\u002F50",[201,46668,277],{"class":260},[201,46670,287],{"class":260},[201,46672,46673,46675,46677,46679],{"class":203,"line":484},[201,46674,3232],{"class":267},[201,46676,271],{"class":260},[201,46678,26945],{"class":260},[201,46680,287],{"class":260},[201,46682,46683,46685,46687,46689],{"class":203,"line":492},[201,46684,44840],{"class":267},[201,46686,271],{"class":260},[201,46688,26945],{"class":260},[201,46690,287],{"class":260},[201,46692,46693,46695,46697,46699],{"class":203,"line":498},[201,46694,44856],{"class":267},[201,46696,271],{"class":260},[201,46698,1865],{"class":1864},[201,46700,287],{"class":260},[201,46702,46703],{"class":203,"line":504},[201,46704,7326],{"class":260},[201,46706,46707],{"class":203,"line":5949},[201,46708,724],{"class":260},[201,46710,46711],{"class":203,"line":5956},[201,46712,654],{"emptyLinePlaceholder":653},[201,46714,46715,46717,46720,46722,46724,46726],{"class":203,"line":5965},[201,46716,660],{"class":659},[201,46718,46719],{"class":256}," saveUser ",[201,46721,1353],{"class":260},[201,46723,1996],{"class":260},[201,46725,1999],{"class":659},[201,46727,298],{"class":260},[201,46729,46730,46732,46735,46737,46740,46742],{"class":203,"line":5970},[201,46731,3379],{"class":659},[201,46733,46734],{"class":256}," currentUser",[201,46736,670],{"class":260},[201,46738,46739],{"class":256}," selectedUser",[201,46741,534],{"class":260},[201,46743,25165],{"class":256},[201,46745,46746,46748,46750,46752,46754],{"class":203,"line":5979},[201,46747,46502],{"class":256},[201,46749,534],{"class":260},[201,46751,3048],{"class":256},[201,46753,670],{"class":260},[201,46755,23754],{"class":260},[201,46757,46758],{"class":203,"line":5988},[201,46759,654],{"emptyLinePlaceholder":653},[201,46761,46762,46764,46766,46768,46771,46773],{"class":203,"line":6008},[201,46763,14747],{"class":245},[201,46765,2142],{"class":267},[201,46767,5827],{"class":260},[201,46769,46770],{"class":256},"currentUser",[201,46772,7300],{"class":267},[201,46774,261],{"class":260},[201,46776,46777],{"class":203,"line":6029},[201,46778,46779],{"class":245},"    return\n",[201,46781,46782],{"class":203,"line":6038},[201,46783,7326],{"class":260},[201,46785,46786],{"class":203,"line":24104},[201,46787,654],{"emptyLinePlaceholder":653},[201,46789,46790,46792,46794,46796,46798,46800],{"class":203,"line":24119},[201,46791,3379],{"class":659},[201,46793,44532],{"class":256},[201,46795,670],{"class":260},[201,46797,46561],{"class":256},[201,46799,534],{"class":260},[201,46801,25165],{"class":256},[201,46803,46804,46806,46809,46811,46813,46815,46818,46820,46822,46824,46826,46828,46830,46833,46835,46837,46839],{"class":203,"line":24134},[201,46805,3379],{"class":659},[201,46807,46808],{"class":256}," existingUser",[201,46810,670],{"class":260},[201,46812,44532],{"class":256},[201,46814,534],{"class":260},[201,46816,46817],{"class":252},"find",[201,46819,257],{"class":267},[201,46821,22016],{"class":2106},[201,46823,1999],{"class":659},[201,46825,46045],{"class":256},[201,46827,534],{"class":260},[201,46829,6742],{"class":256},[201,46831,46832],{"class":260}," ===",[201,46834,46734],{"class":256},[201,46836,534],{"class":260},[201,46838,6742],{"class":256},[201,46840,510],{"class":267},[201,46842,46843],{"class":203,"line":24149},[201,46844,654],{"emptyLinePlaceholder":653},[201,46846,46847,46849,46851,46854,46856],{"class":203,"line":24164},[201,46848,14747],{"class":245},[201,46850,2142],{"class":267},[201,46852,46853],{"class":256},"existingUser",[201,46855,7300],{"class":267},[201,46857,261],{"class":260},[201,46859,46860,46863,46865,46867,46869,46871,46873,46875,46877,46879,46881,46883,46885,46887,46889,46891,46894,46896,46898,46900],{"class":203,"line":24170},[201,46861,46862],{"class":256},"    reactiveUsers",[201,46864,534],{"class":260},[201,46866,3048],{"class":256},[201,46868,670],{"class":260},[201,46870,46561],{"class":256},[201,46872,534],{"class":260},[201,46874,3048],{"class":256},[201,46876,534],{"class":260},[201,46878,2116],{"class":252},[201,46880,257],{"class":267},[201,46882,22016],{"class":2106},[201,46884,1999],{"class":659},[201,46886,46808],{"class":256},[201,46888,46832],{"class":260},[201,46890,46045],{"class":256},[201,46892,46893],{"class":260}," ?",[201,46895,46734],{"class":256},[201,46897,11331],{"class":260},[201,46899,46045],{"class":256},[201,46901,510],{"class":267},[201,46903,46904,46906,46909],{"class":203,"line":24178},[201,46905,16394],{"class":260},[201,46907,46908],{"class":245}," else",[201,46910,298],{"class":260},[201,46912,46913,46915,46917,46919,46921,46924,46926,46928],{"class":203,"line":24193},[201,46914,46862],{"class":256},[201,46916,534],{"class":260},[201,46918,3048],{"class":256},[201,46920,534],{"class":260},[201,46922,46923],{"class":252},"push",[201,46925,257],{"class":267},[201,46927,46770],{"class":256},[201,46929,510],{"class":267},[201,46931,46932],{"class":203,"line":24207},[201,46933,7326],{"class":260},[201,46935,46936],{"class":203,"line":24222},[201,46937,724],{"class":260},[201,46939,46940],{"class":203,"line":24237},[201,46941,654],{"emptyLinePlaceholder":653},[201,46943,46944,46946,46949,46951],{"class":203,"line":24243},[201,46945,660],{"class":659},[201,46947,46948],{"class":256}," agGridContext ",[201,46950,1353],{"class":260},[201,46952,298],{"class":260},[201,46954,46955,46957],{"class":203,"line":24272},[201,46956,46345],{"class":256},[201,46958,287],{"class":260},[201,46960,46961,46963],{"class":203,"line":24282},[201,46962,46367],{"class":256},[201,46964,287],{"class":260},[201,46966,46967],{"class":203,"line":24291},[201,46968,724],{"class":260},[192,46970,46973],{"className":46971,"code":46972,"language":9281},[9279],"\u003Cag-grid-vue\n   ...\n   :context=\"agGridContext\"\n\u002F>\n",[137,46974,46972],{"__ignoreMap":197},[14,46976,46977],{},[14615,46978],{"alt":197,"src":46979},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9f48410be1e0023.png",[14,46981,46982],{},[14615,46983],{"alt":197,"src":46984},"\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002F6343f9ff2ecfad1c2db8.png",[18,46986,914],{"id":913},[6170,46988],{"label":22616,"to":6173},[984,46990,46991],{},"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 pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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}",{"title":197,"searchDepth":264,"depth":264,"links":46993},[46994,46995,46996,46997,46998,46999,47000],{"id":44086,"depth":224,"text":44087},{"id":44323,"depth":224,"text":44324},{"id":45124,"depth":224,"text":45125},{"id":45500,"depth":224,"text":45501},{"id":45658,"depth":224,"text":45659},{"id":46115,"depth":224,"text":46116},{"id":913,"depth":224,"text":914},"Learn how to integrate AG Grid with Vuestic UI for powerful Vue 3 datatables. Follow our step-by-step tutorial to build feature-rich CRUD tables, implement sorting, filtering, and customization. Explore the best Vue.js open-source tools with Epicmax!","\u002Fimages\u002Fblog\u002Fvuestic-ui-with-ag-grid\u002Fcard.jpg",{},"\u002Fblog\u002Fvuestic-ui-with-ag-grid",{"title":43990,"description":47001},"blog\u002Fvuestic-ui-with-ag-grid",[2822],"CXjP_rt4BMWXudIHSjUmNiKbOnJnzelkSv-Rk3McnMY",1795443677551]