[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f30r277ag21rfj":3,"-docs-4-x-getting-started-testing":2735,"versions":8416},[4,1298,1908,2479],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":106},"Docs","i-lucide-book-marked","\u002Fdocs\u002F3.x","1.getting-started\u002F01.introduction",[10,107,248,458,1048,1154,1191,1241,1294],{"title":11,"titleTemplate":12,"icon":13,"path":14,"stem":8,"children":15,"page":106},"Get Started","%s · Get Started with Nuxt","i-lucide-rocket","\u002Fdocs\u002F3.x\u002Fgetting-started",[16,21,26,31,36,41,46,51,56,61,66,71,76,81,86,91,96,101],{"title":17,"description":18,"path":19,"stem":8,"icon":20},"Introduction","Nuxt's goal is to make web development intuitive and performant with a great Developer Experience in mind.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fintroduction","i-lucide-info",{"title":22,"description":23,"path":24,"stem":25},"Installation","Get started with Nuxt quickly with our online starters or start locally with your terminal.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Finstallation","1.getting-started\u002F02.installation",{"title":27,"description":28,"path":29,"stem":30},"Configuration","Nuxt is configured with sensible defaults to make you productive.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F03.configuration",{"title":32,"description":33,"path":34,"stem":35},"Views","Nuxt provides several component layers to implement the user interface of your application.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fviews","1.getting-started\u002F04.views",{"title":37,"description":38,"path":39,"stem":40},"Assets","Nuxt offers two options for your assets.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fassets","1.getting-started\u002F05.assets",{"title":42,"description":43,"path":44,"stem":45},"Styling","Learn how to style your Nuxt application.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fstyling","1.getting-started\u002F06.styling",{"title":47,"description":48,"path":49,"stem":50},"Routing","Nuxt file-system routing creates a route for every file in the pages\u002F directory.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Frouting","1.getting-started\u002F07.routing",{"title":52,"description":53,"path":54,"stem":55},"SEO and Meta","Improve your Nuxt app's SEO with powerful head config, composables and components.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fseo-meta","1.getting-started\u002F08.seo-meta",{"title":57,"description":58,"path":59,"stem":60},"Transitions","Apply transitions between pages and layouts with Vue or native browser View Transitions.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Ftransitions","1.getting-started\u002F09.transitions",{"title":62,"description":63,"path":64,"stem":65},"Data Fetching","Nuxt provides composables to handle data fetching within your application.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fdata-fetching","1.getting-started\u002F10.data-fetching",{"title":67,"description":68,"path":69,"stem":70},"State Management","Nuxt provides powerful state management libraries and the useState composable to create a reactive and SSR-friendly shared state.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fstate-management","1.getting-started\u002F11.state-management",{"title":72,"description":73,"path":74,"stem":75},"Error Handling","Learn how to catch and handle errors in Nuxt.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Ferror-handling","1.getting-started\u002F12.error-handling",{"title":77,"description":78,"path":79,"stem":80},"Server","Build full-stack applications with Nuxt's server framework. You can fetch data from your database or another server, create APIs, or even generate static server-side content like a sitemap or a RSS feed - all from a single codebase.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fserver","1.getting-started\u002F13.server",{"title":82,"description":83,"path":84,"stem":85},"Layers","Nuxt provides a powerful system that allows you to extend the default files, configs, and much more.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Flayers","1.getting-started\u002F14.layers",{"title":87,"description":88,"path":89,"stem":90},"Prerendering","Nuxt allows pages to be statically rendered at build time to improve certain performance or SEO metrics","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fprerendering","1.getting-started\u002F15.prerendering",{"title":92,"description":93,"path":94,"stem":95},"Deployment","Learn how to deploy your Nuxt application to any hosting provider.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fdeployment","1.getting-started\u002F16.deployment",{"title":97,"description":98,"path":99,"stem":100},"Testing","How to test your Nuxt application.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Ftesting","1.getting-started\u002F17.testing",{"title":102,"description":103,"path":104,"stem":105},"Upgrade Guide","Learn how to upgrade to the latest Nuxt version.","\u002Fdocs\u002F3.x\u002Fgetting-started\u002Fupgrade","1.getting-started\u002F18.upgrade",false,{"title":108,"titleTemplate":109,"icon":110,"path":111,"stem":112,"children":113,"page":106},"Directory Structure","%s · Nuxt Directory Structure","i-vscode-icons-default-folder","\u002Fdocs\u002F3.x\u002Fdirectory-structure","2.directory-structure\u002F0.nuxt",[114,118,123,128,133,138,143,148,153,158,163,168,173,178,183,188,193,198,203,208,213,218,223,228,233,238,243],{"title":115,"description":116,"path":117,"stem":112},".nuxt","Nuxt uses the .nuxt\u002F directory in development to generate your Vue application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fnuxt",{"title":119,"description":120,"path":121,"stem":122},".output","Nuxt creates the .output\u002F directory when building your application for production.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Foutput","2.directory-structure\u002F0.output",{"title":124,"description":125,"path":126,"stem":127},"assets","The assets\u002F directory is used to add all the website's assets that the build tool will process.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fassets","2.directory-structure\u002F1.assets",{"title":129,"description":130,"path":131,"stem":132},"components","The components\u002F directory is where you put all your Vue components.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fcomponents","2.directory-structure\u002F1.components",{"title":134,"description":135,"path":136,"stem":137},"composables","Use the composables\u002F directory to auto-import your Vue composables into your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fcomposables","2.directory-structure\u002F1.composables",{"title":139,"description":140,"path":141,"stem":142},"content","Use the content\u002F directory to create a file-based CMS for your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fcontent","2.directory-structure\u002F1.content",{"title":144,"description":145,"path":146,"stem":147},"layers","Use the layers\u002F directory to organize and auto-register local layers within your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Flayers","2.directory-structure\u002F1.layers",{"title":149,"description":150,"path":151,"stem":152},"layouts","Nuxt provides a layouts framework to extract common UI patterns into reusable layouts.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Flayouts","2.directory-structure\u002F1.layouts",{"title":154,"description":155,"path":156,"stem":157},"middleware","Nuxt provides middleware to run code before navigating to a particular route.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fmiddleware","2.directory-structure\u002F1.middleware",{"title":159,"description":160,"path":161,"stem":162},"modules","Use the modules\u002F directory to automatically register local modules within your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fmodules","2.directory-structure\u002F1.modules",{"title":164,"description":165,"path":166,"stem":167},"node_modules","The package manager stores the dependencies of your project in the node_modules\u002F directory.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fnode_modules","2.directory-structure\u002F1.node_modules",{"title":169,"description":170,"path":171,"stem":172},"pages","Nuxt provides file-based routing to create routes within your web application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fpages","2.directory-structure\u002F1.pages",{"title":174,"description":175,"path":176,"stem":177},"plugins","Nuxt has a plugins system to use Vue plugins and more at the creation of your Vue application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fplugins","2.directory-structure\u002F1.plugins",{"title":179,"description":180,"path":181,"stem":182},"public","The public\u002F directory is used to serve your website's static assets.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fpublic","2.directory-structure\u002F1.public",{"title":184,"description":185,"path":186,"stem":187},"server","The server\u002F directory is used to register API and server handlers to your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fserver","2.directory-structure\u002F1.server",{"title":189,"description":190,"path":191,"stem":192},"shared","Use the shared\u002F directory to share functionality between the Vue app and the Nitro server.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fshared","2.directory-structure\u002F1.shared",{"title":194,"description":195,"path":196,"stem":197},"utils","Use the utils\u002F directory to auto-import your utility functions throughout your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Futils","2.directory-structure\u002F1.utils",{"title":199,"description":200,"path":201,"stem":202},".env","A .env file specifies your build\u002Fdev-time environment variables.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fenv","2.directory-structure\u002F2.env",{"title":204,"description":205,"path":206,"stem":207},".gitignore","A .gitignore file specifies intentionally untracked files that git should ignore.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fgitignore","2.directory-structure\u002F2.gitignore",{"title":209,"description":210,"path":211,"stem":212},".nuxtignore","The .nuxtignore file lets Nuxt ignore files in your project’s root directory during the build phase.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fnuxtignore","2.directory-structure\u002F2.nuxtignore",{"title":214,"description":215,"path":216,"stem":217},".nuxtrc","The .nuxtrc file allows you to define nuxt configurations in a flat syntax.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fnuxtrc","2.directory-structure\u002F2.nuxtrc",{"title":219,"description":220,"path":221,"stem":222},"app.vue","The app.vue file is the main component of your Nuxt application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fapp","2.directory-structure\u002F3.app",{"title":224,"description":225,"path":226,"stem":227},"app.config.ts","Expose reactive configuration within your application with the App Config file.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fapp-config","2.directory-structure\u002F3.app-config",{"title":229,"description":230,"path":231,"stem":232},"error.vue","The error.vue file is the error page in your Nuxt application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Ferror","2.directory-structure\u002F3.error",{"title":234,"description":235,"path":236,"stem":237},"nuxt.config.ts","Nuxt can be easily configured with a single nuxt.config file.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fnuxt-config","2.directory-structure\u002F3.nuxt-config",{"title":239,"description":240,"path":241,"stem":242},"package.json","The package.json file contains all the dependencies and scripts for your application.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Fpackage","2.directory-structure\u002F3.package",{"title":244,"description":245,"path":246,"stem":247},"tsconfig.json","Learn how Nuxt manages TypeScript configuration across different parts of your project.","\u002Fdocs\u002F3.x\u002Fdirectory-structure\u002Ftsconfig","2.directory-structure\u002F3.tsconfig",{"title":249,"icon":250,"path":251,"stem":252,"children":253,"page":106},"Guide","i-lucide-book-open","\u002Fdocs\u002F3.x\u002Fguide","3.guide\u002F1.concepts\u002F1.rendering",[254,294,315,331,377,403],{"title":255,"titleTemplate":256,"icon":257,"path":258,"stem":252,"children":259,"page":106},"Key Concepts","%s · Nuxt Concepts","i-lucide-medal","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts",[260,264,269,274,279,284,289],{"title":261,"description":262,"path":263,"stem":252},"Rendering Modes","Learn about the different rendering modes available in Nuxt.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Frendering",{"title":265,"description":266,"path":267,"stem":268},"Nuxt Lifecycle","Understanding the lifecycle of Nuxt applications can help you gain deeper insights into how the framework operates, especially for both server-side and client-side rendering.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Fnuxt-lifecycle","3.guide\u002F1.concepts\u002F2.nuxt-lifecycle",{"title":270,"description":271,"path":272,"stem":273},"Auto-imports","Nuxt auto-imports components, composables, helper functions and Vue APIs.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Fauto-imports","3.guide\u002F1.concepts\u002F3.auto-imports",{"title":275,"description":276,"path":277,"stem":278},"Server Engine","Nuxt is powered by a new server engine: Nitro.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Fserver-engine","3.guide\u002F1.concepts\u002F4.server-engine",{"title":280,"description":281,"path":282,"stem":283},"Modules","Nuxt provides a module system to extend the framework core and simplify integrations.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Fmodules","3.guide\u002F1.concepts\u002F5.modules",{"title":285,"description":286,"path":287,"stem":288},"TypeScript","Nuxt is fully typed and provides helpful shortcuts to ensure you have access to accurate type information when you are coding.","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Ftypescript","3.guide\u002F1.concepts\u002F8.typescript",{"title":290,"description":291,"path":292,"stem":293},"Code Style","Nuxt supports ESLint out of the box","\u002Fdocs\u002F3.x\u002Fguide\u002Fconcepts\u002Fcode-style","3.guide\u002F1.concepts\u002F9.code-style",{"title":295,"titleTemplate":296,"icon":297,"path":298,"stem":299,"children":300,"page":106},"Best Practices","%s · Best Practices","i-lucide-square-check","\u002Fdocs\u002F3.x\u002Fguide\u002Fbest-practices","3.guide\u002F2.best-practices\u002Fhydration",[301,305,310],{"title":302,"description":303,"path":304,"stem":299},"Nuxt and hydration","Why fixing hydration issues is important","\u002Fdocs\u002F3.x\u002Fguide\u002Fbest-practices\u002Fhydration",{"title":306,"description":307,"path":308,"stem":309},"Nuxt performance","Best practices for improving performance of Nuxt apps.","\u002Fdocs\u002F3.x\u002Fguide\u002Fbest-practices\u002Fperformance","3.guide\u002F2.best-practices\u002Fperformance",{"title":311,"description":312,"path":313,"stem":314},"Nuxt Plugins","Best practices when using Nuxt plugins.","\u002Fdocs\u002F3.x\u002Fguide\u002Fbest-practices\u002Fplugins","3.guide\u002F2.best-practices\u002Fplugins",{"title":316,"titleTemplate":317,"icon":318,"path":319,"stem":320,"children":321,"page":106},"Working with AI","Working with AI: %s","i-lucide-bot","\u002Fdocs\u002F3.x\u002Fguide\u002Fai","3.guide\u002F3.ai\u002F1.mcp",[322,326],{"title":323,"description":324,"path":325,"stem":320},"Nuxt MCP Server","Use Nuxt documentation in your AI assistants with Model Context Protocol support.","\u002Fdocs\u002F3.x\u002Fguide\u002Fai\u002Fmcp",{"title":327,"description":328,"path":329,"stem":330},"Nuxt LLMs.txt","How to get AI tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand Nuxt concepts, APIs, and best practices.","\u002Fdocs\u002F3.x\u002Fguide\u002Fai\u002Fllms-txt","3.guide\u002F3.ai\u002F2.llms-txt",{"title":332,"titleTemplate":333,"icon":334,"path":335,"stem":336,"children":337,"page":106},"Module Author Guide","%s · Nuxt Modules Author Guide","i-lucide-box","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules","3.guide\u002F4.modules\u002F1.getting-started",[338,342,347,352,357,362,367,372],{"title":339,"description":340,"path":341,"stem":336},"Create Your First Module","Learn how to create your first Nuxt module using the official starter template.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Fgetting-started",{"title":343,"description":344,"path":345,"stem":346},"Understand Module Structure","Learn how Nuxt modules are structured and how to define them.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Fmodule-anatomy","3.guide\u002F4.modules\u002F2.module-anatomy",{"title":348,"description":349,"path":350,"stem":351},"Add Plugins, Components & More","Learn how to inject plugins, components, composables and server routes from your module.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Frecipes-basics","3.guide\u002F4.modules\u002F3.recipes-basics",{"title":353,"description":354,"path":355,"stem":356},"Module Dependencies","Declare dependencies on other modules with version constraints and configuration merging.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Fmodule-dependencies","3.guide\u002F4.modules\u002F4.module-dependencies",{"title":358,"description":359,"path":360,"stem":361},"Use Hooks & Extend Types","Master lifecycle hooks, virtual files and TypeScript declarations in your modules.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Frecipes-advanced","3.guide\u002F4.modules\u002F5.recipes-advanced",{"title":363,"description":364,"path":365,"stem":366},"Test Your Module","Learn how to test your Nuxt module with unit, integration and E2E tests.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Ftesting","3.guide\u002F4.modules\u002F6.testing",{"title":368,"description":369,"path":370,"stem":371},"Follow Best Practices","Build performant and maintainable Nuxt modules with these guidelines.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Fbest-practices","3.guide\u002F4.modules\u002F7.best-practices",{"title":373,"description":374,"path":375,"stem":376},"Publish & Share Your Module","Join the Nuxt module ecosystem and publish your module to npm.","\u002Fdocs\u002F3.x\u002Fguide\u002Fmodules\u002Fecosystem","3.guide\u002F4.modules\u002F8.ecosystem",{"title":378,"titleTemplate":379,"icon":380,"path":381,"stem":382,"children":383,"page":106},"Recipes","%s · Recipes","i-lucide-cooking-pot","\u002Fdocs\u002F3.x\u002Fguide\u002Frecipes","3.guide\u002F5.recipes\u002F1.custom-routing",[384,388,393,398],{"title":385,"description":386,"path":387,"stem":382},"Custom Routing","In Nuxt, your routing is defined by the structure of your files inside the pages directory. However, since it uses vue-router under the hood, Nuxt offers you several ways to add custom routes in your project.","\u002Fdocs\u002F3.x\u002Fguide\u002Frecipes\u002Fcustom-routing",{"title":389,"description":390,"path":391,"stem":392},"Using Vite Plugins in Nuxt","Learn how to integrate Vite plugins into your Nuxt project.","\u002Fdocs\u002F3.x\u002Fguide\u002Frecipes\u002Fvite-plugin","3.guide\u002F5.recipes\u002F2.vite-plugin",{"title":394,"description":395,"path":396,"stem":397},"Custom useFetch in Nuxt","How to create a custom fetcher for calling your external API in Nuxt.","\u002Fdocs\u002F3.x\u002Fguide\u002Frecipes\u002Fcustom-usefetch","3.guide\u002F5.recipes\u002F3.custom-usefetch",{"title":399,"description":400,"path":401,"stem":402},"Sessions and Authentication","Authentication is an extremely common requirement in web apps. This recipe will show you how to implement basic user registration and authentication in your Nuxt app.","\u002Fdocs\u002F3.x\u002Fguide\u002Frecipes\u002Fsessions-and-authentication","3.guide\u002F5.recipes\u002F4.sessions-and-authentication",{"title":404,"titleTemplate":405,"icon":406,"path":407,"stem":408,"children":409,"page":106},"Going Further","%s · Nuxt Advanced","i-lucide-star","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further","3.guide\u002F6.going-further\u002F1.events",[410,414,419,424,429,434,439,443,448,453],{"title":411,"description":412,"path":413,"stem":408},"Creating Custom Events","Nuxt provides a powerful event system powered by hookable.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fevents",{"title":415,"description":416,"path":417,"stem":418},"Experimental Features","Enable Nuxt experimental features to unlock new possibilities.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fexperimental-features","3.guide\u002F6.going-further\u002F1.experimental-features",{"title":420,"description":421,"path":422,"stem":423},"Features","Enable or disable optional Nuxt features to unlock new possibilities.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Ffeatures","3.guide\u002F6.going-further\u002F1.features",{"title":425,"description":426,"path":427,"stem":428},"Lifecycle Hooks","Nuxt provides a powerful hooking system to expand almost every aspect using hooks.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fhooks","3.guide\u002F6.going-further\u002F2.hooks",{"title":430,"description":431,"path":432,"stem":433},"Nuxt Kit","@nuxt\u002Fkit provides features for module authors.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fkit","3.guide\u002F6.going-further\u002F4.kit",{"title":435,"description":436,"path":437,"stem":438},"NuxtApp","In Nuxt, you can access runtime app context within composables, components and plugins.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fnuxt-app","3.guide\u002F6.going-further\u002F6.nuxt-app",{"title":440,"description":83,"path":441,"stem":442},"Authoring Nuxt Layers","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Flayers","3.guide\u002F6.going-further\u002F7.layers",{"title":444,"description":445,"path":446,"stem":447},"Debugging","In Nuxt, you can get started with debugging your application directly in the browser as well as in your IDE.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fdebugging","3.guide\u002F6.going-further\u002F9.debugging",{"title":449,"description":450,"path":451,"stem":452},"Runtime Config","Nuxt provides a runtime config API to expose configuration and secrets within your application.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fruntime-config","3.guide\u002F6.going-further\u002F10.runtime-config",{"title":454,"description":455,"path":456,"stem":457},"Nightly Release Channel","The nightly release channel allows using Nuxt built directly from the latest commits to the repository.","\u002Fdocs\u002F3.x\u002Fguide\u002Fgoing-further\u002Fnightly-release-channel","3.guide\u002F6.going-further\u002F11.nightly-release-channel",{"title":459,"titleTemplate":460,"icon":461,"path":462,"stem":463,"children":464,"page":106},"API","%s · Nuxt API","i-lucide-code-xml","\u002Fdocs\u002F3.x\u002Fapi","4.api\u002F1.components\u002F1.client-only",[465,544,695,845,941,1030,1043],{"title":466,"titleTemplate":467,"icon":334,"path":468,"stem":463,"children":469,"page":106},"Components","%s · Nuxt Components","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents",[470,474,479,484,489,494,499,504,509,514,519,524,529,534,539],{"title":471,"description":472,"path":473,"stem":463},"\u003CClientOnly>","Render components only in client-side with the \u003CClientOnly> component.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fclient-only",{"title":475,"description":476,"path":477,"stem":478},"\u003CDevOnly>","Render components only during development with the \u003CDevOnly> component.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fdev-only","4.api\u002F1.components\u002F1.dev-only",{"title":480,"description":481,"path":482,"stem":483},"\u003CNuxtClientFallback>","Nuxt provides the \u003CNuxtClientFallback> component to render its content on the client if any of its children trigger an error in SSR","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-client-fallback","4.api\u002F1.components\u002F1.nuxt-client-fallback",{"title":485,"description":486,"path":487,"stem":488},"\u003CNuxtPage>","The \u003CNuxtPage> component is required to display pages located in the pages\u002F directory.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-page","4.api\u002F1.components\u002F2.nuxt-page",{"title":490,"description":491,"path":492,"stem":493},"\u003CNuxtLayout>","Nuxt provides the \u003CNuxtLayout> component to show layouts on pages and error pages.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-layout","4.api\u002F1.components\u002F3.nuxt-layout",{"title":495,"description":496,"path":497,"stem":498},"\u003CNuxtLink>","Nuxt provides \u003CNuxtLink> component to handle any kind of links within your application.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-link","4.api\u002F1.components\u002F4.nuxt-link",{"title":500,"description":501,"path":502,"stem":503},"\u003CNuxtLoadingIndicator>","Display a progress bar between page navigations.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-loading-indicator","4.api\u002F1.components\u002F5.nuxt-loading-indicator",{"title":505,"description":506,"path":507,"stem":508},"\u003CNuxtErrorBoundary>","The \u003CNuxtErrorBoundary> component handles client-side errors happening in its default slot.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-error-boundary","4.api\u002F1.components\u002F6.nuxt-error-boundary",{"title":510,"description":511,"path":512,"stem":513},"\u003CNuxtWelcome>","The \u003CNuxtWelcome> component greets users in new projects made from the starter template.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-welcome","4.api\u002F1.components\u002F7.nuxt-welcome",{"title":515,"description":516,"path":517,"stem":518},"\u003CNuxtIsland>","Nuxt provides the \u003CNuxtIsland> component to render a non-interactive component without any client JS.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-island","4.api\u002F1.components\u002F8.nuxt-island",{"title":520,"description":521,"path":522,"stem":523},"\u003CNuxtImg>","Nuxt provides a \u003CNuxtImg> component to handle automatic image optimization.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-img","4.api\u002F1.components\u002F9.nuxt-img",{"title":525,"description":526,"path":527,"stem":528},"\u003CNuxtPicture>","Nuxt provides a \u003CNuxtPicture> component to handle automatic image optimization.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-picture","4.api\u002F1.components\u002F10.nuxt-picture",{"title":530,"description":531,"path":532,"stem":533},"\u003CTeleport>","The \u003CTeleport> component teleports a component to a different location in the DOM.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fteleports","4.api\u002F1.components\u002F11.teleports",{"title":535,"description":536,"path":537,"stem":538},"\u003CNuxtRouteAnnouncer>","The \u003CNuxtRouteAnnouncer> component adds a hidden element with the page title to announce route changes to assistive technologies.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-route-announcer","4.api\u002F1.components\u002F12.nuxt-route-announcer",{"title":540,"description":541,"path":542,"stem":543},"\u003CNuxtTime>","The \u003CNuxtTime> component displays time in a locale-friendly format with server-client consistency.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomponents\u002Fnuxt-time","4.api\u002F1.components\u002F13.nuxt-time",{"title":545,"titleTemplate":546,"icon":547,"path":548,"stem":549,"children":550,"page":106},"Composables","%s · Nuxt Composables","i-lucide-arrow-left-right","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables","4.api\u002F2.composables\u002Fon-prehydrate",[551,555,560,565,570,575,580,585,590,595,600,605,610,615,620,625,630,635,640,645,650,655,660,665,670,675,680,685,690],{"title":552,"description":553,"path":554,"stem":549},"onPrehydrate","Use onPrehydrate to run a callback on the client immediately before Nuxt hydrates the page.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fon-prehydrate",{"title":556,"description":557,"path":558,"stem":559},"useAppConfig","Access the reactive app config defined in the project.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-app-config","4.api\u002F2.composables\u002Fuse-app-config",{"title":561,"description":562,"path":563,"stem":564},"useAsyncData","useAsyncData provides access to data that resolves asynchronously in an SSR-friendly composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-async-data","4.api\u002F2.composables\u002Fuse-async-data",{"title":566,"description":567,"path":568,"stem":569},"useCookie","useCookie is an SSR-friendly composable to read and write cookies.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-cookie","4.api\u002F2.composables\u002Fuse-cookie",{"title":571,"description":572,"path":573,"stem":574},"useError","useError composable returns the global Nuxt error that is being handled.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-error","4.api\u002F2.composables\u002Fuse-error",{"title":576,"description":577,"path":578,"stem":579},"useFetch","Fetch data from an API endpoint with an SSR-friendly composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-fetch","4.api\u002F2.composables\u002Fuse-fetch",{"title":581,"description":582,"path":583,"stem":584},"useHead","useHead customizes the head properties of individual pages of your Nuxt app.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-head","4.api\u002F2.composables\u002Fuse-head",{"title":586,"description":587,"path":588,"stem":589},"useHeadSafe","The recommended way to provide head data with user input.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-head-safe","4.api\u002F2.composables\u002Fuse-head-safe",{"title":591,"description":592,"path":593,"stem":594},"useHydration","Allows full control of the hydration cycle to set and receive data from the server.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-hydration","4.api\u002F2.composables\u002Fuse-hydration",{"title":596,"description":597,"path":598,"stem":599},"useLazyAsyncData","This wrapper around useAsyncData triggers navigation immediately.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-async-data","4.api\u002F2.composables\u002Fuse-lazy-async-data",{"title":601,"description":602,"path":603,"stem":604},"useLazyFetch","This wrapper around useFetch triggers navigation immediately.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-fetch","4.api\u002F2.composables\u002Fuse-lazy-fetch",{"title":606,"description":607,"path":608,"stem":609},"useLoadingIndicator","This composable gives you access to the loading state of the app page.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-loading-indicator","4.api\u002F2.composables\u002Fuse-loading-indicator",{"title":611,"description":612,"path":613,"stem":614},"useNuxtApp","Access the shared runtime context of the Nuxt Application.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-app","4.api\u002F2.composables\u002Fuse-nuxt-app",{"title":616,"description":617,"path":618,"stem":619},"useNuxtData","Access the current cached value of data fetching composables.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-data","4.api\u002F2.composables\u002Fuse-nuxt-data",{"title":621,"description":622,"path":623,"stem":624},"usePreviewMode","Use usePreviewMode to check and control preview mode in Nuxt","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-preview-mode","4.api\u002F2.composables\u002Fuse-preview-mode",{"title":626,"description":627,"path":628,"stem":629},"useRequestEvent","Access the incoming request event with the useRequestEvent composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-request-event","4.api\u002F2.composables\u002Fuse-request-event",{"title":631,"description":632,"path":633,"stem":634},"useRequestFetch","Forward the request context and headers for server-side fetch requests with the useRequestFetch composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-request-fetch","4.api\u002F2.composables\u002Fuse-request-fetch",{"title":636,"description":637,"path":638,"stem":639},"useRequestHeader","Use useRequestHeader to access a certain incoming request header.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-request-header","4.api\u002F2.composables\u002Fuse-request-header",{"title":641,"description":642,"path":643,"stem":644},"useRequestHeaders","Use useRequestHeaders to access the incoming request headers.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-request-headers","4.api\u002F2.composables\u002Fuse-request-headers",{"title":646,"description":647,"path":648,"stem":649},"useRequestURL","Access the incoming request URL with the useRequestURL composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-request-url","4.api\u002F2.composables\u002Fuse-request-url",{"title":651,"description":652,"path":653,"stem":654},"useResponseHeader","Use useResponseHeader to set a server response header.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-response-header","4.api\u002F2.composables\u002Fuse-response-header",{"title":656,"description":657,"path":658,"stem":659},"useRoute","The useRoute composable returns the current route.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-route","4.api\u002F2.composables\u002Fuse-route",{"title":661,"description":662,"path":663,"stem":664},"useRouteAnnouncer","This composable observes the page title changes and updates the announcer message accordingly.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-route-announcer","4.api\u002F2.composables\u002Fuse-route-announcer",{"title":666,"description":667,"path":668,"stem":669},"useRouter","The useRouter composable returns the router instance.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-router","4.api\u002F2.composables\u002Fuse-router",{"title":671,"description":672,"path":673,"stem":674},"useRuntimeConfig","Access runtime config variables with the useRuntimeConfig composable.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-config","4.api\u002F2.composables\u002Fuse-runtime-config",{"title":676,"description":677,"path":678,"stem":679},"useRuntimeHook","Registers a runtime hook in a Nuxt application and ensures it is properly disposed of when the scope is destroyed.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-hook","4.api\u002F2.composables\u002Fuse-runtime-hook",{"title":681,"description":682,"path":683,"stem":684},"useSeoMeta","The useSeoMeta composable lets you define your site's SEO meta tags as a flat object with full TypeScript support.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-seo-meta","4.api\u002F2.composables\u002Fuse-seo-meta",{"title":686,"description":687,"path":688,"stem":689},"useServerSeoMeta","The useServerSeoMeta composable lets you define your site's SEO meta tags as a flat object with full TypeScript support.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-server-seo-meta","4.api\u002F2.composables\u002Fuse-server-seo-meta",{"title":691,"description":692,"path":693,"stem":694},"useState","The useState composable creates a reactive and SSR-friendly shared state.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcomposables\u002Fuse-state","4.api\u002F2.composables\u002Fuse-state",{"title":696,"titleTemplate":697,"path":698,"stem":699,"children":700,"page":106},"Utils","%s · Nuxt Utils","\u002Fdocs\u002F3.x\u002Fapi\u002Futils","4.api\u002F3.utils\u002F$fetch",[701,705,710,715,720,725,730,735,740,745,750,755,760,765,770,775,780,785,790,795,800,805,810,815,820,825,830,835,840],{"title":702,"description":703,"path":704,"stem":699},"$fetch","Nuxt uses ofetch to expose globally the $fetch helper for making HTTP requests.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdollarfetch",{"title":706,"description":707,"path":708,"stem":709},"abortNavigation","abortNavigation is a helper function that prevents navigation from taking place and throws an error if one is set as a parameter.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fabort-navigation","4.api\u002F3.utils\u002Fabort-navigation",{"title":711,"description":712,"path":713,"stem":714},"addRouteMiddleware","addRouteMiddleware() is a helper function to dynamically add middleware in your application.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fadd-route-middleware","4.api\u002F3.utils\u002Fadd-route-middleware",{"title":716,"description":717,"path":718,"stem":719},"callOnce","Run a given function or block of code once during SSR or CSR.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fcall-once","4.api\u002F3.utils\u002Fcall-once",{"title":721,"description":722,"path":723,"stem":724},"clearError","The clearError composable clears all handled errors.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fclear-error","4.api\u002F3.utils\u002Fclear-error",{"title":726,"description":727,"path":728,"stem":729},"clearNuxtData","Delete cached data, error status and pending promises of useAsyncData and useFetch.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fclear-nuxt-data","4.api\u002F3.utils\u002Fclear-nuxt-data",{"title":731,"description":732,"path":733,"stem":734},"clearNuxtState","Delete the cached state of useState.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fclear-nuxt-state","4.api\u002F3.utils\u002Fclear-nuxt-state",{"title":736,"description":737,"path":738,"stem":739},"createError","Create an error object with additional metadata.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fcreate-error","4.api\u002F3.utils\u002Fcreate-error",{"title":741,"description":742,"path":743,"stem":744},"defineLazyHydrationComponent","Define a lazy hydration component with a specific strategy.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-lazy-hydration-component","4.api\u002F3.utils\u002Fdefine-lazy-hydration-component",{"title":746,"description":747,"path":748,"stem":749},"defineNuxtComponent","defineNuxtComponent() is a helper function for defining type safe components with Options API.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-nuxt-component","4.api\u002F3.utils\u002Fdefine-nuxt-component",{"title":751,"description":752,"path":753,"stem":754},"defineNuxtPlugin","defineNuxtPlugin() is a helper function for creating Nuxt plugins.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-nuxt-plugin","4.api\u002F3.utils\u002Fdefine-nuxt-plugin",{"title":756,"description":757,"path":758,"stem":759},"defineNuxtRouteMiddleware","Create named route middleware using defineNuxtRouteMiddleware helper function.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-nuxt-route-middleware","4.api\u002F3.utils\u002Fdefine-nuxt-route-middleware",{"title":761,"description":762,"path":763,"stem":764},"definePageMeta","Define metadata for your page components.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-page-meta","4.api\u002F3.utils\u002Fdefine-page-meta",{"title":766,"description":767,"path":768,"stem":769},"defineRouteRules","Define route rules for hybrid rendering at the page level.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fdefine-route-rules","4.api\u002F3.utils\u002Fdefine-route-rules",{"title":771,"description":772,"path":773,"stem":774},"navigateTo","navigateTo is a helper function that programmatically navigates users.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fnavigate-to","4.api\u002F3.utils\u002Fnavigate-to",{"title":776,"description":777,"path":778,"stem":779},"onBeforeRouteLeave","The onBeforeRouteLeave composable allows registering a route guard within a component.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fon-before-route-leave","4.api\u002F3.utils\u002Fon-before-route-leave",{"title":781,"description":782,"path":783,"stem":784},"onBeforeRouteUpdate","The onBeforeRouteUpdate composable allows registering a route guard within a component.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fon-before-route-update","4.api\u002F3.utils\u002Fon-before-route-update",{"title":786,"description":787,"path":788,"stem":789},"onNuxtReady","The onNuxtReady composable allows running a callback after your app has finished initializing.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fon-nuxt-ready","4.api\u002F3.utils\u002Fon-nuxt-ready",{"title":791,"description":792,"path":793,"stem":794},"prefetchComponents","Nuxt provides utilities to give you control over prefetching components.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fprefetch-components","4.api\u002F3.utils\u002Fprefetch-components",{"title":796,"description":797,"path":798,"stem":799},"preloadComponents","Nuxt provides utilities to give you control over preloading components.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fpreload-components","4.api\u002F3.utils\u002Fpreload-components",{"title":801,"description":802,"path":803,"stem":804},"preloadRouteComponents","preloadRouteComponents allows you to manually preload individual pages in your Nuxt app.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fpreload-route-components","4.api\u002F3.utils\u002Fpreload-route-components",{"title":806,"description":807,"path":808,"stem":809},"prerenderRoutes","prerenderRoutes hints to Nitro to prerender an additional route.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fprerender-routes","4.api\u002F3.utils\u002Fprerender-routes",{"title":811,"description":812,"path":813,"stem":814},"refreshCookie","Refresh useCookie values manually when a cookie has changed","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Frefresh-cookie","4.api\u002F3.utils\u002Frefresh-cookie",{"title":816,"description":817,"path":818,"stem":819},"refreshNuxtData","Refresh all or specific asyncData instances in Nuxt","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Frefresh-nuxt-data","4.api\u002F3.utils\u002Frefresh-nuxt-data",{"title":821,"description":822,"path":823,"stem":824},"reloadNuxtApp","reloadNuxtApp will perform a hard reload of the page.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Freload-nuxt-app","4.api\u002F3.utils\u002Freload-nuxt-app",{"title":826,"description":827,"path":828,"stem":829},"setPageLayout","setPageLayout allows you to dynamically change the layout of a page.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fset-page-layout","4.api\u002F3.utils\u002Fset-page-layout",{"title":831,"description":832,"path":833,"stem":834},"setResponseStatus","setResponseStatus sets the status (and optionally the statusText) of the response.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fset-response-status","4.api\u002F3.utils\u002Fset-response-status",{"title":836,"description":837,"path":838,"stem":839},"showError","Nuxt provides a quick and simple way to show a full screen error page if needed.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fshow-error","4.api\u002F3.utils\u002Fshow-error",{"title":841,"description":842,"path":843,"stem":844},"updateAppConfig","Update the App Config at runtime.","\u002Fdocs\u002F3.x\u002Fapi\u002Futils\u002Fupdate-app-config","4.api\u002F3.utils\u002Fupdate-app-config",{"title":846,"titleTemplate":847,"icon":848,"path":849,"stem":850,"children":851,"page":106},"CLI","%s · Nuxt CLI","i-lucide-square-terminal","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands","1.overview",[852,856,861,866,871,876,881,886,891,896,901,906,911,916,921,926,931,936],{"title":853,"description":854,"path":855,"stem":850},"Nuxt CLI","The Nuxt CLI runs, builds and inspects your Nuxt application from the command line.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Foverview",{"title":857,"description":858,"path":859,"stem":860},"nuxt add","Add modules to your Nuxt application with the command line.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fadd","add",{"title":862,"description":863,"path":864,"stem":865},"nuxt add-template","Scaffold an entity into your Nuxt application.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fadd-template","add-template",{"title":867,"description":868,"path":869,"stem":870},"nuxt analyze","Analyze the production bundle or your Nuxt application.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fanalyze","analyze",{"title":872,"description":873,"path":874,"stem":875},"nuxt build","Build your Nuxt application.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fbuild","build",{"title":877,"description":878,"path":879,"stem":880},"nuxt build-module","Nuxt command to build your Nuxt module before publishing.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fbuild-module","build-module",{"title":882,"description":883,"path":884,"stem":885},"nuxt cleanup","Remove common generated Nuxt files and caches.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fcleanup","cleanup",{"title":887,"description":888,"path":889,"stem":890},"nuxt dev","The dev command starts a development server with hot module replacement at http:\u002F\u002Flocalhost:3000","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fdev","dev",{"title":892,"description":893,"path":894,"stem":895},"nuxt devtools","The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fdevtools","devtools",{"title":897,"description":898,"path":899,"stem":900},"nuxt generate","Pre-renders every route of the application and stores the result in plain HTML files.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fgenerate","generate",{"title":902,"description":903,"path":904,"stem":905},"nuxt info","The info command logs information about the current or specified Nuxt project.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Finfo","info",{"title":907,"description":908,"path":909,"stem":910},"create nuxt","The init command initializes a fresh Nuxt project.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Finit","init",{"title":912,"description":913,"path":914,"stem":915},"nuxt module","Search and remove modules in your Nuxt application with the command line.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fmodule","module",{"title":917,"description":918,"path":919,"stem":920},"nuxt prepare","The prepare command creates a .nuxt directory in your application and generates types.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fprepare","prepare",{"title":922,"description":923,"path":924,"stem":925},"nuxt preview","The preview command starts a server to preview your application after the build command.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fpreview","preview",{"title":927,"description":928,"path":929,"stem":930},"nuxt test","The test command runs tests using @nuxt\u002Ftest-utils.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Ftest","test",{"title":932,"description":933,"path":934,"stem":935},"nuxt typecheck","The typecheck command runs vue-tsc or Golar to check types throughout your app.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Ftypecheck","typecheck",{"title":937,"description":938,"path":939,"stem":940},"nuxt upgrade","The upgrade command upgrades Nuxt to the latest version.","\u002Fdocs\u002F3.x\u002Fapi\u002Fcommands\u002Fupgrade","upgrade",{"title":430,"titleTemplate":942,"path":943,"stem":944,"children":945,"page":106},"%s · Nuxt Kit","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit","4.api\u002F5.kit\u002F1.modules",[946,949,954,959,963,967,972,977,982,987,992,996,1001,1006,1011,1016,1021,1026],{"title":280,"description":947,"path":948,"stem":944},"Nuxt Kit provides a set of utilities to help you create and use modules. You can use these utilities to create your own modules or to reuse existing modules.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fmodules",{"title":950,"description":951,"path":952,"stem":953},"Programmatic Usage","Nuxt Kit provides a set of utilities to help you work with Nuxt programmatically. These functions allow you to load Nuxt, build Nuxt, and load Nuxt configuration.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fprogrammatic","4.api\u002F5.kit\u002F2.programmatic",{"title":955,"description":956,"path":957,"stem":958},"Compatibility","Nuxt Kit provides a set of utilities to help you check the compatibility of your modules with different Nuxt versions.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fcompatibility","4.api\u002F5.kit\u002F3.compatibility",{"title":270,"description":960,"path":961,"stem":962},"Nuxt Kit provides a set of utilities to help you work with auto-imports. These functions allow you to register your own utils, composables and Vue APIs.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fautoimports","4.api\u002F5.kit\u002F4.autoimports",{"title":466,"description":964,"path":965,"stem":966},"Nuxt Kit provides a set of utilities to help you work with components. You can register components globally or locally, and also add directories to be scanned for components.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fcomponents","4.api\u002F5.kit\u002F5.components",{"title":968,"description":969,"path":970,"stem":971},"Context","Nuxt Kit provides a set of utilities to help you work with context.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fcontext","4.api\u002F5.kit\u002F6.context",{"title":973,"description":974,"path":975,"stem":976},"Pages","Nuxt Kit provides a set of utilities to help you create and use pages. You can use these utilities to manipulate the pages configuration or to define route rules.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fpages","4.api\u002F5.kit\u002F7.pages",{"title":978,"description":979,"path":980,"stem":981},"Layout","Nuxt Kit provides a set of utilities to help you work with layouts.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Flayout","4.api\u002F5.kit\u002F8.layout",{"title":983,"description":984,"path":985,"stem":986},"Head","Nuxt Kit provides utilities to help you manage head configuration in modules.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fhead","4.api\u002F5.kit\u002F9.head",{"title":988,"description":989,"path":990,"stem":991},"Plugins","Nuxt Kit provides a set of utilities to help you create and use plugins. You can add plugins or plugin templates to your module using these functions.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fplugins","4.api\u002F5.kit\u002F9.plugins",{"title":449,"description":993,"path":994,"stem":995},"Nuxt Kit provides a set of utilities to help you access and modify Nuxt runtime configuration.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fruntime-config","4.api\u002F5.kit\u002F10.runtime-config",{"title":997,"description":998,"path":999,"stem":1000},"Templates","Nuxt Kit provides a set of utilities to help you work with templates. These functions allow you to generate extra files during development and build time.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Ftemplates","4.api\u002F5.kit\u002F10.templates",{"title":1002,"description":1003,"path":1004,"stem":1005},"Nitro","Nuxt Kit provides a set of utilities to help you work with Nitro. These functions allow you to add server handlers, plugins, and prerender routes.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fnitro","4.api\u002F5.kit\u002F11.nitro",{"title":1007,"description":1008,"path":1009,"stem":1010},"Resolving","Nuxt Kit provides a set of utilities to help you resolve paths. These functions allow you to resolve paths relative to the current module, with unknown name or extension.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fresolving","4.api\u002F5.kit\u002F12.resolving",{"title":1012,"description":1013,"path":1014,"stem":1015},"Logging","Nuxt Kit provides a set of utilities to help you work with logging. These functions allow you to log messages with extra features.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Flogging","4.api\u002F5.kit\u002F13.logging",{"title":1017,"description":1018,"path":1019,"stem":1020},"Builder","Nuxt Kit provides a set of utilities to help you work with the builder. These functions allow you to extend the Vite and webpack configurations.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fbuilder","4.api\u002F5.kit\u002F14.builder",{"title":1022,"description":1023,"path":1024,"stem":1025},"Examples","Examples of Nuxt Kit utilities in use.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Fexamples","4.api\u002F5.kit\u002F15.examples",{"title":82,"description":1027,"path":1028,"stem":1029},"Nuxt Kit provides utilities to help you work with layers and their directory structures.","\u002Fdocs\u002F3.x\u002Fapi\u002Fkit\u002Flayers","4.api\u002F5.kit\u002F16.layers",{"icon":1031,"title":1032,"path":1033,"stem":1034,"children":1035,"page":106},"i-lucide-brain","Advanced","\u002Fdocs\u002F3.x\u002Fapi\u002Fadvanced","4.api\u002F6.advanced\u002F1.hooks",[1036,1038],{"title":425,"description":426,"path":1037,"stem":1034},"\u002Fdocs\u002F3.x\u002Fapi\u002Fadvanced\u002Fhooks",{"title":1039,"description":1040,"path":1041,"stem":1042},"Import meta","Understand where your code is running using `import.meta`.","\u002Fdocs\u002F3.x\u002Fapi\u002Fadvanced\u002Fimport-meta","4.api\u002F6.advanced\u002F2.import-meta",{"title":1044,"description":1045,"path":1046,"stem":1047},"Nuxt Configuration","Discover all the options you can use in your nuxt.config.ts file.","\u002Fdocs\u002F3.x\u002Fapi\u002Fnuxt-config","4.api\u002F6.nuxt-config",{"title":1022,"titleTemplate":1049,"icon":1050,"path":1051,"stem":1052,"children":1053,"page":106},"%s · Nuxt Examples","i-lucide-app-window-mac","\u002Fdocs\u002Fexamples","0.hello-world",[1054,1058,1084,1101,1145],{"title":1055,"description":1056,"path":1057,"stem":1052},"Hello World","A minimal Nuxt application only requires the `app.vue` and `nuxt.config.js` files.","\u002Fdocs\u002Fexamples\u002Fhello-world",{"title":420,"path":1059,"stem":1060,"children":1061,"page":106},"\u002Fdocs\u002Fexamples\u002Ffeatures","1.features\u002F1.auto-imports",[1062,1066,1070,1074,1079],{"title":1063,"description":1064,"path":1065,"stem":1060},"Auto Imports","This example demonstrates the auto-imports feature in Nuxt.","\u002Fdocs\u002Fexamples\u002Ffeatures\u002Fauto-imports",{"title":62,"description":1067,"path":1068,"stem":1069},"This example demonstrates data fetching with Nuxt using built-in composables and API routes.","\u002Fdocs\u002Fexamples\u002Ffeatures\u002Fdata-fetching","1.features\u002F2.data-fetching",{"title":67,"description":1071,"path":1072,"stem":1073},"This example shows how to use the `useState` composable to create a reactive and SSR-friendly shared state across components.","\u002Fdocs\u002Fexamples\u002Ffeatures\u002Fstate-management","1.features\u002F3.state-management",{"title":1075,"description":1076,"path":1077,"stem":1078},"Meta Tags","This example shows how to use the Nuxt helpers and composables for SEO and meta management.","\u002Fdocs\u002Fexamples\u002Ffeatures\u002Fmeta-tags","1.features\u002F4.meta-tags",{"title":1080,"description":1081,"path":1082,"stem":1083},"Layouts","This example shows how to define default and custom layouts.","\u002Fdocs\u002Fexamples\u002Ffeatures\u002Flayouts","1.features\u002F5.layouts",{"title":47,"path":1085,"stem":1086,"children":1087,"page":106},"\u002Fdocs\u002Fexamples\u002Frouting","2.routing\u002Fmiddleware",[1088,1092,1096],{"title":1089,"description":1090,"path":1091,"stem":1086},"Middleware","This example shows how to add route middleware with the middleware\u002F directory or with a plugin, and how to use them globally or per page.","\u002Fdocs\u002Fexamples\u002Frouting\u002Fmiddleware",{"title":973,"description":1093,"path":1094,"stem":1095},"This example shows how to use the pages\u002F directory to create application routes.","\u002Fdocs\u002Fexamples\u002Frouting\u002Fpages","2.routing\u002Fpages",{"title":1097,"description":1098,"path":1099,"stem":1100},"Universal Router","This example demonstrates Nuxt universal routing utilities without depending on `pages\u002F` and `vue-router`.","\u002Fdocs\u002Fexamples\u002Frouting\u002Funiversal-router","2.routing\u002Funiversal-router",{"title":1032,"path":1102,"stem":1103,"children":1104,"page":106},"\u002Fdocs\u002Fexamples\u002Fadvanced","4.advanced\u002Fconfig-extends",[1105,1108,1112,1117,1122,1127,1132,1136,1140],{"title":82,"description":1106,"path":1107,"stem":1103},"This example shows how to use the extends key in `nuxt.config.ts`.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fconfig-extends",{"title":72,"description":1109,"path":1110,"stem":1111},"This example shows how to handle errors in different contexts: pages, plugins, components and middleware.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Ferror-handling","4.advanced\u002Ferror-handling",{"title":1113,"description":1114,"path":1115,"stem":1116},"JSX \u002F TSX","This example shows how to use JSX syntax with typescript in Nuxt pages and components.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fjsx","4.advanced\u002Fjsx",{"title":1118,"description":1119,"path":1120,"stem":1121},"Locale","This example shows how to define a locale composable to handle the application's locale, both server and client side.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Flocale","4.advanced\u002Flocale",{"title":1123,"description":1124,"path":1125,"stem":1126},"Module Extend Pages","This example defines a new `test` page using `extendPages` within a module.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fmodule-extend-pages","4.advanced\u002Fmodule-extend-pages",{"title":1128,"description":1129,"path":1130,"stem":1131},"Teleport","This example shows how to use the \u003CTeleport> with client-side and server-side rendering.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fteleport","4.advanced\u002Fteleport",{"title":97,"description":1133,"path":1134,"stem":1135},"This example shows how to test your Nuxt application.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Ftesting","4.advanced\u002Ftesting",{"title":566,"description":1137,"path":1138,"stem":1139},"This example shows how to use the useCookie API to persist small amounts of data that both client and server can use.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fuse-cookie","4.advanced\u002Fuse-cookie",{"title":1141,"description":1142,"path":1143,"stem":1144},"Use Custom Fetch Composable","This example shows a convenient wrapper for the useFetch composable from nuxt. It allows you to customize the fetch request with default values and user authentication token.","\u002Fdocs\u002Fexamples\u002Fadvanced\u002Fuse-custom-fetch-composable","4.advanced\u002Fuse-custom-fetch-composable",{"title":1146,"path":1147,"stem":1148,"children":1149,"page":106},"Experimental","\u002Fdocs\u002Fexamples\u002Fexperimental","7.experimental\u002Fwasm",[1150],{"title":1151,"description":1152,"path":1153,"stem":1148},"WASM","This example demonstrates the server-side support of WebAssembly in Nuxt.","\u002Fdocs\u002Fexamples\u002Fexperimental\u002Fwasm",{"title":1155,"titleTemplate":1156,"icon":1157,"path":1158,"stem":1159,"children":1160,"page":106},"Community","%s · Nuxt Community","i-lucide-messages-square","\u002Fdocs\u002F3.x\u002Fcommunity","5.community\u002F2.getting-help",[1161,1166,1171,1176,1181,1186],{"title":1162,"description":1163,"path":1164,"stem":1159,"icon":1165},"Getting Help","We're a friendly community of developers and we'd love to help.","\u002Fdocs\u002F3.x\u002Fcommunity\u002Fgetting-help","i-lucide-life-buoy",{"title":1167,"description":1168,"path":1169,"stem":1170},"Reporting Bugs","One of the most valuable roles in open source is taking the time to report bugs helpfully.","\u002Fdocs\u002F3.x\u002Fcommunity\u002Freporting-bugs","5.community\u002F3.reporting-bugs",{"title":1172,"description":1173,"path":1174,"stem":1175},"Contribution","Nuxt is a community project - and so we love contributions of all kinds! ❤️","\u002Fdocs\u002F3.x\u002Fcommunity\u002Fcontribution","5.community\u002F4.contribution",{"title":1177,"description":1178,"path":1179,"stem":1180},"Framework","Some specific points about contributions to the framework repository.","\u002Fdocs\u002F3.x\u002Fcommunity\u002Fframework-contribution","5.community\u002F5.framework-contribution",{"title":1182,"description":1183,"path":1184,"stem":1185},"Roadmap","Nuxt is constantly evolving, with new features and modules being added all the time.","\u002Fdocs\u002F3.x\u002Fcommunity\u002Froadmap","5.community\u002F6.roadmap",{"title":1187,"description":1188,"path":1189,"stem":1190},"Releases","Discover the latest releases of Nuxt & Nuxt official modules.","\u002Fdocs\u002F3.x\u002Fcommunity\u002Fchangelog","5.community\u002F7.changelog",{"title":1192,"titleTemplate":1193,"icon":1194,"path":1195,"stem":1196,"children":1197,"page":106},"Migrate to Nuxt Bridge","Migrate to Nuxt Bridge: %s","i-lucide-ship","\u002Fdocs\u002F3.x\u002Fbridge","6.bridge\u002F1.overview",[1198,1202,1206,1211,1216,1221,1225,1228,1232,1237],{"title":1199,"description":1200,"path":1201,"stem":1196},"Overview","Reduce the differences with Nuxt 3 and reduce the burden of migration to Nuxt 3.","\u002Fdocs\u002F3.x\u002Fbridge\u002Foverview",{"title":285,"description":1203,"path":1204,"stem":1205},"Learn how to use TypeScript with Nuxt Bridge.","\u002Fdocs\u002F3.x\u002Fbridge\u002Ftypescript","6.bridge\u002F2.typescript",{"title":1207,"description":1208,"path":1209,"stem":1210},"Legacy Composition API","Learn how to migrate to Composition API with Nuxt Bridge.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fbridge-composition-api","6.bridge\u002F3.bridge-composition-api",{"title":1212,"description":1213,"path":1214,"stem":1215},"Plugins and Middleware","Learn how to migrate from Nuxt 2 to Nuxt Bridge new plugins and middleware.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fplugins-and-middleware","6.bridge\u002F4.plugins-and-middleware",{"title":1217,"description":1218,"path":1219,"stem":1220},"New Composition API","Nuxt Bridge implements composables compatible with Nuxt 3.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fnuxt3-compatible-api","6.bridge\u002F5.nuxt3-compatible-api",{"title":1075,"description":1222,"path":1223,"stem":1224},"Learn how to migrate from Nuxt 2 to Nuxt Bridge new meta tags.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fmeta","6.bridge\u002F6.meta",{"title":449,"description":450,"path":1226,"stem":1227},"\u002Fdocs\u002F3.x\u002Fbridge\u002Fruntime-config","6.bridge\u002F7.runtime-config",{"title":1002,"description":1229,"path":1230,"stem":1231},"Activate Nitro to your Nuxt 2 application with Nuxt Bridge.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fnitro","6.bridge\u002F8.nitro",{"title":1233,"description":1234,"path":1235,"stem":1236},"Vite","Activate Vite to your Nuxt 2 application with Nuxt Bridge.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fvite","6.bridge\u002F9.vite",{"title":27,"description":1238,"path":1239,"stem":1240},"Learn how to configure Nuxt Bridge to your own needs.","\u002Fdocs\u002F3.x\u002Fbridge\u002Fconfiguration","6.bridge\u002F10.configuration",{"title":1242,"titleTemplate":1243,"icon":1244,"path":1245,"stem":1246,"children":1247,"page":106},"Migrate to Nuxt 3","Migrate to Nuxt 3: %s","i-lucide-circle-arrow-up","\u002Fdocs\u002F3.x\u002Fmigration","7.migration\u002F1.overview",[1248,1251,1255,1259,1263,1267,1272,1277,1281,1286,1290],{"title":1199,"description":1249,"path":1250,"stem":1246},"Nuxt 3 is a complete rewrite of Nuxt 2, and also based on a new set of underlying technologies.","\u002Fdocs\u002F3.x\u002Fmigration\u002Foverview",{"title":27,"description":1252,"path":1253,"stem":1254},"Learn how to migrate from Nuxt 2 to Nuxt 3 new configuration.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fconfiguration","7.migration\u002F2.configuration",{"title":1063,"description":1256,"path":1257,"stem":1258},"Nuxt 3 adopts a minimal friction approach, meaning wherever possible components and composables are auto-imported.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fauto-imports","7.migration\u002F3.auto-imports",{"title":1075,"description":1260,"path":1261,"stem":1262},"Manage your meta tags, from Nuxt 2 to Nuxt 3.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fmeta","7.migration\u002F4.meta",{"title":1212,"description":1264,"path":1265,"stem":1266},"Learn how to migrate from Nuxt 2 to Nuxt 3 plugins and middleware.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fplugins-and-middleware","7.migration\u002F5.plugins-and-middleware",{"title":1268,"description":1269,"path":1270,"stem":1271},"Pages and Layouts","Learn how to migrate from Nuxt 2 to Nuxt 3 pages and layouts.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fpages-and-layouts","7.migration\u002F6.pages-and-layouts",{"title":1273,"description":1274,"path":1275,"stem":1276},"Component Options","Learn how to migrate from Nuxt 2 components options to Nuxt 3 composables.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fcomponent-options","7.migration\u002F7.component-options",{"title":449,"description":1278,"path":1279,"stem":1280},"Learn how to migrate from Nuxt 2 to Nuxt 3 runtime config.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fruntime-config","7.migration\u002F8.runtime-config",{"title":1282,"description":1283,"path":1284,"stem":1285},"Build Tooling","Learn how to migrate from Nuxt 2 to Nuxt 3 build tooling.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fbundling","7.migration\u002F10.bundling",{"title":77,"description":1287,"path":1288,"stem":1289},"Learn how to migrate from Nuxt 2 to Nuxt 3 server.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fserver","7.migration\u002F11.server",{"title":280,"description":1291,"path":1292,"stem":1293},"Learn how to migrate from Nuxt 2 to Nuxt 3 modules.","\u002Fdocs\u002F3.x\u002Fmigration\u002Fmodule-authors","7.migration\u002F20.module-authors",{"description":1295,"path":1296,"stem":1297},"Documentation for Nuxt in raw markdown","\u002Fdocs\u002F3.x\u002Fpackage","package",{"title":5,"icon":6,"path":1299,"stem":8,"children":1300,"page":106},"\u002Fdocs\u002F4.x",[1301,1340,1417,1532,1814,1843,1858,1881,1906],{"title":11,"titleTemplate":12,"icon":13,"path":1302,"stem":8,"children":1303,"page":106},"\u002Fdocs\u002F4.x\u002Fgetting-started",[1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,1328,1330,1332,1334,1336,1338],{"title":17,"description":18,"path":1305,"stem":8,"icon":20},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fintroduction",{"title":22,"description":23,"path":1307,"stem":25},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Finstallation",{"title":27,"description":28,"path":1309,"stem":30},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fconfiguration",{"title":32,"description":33,"path":1311,"stem":35},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fviews",{"title":37,"description":38,"path":1313,"stem":40},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fassets",{"title":42,"description":43,"path":1315,"stem":45},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fstyling",{"title":47,"description":48,"path":1317,"stem":50},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Frouting",{"title":52,"description":53,"path":1319,"stem":55},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fseo-meta",{"title":57,"description":58,"path":1321,"stem":60},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Ftransitions",{"title":62,"description":63,"path":1323,"stem":65},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fdata-fetching",{"title":67,"description":68,"path":1325,"stem":70},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fstate-management",{"title":72,"description":73,"path":1327,"stem":75},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Ferror-handling",{"title":77,"description":78,"path":1329,"stem":80},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fserver",{"title":82,"description":83,"path":1331,"stem":85},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Flayers",{"title":87,"description":88,"path":1333,"stem":90},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fprerendering",{"title":92,"description":93,"path":1335,"stem":95},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fdeployment",{"title":97,"description":98,"path":1337,"stem":100},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Ftesting",{"title":102,"description":103,"path":1339,"stem":105},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fupgrade",{"title":108,"titleTemplate":109,"icon":110,"path":1341,"stem":112,"children":1342,"page":106},"\u002Fdocs\u002F4.x\u002Fdirectory-structure",[1343,1345,1347,1385,1387,1389,1391,1393,1395,1397,1399,1403,1405,1407,1409,1411,1413,1415],{"title":115,"description":116,"path":1344,"stem":112},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fnuxt",{"title":119,"description":120,"path":1346,"stem":122},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Foutput",{"title":1348,"titleTemplate":109,"icon":1349,"path":1350,"stem":1351,"children":1352,"page":106},"app","i-vscode-icons-folder-type-app","\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp","2.directory-structure\u002F1.app\u002F1.assets",[1353,1355,1358,1361,1364,1367,1370,1373,1376,1379,1382],{"title":124,"description":125,"path":1354,"stem":1351},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fassets",{"title":129,"description":130,"path":1356,"stem":1357},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fcomponents","2.directory-structure\u002F1.app\u002F1.components",{"title":134,"description":135,"path":1359,"stem":1360},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fcomposables","2.directory-structure\u002F1.app\u002F1.composables",{"title":149,"description":150,"path":1362,"stem":1363},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Flayouts","2.directory-structure\u002F1.app\u002F1.layouts",{"title":154,"description":155,"path":1365,"stem":1366},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fmiddleware","2.directory-structure\u002F1.app\u002F1.middleware",{"title":169,"description":170,"path":1368,"stem":1369},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fpages","2.directory-structure\u002F1.app\u002F1.pages",{"title":174,"description":175,"path":1371,"stem":1372},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fplugins","2.directory-structure\u002F1.app\u002F1.plugins",{"title":194,"description":195,"path":1374,"stem":1375},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Futils","2.directory-structure\u002F1.app\u002F1.utils",{"title":219,"description":220,"path":1377,"stem":1378},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fapp","2.directory-structure\u002F1.app\u002F3.app",{"title":224,"description":225,"path":1380,"stem":1381},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Fapp-config","2.directory-structure\u002F1.app\u002F3.app-config",{"title":229,"description":230,"path":1383,"stem":1384},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fapp\u002Ferror","2.directory-structure\u002F1.app\u002F3.error",{"title":139,"description":140,"path":1386,"stem":142},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fcontent",{"title":144,"description":145,"path":1388,"stem":147},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Flayers",{"title":159,"description":160,"path":1390,"stem":162},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fmodules",{"title":164,"description":165,"path":1392,"stem":167},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fnode_modules",{"title":179,"description":180,"path":1394,"stem":182},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fpublic",{"title":184,"description":185,"path":1396,"stem":187},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fserver",{"title":189,"description":190,"path":1398,"stem":192},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fshared",{"title":930,"description":1400,"path":1401,"stem":1402},"Use the test\u002F directory to organize unit, Nuxt, and end-to-end tests for your application.","\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Ftest","2.directory-structure\u002F1.test",{"title":199,"description":200,"path":1404,"stem":202},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fenv",{"title":204,"description":205,"path":1406,"stem":207},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fgitignore",{"title":209,"description":210,"path":1408,"stem":212},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fnuxtignore",{"title":214,"description":215,"path":1410,"stem":217},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fnuxtrc",{"title":234,"description":235,"path":1412,"stem":237},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fnuxt-config",{"title":239,"description":240,"path":1414,"stem":242},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Fpackage",{"title":244,"description":245,"path":1416,"stem":247},"\u002Fdocs\u002F4.x\u002Fdirectory-structure\u002Ftsconfig",{"title":249,"icon":250,"path":1418,"stem":252,"children":1419,"page":106},"\u002Fdocs\u002F4.x\u002Fguide",[1420,1442,1462,1469,1488,1504],{"title":255,"titleTemplate":256,"icon":257,"path":1421,"stem":252,"children":1422,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts",[1423,1425,1427,1429,1431,1433,1438,1440],{"title":261,"description":262,"path":1424,"stem":252},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Frendering",{"title":265,"description":266,"path":1426,"stem":268},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fnuxt-lifecycle",{"title":270,"description":271,"path":1428,"stem":273},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fauto-imports",{"title":275,"description":276,"path":1430,"stem":278},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fserver-engine",{"title":280,"description":281,"path":1432,"stem":283},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fmodules",{"title":1434,"description":1435,"path":1436,"stem":1437},"Server Components","Render individual components on the server only, keeping their JavaScript out of your client bundle.","\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fserver-components","3.guide\u002F1.concepts\u002F6.server-components",{"title":285,"description":286,"path":1439,"stem":288},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Ftypescript",{"title":290,"description":291,"path":1441,"stem":293},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Fcode-style",{"title":295,"titleTemplate":296,"icon":297,"path":1443,"stem":1444,"children":1445,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices","3.guide\u002F2.best-practices\u002Faccessibility",[1446,1450,1455,1458,1460],{"title":1447,"description":1448,"path":1449,"stem":1444},"Nuxt accessibility","Best practices for accessibility in Nuxt apps.","\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices\u002Faccessibility",{"title":1451,"description":1452,"path":1453,"stem":1454},"Dev Containers","Set up or open a Nuxt project in a dev container for a consistent development environment.","\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices\u002Fdevcontainers","3.guide\u002F2.best-practices\u002Fdevcontainers",{"title":1456,"description":303,"path":1457,"stem":299},"Nuxt and Hydration","\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices\u002Fhydration",{"title":306,"description":307,"path":1459,"stem":309},"\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices\u002Fperformance",{"title":311,"description":312,"path":1461,"stem":314},"\u002Fdocs\u002F4.x\u002Fguide\u002Fbest-practices\u002Fplugins",{"title":316,"titleTemplate":317,"icon":318,"path":1463,"stem":320,"children":1464,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Fai",[1465,1467],{"title":323,"description":324,"path":1466,"stem":320},"\u002Fdocs\u002F4.x\u002Fguide\u002Fai\u002Fmcp",{"title":327,"description":328,"path":1468,"stem":330},"\u002Fdocs\u002F4.x\u002Fguide\u002Fai\u002Fllms-txt",{"title":332,"titleTemplate":333,"icon":334,"path":1470,"stem":336,"children":1471,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules",[1472,1474,1476,1478,1480,1482,1484,1486],{"title":339,"description":340,"path":1473,"stem":336},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Fgetting-started",{"title":343,"description":344,"path":1475,"stem":346},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Fmodule-anatomy",{"title":348,"description":349,"path":1477,"stem":351},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Frecipes-basics",{"title":353,"description":354,"path":1479,"stem":356},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Fmodule-dependencies",{"title":358,"description":359,"path":1481,"stem":361},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Frecipes-advanced",{"title":363,"description":364,"path":1483,"stem":366},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Ftesting",{"title":368,"description":369,"path":1485,"stem":371},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Fbest-practices",{"title":373,"description":374,"path":1487,"stem":376},"\u002Fdocs\u002F4.x\u002Fguide\u002Fmodules\u002Fecosystem",{"title":378,"titleTemplate":379,"icon":380,"path":1489,"stem":382,"children":1490,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes",[1491,1493,1495,1497,1499],{"title":385,"description":386,"path":1492,"stem":382},"\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes\u002Fcustom-routing",{"title":389,"description":390,"path":1494,"stem":392},"\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes\u002Fvite-plugin",{"title":394,"description":395,"path":1496,"stem":397},"\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes\u002Fcustom-usefetch",{"title":399,"description":400,"path":1498,"stem":402},"\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes\u002Fsessions-and-authentication",{"title":1500,"description":1501,"path":1502,"stem":1503},"Mostly-Static Sites","Ship near-zero JavaScript for content and marketing sites while keeping islands of interactivity.","\u002Fdocs\u002F4.x\u002Fguide\u002Frecipes\u002Fmostly-static-sites","3.guide\u002F5.recipes\u002F5.mostly-static-sites",{"title":404,"titleTemplate":405,"icon":406,"path":1505,"stem":408,"children":1506,"page":106},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further",[1507,1509,1511,1513,1515,1517,1519,1521,1526,1528,1530],{"title":411,"description":412,"path":1508,"stem":408},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fevents",{"title":415,"description":416,"path":1510,"stem":418},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fexperimental-features",{"title":420,"description":421,"path":1512,"stem":423},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Ffeatures",{"title":425,"description":426,"path":1514,"stem":428},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fhooks",{"title":430,"description":431,"path":1516,"stem":433},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fkit",{"title":435,"description":436,"path":1518,"stem":438},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fnuxt-app",{"title":440,"description":83,"path":1520,"stem":442},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Flayers",{"title":1522,"description":1523,"path":1524,"stem":1525},"Creating a Builder","Learn how Nuxt builders work and how to author your own.","\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fbuilders","3.guide\u002F6.going-further\u002F8.builders",{"title":444,"description":445,"path":1527,"stem":447},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fdebugging",{"title":449,"description":450,"path":1529,"stem":452},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fruntime-config",{"title":454,"description":455,"path":1531,"stem":457},"\u002Fdocs\u002F4.x\u002Fguide\u002Fgoing-further\u002Fnightly-release-channel",{"title":459,"titleTemplate":460,"icon":461,"path":1533,"stem":463,"children":1534,"page":106},"\u002Fdocs\u002F4.x\u002Fapi",[1535,1573,1654,1715,1754,1805,1812],{"title":466,"titleTemplate":467,"icon":334,"path":1536,"stem":463,"children":1537,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents",[1538,1540,1542,1544,1546,1548,1550,1552,1554,1556,1558,1560,1562,1564,1566,1568],{"title":471,"description":472,"path":1539,"stem":463},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fclient-only",{"title":475,"description":476,"path":1541,"stem":478},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fdev-only",{"title":480,"description":481,"path":1543,"stem":483},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-client-fallback",{"title":485,"description":486,"path":1545,"stem":488},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-page",{"title":490,"description":491,"path":1547,"stem":493},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-layout",{"title":495,"description":496,"path":1549,"stem":498},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-link",{"title":500,"description":501,"path":1551,"stem":503},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-loading-indicator",{"title":505,"description":506,"path":1553,"stem":508},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-error-boundary",{"title":510,"description":511,"path":1555,"stem":513},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-welcome",{"title":515,"description":516,"path":1557,"stem":518},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-island",{"title":520,"description":521,"path":1559,"stem":523},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-img",{"title":525,"description":526,"path":1561,"stem":528},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-picture",{"title":530,"description":531,"path":1563,"stem":533},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fteleports",{"title":535,"description":536,"path":1565,"stem":538},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-route-announcer",{"title":540,"description":541,"path":1567,"stem":543},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-time",{"title":1569,"description":1570,"path":1571,"stem":1572},"\u003CNuxtAnnouncer>","The \u003CNuxtAnnouncer> component adds a hidden element to announce dynamic content changes to assistive technologies.","\u002Fdocs\u002F4.x\u002Fapi\u002Fcomponents\u002Fnuxt-announcer","4.api\u002F1.components\u002F14.nuxt-announcer",{"title":545,"titleTemplate":546,"icon":547,"path":1574,"stem":1575,"children":1576,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables","4.api\u002F2.composables\u002Fcreate-use-async-data",[1577,1581,1586,1588,1593,1595,1597,1599,1601,1603,1605,1607,1609,1614,1616,1618,1620,1622,1624,1626,1628,1630,1632,1634,1636,1638,1640,1642,1644,1646,1648,1650,1652],{"title":1578,"description":1579,"path":1580,"stem":1575},"createUseAsyncData","A factory function to create a custom useAsyncData composable with pre-defined default options.","\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fcreate-use-async-data",{"title":1582,"description":1583,"path":1584,"stem":1585},"createUseFetch","A factory function to create a custom useFetch composable with pre-defined default options.","\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fcreate-use-fetch","4.api\u002F2.composables\u002Fcreate-use-fetch",{"title":552,"description":553,"path":1587,"stem":549},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fon-prehydrate",{"title":1589,"description":1590,"path":1591,"stem":1592},"useAnnouncer","A composable for announcing messages to screen readers.","\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-announcer","4.api\u002F2.composables\u002Fuse-announcer",{"title":556,"description":557,"path":1594,"stem":559},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-app-config",{"title":561,"description":562,"path":1596,"stem":564},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-async-data",{"title":566,"description":567,"path":1598,"stem":569},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-cookie",{"title":571,"description":572,"path":1600,"stem":574},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-error",{"title":576,"description":577,"path":1602,"stem":579},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-fetch",{"title":581,"description":582,"path":1604,"stem":584},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-head",{"title":586,"description":587,"path":1606,"stem":589},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-head-safe",{"title":591,"description":592,"path":1608,"stem":594},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-hydration",{"title":1610,"description":1611,"path":1612,"stem":1613},"useLayout","useLayout returns the layout resolved for the current route.","\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-layout","4.api\u002F2.composables\u002Fuse-layout",{"title":596,"description":597,"path":1615,"stem":599},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-async-data",{"title":601,"description":602,"path":1617,"stem":604},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-fetch",{"title":606,"description":607,"path":1619,"stem":609},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-loading-indicator",{"title":611,"description":612,"path":1621,"stem":614},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-app",{"title":616,"description":617,"path":1623,"stem":619},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-data",{"title":621,"description":622,"path":1625,"stem":624},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-preview-mode",{"title":626,"description":627,"path":1627,"stem":629},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-request-event",{"title":631,"description":632,"path":1629,"stem":634},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-request-fetch",{"title":636,"description":637,"path":1631,"stem":639},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-request-header",{"title":641,"description":642,"path":1633,"stem":644},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-request-headers",{"title":646,"description":647,"path":1635,"stem":649},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-request-url",{"title":651,"description":652,"path":1637,"stem":654},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-response-header",{"title":656,"description":657,"path":1639,"stem":659},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-route",{"title":661,"description":662,"path":1641,"stem":664},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-route-announcer",{"title":666,"description":667,"path":1643,"stem":669},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-router",{"title":671,"description":672,"path":1645,"stem":674},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-config",{"title":676,"description":677,"path":1647,"stem":679},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-hook",{"title":681,"description":682,"path":1649,"stem":684},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-seo-meta",{"title":686,"description":687,"path":1651,"stem":689},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-server-seo-meta",{"title":691,"description":692,"path":1653,"stem":694},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcomposables\u002Fuse-state",{"title":696,"titleTemplate":697,"path":1655,"stem":699,"children":1656,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils",[1657,1659,1661,1663,1665,1667,1669,1671,1673,1675,1677,1679,1681,1683,1685,1687,1689,1691,1693,1695,1697,1699,1701,1703,1705,1707,1709,1711,1713],{"title":702,"description":703,"path":1658,"stem":699},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdollarfetch",{"title":706,"description":707,"path":1660,"stem":709},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fabort-navigation",{"title":711,"description":712,"path":1662,"stem":714},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fadd-route-middleware",{"title":716,"description":717,"path":1664,"stem":719},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fcall-once",{"title":721,"description":722,"path":1666,"stem":724},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fclear-error",{"title":726,"description":727,"path":1668,"stem":729},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fclear-nuxt-data",{"title":731,"description":732,"path":1670,"stem":734},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fclear-nuxt-state",{"title":736,"description":737,"path":1672,"stem":739},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fcreate-error",{"title":741,"description":742,"path":1674,"stem":744},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-lazy-hydration-component",{"title":746,"description":747,"path":1676,"stem":749},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-nuxt-component",{"title":751,"description":752,"path":1678,"stem":754},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-nuxt-plugin",{"title":756,"description":757,"path":1680,"stem":759},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-nuxt-route-middleware",{"title":761,"description":762,"path":1682,"stem":764},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-page-meta",{"title":766,"description":767,"path":1684,"stem":769},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fdefine-route-rules",{"title":771,"description":772,"path":1686,"stem":774},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fnavigate-to",{"title":776,"description":777,"path":1688,"stem":779},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fon-before-route-leave",{"title":781,"description":782,"path":1690,"stem":784},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fon-before-route-update",{"title":786,"description":787,"path":1692,"stem":789},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fon-nuxt-ready",{"title":791,"description":792,"path":1694,"stem":794},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fprefetch-components",{"title":796,"description":797,"path":1696,"stem":799},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fpreload-components",{"title":801,"description":802,"path":1698,"stem":804},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fpreload-route-components",{"title":806,"description":807,"path":1700,"stem":809},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fprerender-routes",{"title":811,"description":812,"path":1702,"stem":814},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Frefresh-cookie",{"title":816,"description":817,"path":1704,"stem":819},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Frefresh-nuxt-data",{"title":821,"description":822,"path":1706,"stem":824},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Freload-nuxt-app",{"title":826,"description":827,"path":1708,"stem":829},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fset-page-layout",{"title":831,"description":832,"path":1710,"stem":834},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fset-response-status",{"title":836,"description":837,"path":1712,"stem":839},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fshow-error",{"title":841,"description":842,"path":1714,"stem":844},"\u002Fdocs\u002F4.x\u002Fapi\u002Futils\u002Fupdate-app-config",{"title":846,"titleTemplate":847,"icon":848,"path":1716,"stem":850,"children":1717,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands",[1718,1720,1722,1724,1726,1728,1730,1732,1734,1736,1738,1740,1742,1744,1746,1748,1750,1752],{"title":853,"description":854,"path":1719,"stem":850},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Foverview",{"title":857,"description":858,"path":1721,"stem":860},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fadd",{"title":862,"description":863,"path":1723,"stem":865},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fadd-template",{"title":867,"description":868,"path":1725,"stem":870},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fanalyze",{"title":872,"description":873,"path":1727,"stem":875},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fbuild",{"title":877,"description":878,"path":1729,"stem":880},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fbuild-module",{"title":882,"description":883,"path":1731,"stem":885},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fcleanup",{"title":887,"description":888,"path":1733,"stem":890},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fdev",{"title":892,"description":893,"path":1735,"stem":895},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fdevtools",{"title":897,"description":898,"path":1737,"stem":900},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fgenerate",{"title":902,"description":903,"path":1739,"stem":905},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Finfo",{"title":907,"description":908,"path":1741,"stem":910},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Finit",{"title":912,"description":913,"path":1743,"stem":915},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fmodule",{"title":917,"description":918,"path":1745,"stem":920},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fprepare",{"title":922,"description":923,"path":1747,"stem":925},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fpreview",{"title":927,"description":928,"path":1749,"stem":930},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Ftest",{"title":932,"description":933,"path":1751,"stem":935},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Ftypecheck",{"title":937,"description":938,"path":1753,"stem":940},"\u002Fdocs\u002F4.x\u002Fapi\u002Fcommands\u002Fupgrade",{"title":430,"titleTemplate":942,"path":1755,"stem":944,"children":1756,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit",[1757,1759,1761,1763,1765,1767,1769,1771,1773,1775,1777,1779,1781,1786,1789,1793,1796,1799,1802],{"title":280,"description":947,"path":1758,"stem":944},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fmodules",{"title":950,"description":951,"path":1760,"stem":953},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fprogrammatic",{"title":955,"description":956,"path":1762,"stem":958},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fcompatibility",{"title":270,"description":960,"path":1764,"stem":962},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fautoimports",{"title":466,"description":964,"path":1766,"stem":966},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fcomponents",{"title":968,"description":969,"path":1768,"stem":971},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fcontext",{"title":973,"description":974,"path":1770,"stem":976},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fpages",{"title":978,"description":979,"path":1772,"stem":981},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Flayout",{"title":983,"description":984,"path":1774,"stem":986},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fhead",{"title":988,"description":989,"path":1776,"stem":991},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fplugins",{"title":449,"description":993,"path":1778,"stem":995},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fruntime-config",{"title":997,"description":998,"path":1780,"stem":1000},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Ftemplates",{"title":1782,"description":1783,"path":1784,"stem":1785},"App Config","Nuxt Kit provides a set of utilities to help you access and modify Nuxt app configuration.","\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fapp-config","4.api\u002F5.kit\u002F11.app-config",{"title":1002,"description":1003,"path":1787,"stem":1788},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fnitro","4.api\u002F5.kit\u002F12.nitro",{"title":1007,"description":1790,"path":1791,"stem":1792},"Nuxt Kit provides utilities to resolve paths from the Nuxt root directory or a custom base.","\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fresolving","4.api\u002F5.kit\u002F13.resolving",{"title":1012,"description":1013,"path":1794,"stem":1795},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Flogging","4.api\u002F5.kit\u002F14.logging",{"title":1017,"description":1018,"path":1797,"stem":1798},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fbuilder","4.api\u002F5.kit\u002F15.builder",{"title":1022,"description":1023,"path":1800,"stem":1801},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Fexamples","4.api\u002F5.kit\u002F16.examples",{"title":82,"description":1027,"path":1803,"stem":1804},"\u002Fdocs\u002F4.x\u002Fapi\u002Fkit\u002Flayers","4.api\u002F5.kit\u002F17.layers",{"icon":1031,"title":1032,"path":1806,"stem":1034,"children":1807,"page":106},"\u002Fdocs\u002F4.x\u002Fapi\u002Fadvanced",[1808,1810],{"title":425,"description":426,"path":1809,"stem":1034},"\u002Fdocs\u002F4.x\u002Fapi\u002Fadvanced\u002Fhooks",{"title":1039,"description":1040,"path":1811,"stem":1042},"\u002Fdocs\u002F4.x\u002Fapi\u002Fadvanced\u002Fimport-meta",{"title":1044,"description":1045,"path":1813,"stem":1047},"\u002Fdocs\u002F4.x\u002Fapi\u002Fnuxt-config",{"title":1022,"titleTemplate":1049,"icon":1050,"path":1051,"stem":1052,"children":1815,"page":106},[1816,1817,1824,1829,1840],{"title":1055,"description":1056,"path":1057,"stem":1052},{"title":420,"path":1059,"stem":1060,"children":1818,"page":106},[1819,1820,1821,1822,1823],{"title":1063,"description":1064,"path":1065,"stem":1060},{"title":62,"description":1067,"path":1068,"stem":1069},{"title":67,"description":1071,"path":1072,"stem":1073},{"title":1075,"description":1076,"path":1077,"stem":1078},{"title":1080,"description":1081,"path":1082,"stem":1083},{"title":47,"path":1085,"stem":1086,"children":1825,"page":106},[1826,1827,1828],{"title":1089,"description":1090,"path":1091,"stem":1086},{"title":973,"description":1093,"path":1094,"stem":1095},{"title":1097,"description":1098,"path":1099,"stem":1100},{"title":1032,"path":1102,"stem":1103,"children":1830,"page":106},[1831,1832,1833,1834,1835,1836,1837,1838,1839],{"title":82,"description":1106,"path":1107,"stem":1103},{"title":72,"description":1109,"path":1110,"stem":1111},{"title":1113,"description":1114,"path":1115,"stem":1116},{"title":1118,"description":1119,"path":1120,"stem":1121},{"title":1123,"description":1124,"path":1125,"stem":1126},{"title":1128,"description":1129,"path":1130,"stem":1131},{"title":97,"description":1133,"path":1134,"stem":1135},{"title":566,"description":1137,"path":1138,"stem":1139},{"title":1141,"description":1142,"path":1143,"stem":1144},{"title":1146,"path":1147,"stem":1148,"children":1841,"page":106},[1842],{"title":1151,"description":1152,"path":1153,"stem":1148},{"title":1155,"titleTemplate":1156,"icon":1157,"path":1844,"stem":1159,"children":1845,"page":106},"\u002Fdocs\u002F4.x\u002Fcommunity",[1846,1848,1850,1852,1854,1856],{"title":1162,"description":1163,"path":1847,"stem":1159,"icon":1165},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Fgetting-help",{"title":1167,"description":1168,"path":1849,"stem":1170},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Freporting-bugs",{"title":1172,"description":1173,"path":1851,"stem":1175},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Fcontribution",{"title":1177,"description":1178,"path":1853,"stem":1180},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Fframework-contribution",{"title":1182,"description":1183,"path":1855,"stem":1185},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Froadmap",{"title":1187,"description":1188,"path":1857,"stem":1190},"\u002Fdocs\u002F4.x\u002Fcommunity\u002Fchangelog",{"title":1192,"titleTemplate":1193,"icon":1194,"path":1859,"stem":1196,"children":1860,"page":106},"\u002Fdocs\u002F4.x\u002Fbridge",[1861,1863,1865,1867,1869,1871,1873,1875,1877,1879],{"title":1199,"description":1200,"path":1862,"stem":1196},"\u002Fdocs\u002F4.x\u002Fbridge\u002Foverview",{"title":285,"description":1203,"path":1864,"stem":1205},"\u002Fdocs\u002F4.x\u002Fbridge\u002Ftypescript",{"title":1207,"description":1208,"path":1866,"stem":1210},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fbridge-composition-api",{"title":1212,"description":1213,"path":1868,"stem":1215},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fplugins-and-middleware",{"title":1217,"description":1218,"path":1870,"stem":1220},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fnuxt3-compatible-api",{"title":1075,"description":1222,"path":1872,"stem":1224},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fmeta",{"title":449,"description":450,"path":1874,"stem":1227},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fruntime-config",{"title":1002,"description":1229,"path":1876,"stem":1231},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fnitro",{"title":1233,"description":1234,"path":1878,"stem":1236},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fvite",{"title":27,"description":1238,"path":1880,"stem":1240},"\u002Fdocs\u002F4.x\u002Fbridge\u002Fconfiguration",{"title":1242,"titleTemplate":1243,"icon":1244,"path":1882,"stem":1246,"children":1883,"page":106},"\u002Fdocs\u002F4.x\u002Fmigration",[1884,1886,1888,1890,1892,1894,1896,1898,1900,1902,1904],{"title":1199,"description":1249,"path":1885,"stem":1246},"\u002Fdocs\u002F4.x\u002Fmigration\u002Foverview",{"title":27,"description":1252,"path":1887,"stem":1254},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fconfiguration",{"title":1063,"description":1256,"path":1889,"stem":1258},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fauto-imports",{"title":1075,"description":1260,"path":1891,"stem":1262},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fmeta",{"title":1212,"description":1264,"path":1893,"stem":1266},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fplugins-and-middleware",{"title":1268,"description":1269,"path":1895,"stem":1271},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fpages-and-layouts",{"title":1273,"description":1274,"path":1897,"stem":1276},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fcomponent-options",{"title":449,"description":1278,"path":1899,"stem":1280},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fruntime-config",{"title":1282,"description":1283,"path":1901,"stem":1285},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fbundling",{"title":77,"description":1287,"path":1903,"stem":1289},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fserver",{"title":280,"description":1291,"path":1905,"stem":1293},"\u002Fdocs\u002F4.x\u002Fmigration\u002Fmodule-authors",{"description":1295,"path":1907,"stem":1297},"\u002Fdocs\u002F4.x\u002Fpackage",{"title":5,"icon":6,"path":1909,"stem":8,"children":1910,"page":106},"\u002Fdocs\u002F5.x",[1911,1950,2012,2111,2385,2414,2429,2452,2477],{"title":11,"titleTemplate":12,"icon":13,"path":1912,"stem":8,"children":1913,"page":106},"\u002Fdocs\u002F5.x\u002Fgetting-started",[1914,1916,1918,1920,1922,1924,1926,1928,1930,1932,1934,1936,1938,1940,1942,1944,1946,1948],{"title":17,"description":18,"path":1915,"stem":8,"icon":20},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fintroduction",{"title":22,"description":23,"path":1917,"stem":25},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Finstallation",{"title":27,"description":28,"path":1919,"stem":30},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fconfiguration",{"title":32,"description":33,"path":1921,"stem":35},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fviews",{"title":37,"description":38,"path":1923,"stem":40},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fassets",{"title":42,"description":43,"path":1925,"stem":45},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fstyling",{"title":47,"description":48,"path":1927,"stem":50},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Frouting",{"title":52,"description":53,"path":1929,"stem":55},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fseo-meta",{"title":57,"description":58,"path":1931,"stem":60},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Ftransitions",{"title":62,"description":63,"path":1933,"stem":65},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fdata-fetching",{"title":67,"description":68,"path":1935,"stem":70},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fstate-management",{"title":72,"description":73,"path":1937,"stem":75},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Ferror-handling",{"title":77,"description":78,"path":1939,"stem":80},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fserver",{"title":82,"description":83,"path":1941,"stem":85},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Flayers",{"title":87,"description":88,"path":1943,"stem":90},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fprerendering",{"title":92,"description":93,"path":1945,"stem":95},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fdeployment",{"title":97,"description":98,"path":1947,"stem":100},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Ftesting",{"title":102,"description":103,"path":1949,"stem":105},"\u002Fdocs\u002F5.x\u002Fgetting-started\u002Fupgrade",{"title":108,"titleTemplate":109,"icon":110,"path":1951,"stem":112,"children":1952,"page":106},"\u002Fdocs\u002F5.x\u002Fdirectory-structure",[1953,1955,1957,1982,1984,1986,1988,1990,1992,1994,1996,1998,2000,2002,2004,2006,2008,2010],{"title":115,"description":116,"path":1954,"stem":112},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fnuxt",{"title":119,"description":120,"path":1956,"stem":122},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Foutput",{"title":1348,"titleTemplate":109,"icon":1349,"path":1958,"stem":1351,"children":1959,"page":106},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp",[1960,1962,1964,1966,1968,1970,1972,1974,1976,1978,1980],{"title":124,"description":125,"path":1961,"stem":1351},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fassets",{"title":129,"description":130,"path":1963,"stem":1357},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fcomponents",{"title":134,"description":135,"path":1965,"stem":1360},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fcomposables",{"title":149,"description":150,"path":1967,"stem":1363},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Flayouts",{"title":154,"description":155,"path":1969,"stem":1366},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fmiddleware",{"title":169,"description":170,"path":1971,"stem":1369},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fpages",{"title":174,"description":175,"path":1973,"stem":1372},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fplugins",{"title":194,"description":195,"path":1975,"stem":1375},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Futils",{"title":219,"description":220,"path":1977,"stem":1378},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fapp",{"title":224,"description":225,"path":1979,"stem":1381},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Fapp-config",{"title":229,"description":230,"path":1981,"stem":1384},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fapp\u002Ferror",{"title":139,"description":140,"path":1983,"stem":142},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fcontent",{"title":144,"description":145,"path":1985,"stem":147},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Flayers",{"title":159,"description":160,"path":1987,"stem":162},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fmodules",{"title":164,"description":165,"path":1989,"stem":167},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fnode_modules",{"title":179,"description":180,"path":1991,"stem":182},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fpublic",{"title":184,"description":185,"path":1993,"stem":187},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fserver",{"title":189,"description":190,"path":1995,"stem":192},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fshared",{"title":930,"description":1400,"path":1997,"stem":1402},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Ftest",{"title":199,"description":200,"path":1999,"stem":202},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fenv",{"title":204,"description":205,"path":2001,"stem":207},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fgitignore",{"title":209,"description":210,"path":2003,"stem":212},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fnuxtignore",{"title":214,"description":215,"path":2005,"stem":217},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fnuxtrc",{"title":234,"description":235,"path":2007,"stem":237},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fnuxt-config",{"title":239,"description":240,"path":2009,"stem":242},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Fpackage",{"title":244,"description":245,"path":2011,"stem":247},"\u002Fdocs\u002F5.x\u002Fdirectory-structure\u002Ftsconfig",{"title":249,"icon":250,"path":2013,"stem":252,"children":2014,"page":106},"\u002Fdocs\u002F5.x\u002Fguide",[2015,2034,2047,2054,2073,2086],{"title":255,"titleTemplate":256,"icon":257,"path":2016,"stem":252,"children":2017,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts",[2018,2020,2022,2024,2026,2028,2030,2032],{"title":261,"description":262,"path":2019,"stem":252},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Frendering",{"title":265,"description":266,"path":2021,"stem":268},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fnuxt-lifecycle",{"title":270,"description":271,"path":2023,"stem":273},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fauto-imports",{"title":275,"description":276,"path":2025,"stem":278},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fserver-engine",{"title":280,"description":281,"path":2027,"stem":283},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fmodules",{"title":1434,"description":1435,"path":2029,"stem":1437},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fserver-components",{"title":285,"description":286,"path":2031,"stem":288},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Ftypescript",{"title":290,"description":291,"path":2033,"stem":293},"\u002Fdocs\u002F5.x\u002Fguide\u002Fconcepts\u002Fcode-style",{"title":295,"titleTemplate":296,"icon":297,"path":2035,"stem":1444,"children":2036,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices",[2037,2039,2041,2043,2045],{"title":1447,"description":1448,"path":2038,"stem":1444},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices\u002Faccessibility",{"title":1451,"description":1452,"path":2040,"stem":1454},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices\u002Fdevcontainers",{"title":1456,"description":303,"path":2042,"stem":299},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices\u002Fhydration",{"title":306,"description":307,"path":2044,"stem":309},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices\u002Fperformance",{"title":311,"description":312,"path":2046,"stem":314},"\u002Fdocs\u002F5.x\u002Fguide\u002Fbest-practices\u002Fplugins",{"title":316,"titleTemplate":317,"icon":318,"path":2048,"stem":320,"children":2049,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Fai",[2050,2052],{"title":323,"description":324,"path":2051,"stem":320},"\u002Fdocs\u002F5.x\u002Fguide\u002Fai\u002Fmcp",{"title":327,"description":328,"path":2053,"stem":330},"\u002Fdocs\u002F5.x\u002Fguide\u002Fai\u002Fllms-txt",{"title":332,"titleTemplate":333,"icon":334,"path":2055,"stem":336,"children":2056,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules",[2057,2059,2061,2063,2065,2067,2069,2071],{"title":339,"description":340,"path":2058,"stem":336},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Fgetting-started",{"title":343,"description":344,"path":2060,"stem":346},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Fmodule-anatomy",{"title":348,"description":349,"path":2062,"stem":351},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Frecipes-basics",{"title":353,"description":354,"path":2064,"stem":356},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Fmodule-dependencies",{"title":358,"description":359,"path":2066,"stem":361},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Frecipes-advanced",{"title":363,"description":364,"path":2068,"stem":366},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Ftesting",{"title":368,"description":369,"path":2070,"stem":371},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Fbest-practices",{"title":373,"description":374,"path":2072,"stem":376},"\u002Fdocs\u002F5.x\u002Fguide\u002Fmodules\u002Fecosystem",{"title":378,"titleTemplate":379,"icon":380,"path":2074,"stem":382,"children":2075,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes",[2076,2078,2080,2082,2084],{"title":385,"description":386,"path":2077,"stem":382},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes\u002Fcustom-routing",{"title":389,"description":390,"path":2079,"stem":392},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes\u002Fvite-plugin",{"title":394,"description":395,"path":2081,"stem":397},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes\u002Fcustom-usefetch",{"title":399,"description":400,"path":2083,"stem":402},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes\u002Fsessions-and-authentication",{"title":1500,"description":1501,"path":2085,"stem":1503},"\u002Fdocs\u002F5.x\u002Fguide\u002Frecipes\u002Fmostly-static-sites",{"title":404,"titleTemplate":405,"icon":406,"path":2087,"stem":408,"children":2088,"page":106},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further",[2089,2091,2093,2095,2097,2099,2101,2103,2105,2107,2109],{"title":411,"description":412,"path":2090,"stem":408},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fevents",{"title":415,"description":416,"path":2092,"stem":418},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fexperimental-features",{"title":420,"description":421,"path":2094,"stem":423},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Ffeatures",{"title":425,"description":426,"path":2096,"stem":428},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fhooks",{"title":430,"description":431,"path":2098,"stem":433},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fkit",{"title":435,"description":436,"path":2100,"stem":438},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fnuxt-app",{"title":440,"description":83,"path":2102,"stem":442},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Flayers",{"title":1522,"description":1523,"path":2104,"stem":1525},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fbuilders",{"title":444,"description":445,"path":2106,"stem":447},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fdebugging",{"title":449,"description":450,"path":2108,"stem":452},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fruntime-config",{"title":454,"description":455,"path":2110,"stem":457},"\u002Fdocs\u002F5.x\u002Fguide\u002Fgoing-further\u002Fnightly-release-channel",{"title":459,"titleTemplate":460,"icon":461,"path":2112,"stem":463,"children":2113,"page":106},"\u002Fdocs\u002F5.x\u002Fapi",[2114,2149,2218,2279,2335,2376,2383],{"title":466,"titleTemplate":467,"icon":334,"path":2115,"stem":463,"children":2116,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents",[2117,2119,2121,2123,2125,2127,2129,2131,2133,2135,2137,2139,2141,2143,2145,2147],{"title":471,"description":472,"path":2118,"stem":463},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fclient-only",{"title":475,"description":476,"path":2120,"stem":478},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fdev-only",{"title":480,"description":481,"path":2122,"stem":483},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-client-fallback",{"title":485,"description":486,"path":2124,"stem":488},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-page",{"title":490,"description":491,"path":2126,"stem":493},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-layout",{"title":495,"description":496,"path":2128,"stem":498},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-link",{"title":500,"description":501,"path":2130,"stem":503},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-loading-indicator",{"title":505,"description":506,"path":2132,"stem":508},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-error-boundary",{"title":510,"description":511,"path":2134,"stem":513},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-welcome",{"title":515,"description":516,"path":2136,"stem":518},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-island",{"title":520,"description":521,"path":2138,"stem":523},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-img",{"title":525,"description":526,"path":2140,"stem":528},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-picture",{"title":530,"description":531,"path":2142,"stem":533},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fteleports",{"title":535,"description":536,"path":2144,"stem":538},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-route-announcer",{"title":540,"description":541,"path":2146,"stem":543},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-time",{"title":1569,"description":1570,"path":2148,"stem":1572},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomponents\u002Fnuxt-announcer",{"title":545,"titleTemplate":546,"icon":547,"path":2150,"stem":1575,"children":2151,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables",[2152,2154,2156,2158,2160,2162,2164,2166,2168,2170,2172,2174,2176,2178,2180,2182,2184,2186,2188,2190,2192,2194,2196,2198,2200,2202,2204,2206,2208,2210,2212,2214,2216],{"title":1578,"description":1579,"path":2153,"stem":1575},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fcreate-use-async-data",{"title":1582,"description":1583,"path":2155,"stem":1585},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fcreate-use-fetch",{"title":552,"description":553,"path":2157,"stem":549},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fon-prehydrate",{"title":1589,"description":1590,"path":2159,"stem":1592},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-announcer",{"title":556,"description":557,"path":2161,"stem":559},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-app-config",{"title":561,"description":562,"path":2163,"stem":564},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-async-data",{"title":566,"description":567,"path":2165,"stem":569},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-cookie",{"title":571,"description":572,"path":2167,"stem":574},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-error",{"title":576,"description":577,"path":2169,"stem":579},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-fetch",{"title":581,"description":582,"path":2171,"stem":584},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-head",{"title":586,"description":587,"path":2173,"stem":589},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-head-safe",{"title":591,"description":592,"path":2175,"stem":594},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-hydration",{"title":1610,"description":1611,"path":2177,"stem":1613},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-layout",{"title":596,"description":597,"path":2179,"stem":599},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-async-data",{"title":601,"description":602,"path":2181,"stem":604},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-lazy-fetch",{"title":606,"description":607,"path":2183,"stem":609},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-loading-indicator",{"title":611,"description":612,"path":2185,"stem":614},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-app",{"title":616,"description":617,"path":2187,"stem":619},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-nuxt-data",{"title":621,"description":622,"path":2189,"stem":624},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-preview-mode",{"title":626,"description":627,"path":2191,"stem":629},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-request-event",{"title":631,"description":632,"path":2193,"stem":634},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-request-fetch",{"title":636,"description":637,"path":2195,"stem":639},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-request-header",{"title":641,"description":642,"path":2197,"stem":644},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-request-headers",{"title":646,"description":647,"path":2199,"stem":649},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-request-url",{"title":651,"description":652,"path":2201,"stem":654},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-response-header",{"title":656,"description":657,"path":2203,"stem":659},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-route",{"title":661,"description":662,"path":2205,"stem":664},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-route-announcer",{"title":666,"description":667,"path":2207,"stem":669},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-router",{"title":671,"description":672,"path":2209,"stem":674},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-config",{"title":676,"description":677,"path":2211,"stem":679},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-runtime-hook",{"title":681,"description":682,"path":2213,"stem":684},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-seo-meta",{"title":686,"description":687,"path":2215,"stem":689},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-server-seo-meta",{"title":691,"description":692,"path":2217,"stem":694},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcomposables\u002Fuse-state",{"title":696,"titleTemplate":697,"path":2219,"stem":699,"children":2220,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils",[2221,2223,2225,2227,2229,2231,2233,2235,2237,2239,2241,2243,2245,2247,2249,2251,2253,2255,2257,2259,2261,2263,2265,2267,2269,2271,2273,2275,2277],{"title":702,"description":703,"path":2222,"stem":699},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdollarfetch",{"title":706,"description":707,"path":2224,"stem":709},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fabort-navigation",{"title":711,"description":712,"path":2226,"stem":714},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fadd-route-middleware",{"title":716,"description":717,"path":2228,"stem":719},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fcall-once",{"title":721,"description":722,"path":2230,"stem":724},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fclear-error",{"title":726,"description":727,"path":2232,"stem":729},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fclear-nuxt-data",{"title":731,"description":732,"path":2234,"stem":734},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fclear-nuxt-state",{"title":736,"description":737,"path":2236,"stem":739},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fcreate-error",{"title":741,"description":742,"path":2238,"stem":744},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-lazy-hydration-component",{"title":746,"description":747,"path":2240,"stem":749},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-nuxt-component",{"title":751,"description":752,"path":2242,"stem":754},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-nuxt-plugin",{"title":756,"description":757,"path":2244,"stem":759},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-nuxt-route-middleware",{"title":761,"description":762,"path":2246,"stem":764},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-page-meta",{"title":766,"description":767,"path":2248,"stem":769},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fdefine-route-rules",{"title":771,"description":772,"path":2250,"stem":774},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fnavigate-to",{"title":776,"description":777,"path":2252,"stem":779},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fon-before-route-leave",{"title":781,"description":782,"path":2254,"stem":784},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fon-before-route-update",{"title":786,"description":787,"path":2256,"stem":789},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fon-nuxt-ready",{"title":791,"description":792,"path":2258,"stem":794},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fprefetch-components",{"title":796,"description":797,"path":2260,"stem":799},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fpreload-components",{"title":801,"description":802,"path":2262,"stem":804},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fpreload-route-components",{"title":806,"description":807,"path":2264,"stem":809},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fprerender-routes",{"title":811,"description":812,"path":2266,"stem":814},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Frefresh-cookie",{"title":816,"description":817,"path":2268,"stem":819},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Frefresh-nuxt-data",{"title":821,"description":822,"path":2270,"stem":824},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Freload-nuxt-app",{"title":826,"description":827,"path":2272,"stem":829},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fset-page-layout",{"title":831,"description":832,"path":2274,"stem":834},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fset-response-status",{"title":836,"description":837,"path":2276,"stem":839},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fshow-error",{"title":841,"description":842,"path":2278,"stem":844},"\u002Fdocs\u002F5.x\u002Fapi\u002Futils\u002Fupdate-app-config",{"title":846,"titleTemplate":847,"icon":848,"path":2280,"stem":850,"children":2281,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands",[2282,2284,2287,2289,2291,2293,2295,2297,2302,2304,2306,2311,2313,2315,2317,2320,2322,2324,2329,2331,2333],{"title":853,"description":854,"path":2283,"stem":850},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Foverview",{"title":857,"description":2285,"path":2286,"stem":860},"Add Nuxt modules and layers to your application.","\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fadd",{"title":862,"description":863,"path":2288,"stem":865},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fadd-template",{"title":867,"description":868,"path":2290,"stem":870},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fanalyze",{"title":872,"description":873,"path":2292,"stem":875},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fbuild",{"title":877,"description":878,"path":2294,"stem":880},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fbuild-module",{"title":882,"description":883,"path":2296,"stem":885},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fcleanup",{"title":2298,"description":2299,"path":2300,"stem":2301},"nuxt curl","The curl command sends an HTTP request to your running Nuxt dev server.","\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fcurl","curl",{"title":887,"description":888,"path":2303,"stem":890},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fdev",{"title":892,"description":893,"path":2305,"stem":895},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fdevtools",{"title":2307,"description":2308,"path":2309,"stem":2310},"nuxt docs","The docs command searches the Nuxt documentation for the version your project uses.","\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fdocs","docs",{"title":897,"description":898,"path":2312,"stem":900},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fgenerate",{"title":902,"description":903,"path":2314,"stem":905},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Finfo",{"title":907,"description":908,"path":2316,"stem":910},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Finit",{"title":912,"description":2318,"path":2319,"stem":915},"Search, add and remove modules in your Nuxt application with the command line.","\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fmodule",{"title":917,"description":918,"path":2321,"stem":920},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fprepare",{"title":922,"description":923,"path":2323,"stem":925},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fpreview",{"title":2325,"description":2326,"path":2327,"stem":2328},"nuxt task","List and run Nitro tasks on your dev server.","\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Ftask","task",{"title":927,"description":928,"path":2330,"stem":930},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Ftest",{"title":932,"description":933,"path":2332,"stem":935},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Ftypecheck",{"title":937,"description":938,"path":2334,"stem":940},"\u002Fdocs\u002F5.x\u002Fapi\u002Fcommands\u002Fupgrade",{"title":430,"titleTemplate":942,"path":2336,"stem":944,"children":2337,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit",[2338,2340,2342,2344,2346,2348,2350,2352,2354,2356,2358,2360,2362,2364,2366,2368,2370,2372,2374],{"title":280,"description":947,"path":2339,"stem":944},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fmodules",{"title":950,"description":951,"path":2341,"stem":953},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fprogrammatic",{"title":955,"description":956,"path":2343,"stem":958},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fcompatibility",{"title":270,"description":960,"path":2345,"stem":962},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fautoimports",{"title":466,"description":964,"path":2347,"stem":966},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fcomponents",{"title":968,"description":969,"path":2349,"stem":971},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fcontext",{"title":973,"description":974,"path":2351,"stem":976},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fpages",{"title":978,"description":979,"path":2353,"stem":981},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Flayout",{"title":983,"description":984,"path":2355,"stem":986},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fhead",{"title":988,"description":989,"path":2357,"stem":991},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fplugins",{"title":449,"description":993,"path":2359,"stem":995},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fruntime-config",{"title":997,"description":998,"path":2361,"stem":1000},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Ftemplates",{"title":1782,"description":1783,"path":2363,"stem":1785},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fapp-config",{"title":1002,"description":1003,"path":2365,"stem":1788},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fnitro",{"title":1007,"description":1790,"path":2367,"stem":1792},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fresolving",{"title":1012,"description":1013,"path":2369,"stem":1795},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Flogging",{"title":1017,"description":1018,"path":2371,"stem":1798},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fbuilder",{"title":1022,"description":1023,"path":2373,"stem":1801},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Fexamples",{"title":82,"description":1027,"path":2375,"stem":1804},"\u002Fdocs\u002F5.x\u002Fapi\u002Fkit\u002Flayers",{"icon":1031,"title":1032,"path":2377,"stem":1034,"children":2378,"page":106},"\u002Fdocs\u002F5.x\u002Fapi\u002Fadvanced",[2379,2381],{"title":425,"description":426,"path":2380,"stem":1034},"\u002Fdocs\u002F5.x\u002Fapi\u002Fadvanced\u002Fhooks",{"title":1039,"description":1040,"path":2382,"stem":1042},"\u002Fdocs\u002F5.x\u002Fapi\u002Fadvanced\u002Fimport-meta",{"title":1044,"description":1045,"path":2384,"stem":1047},"\u002Fdocs\u002F5.x\u002Fapi\u002Fnuxt-config",{"title":1022,"titleTemplate":1049,"icon":1050,"path":1051,"stem":1052,"children":2386,"page":106},[2387,2388,2395,2400,2411],{"title":1055,"description":1056,"path":1057,"stem":1052},{"title":420,"path":1059,"stem":1060,"children":2389,"page":106},[2390,2391,2392,2393,2394],{"title":1063,"description":1064,"path":1065,"stem":1060},{"title":62,"description":1067,"path":1068,"stem":1069},{"title":67,"description":1071,"path":1072,"stem":1073},{"title":1075,"description":1076,"path":1077,"stem":1078},{"title":1080,"description":1081,"path":1082,"stem":1083},{"title":47,"path":1085,"stem":1086,"children":2396,"page":106},[2397,2398,2399],{"title":1089,"description":1090,"path":1091,"stem":1086},{"title":973,"description":1093,"path":1094,"stem":1095},{"title":1097,"description":1098,"path":1099,"stem":1100},{"title":1032,"path":1102,"stem":1103,"children":2401,"page":106},[2402,2403,2404,2405,2406,2407,2408,2409,2410],{"title":82,"description":1106,"path":1107,"stem":1103},{"title":72,"description":1109,"path":1110,"stem":1111},{"title":1113,"description":1114,"path":1115,"stem":1116},{"title":1118,"description":1119,"path":1120,"stem":1121},{"title":1123,"description":1124,"path":1125,"stem":1126},{"title":1128,"description":1129,"path":1130,"stem":1131},{"title":97,"description":1133,"path":1134,"stem":1135},{"title":566,"description":1137,"path":1138,"stem":1139},{"title":1141,"description":1142,"path":1143,"stem":1144},{"title":1146,"path":1147,"stem":1148,"children":2412,"page":106},[2413],{"title":1151,"description":1152,"path":1153,"stem":1148},{"title":1155,"titleTemplate":1156,"icon":1157,"path":2415,"stem":1159,"children":2416,"page":106},"\u002Fdocs\u002F5.x\u002Fcommunity",[2417,2419,2421,2423,2425,2427],{"title":1162,"description":1163,"path":2418,"stem":1159,"icon":1165},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Fgetting-help",{"title":1167,"description":1168,"path":2420,"stem":1170},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Freporting-bugs",{"title":1172,"description":1173,"path":2422,"stem":1175},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Fcontribution",{"title":1177,"description":1178,"path":2424,"stem":1180},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Fframework-contribution",{"title":1182,"description":1183,"path":2426,"stem":1185},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Froadmap",{"title":1187,"description":1188,"path":2428,"stem":1190},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Fchangelog",{"title":1192,"titleTemplate":1193,"icon":1194,"path":2430,"stem":1196,"children":2431,"page":106},"\u002Fdocs\u002F5.x\u002Fbridge",[2432,2434,2436,2438,2440,2442,2444,2446,2448,2450],{"title":1199,"description":1200,"path":2433,"stem":1196},"\u002Fdocs\u002F5.x\u002Fbridge\u002Foverview",{"title":285,"description":1203,"path":2435,"stem":1205},"\u002Fdocs\u002F5.x\u002Fbridge\u002Ftypescript",{"title":1207,"description":1208,"path":2437,"stem":1210},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fbridge-composition-api",{"title":1212,"description":1213,"path":2439,"stem":1215},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fplugins-and-middleware",{"title":1217,"description":1218,"path":2441,"stem":1220},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fnuxt3-compatible-api",{"title":1075,"description":1222,"path":2443,"stem":1224},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fmeta",{"title":449,"description":450,"path":2445,"stem":1227},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fruntime-config",{"title":1002,"description":1229,"path":2447,"stem":1231},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fnitro",{"title":1233,"description":1234,"path":2449,"stem":1236},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fvite",{"title":27,"description":1238,"path":2451,"stem":1240},"\u002Fdocs\u002F5.x\u002Fbridge\u002Fconfiguration",{"title":1242,"titleTemplate":1243,"icon":1244,"path":2453,"stem":1246,"children":2454,"page":106},"\u002Fdocs\u002F5.x\u002Fmigration",[2455,2457,2459,2461,2463,2465,2467,2469,2471,2473,2475],{"title":1199,"description":1249,"path":2456,"stem":1246},"\u002Fdocs\u002F5.x\u002Fmigration\u002Foverview",{"title":27,"description":1252,"path":2458,"stem":1254},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fconfiguration",{"title":1063,"description":1256,"path":2460,"stem":1258},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fauto-imports",{"title":1075,"description":1260,"path":2462,"stem":1262},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fmeta",{"title":1212,"description":1264,"path":2464,"stem":1266},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fplugins-and-middleware",{"title":1268,"description":1269,"path":2466,"stem":1271},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fpages-and-layouts",{"title":1273,"description":1274,"path":2468,"stem":1276},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fcomponent-options",{"title":449,"description":1278,"path":2470,"stem":1280},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fruntime-config",{"title":1282,"description":1283,"path":2472,"stem":1285},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fbundling",{"title":77,"description":1287,"path":2474,"stem":1289},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fserver",{"title":280,"description":1291,"path":2476,"stem":1293},"\u002Fdocs\u002F5.x\u002Fmigration\u002Fmodule-authors",{"description":1295,"path":2478,"stem":1297},"\u002Fdocs\u002F5.x\u002Fpackage",{"title":2480,"description":2481,"path":2482,"stem":2483,"children":2484},"The Nuxt Blog","Read the latest news about all Nuxt solutions, from framework announcements to integration tutorials.","\u002Fblog","blog",[2485,2490,2495,2500,2505,2510,2515,2520,2525,2530,2535,2540,2545,2550,2555,2560,2565,2570,2575,2580,2585,2590,2595,2600,2605,2610,2615,2620,2625,2630,2635,2640,2645,2650,2655,2660,2665,2670,2675,2680,2685,2690,2695,2700,2705,2710,2715,2720,2725,2730],{"title":2486,"description":2487,"path":2488,"stem":2489},"Announcing 3.0","We are thrilled to announce the first stable version of Nuxt 3.0.0","\u002Fblog\u002Fv3","blog\u002F1.v3",{"title":2491,"description":2492,"path":2493,"stem":2494},"Nuxt: A vision for 2023","This past year has been an exciting one. Looking into the new year, there is a lot we have planned as a team and we'd love to share it with you.","\u002Fblog\u002Fvision-2023","blog\u002F2.vision-2023",{"title":2496,"description":2497,"path":2498,"stem":2499},"Introducing Nuxt DevTools","Unleash the Developer Experience with Nuxt and understand your app better than ever.","\u002Fblog\u002Fintroducing-nuxt-devtools","blog\u002F3.introducing-nuxt-devtools",{"title":2501,"description":2502,"path":2503,"stem":2504},"Announcing Nuxt 3 Release Candidate","Nuxt 3 beta was announced on October 12, 2021 after 16 months of work, introducing a new foundation based on Vue 3, Vite and Nitro. Six months later, we are happy to announce the first release candidate of Nuxt 3, code named “Mount Hope“ 🚀","\u002Fblog\u002Fnuxt3-rc","blog\u002F3.nuxt3-rc",{"title":2506,"description":2507,"path":2508,"stem":2509},"Nuxt 2 End-of-Life (EOL)","Nuxt 2 will reach End of Life (EOL) on June 30th, 2024. We've partnered with HeroDevs on offering Never-Ending Support (NES).","\u002Fblog\u002Fnuxt2-eol","blog\u002F4.nuxt2-eol",{"title":2511,"description":2512,"path":2513,"stem":2514},"Introducing Nuxt 3 Beta","468 days after the first commit, the Nuxt 3 beta has finally arrived. Discover what's inside and what to expect from it. Yes, it includes Vue 3 and Vite ⚡️","\u002Fblog\u002Fnuxt3-beta","blog\u002F4.nuxt3-beta",{"title":2516,"description":2517,"path":2518,"stem":2519},"Going Full Static","Long awaited features for JAMstack fans has been shipped in v2.13: full static export, improved smart prefetching, integrated crawler, faster re-deploy, built-in web server and new target option for config ⚡️","\u002Fblog\u002Fgoing-full-static","blog\u002F5.going-full-static",{"title":2521,"description":2522,"path":2523,"stem":2524},"Introducing Smart Prefetching","Starting from Nuxt v2.4.0, Nuxt will automagically prefetch the code-split pages linked with a nuxt-link when visible in the viewport by default.","\u002Fblog\u002Fintroducing-smart-prefetching","blog\u002F6.introducing-smart-prefetching",{"title":2526,"description":2527,"path":2528,"stem":2529},"Understanding how fetch works in Nuxt 2.12","Explore different features of the fetch hook and learn a brand new way to bring data into Nuxt applications.","\u002Fblog\u002Funderstanding-how-fetch-works-in-nuxt-2-12","blog\u002F7.understanding-how-fetch-works-in-nuxt-2-12",{"title":2531,"description":2532,"path":2533,"stem":2534},"Nuxt 2 Static Improvements","With Nuxt version 2.13, the full-static mode has been introduced. In addition, a new command nuxt export was added to pre-render your pages without triggering a webpack build with the goal to separate the rendering and build process. The only issue was that most Nuxt users weren't able to unleash the full potential of the separation... until now.","\u002Fblog\u002Fnuxt-static-improvements","blog\u002F8.nuxt-static-improvements",{"title":2536,"description":2537,"path":2538,"stem":2539},"Nuxt 2: From Terminal to Browser","How we changed the developer experience to stop switching between the terminal and browser.","\u002Fblog\u002Fnuxtjs-from-terminal-to-browser","blog\u002F9.nuxtjs-from-terminal-to-browser",{"title":2541,"description":2542,"path":2543,"stem":2544},"Nuxt 3.3","The 3.3.0 is a minor (feature) release with lots of performance and DX improvements, bug fixes and new features to play with.","\u002Fblog\u002Fv3-3","blog\u002F10.v3-3",{"title":2546,"description":2547,"path":2548,"stem":2549},"Nuxt 3.4","Nuxt 3.4.0 is the latest release of Nuxt 3, bringing exciting new features, including support for the View Transitions API, transferring rich JavaScript payloads from server to client - and much more.","\u002Fblog\u002Fv3-4","blog\u002F11.v3-4",{"title":2551,"description":2552,"path":2553,"stem":2554},"Nuxt 3.5","Nuxt 3.5.0 is out, bringing Vue 3.3, new defaults, interactive server components, typed pages, environment config - and much more.","\u002Fblog\u002Fv3-5","blog\u002F12.v3-5",{"title":2556,"description":2557,"path":2558,"stem":2559},"Nuxt 3.6","Nuxt 3.6 is out, bringing performance improvements, fully static server components, better style inlining, static presets, increased type safety - and much more.","\u002Fblog\u002Fv3-6","blog\u002F13.v3-6",{"title":2561,"description":2562,"path":2563,"stem":2564},"Nuxt on the Edge","Learn how we made Nuxt 3 capable of running on edge runtimes to run with server-side rendering close to your users.","\u002Fblog\u002Fnuxt-on-the-edge","blog\u002F14.nuxt-on-the-edge",{"title":2566,"description":2567,"path":2568,"stem":2569},"Nuxt 3.7","Nuxt 3.7 is out, bringing a new CLI, native web streams and response, rendering optimisations, async context support - and much more.","\u002Fblog\u002Fv3-7","blog\u002F15.v3-7",{"title":2571,"description":2572,"path":2573,"stem":2574},"A New Website","We are thrilled to release the new nuxt.com, powered by Nuxt UI and now open source.","\u002Fblog\u002Fnew-website","blog\u002F16.new-website",{"title":2576,"description":2577,"path":2578,"stem":2579},"Nuxt 3.8","Nuxt 3.8 is out, bringing built-in DevTools, automatic Nuxt Image install, a new app manifest and much more.","\u002Fblog\u002Fv3-8","blog\u002F17.v3-8",{"title":2581,"description":2582,"path":2583,"stem":2584},"Nuxt DevTools v1.0","Nuxt DevTools v1.0 is out, generally available to all Nuxt projects!","\u002Fblog\u002Fnuxt-devtools-v1-0","blog\u002F18.nuxt-devtools-v1-0",{"title":2586,"description":2587,"path":2588,"stem":2589},"Nuxt 3.9","Nuxt 3.9 is out - a Christmas gift from the Nuxt team bringing Vite 5, interactive server components, new composables, a new loading API and more.","\u002Fblog\u002Fv3-9","blog\u002F19.v3-9",{"title":2591,"description":2592,"path":2593,"stem":2594},"Nuxt 3.10","Nuxt 3.10 is out - packed with features and fixes. Here are a few highlights.","\u002Fblog\u002Fv3-10","blog\u002F20.v3-10",{"title":2596,"description":2597,"path":2598,"stem":2599},"The Evolution of Shiki v1.0","Shiki v1.0 came with many improvements and features - see how Nuxt drives the evolution of Shiki!","\u002Fblog\u002Fshiki-v1","blog\u002F21.shiki-v1",{"title":2601,"description":2602,"path":2603,"stem":2604},"Nuxt 3.11","Nuxt 3.11 is out - with better logging, preview mode, server pages and much more!","\u002Fblog\u002Fv3-11","blog\u002F22.v3-11",{"title":2606,"description":2607,"path":2608,"stem":2609},"Nuxt: Looking forward","A lot of things have happened for Nuxt over the last year. Sébastien and Daniel share their thoughts on what we've achieved, and where we're going next.","\u002Fblog\u002Flooking-forward-2024","blog\u002F23.looking-forward-2024",{"title":2611,"description":2612,"path":2613,"stem":2614},"Refreshed Nuxt ESLint Integrations","We revamped our ESLint integrations to support ESLint v9 with the flat config, as well as a new module with many more capabilities.","\u002Fblog\u002Feslint-module","blog\u002F24.eslint-module",{"title":2616,"description":2617,"path":2618,"stem":2619},"Nuxt 3.12","Nuxt 3.12 is out - full of improvements and preparing the way for Nuxt 4!","\u002Fblog\u002Fv3-12","blog\u002F25.v3-12",{"title":2621,"description":2622,"path":2623,"stem":2624},"Introducing Nuxt Scripts","Nuxt Scripts provides better performance, privacy, security, and developer experience for third-party scripts.","\u002Fblog\u002Fnuxt-scripts","blog\u002F26.nuxt-scripts",{"title":2626,"description":2627,"path":2628,"stem":2629},"Nuxt 3.13","Nuxt 3.13 is out - porting back some of the new features we're building for Nuxt 4!","\u002Fblog\u002Fv3-13","blog\u002F27.v3-13",{"title":2631,"description":2632,"path":2633,"stem":2634},"Nuxt 3.14","Nuxt 3.14 is out - with a new rspack builder, shared folder, and performance enhancements!","\u002Fblog\u002Fv3-14","blog\u002F27.v3-14",{"title":2636,"description":2637,"path":2638,"stem":2639},"Introducing Nuxt Icon v1","Discover Nuxt Icon v1 - a modern, versatile, and customizable icon solution for your Nuxt projects.","\u002Fblog\u002Fnuxt-icon-v1-0","blog\u002F29.nuxt-icon-v1-0",{"title":2641,"description":2642,"path":2643,"stem":2644},"Nuxt 3.15","Nuxt 3.15 is out - with Vite 6, better HMR and faster performance","\u002Fblog\u002Fv3-15","blog\u002F30.v3-15",{"title":2646,"description":2647,"path":2648,"stem":2649},"Nuxt 3.16","Nuxt 3.16 is out - packed with features and performance improvements","\u002Fblog\u002Fv3-16","blog\u002F31.v3-16",{"title":2651,"description":2652,"path":2653,"stem":2654},"Nuxt UI v3","Nuxt UI v3 is out! After 1500+ commits, this major redesign brings improved accessibility, Tailwind CSS v4 support, and full Vue compatibility","\u002Fblog\u002Fnuxt-ui-v3","blog\u002F32.nuxt-ui-v3",{"title":2656,"description":2657,"path":2658,"stem":2659},"Nuxt 3.17","Nuxt 3.17 is out - bringing a major reworking of the async data layer, a new built-in component, better warnings, and performance improvements!","\u002Fblog\u002Fv3-17","blog\u002F33.v3-17",{"title":2661,"description":2662,"path":2663,"stem":2664},"Roadmap to v4","We have some exciting news about the roadmap to Nuxt 4, including a new timeline and what to expect in the next few weeks.","\u002Fblog\u002Froadmap-v4","blog\u002F34.roadmap-v4",{"title":2666,"description":2667,"path":2668,"stem":2669},"Building a Privacy-First Feedback Widget","A lightweight, privacy-focused widget to gather your feedback on Nuxt documentation, built with Drizzle, NuxtHub database and Motion Vue.","\u002Fblog\u002Fbuilding-a-feedback-widget","blog\u002F35.building-a-feedback-widget",{"title":2671,"description":2672,"path":2673,"stem":2674},"Announcing Nuxt 4.0","Nuxt 4.0 is here! A thoughtful evolution focused on developer experience, with better project organization, smarter data fetching, and improved type safety.","\u002Fblog\u002Fv4","blog\u002F36.v4",{"title":2676,"description":2677,"path":2678,"stem":2679},"Nuxt 3.18","Nuxt 3.18 is out - bringing v4 features to v3, improved accessibility, better browser dev tooling integration, and performance enhancements!","\u002Fblog\u002Fv3-18","blog\u002F37.v3-18",{"title":2681,"description":2682,"path":2683,"stem":2684},"Nuxt 4.1","Nuxt 4.1 is out - bringing enhanced build stability, better development experience, and powerful new features for module authors!","\u002Fblog\u002Fv4-1","blog\u002F38.v4-1",{"title":2686,"description":2687,"path":2688,"stem":2689},"Nuxt UI v4","Nuxt UI v4 unifies Nuxt UI and Nuxt UI Pro into one powerful, completely free library. With over 110 components, 12 templates, and a comprehensive Figma kit, all of this is available for free.","\u002Fblog\u002Fnuxt-ui-v4","blog\u002F39.nuxt-ui-v4",{"title":2691,"description":2692,"path":2693,"stem":2694},"Building an MCP Server for Nuxt","How we built the Nuxt MCP server to enable AI assistants to access our documentation through structured data and composable tools.","\u002Fblog\u002Fbuilding-nuxt-mcp","blog\u002F40.building-nuxt-mcp",{"title":2696,"description":2697,"path":2698,"stem":2699},"Nuxt 4.2","Nuxt 4.2 is out - with experimental TypeScript plugin support, better error handling in development, abort control for data fetching, and more!","\u002Fblog\u002Fv4-2","blog\u002F40.v4-2",{"title":2701,"description":2702,"path":2703,"stem":2704},"Nuxt Image v2","Nuxt Image v2 is out - with full TypeScript support, IPX v3, and new providers!","\u002Fblog\u002Fnuxt-image-v2","blog\u002F41.nuxt-image-v2",{"title":2706,"description":2707,"path":2708,"stem":2709},"Nuxt 4.3","Nuxt 4.3 is out – route rule layouts, ISR payload extraction, draggable error overlay, and more!","\u002Fblog\u002Fv4-3","blog\u002F42.v4-3",{"title":2711,"description":2712,"path":2713,"stem":2714},"Nuxt 4.4","Nuxt 4.4 brings custom useFetch\u002FuseAsyncData factories, vue-router v5, a new accessibility announcer, typed layout props, build profiling, smarter payload handling, and much more.","\u002Fblog\u002Fv4-4","blog\u002F43.v4-4",{"title":2716,"description":2717,"path":2718,"stem":2719},"Introducing the Nuxt Agent","Our own AI agent on nuxt.com, grounded in the official docs and the Nuxt ecosystem. We built it internally using the AI SDK, our MCP server, and Nuxt UI components.","\u002Fblog\u002Fintroducing-nuxt-agent","blog\u002F44.introducing-nuxt-agent",{"title":2721,"description":2722,"path":2723,"stem":2724},"Meet Nuxi","Today, we're announcing the new Nuxt Agent: Nuxi. We want to make your Nuxt experience less generic and more personalized, with the care that characterizes the Nuxt community.","\u002Fblog\u002Fmeet-nuxi","blog\u002F45.meet-nuxi",{"title":2726,"description":2727,"path":2728,"stem":2729},"Nuxt 4.5","Nuxt 4.5 is our biggest release in a while. Vite 8, Rspack 2 powered by Rsbuild, experimental SSR streaming, a stable error code system, a new useLayout composable, named views, and a lot of groundwork for Nuxt 5.","\u002Fblog\u002Fv4-5","blog\u002F46.v4-5",{"title":2731,"description":2732,"path":2733,"stem":2734},"Nuxt Security Patch Releases","Nuxt 4.5.1 and 3.21.10 are out now, fixing several security issues, alongside a critical fix in @nuxt\u002Fdevtools 3.3.1. We recommend upgrading as soon as possible.","\u002Fblog\u002Fv4-5-security","blog\u002F47.v4-5-security",{"path":1337,"data":2736,"meta":2738,"nodes":2854},{"title":97,"description":98,"navigation.icon":2737},"i-lucide-circle-check",{"toc":2739,"key":2850,"source":2310,"stem":100,"extension":2851,"kind":2852,"type":2853,"partial":106},{"title":2740,"searchDepth":2741,"depth":2742,"links":2743},"",2,3,[2744,2746,2806],{"id":2745,"depth":2741,"text":22},"installation",{"id":2747,"depth":2741,"text":2748,"children":2749},"unit-testing","Unit Testing",[2750,2753,2761,2771,2781,2803],{"id":2751,"depth":2742,"text":2752},"unit-testing-setup","Setup",{"id":2754,"depth":2742,"text":2755,"children":2756},"unit-testing-using-a-nuxt-runtime-environment","Using a Nuxt Runtime Environment",[2757],{"id":2758,"depth":2759,"text":2760},"unit-testing-using-a-nuxt-runtime-environment-alternative-simple-setup",4,"Alternative: Simple Setup",{"id":2762,"depth":2742,"text":2763,"children":2764},"unit-testing-organizing-your-tests","Organizing Your Tests",[2765,2768],{"id":2766,"depth":2759,"text":2767},"unit-testing-organizing-your-tests-typescript-support-in-tests","TypeScript Support in Tests",{"id":2769,"depth":2759,"text":2770},"unit-testing-organizing-your-tests-running-tests","Running Tests",{"id":2772,"depth":2742,"text":2773,"children":2774},"unit-testing-built-in-mocks","🎭 Built-In Mocks",[2775,2778],{"id":2776,"depth":2759,"text":2777},"unit-testing-built-in-mocks-intersectionobserver","intersectionObserver",{"id":2779,"depth":2759,"text":2780},"unit-testing-built-in-mocks-indexeddb","indexedDB",{"id":2782,"depth":2742,"text":2783,"children":2784},"unit-testing-helpers","🛠️ Helpers",[2785,2788,2791,2794,2797,2800],{"id":2786,"depth":2759,"text":2787},"unit-testing-helpers-mountsuspended","mountSuspended",{"id":2789,"depth":2759,"text":2790},"unit-testing-helpers-rendersuspended","renderSuspended",{"id":2792,"depth":2759,"text":2793},"unit-testing-helpers-mocknuxtimport","mockNuxtImport",{"id":2795,"depth":2759,"text":2796},"unit-testing-helpers-mockcomponent","mockComponent",{"id":2798,"depth":2759,"text":2799},"unit-testing-helpers-registerendpoint","registerEndpoint",{"id":2801,"depth":2759,"text":2802},"unit-testing-helpers-conflict-with-end-to-end-testing","Conflict with End-To-End Testing",{"id":2804,"depth":2742,"text":2805},"unit-testing-using-vuetest-utils","Using @vue\u002Ftest-utils",{"id":2807,"depth":2741,"text":2808,"children":2809},"end-to-end-testing","End-To-End Testing",[2810,2821,2840],{"id":2811,"depth":2742,"text":2752,"children":2812},"end-to-end-testing-setup",[2813,2816,2819],{"id":2814,"depth":2759,"text":2815},"end-to-end-testing-setup-nuxt-config","Nuxt Config",{"id":2817,"depth":2759,"text":2818},"end-to-end-testing-setup-timings","Timings",{"id":2820,"depth":2759,"text":420},"end-to-end-testing-setup-features",{"id":2822,"depth":2742,"text":2823,"children":2824},"end-to-end-testing-apis","APIs",[2825,2828,2831,2834,2837],{"id":2826,"depth":2759,"text":2827},"end-to-end-testing-apis-fetchurl","$fetch(url)",{"id":2829,"depth":2759,"text":2830},"end-to-end-testing-apis-fetchurl-1","fetch(url)",{"id":2832,"depth":2759,"text":2833},"end-to-end-testing-apis-urlpath","url(path)",{"id":2835,"depth":2759,"text":2836},"end-to-end-testing-apis-getserverlogs","getServerLogs()",{"id":2838,"depth":2759,"text":2839},"end-to-end-testing-apis-clearserverlogs","clearServerLogs()",{"id":2841,"depth":2742,"text":2842,"children":2843},"end-to-end-testing-testing-in-a-browser","Testing in a Browser",[2844,2847],{"id":2845,"depth":2759,"text":2846},"end-to-end-testing-testing-in-a-browser-createpageurl","createPage(url)",{"id":2848,"depth":2759,"text":2849},"end-to-end-testing-testing-in-a-browser-testing-with-playwright-test-runner","Testing with Playwright Test Runner","docs\u002F1.getting-started\u002F17.testing.md",".md","document","text\u002Fmarkdown",[2855,2864,2878,2883,2886,2892,2933,2997,2999,3014,3017,3383,3405,3412,3414,3422,3444,3447,3450,3575,3591,3647,3655,3657,3660,3689,3692,3694,3718,3724,3729,3732,3736,3809,3817,3819,3822,3873,3896,3898,3903,3907,3914,3918,3931,3941,4048,4050,4055,4059,4064,4083,4086,4287,4456,4462,4476,4480,4489,4503,4510,4516,4519,4702,4857,4862,4872,4876,4884,4966,4969,5144,5159,5177,5366,5369,5552,5556,5561,5568,5766,5772,5924,5928,5933,5940,5945,6002,6009,6081,6084,6104,6122,6124,6133,6147,6152,6222,6227,6282,6286,6292,6734,6740,6742,6762,6764,6773,6886,6904,6910,6912,6955,6958,6960,7009,7011,7244,7251,7254,7257,7266,7486,7488,7492,7495,7531,7535,7538,7590,7594,7597,7638,7642,7658,7823,7827,7830,7832,7838,7842,7859,7899,7901,7908,7965,7972,8113,8119,8130,8245,8248],[2856,2857,2858,2859,2863],"tip",{},"If you are a module author, you can find more specific information in the ",[2860,2861,2862],"a",{"href":1483},"Module Author's guide",".",[2865,2866,2867,2868,2872,2873,2877],"p",{},"Nuxt offers first-class support for end-to-end and unit testing of your Nuxt application via ",[2869,2870,2871],"code",{},"@nuxt\u002Ftest-utils",", a library of test utilities and configuration that currently powers the ",[2860,2874,2876],{"href":2875},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fnuxt\u002Ftree\u002Fmain\u002Ftest","tests we use on Nuxt itself"," and tests throughout the module ecosystem.",[2879,2880],"video-accordion",{"title":2881,"videoId":2882},"Watch a video from Alexander Lichter about getting started with @nuxt\u002Ftest-utils","yGzwk9xi9gU",[2884,2885,22],"h2",{"id":2745},[2865,2887,2888,2889,2891],{},"In order to allow you to manage your other testing dependencies, ",[2869,2890,2871],{}," ships with various optional peer dependencies. For example:",[2893,2894,2895,2907,2923],"ul",{},[2896,2897,2898,2899,2902,2903,2906],"li",{},"you can choose between ",[2869,2900,2901],{},"happy-dom"," and ",[2869,2904,2905],{},"jsdom"," for a runtime Nuxt environment",[2896,2908,2898,2909,2912,2913,2912,2916,2902,2919,2922],{},[2869,2910,2911],{},"vitest",", ",[2869,2914,2915],{},"cucumber",[2869,2917,2918],{},"jest",[2869,2920,2921],{},"playwright"," for end-to-end test runners",[2896,2924,2925,2928,2929,2932],{},[2869,2926,2927],{},"playwright-core"," is only required if you wish to use the built-in browser testing utilities (and are not using ",[2869,2930,2931],{},"@playwright\u002Ftest"," as your test runner)",[2934,2935,2937,2956,2971,2986],"code-group",{"sync":2936},"pm",[2938,2939,2943],"pre",{"language":2940,"filename":2941,"class":2942},"bash","npm","shj shiki shj-lang-bash",[2869,2944,2946],{"class":2945},"language-bash",[2947,2948,2951,2955],"span",{"class":2949,"style":2950},"line","display: inline",[2947,2952,2941],{"class":2953,"style":2954},"shj-syn-func shj-func","color:#6182B8;--shiki-dark:#82AAFF"," i --save-dev @nuxt\u002Ftest-utils vitest @vue\u002Ftest-utils happy-dom playwright-core",[2938,2957,2959],{"language":2940,"filename":2958,"class":2942},"yarn",[2869,2960,2961],{"class":2945},[2947,2962,2963,2965,2966,2970],{"class":2949,"style":2950},[2947,2964,2958],{"class":2953,"style":2954}," ",[2947,2967,860],{"class":2968,"style":2969},"shj-syn-kwd shj-kwd","color:#9C3EDA;--shiki-dark:#C792EA"," --dev @nuxt\u002Ftest-utils vitest @vue\u002Ftest-utils happy-dom playwright-core",[2938,2972,2974],{"language":2940,"filename":2973,"class":2942},"pnpm",[2869,2975,2976],{"class":2945},[2947,2977,2978,2965,2980,2982,2985],{"class":2949,"style":2950},[2947,2979,2973],{"class":2953,"style":2954},[2947,2981,860],{"class":2968,"style":2969},[2947,2983,2984],{"class":2968,"style":2969}," -D"," @nuxt\u002Ftest-utils vitest @vue\u002Ftest-utils happy-dom playwright-core",[2938,2987,2989],{"language":2940,"filename":2988,"class":2942},"bun",[2869,2990,2991],{"class":2945},[2947,2992,2993,2965,2995,2970],{"class":2949,"style":2950},[2947,2994,2988],{"class":2953,"style":2954},[2947,2996,860],{"class":2968,"style":2969},[2884,2998,2748],{"id":2747},[2865,3000,3001,3002,3006,3007,3013],{},"We currently ship an environment for unit testing code that needs a ",[2860,3003,3005],{"href":3004},"https:\u002F\u002Fnuxt.com","Nuxt"," runtime environment. It currently ",[3008,3009,3010,3011],"em",{},"only has support for ",[2869,3012,2911],{}," (although contribution to add other runtimes would be welcome).",[3015,3016,2752],"h3",{"id":2751},[3018,3019,3020,3099,3372],"ol",{},[2896,3021,3022,3033],{},[2865,3023,3024,3025,3028,3029,3032],{},"Add ",[2869,3026,3027],{},"@nuxt\u002Ftest-utils\u002Fmodule"," to your ",[2869,3030,3031],{},"nuxt.config"," file (optional). It adds a Vitest integration to your Nuxt DevTools which supports running your unit tests in development.",[2938,3034,3038],{"language":3035,"meta":3036,"class":3037},"ts","twoslash","shj shiki shj-lang-ts",[2869,3039,3041,3060,3061,3060,3072,3060,3083,3060,3091],{"class":3040},"language-ts",[2947,3042,3043,2965,3046,2965,3049,3052,3057],{"class":2949,"style":2950},[2947,3044,3045],{"class":2968,"style":2969},"export",[2947,3047,3048],{"class":2968,"style":2969},"default",[2947,3050,3051],{"class":2953,"style":2954},"defineNuxtConfig",[2947,3053,3056],{"class":3054,"style":3055},"shj-syn-bracket shj-bracket","color:#90A4AE;--shiki-dark:#babed8","(",[2947,3058,3059],{"class":3054,"style":3055},"{","\n",[2947,3062,3063,3064,2965,3069],{"class":2949,"style":2950},"  modules",[2947,3065,3068],{"class":3066,"style":3067},"shj-syn-oper shj-oper","color:#39ADB5;--shiki-dark:#89DDFF",":",[2947,3070,3071],{"class":3054,"style":3055},"[",[2947,3073,3074,3075,3080],{"class":2949,"style":2950},"    ",[2947,3076,3079],{"class":3077,"style":3078},"shj-syn-str shj-str","color:#91B859;--shiki-dark:#C3E88D","'@nuxt\u002Ftest-utils\u002Fmodule'",[2947,3081,3082],{"class":3066,"style":3067},",",[2947,3084,3085,3086,3089],{"class":2949,"style":2950},"  ",[2947,3087,3088],{"class":3054,"style":3055},"]",[2947,3090,3082],{"class":3066,"style":3067},[2947,3092,3093,3096],{"class":2949,"style":2950},[2947,3094,3095],{"class":3054,"style":3055},"}",[2947,3097,3098],{"class":3054,"style":3055},")",[2896,3100,3101,3108,3362],{},[2865,3102,3103,3104,3107],{},"Create a ",[2869,3105,3106],{},"vitest.config.ts"," with the following content:",[2938,3109,3110],{"language":3035,"meta":3036,"class":3037},[2869,3111,3112,3060,3128,3060,3142,3060,3144,3060,3157,3060,3164,3060,3171,3060,3176,3060,3183,3060,3193,3060,3207,3060,3217,3060,3224,3060,3230,3060,3234,3060,3240,3060,3249,3060,3262,3060,3270,3060,3276,3060,3282,3060,3294,3060,3300,3060,3309,3060,3322,3060,3330,3060,3336,3060,3344,3060,3350,3060,3356],{"class":3040},[2947,3113,3114,2965,3117,3119,3120,2965,3122,2965,3125],{"class":2949,"style":2950},[2947,3115,3116],{"class":2968,"style":2969},"import",[2947,3118,3059],{"class":3054,"style":3055}," defineConfig ",[2947,3121,3095],{"class":3054,"style":3055},[2947,3123,3124],{"class":2968,"style":2969},"from",[2947,3126,3127],{"class":3077,"style":3078},"'vitest\u002Fconfig'",[2947,3129,3130,2965,3132,3134,3135,2965,3137,2965,3139],{"class":2949,"style":2950},[2947,3131,3116],{"class":2968,"style":2969},[2947,3133,3059],{"class":3054,"style":3055}," defineVitestProject ",[2947,3136,3095],{"class":3054,"style":3055},[2947,3138,3124],{"class":2968,"style":2969},[2947,3140,3141],{"class":3077,"style":3078},"'@nuxt\u002Ftest-utils\u002Fconfig'",[2947,3143],{"class":2949,"style":2950},[2947,3145,3146,2965,3148,2965,3150,3153,3155],{"class":2949,"style":2950},[2947,3147,3045],{"class":2968,"style":2969},[2947,3149,3048],{"class":2968,"style":2969},[2947,3151,3152],{"class":2953,"style":2954},"defineConfig",[2947,3154,3056],{"class":3054,"style":3055},[2947,3156,3059],{"class":3054,"style":3055},[2947,3158,3159,3160,2965,3162],{"class":2949,"style":2950},"  test",[2947,3161,3068],{"class":3066,"style":3067},[2947,3163,3059],{"class":3054,"style":3055},[2947,3165,3166,3167,2965,3169],{"class":2949,"style":2950},"    projects",[2947,3168,3068],{"class":3066,"style":3067},[2947,3170,3071],{"class":3054,"style":3055},[2947,3172,3173,3174],{"class":2949,"style":2950},"      ",[2947,3175,3059],{"class":3054,"style":3055},[2947,3177,3178,3179,2965,3181],{"class":2949,"style":2950},"        test",[2947,3180,3068],{"class":3066,"style":3067},[2947,3182,3059],{"class":3054,"style":3055},[2947,3184,3185,3186,2965,3188,3191],{"class":2949,"style":2950},"          name",[2947,3187,3068],{"class":3066,"style":3067},[2947,3189,3190],{"class":3077,"style":3078},"'unit'",[2947,3192,3082],{"class":3066,"style":3067},[2947,3194,3195,3196,2965,3198,3200,3203,3205],{"class":2949,"style":2950},"          include",[2947,3197,3068],{"class":3066,"style":3067},[2947,3199,3071],{"class":3054,"style":3055},[2947,3201,3202],{"class":3077,"style":3078},"'test\u002Funit\u002F*.{test,spec}.ts'",[2947,3204,3088],{"class":3054,"style":3055},[2947,3206,3082],{"class":3066,"style":3067},[2947,3208,3209,3210,2965,3212,3215],{"class":2949,"style":2950},"          environment",[2947,3211,3068],{"class":3066,"style":3067},[2947,3213,3214],{"class":3077,"style":3078},"'node'",[2947,3216,3082],{"class":3066,"style":3067},[2947,3218,3219,3220,3222],{"class":2949,"style":2950},"        ",[2947,3221,3095],{"class":3054,"style":3055},[2947,3223,3082],{"class":3066,"style":3067},[2947,3225,3173,3226,3228],{"class":2949,"style":2950},[2947,3227,3095],{"class":3054,"style":3055},[2947,3229,3082],{"class":3066,"style":3067},[2947,3231,3173,3232],{"class":2949,"style":2950},[2947,3233,3059],{"class":3054,"style":3055},[2947,3235,3178,3236,2965,3238],{"class":2949,"style":2950},[2947,3237,3068],{"class":3066,"style":3067},[2947,3239,3059],{"class":3054,"style":3055},[2947,3241,3185,3242,2965,3244,3247],{"class":2949,"style":2950},[2947,3243,3068],{"class":3066,"style":3067},[2947,3245,3246],{"class":3077,"style":3078},"'e2e'",[2947,3248,3082],{"class":3066,"style":3067},[2947,3250,3195,3251,2965,3253,3255,3258,3260],{"class":2949,"style":2950},[2947,3252,3068],{"class":3066,"style":3067},[2947,3254,3071],{"class":3054,"style":3055},[2947,3256,3257],{"class":3077,"style":3078},"'test\u002Fe2e\u002F*.{test,spec}.ts'",[2947,3259,3088],{"class":3054,"style":3055},[2947,3261,3082],{"class":3066,"style":3067},[2947,3263,3209,3264,2965,3266,3268],{"class":2949,"style":2950},[2947,3265,3068],{"class":3066,"style":3067},[2947,3267,3214],{"class":3077,"style":3078},[2947,3269,3082],{"class":3066,"style":3067},[2947,3271,3219,3272,3274],{"class":2949,"style":2950},[2947,3273,3095],{"class":3054,"style":3055},[2947,3275,3082],{"class":3066,"style":3067},[2947,3277,3173,3278,3280],{"class":2949,"style":2950},[2947,3279,3095],{"class":3054,"style":3055},[2947,3281,3082],{"class":3066,"style":3067},[2947,3283,3173,3284,2965,3287,3290,3292],{"class":2949,"style":2950},[2947,3285,3286],{"class":2968,"style":2969},"await",[2947,3288,3289],{"class":2953,"style":2954},"defineVitestProject",[2947,3291,3056],{"class":3054,"style":3055},[2947,3293,3059],{"class":3054,"style":3055},[2947,3295,3178,3296,2965,3298],{"class":2949,"style":2950},[2947,3297,3068],{"class":3066,"style":3067},[2947,3299,3059],{"class":3054,"style":3055},[2947,3301,3185,3302,2965,3304,3307],{"class":2949,"style":2950},[2947,3303,3068],{"class":3066,"style":3067},[2947,3305,3306],{"class":3077,"style":3078},"'nuxt'",[2947,3308,3082],{"class":3066,"style":3067},[2947,3310,3195,3311,2965,3313,3315,3318,3320],{"class":2949,"style":2950},[2947,3312,3068],{"class":3066,"style":3067},[2947,3314,3071],{"class":3054,"style":3055},[2947,3316,3317],{"class":3077,"style":3078},"'test\u002Fnuxt\u002F*.{test,spec}.ts'",[2947,3319,3088],{"class":3054,"style":3055},[2947,3321,3082],{"class":3066,"style":3067},[2947,3323,3209,3324,2965,3326,3328],{"class":2949,"style":2950},[2947,3325,3068],{"class":3066,"style":3067},[2947,3327,3306],{"class":3077,"style":3078},[2947,3329,3082],{"class":3066,"style":3067},[2947,3331,3219,3332,3334],{"class":2949,"style":2950},[2947,3333,3095],{"class":3054,"style":3055},[2947,3335,3082],{"class":3066,"style":3067},[2947,3337,3173,3338,3340,3342],{"class":2949,"style":2950},[2947,3339,3095],{"class":3054,"style":3055},[2947,3341,3098],{"class":3054,"style":3055},[2947,3343,3082],{"class":3066,"style":3067},[2947,3345,3074,3346,3348],{"class":2949,"style":2950},[2947,3347,3088],{"class":3054,"style":3055},[2947,3349,3082],{"class":3066,"style":3067},[2947,3351,3085,3352,3354],{"class":2949,"style":2950},[2947,3353,3095],{"class":3054,"style":3055},[2947,3355,3082],{"class":3066,"style":3067},[2947,3357,3358,3360],{"class":2949,"style":2950},[2947,3359,3095],{"class":3054,"style":3055},[2947,3361,3098],{"class":3054,"style":3055},[3363,3364,3365,3367,3368,3371],"note",{},[2869,3366,3289],{}," is only for Nuxt-environment tests. End-to-end tests should be configured as a regular ",[2869,3369,3370],{},"test.environment: 'node'"," project.",[2896,3373,3374,3375,3378,3379,3382],{},"If your Nuxt-environment tests live outside ",[2869,3376,3377],{},"test\u002Fnuxt\u002F",", see ",[2860,3380,2767],{"href":3381},"#typescript-support-in-tests"," to add them to the TypeScript context.",[2856,3384,3385,3398],{},[2865,3386,3387,3388,3390,3391,3394,3395,3397],{},"When importing ",[2869,3389,2871],{}," in your vitest config, it is necessary to have ",[2869,3392,3393],{},"\"type\": \"module\""," specified in your ",[2869,3396,239],{}," or rename your vitest config file appropriately.",[3399,3400,3401,3402,2863],"blockquote",{},"i.e., ",[2869,3403,3404],{},"vitest.config.m{ts,js}",[2856,3406,3407,3408,3411],{},"It is possible to set environment variables for testing by using the ",[2869,3409,3410],{},".env.test"," file.",[3015,3413,2755],{"id":2754},[2865,3415,3416,3417,3421],{},"Using ",[2860,3418,3420],{"href":3419},"https:\u002F\u002Fvitest.dev\u002Fguide\u002Fprojects.html#test-projects","Vitest projects",", you have fine-grained control over which tests run in which environment:",[2893,3423,3424,3435],{},[2896,3425,3426,3430,3431,3434],{},[3427,3428,3429],"strong",{},"Unit tests",": Place regular unit tests in ",[2869,3432,3433],{},"test\u002Funit\u002F"," - these run in a Node environment for speed",[2896,3436,3437,3440,3441,3443],{},[3427,3438,3439],{},"Nuxt tests",": Place tests that rely on the Nuxt runtime environment in ",[2869,3442,3377],{}," - these will run within a Nuxt runtime environment",[3445,3446,2760],"h4",{"id":2758},[2865,3448,3449],{},"If you prefer a simpler setup and want all tests to run in the Nuxt environment, you can use the basic configuration:",[2938,3451,3452],{"language":3035,"meta":3036,"class":3037},[2869,3453,3454,3060,3467,3060,3481,3060,3483,3060,3496,3060,3502,3060,3511,3060,3518,3060,3523,3060,3528,3060,3533,3060,3538,3060,3543,3060,3548,3060,3553,3060,3558,3060,3563,3060,3569],{"class":3040},[2947,3455,3456,2965,3458,3460,3461,2965,3463,2965,3465],{"class":2949,"style":2950},[2947,3457,3116],{"class":2968,"style":2969},[2947,3459,3059],{"class":3054,"style":3055}," defineVitestConfig ",[2947,3462,3095],{"class":3054,"style":3055},[2947,3464,3124],{"class":2968,"style":2969},[2947,3466,3141],{"class":3077,"style":3078},[2947,3468,3469,2965,3471,3473,3474,2965,3476,2965,3478],{"class":2949,"style":2950},[2947,3470,3116],{"class":2968,"style":2969},[2947,3472,3059],{"class":3054,"style":3055}," fileURLToPath ",[2947,3475,3095],{"class":3054,"style":3055},[2947,3477,3124],{"class":2968,"style":2969},[2947,3479,3480],{"class":3077,"style":3078},"'node:url'",[2947,3482],{"class":2949,"style":2950},[2947,3484,3485,2965,3487,2965,3489,3492,3494],{"class":2949,"style":2950},[2947,3486,3045],{"class":2968,"style":2969},[2947,3488,3048],{"class":2968,"style":2969},[2947,3490,3491],{"class":2953,"style":2954},"defineVitestConfig",[2947,3493,3056],{"class":3054,"style":3055},[2947,3495,3059],{"class":3054,"style":3055},[2947,3497,3159,3498,2965,3500],{"class":2949,"style":2950},[2947,3499,3068],{"class":3066,"style":3067},[2947,3501,3059],{"class":3054,"style":3055},[2947,3503,3504,3505,2965,3507,3509],{"class":2949,"style":2950},"    environment",[2947,3506,3068],{"class":3066,"style":3067},[2947,3508,3306],{"class":3077,"style":3078},[2947,3510,3082],{"class":3066,"style":3067},[2947,3512,3074,3513],{"class":2949,"style":2950},[2947,3514,3517],{"class":3515,"style":3516},"shj-syn-cmnt shj-cmnt","color:#90A4AE;--shiki-dark:#676E95","\u002F\u002F you can optionally set Nuxt-specific environment options",[2947,3519,3074,3520],{"class":2949,"style":2950},[2947,3521,3522],{"class":3515,"style":3516},"\u002F\u002F environmentOptions: {",[2947,3524,3074,3525],{"class":2949,"style":2950},[2947,3526,3527],{"class":3515,"style":3516},"\u002F\u002F   nuxt: {",[2947,3529,3074,3530],{"class":2949,"style":2950},[2947,3531,3532],{"class":3515,"style":3516},"\u002F\u002F     rootDir: fileURLToPath(new URL('.\u002Fplayground', import.meta.url)),",[2947,3534,3074,3535],{"class":2949,"style":2950},[2947,3536,3537],{"class":3515,"style":3516},"\u002F\u002F     domEnvironment: 'happy-dom', \u002F\u002F 'happy-dom' (default) or 'jsdom'",[2947,3539,3074,3540],{"class":2949,"style":2950},[2947,3541,3542],{"class":3515,"style":3516},"\u002F\u002F     overrides: {",[2947,3544,3074,3545],{"class":2949,"style":2950},[2947,3546,3547],{"class":3515,"style":3516},"\u002F\u002F       \u002F\u002F other Nuxt config you want to pass",[2947,3549,3074,3550],{"class":2949,"style":2950},[2947,3551,3552],{"class":3515,"style":3516},"\u002F\u002F     }",[2947,3554,3074,3555],{"class":2949,"style":2950},[2947,3556,3557],{"class":3515,"style":3516},"\u002F\u002F   }",[2947,3559,3074,3560],{"class":2949,"style":2950},[2947,3561,3562],{"class":3515,"style":3516},"\u002F\u002F }",[2947,3564,3085,3565,3567],{"class":2949,"style":2950},[2947,3566,3095],{"class":3054,"style":3055},[2947,3568,3082],{"class":3066,"style":3067},[2947,3570,3571,3573],{"class":2949,"style":2950},[2947,3572,3095],{"class":3054,"style":3055},[2947,3574,3098],{"class":3054,"style":3055},[2865,3576,3577,3578,3581,3582,3585,3586,3590],{},"If you're using the simple setup with ",[2869,3579,3580],{},"environment: 'nuxt'"," by default, you can opt ",[3008,3583,3584],{},"out"," of the ",[2860,3587,3589],{"href":3588},"https:\u002F\u002Fvitest.dev\u002Fguide\u002Fenvironment.html#test-environment","Nuxt environment"," per test file as needed.",[2938,3592,3593],{"language":3035,"meta":3036,"class":3037},[2869,3594,3595,3060,3600,3060,3614,3060,3616,3060,3636,3060,3641],{"class":3040},[2947,3596,3597],{"class":2949,"style":2950},[2947,3598,3599],{"class":3515,"style":3516},"\u002F\u002F @vitest-environment node",[2947,3601,3602,2965,3604,3606,3607,2965,3609,2965,3611],{"class":2949,"style":2950},[2947,3603,3116],{"class":2968,"style":2969},[2947,3605,3059],{"class":3054,"style":3055}," test ",[2947,3608,3095],{"class":3054,"style":3055},[2947,3610,3124],{"class":2968,"style":2969},[2947,3612,3613],{"class":3077,"style":3078},"'vitest'",[2947,3615],{"class":2949,"style":2950},[2947,3617,3618,3620,3622,3625,2965,3627,3629,2965,3631,2965,3634],{"class":2949,"style":2950},[2947,3619,930],{"class":2953,"style":2954},[2947,3621,3056],{"class":3054,"style":3055},[2947,3623,3624],{"class":3077,"style":3078},"'my test'",[2947,3626,3082],{"class":3066,"style":3067},[2947,3628,3056],{"class":3054,"style":3055},[2947,3630,3098],{"class":3054,"style":3055},[2947,3632,3633],{"class":2968,"style":2969},"=>",[2947,3635,3059],{"class":3054,"style":3055},[2947,3637,3085,3638],{"class":2949,"style":2950},[2947,3639,3640],{"class":3515,"style":3516},"\u002F\u002F ... test without Nuxt environment!",[2947,3642,3643,3645],{"class":2949,"style":2950},[2947,3644,3095],{"class":3054,"style":3055},[2947,3646,3098],{"class":3054,"style":3055},[3648,3649,3650,3651,3654],"warning",{},"This approach is not recommended as it creates a hybrid environment where Nuxt Vite plugins run but the Nuxt entry and ",[2869,3652,3653],{},"nuxtApp"," are not initialized. This can lead to hard-to-debug errors.",[3015,3656,2763],{"id":2762},[2865,3658,3659],{},"With the project-based setup, you might organize your tests as follows:",[2938,3661,3663],{"language":2940,"filename":3662,"class":2942},"Directory structure",[2869,3664,3665,3060,3668,3060,3671,3060,3674,3060,3677,3060,3680,3060,3683,3060,3686],{"class":2945},[2947,3666,3667],{"class":2949,"style":2950},"test\u002F",[2947,3669,3670],{"class":2949,"style":2950},"├── e2e\u002F",[2947,3672,3673],{"class":2949,"style":2950},"│   └── ssr.test.ts",[2947,3675,3676],{"class":2949,"style":2950},"├── nuxt\u002F",[2947,3678,3679],{"class":2949,"style":2950},"│   ├── components.test.ts",[2947,3681,3682],{"class":2949,"style":2950},"│   └── composables.test.ts",[2947,3684,3685],{"class":2949,"style":2950},"├── unit\u002F",[2947,3687,3688],{"class":2949,"style":2950},"│   └── utils.test.ts",[2865,3690,3691],{},"You can of course opt for any test structure, but keeping the Nuxt runtime environment separated from Nuxt end-to-end tests is important for test stability.",[3445,3693,2767],{"id":2766},[2865,3695,3696,3697,2902,3699,3702,3703,3707,3708,2912,3711,2912,3714,3717],{},"By default, test files in ",[2869,3698,3377],{},[2869,3700,3701],{},"tests\u002Fnuxt\u002F"," directories are included in the ",[2860,3704,3706],{"href":3705},"\u002Fdocs\u002F4.x\u002Fguide\u002Fconcepts\u002Ftypescript#how-nuxt-uses-project-references","Nuxt app TypeScript context",". That means they will recognise Nuxt aliases (like ",[2869,3709,3710],{},"~\u002F",[2869,3712,3713],{},"@\u002F",[2869,3715,3716],{},"#imports",") and TypeScript will be aware of auto-imports that work in your Nuxt app.",[2856,3719,3720,3721,3723],{},"This matches the recommended structure where only tests that need the Nuxt runtime environment are placed in these directories. Unit tests in other directories like ",[2869,3722,3433],{}," can be added manually if needed.",[3725,3726,3728],"h5",{"id":3727},"unit-testing-organizing-your-tests-typescript-support-in-tests-adding-other-test-directories","Adding other test directories",[2865,3730,3731],{},"If you have tests in other directories that you will be running in the Nuxt Vitest environment, you can include them in the Nuxt app TypeScript context by adding them to your configuration:",[3733,3734,3735],null,{}," @case-police-ignore tsConfig ",[2938,3737,3738],{"language":3035,"filename":234,"class":3037},[2869,3739,3740,3060,3752,3060,3759,3060,3766,3060,3773,3060,3778,3060,3785,3060,3791,3060,3797,3060,3803],{"class":3040},[2947,3741,3742,2965,3744,2965,3746,3748,3750],{"class":2949,"style":2950},[2947,3743,3045],{"class":2968,"style":2969},[2947,3745,3048],{"class":2968,"style":2969},[2947,3747,3051],{"class":2953,"style":2954},[2947,3749,3056],{"class":3054,"style":3055},[2947,3751,3059],{"class":3054,"style":3055},[2947,3753,3754,3755,2965,3757],{"class":2949,"style":2950},"  typescript",[2947,3756,3068],{"class":3066,"style":3067},[2947,3758,3059],{"class":3054,"style":3055},[2947,3760,3761,3762,2965,3764],{"class":2949,"style":2950},"    tsConfig",[2947,3763,3068],{"class":3066,"style":3067},[2947,3765,3059],{"class":3054,"style":3055},[2947,3767,3768,3769,2965,3771],{"class":2949,"style":2950},"      include",[2947,3770,3068],{"class":3066,"style":3067},[2947,3772,3071],{"class":3054,"style":3055},[2947,3774,3219,3775],{"class":2949,"style":2950},[2947,3776,3777],{"class":3515,"style":3516},"\u002F\u002F this path is relative to the generated .nuxt\u002Ftsconfig.json",[2947,3779,3219,3780,3783],{"class":2949,"style":2950},[2947,3781,3782],{"class":3077,"style":3078},"'..\u002Ftest\u002Fother-nuxt-context\u002F**\u002F*'",[2947,3784,3082],{"class":3066,"style":3067},[2947,3786,3173,3787,3789],{"class":2949,"style":2950},[2947,3788,3088],{"class":3054,"style":3055},[2947,3790,3082],{"class":3066,"style":3067},[2947,3792,3074,3793,3795],{"class":2949,"style":2950},[2947,3794,3095],{"class":3054,"style":3055},[2947,3796,3082],{"class":3066,"style":3067},[2947,3798,3085,3799,3801],{"class":2949,"style":2950},[2947,3800,3095],{"class":3054,"style":3055},[2947,3802,3082],{"class":3066,"style":3067},[2947,3804,3805,3807],{"class":2949,"style":2950},[2947,3806,3095],{"class":3054,"style":3055},[2947,3808,3098],{"class":3054,"style":3055},[3810,3811,3812,3813,3816],"important",{},"Unit tests should not depend on Nuxt runtime features like auto-imports or composables. Only add TypeScript path alias support if your tests import from your source files (e.g., ",[2869,3814,3815],{},"~\u002Futils\u002Fhelpers","), not for Nuxt-specific features.",[3445,3818,2770],{"id":2769},[2865,3820,3821],{},"With the project setup, you can run different test suites:",[2938,3823,3824],{"language":2940,"class":2942},[2869,3825,3826,3060,3831,3060,3837,3060,3839,3060,3844,3060,3849,3060,3851,3060,3856,3060,3861,3060,3863,3060,3868],{"class":2945},[2947,3827,3828],{"class":2949,"style":2950},[2947,3829,3830],{"class":3515,"style":3516},"# Run all tests",[2947,3832,3833,3836],{"class":2949,"style":2950},[2947,3834,3835],{"class":2953,"style":2954},"npx"," vitest",[2947,3838],{"class":2949,"style":2950},[2947,3840,3841],{"class":2949,"style":2950},[2947,3842,3843],{"class":3515,"style":3516},"# Run only unit tests",[2947,3845,3846,3848],{"class":2949,"style":2950},[2947,3847,3835],{"class":2953,"style":2954}," vitest --project unit",[2947,3850],{"class":2949,"style":2950},[2947,3852,3853],{"class":2949,"style":2950},[2947,3854,3855],{"class":3515,"style":3516},"# Run only Nuxt tests",[2947,3857,3858,3860],{"class":2949,"style":2950},[2947,3859,3835],{"class":2953,"style":2954}," vitest --project nuxt",[2947,3862],{"class":2949,"style":2950},[2947,3864,3865],{"class":2949,"style":2950},[2947,3866,3867],{"class":3515,"style":3516},"# Run tests in watch mode",[2947,3869,3870,3872],{"class":2949,"style":2950},[2947,3871,3835],{"class":2953,"style":2954}," vitest --watch",[3648,3874,3875,3893],{},[2865,3876,3877,3878,3883,3884,3889,3890,3892],{},"When you run your tests within the Nuxt environment, they will be running in a ",[2860,3879,3881],{"href":3880},"https:\u002F\u002Fgithub.com\u002Fcapricorn86\u002Fhappy-dom",[2869,3882,2901],{}," or ",[2860,3885,3887],{"href":3886},"https:\u002F\u002Fgithub.com\u002Fjsdom\u002Fjsdom",[2869,3888,2905],{}," environment. Before your tests run, a global Nuxt app will be initialized (including, for example, running any plugins or code you've defined in your ",[2869,3891,219],{},").",[2865,3894,3895],{},"This means you should take particular care not to mutate the global state in your tests (or, if you need to, to reset it afterwards).",[3015,3897,2773],{"id":2772},[2865,3899,3900,3902],{},[2869,3901,2871],{}," provides some built-in mocks for the DOM environment.",[3445,3904,3905],{"id":2776},[2869,3906,2777],{},[2865,3908,3909,3910,3913],{},"Default ",[2869,3911,3912],{},"true",", creates a dummy class without any functionality for the IntersectionObserver API",[3445,3915,3916],{"id":2779},[2869,3917,2780],{},[2865,3919,3909,3920,3923,3924,3930],{},[2869,3921,3922],{},"false",", uses ",[2860,3925,3927],{"href":3926},"https:\u002F\u002Fgithub.com\u002Fdumbmatter\u002FfakeIndexedDB",[2869,3928,3929],{},"fake-indexeddb"," to create a functional mock of the IndexedDB API",[2865,3932,3933,3934,3937,3938,3940],{},"These can be configured in the ",[2869,3935,3936],{},"environmentOptions"," section of your ",[2869,3939,3106],{}," file:",[2938,3942,3943],{"language":3035,"meta":3036,"class":3037},[2869,3944,3945,3060,3957,3060,3959,3060,3971,3060,3977,3060,3984,3060,3991,3060,3998,3060,4009,3060,4018,3060,4024,3060,4030,3060,4036,3060,4042],{"class":3040},[2947,3946,3947,2965,3949,3460,3951,2965,3953,2965,3955],{"class":2949,"style":2950},[2947,3948,3116],{"class":2968,"style":2969},[2947,3950,3059],{"class":3054,"style":3055},[2947,3952,3095],{"class":3054,"style":3055},[2947,3954,3124],{"class":2968,"style":2969},[2947,3956,3141],{"class":3077,"style":3078},[2947,3958],{"class":2949,"style":2950},[2947,3960,3961,2965,3963,2965,3965,3967,3969],{"class":2949,"style":2950},[2947,3962,3045],{"class":2968,"style":2969},[2947,3964,3048],{"class":2968,"style":2969},[2947,3966,3491],{"class":2953,"style":2954},[2947,3968,3056],{"class":3054,"style":3055},[2947,3970,3059],{"class":3054,"style":3055},[2947,3972,3159,3973,2965,3975],{"class":2949,"style":2950},[2947,3974,3068],{"class":3066,"style":3067},[2947,3976,3059],{"class":3054,"style":3055},[2947,3978,3979,3980,2965,3982],{"class":2949,"style":2950},"    environmentOptions",[2947,3981,3068],{"class":3066,"style":3067},[2947,3983,3059],{"class":3054,"style":3055},[2947,3985,3986,3987,2965,3989],{"class":2949,"style":2950},"      nuxt",[2947,3988,3068],{"class":3066,"style":3067},[2947,3990,3059],{"class":3054,"style":3055},[2947,3992,3993,3994,2965,3996],{"class":2949,"style":2950},"        mock",[2947,3995,3068],{"class":3066,"style":3067},[2947,3997,3059],{"class":3054,"style":3055},[2947,3999,4000,4001,2965,4003,4007],{"class":2949,"style":2950},"          intersectionObserver",[2947,4002,3068],{"class":3066,"style":3067},[2947,4004,3912],{"class":4005,"style":4006},"shj-syn-bool shj-bool","color:#FF5370;--shiki-dark:#ff9cac",[2947,4008,3082],{"class":3066,"style":3067},[2947,4010,4011,4012,2965,4014,4016],{"class":2949,"style":2950},"          indexedDb",[2947,4013,3068],{"class":3066,"style":3067},[2947,4015,3912],{"class":4005,"style":4006},[2947,4017,3082],{"class":3066,"style":3067},[2947,4019,3219,4020,4022],{"class":2949,"style":2950},[2947,4021,3095],{"class":3054,"style":3055},[2947,4023,3082],{"class":3066,"style":3067},[2947,4025,3173,4026,4028],{"class":2949,"style":2950},[2947,4027,3095],{"class":3054,"style":3055},[2947,4029,3082],{"class":3066,"style":3067},[2947,4031,3074,4032,4034],{"class":2949,"style":2950},[2947,4033,3095],{"class":3054,"style":3055},[2947,4035,3082],{"class":3066,"style":3067},[2947,4037,3085,4038,4040],{"class":2949,"style":2950},[2947,4039,3095],{"class":3054,"style":3055},[2947,4041,3082],{"class":3066,"style":3067},[2947,4043,4044,4046],{"class":2949,"style":2950},[2947,4045,3095],{"class":3054,"style":3055},[2947,4047,3098],{"class":3054,"style":3055},[3015,4049,2783],{"id":2782},[2865,4051,4052,4054],{},[2869,4053,2871],{}," provides a number of helpers to make testing Nuxt apps easier.",[3445,4056,4057],{"id":2786},[2869,4058,2787],{},[2865,4060,4061,4063],{},[2869,4062,2787],{}," allows you to mount any Vue component within the Nuxt environment, allowing async setup and access to injections from your Nuxt plugins.",[3363,4065,4066,4067,4069,4070,4073,4074,4077,4078,4082],{},"Under the hood, ",[2869,4068,2787],{}," wraps ",[2869,4071,4072],{},"mount"," from ",[2869,4075,4076],{},"@vue\u002Ftest-utils",", so you can check out ",[2860,4079,4081],{"href":4080},"https:\u002F\u002Ftest-utils.vuejs.org\u002Fguide\u002F","the Vue Test Utils documentation"," for more on the options you can pass, and how to use this utility.",[2865,4084,4085],{},"For example:",[2938,4087,4088],{"language":3035,"meta":3036,"class":3037},[2869,4089,4090,3060,4095,3060,4111,3060,4132,3060,4134,3060,4145,3060,4159,3060,4163,3060,4168,3060,4173,3060,4187,3060,4201,3060,4203,3060,4226,3060,4244,3060,4270,3060,4277,3060,4281],{"class":3040},[2947,4091,4092],{"class":2949,"style":2950},[2947,4093,4094],{"class":3515,"style":3516},"\u002F\u002F @noErrors",[2947,4096,4097,2965,4099,4101,4102,4104,4105,2965,4107,2965,4109],{"class":2949,"style":2950},[2947,4098,3116],{"class":2968,"style":2969},[2947,4100,3059],{"class":3054,"style":3055}," expect",[2947,4103,3082],{"class":3066,"style":3067}," it ",[2947,4106,3095],{"class":3054,"style":3055},[2947,4108,3124],{"class":2968,"style":2969},[2947,4110,3613],{"class":3077,"style":3078},[2947,4112,4113,2965,4115,2965,4118,2965,4120,2965,4125,2965,4127,2965,4129],{"class":2949,"style":2950},[2947,4114,3116],{"class":2968,"style":2969},[2947,4116,4117],{"class":2968,"style":2969},"type",[2947,4119,3059],{"class":3054,"style":3055},[2947,4121,4124],{"class":4122,"style":4123},"shj-syn-class shj-class","color:#E2931D;--shiki-dark:#FFCB6B","Component",[2947,4126,3095],{"class":3054,"style":3055},[2947,4128,3124],{"class":2968,"style":2969},[2947,4130,4131],{"class":3077,"style":3078},"'vue'",[2947,4133],{"class":2949,"style":2950},[2947,4135,4136,4139,4140,2965,4143],{"class":2949,"style":2950},[2947,4137,4138],{"class":2968,"style":2969},"declare"," module ",[2947,4141,4142],{"class":3077,"style":3078},"'#components'",[2947,4144,3059],{"class":3054,"style":3055},[2947,4146,3085,4147,2965,4149,2965,4152,4155,2965,4157],{"class":2949,"style":2950},[2947,4148,3045],{"class":2968,"style":2969},[2947,4150,4151],{"class":2968,"style":2969},"const",[2947,4153,4154],{"class":4122,"style":4123},"SomeComponent",[2947,4156,3068],{"class":3066,"style":3067},[2947,4158,4124],{"class":4122,"style":4123},[2947,4160,4161],{"class":2949,"style":2950},[2947,4162,3095],{"class":3054,"style":3055},[2947,4164,4165],{"class":2949,"style":2950},[2947,4166,4167],{"class":3515,"style":3516},"\u002F\u002F ---cut---",[2947,4169,4170],{"class":2949,"style":2950},[2947,4171,4172],{"class":3515,"style":3516},"\u002F\u002F tests\u002Fcomponents\u002FSomeComponents.nuxt.spec.ts",[2947,4174,4175,2965,4177,4179,4180,2965,4182,2965,4184],{"class":2949,"style":2950},[2947,4176,3116],{"class":2968,"style":2969},[2947,4178,3059],{"class":3054,"style":3055}," mountSuspended ",[2947,4181,3095],{"class":3054,"style":3055},[2947,4183,3124],{"class":2968,"style":2969},[2947,4185,4186],{"class":3077,"style":3078},"'@nuxt\u002Ftest-utils\u002Fruntime'",[2947,4188,4189,2965,4191,2965,4193,2965,4195,2965,4197,2965,4199],{"class":2949,"style":2950},[2947,4190,3116],{"class":2968,"style":2969},[2947,4192,3059],{"class":3054,"style":3055},[2947,4194,4154],{"class":4122,"style":4123},[2947,4196,3095],{"class":3054,"style":3055},[2947,4198,3124],{"class":2968,"style":2969},[2947,4200,4142],{"class":3077,"style":3078},[2947,4202],{"class":2949,"style":2950},[2947,4204,4205,4208,4210,4213,2965,4215,2965,4218,4220,2965,4222,2965,4224],{"class":2949,"style":2950},[2947,4206,4207],{"class":2953,"style":2954},"it",[2947,4209,3056],{"class":3054,"style":3055},[2947,4211,4212],{"class":3077,"style":3078},"'can mount some component'",[2947,4214,3082],{"class":3066,"style":3067},[2947,4216,4217],{"class":2968,"style":2969},"async",[2947,4219,3056],{"class":3054,"style":3055},[2947,4221,3098],{"class":3054,"style":3055},[2947,4223,3633],{"class":2968,"style":2969},[2947,4225,3059],{"class":3054,"style":3055},[2947,4227,3085,4228,4230,4231,2965,4234,2965,4236,4238,4240,4242],{"class":2949,"style":2950},[2947,4229,4151],{"class":2968,"style":2969}," component ",[2947,4232,4233],{"class":3066,"style":3067},"=",[2947,4235,3286],{"class":2968,"style":2969},[2947,4237,2787],{"class":2953,"style":2954},[2947,4239,3056],{"class":3054,"style":3055},[2947,4241,4154],{"class":4122,"style":4123},[2947,4243,3098],{"class":3054,"style":3055},[2947,4245,3085,4246,4249,4251,4252,4254,4257,4259,4261,4263,4265,4268],{"class":2949,"style":2950},[2947,4247,4248],{"class":2953,"style":2954},"expect",[2947,4250,3056],{"class":3054,"style":3055},"component",[2947,4253,2863],{"class":3066,"style":3067},[2947,4255,4256],{"class":2953,"style":2954},"text",[2947,4258,3056],{"class":3054,"style":3055},[2947,4260,3098],{"class":3054,"style":3055},[2947,4262,3098],{"class":3054,"style":3055},[2947,4264,2863],{"class":3066,"style":3067},[2947,4266,4267],{"class":2953,"style":2954},"toMatchInlineSnapshot",[2947,4269,3056],{"class":3054,"style":3055},[2947,4271,3074,4272,4275],{"class":2949,"style":2950},[2947,4273,4274],{"class":3077,"style":3078},"'\"This is an auto-imported component\"'",[2947,4276,3082],{"class":3066,"style":3067},[2947,4278,3085,4279],{"class":2949,"style":2950},[2947,4280,3098],{"class":3054,"style":3055},[2947,4282,4283,4285],{"class":2949,"style":2950},[2947,4284,3095],{"class":3054,"style":3055},[2947,4286,3098],{"class":3054,"style":3055},[2938,4288,4289],{"language":3035,"meta":3036,"class":3037},[2869,4290,4291,3060,4295,3060,4309,3060,4313,3060,4317,3060,4329,3060,4341,3060,4343,3060,4348,3060,4369,3060,4397,3060,4423,3060,4428,3060,4433,3060,4438,3060,4443,3060,4450],{"class":3040},[2947,4292,4293],{"class":2949,"style":2950},[2947,4294,4094],{"class":3515,"style":3516},[2947,4296,4297,2965,4299,4101,4301,4104,4303,2965,4305,2965,4307],{"class":2949,"style":2950},[2947,4298,3116],{"class":2968,"style":2969},[2947,4300,3059],{"class":3054,"style":3055},[2947,4302,3082],{"class":3066,"style":3067},[2947,4304,3095],{"class":3054,"style":3055},[2947,4306,3124],{"class":2968,"style":2969},[2947,4308,3613],{"class":3077,"style":3078},[2947,4310,4311],{"class":2949,"style":2950},[2947,4312,4167],{"class":3515,"style":3516},[2947,4314,4315],{"class":2949,"style":2950},[2947,4316,4172],{"class":3515,"style":3516},[2947,4318,4319,2965,4321,4179,4323,2965,4325,2965,4327],{"class":2949,"style":2950},[2947,4320,3116],{"class":2968,"style":2969},[2947,4322,3059],{"class":3054,"style":3055},[2947,4324,3095],{"class":3054,"style":3055},[2947,4326,3124],{"class":2968,"style":2969},[2947,4328,4186],{"class":3077,"style":3078},[2947,4330,4331,2965,4333,2965,4336,2965,4338],{"class":2949,"style":2950},[2947,4332,3116],{"class":2968,"style":2969},[2947,4334,4335],{"class":4122,"style":4123},"App",[2947,4337,3124],{"class":2968,"style":2969},[2947,4339,4340],{"class":3077,"style":3078},"'~\u002Fapp.vue'",[2947,4342],{"class":2949,"style":2950},[2947,4344,4345],{"class":2949,"style":2950},[2947,4346,4347],{"class":3515,"style":3516},"\u002F\u002F tests\u002FApp.nuxt.spec.ts",[2947,4349,4350,4352,4354,4357,2965,4359,2965,4361,4363,2965,4365,2965,4367],{"class":2949,"style":2950},[2947,4351,4207],{"class":2953,"style":2954},[2947,4353,3056],{"class":3054,"style":3055},[2947,4355,4356],{"class":3077,"style":3078},"'can also mount an app'",[2947,4358,3082],{"class":3066,"style":3067},[2947,4360,4217],{"class":2968,"style":2969},[2947,4362,3056],{"class":3054,"style":3055},[2947,4364,3098],{"class":3054,"style":3055},[2947,4366,3633],{"class":2968,"style":2969},[2947,4368,3059],{"class":3054,"style":3055},[2947,4370,3085,4371,4230,4373,2965,4375,2965,4377,4379,4381,4383,2965,4385,4387,4388,2965,4390,2965,4393,4395],{"class":2949,"style":2950},[2947,4372,4151],{"class":2968,"style":2969},[2947,4374,4233],{"class":3066,"style":3067},[2947,4376,3286],{"class":2968,"style":2969},[2947,4378,2787],{"class":2953,"style":2954},[2947,4380,3056],{"class":3054,"style":3055},[2947,4382,4335],{"class":4122,"style":4123},[2947,4384,3082],{"class":3066,"style":3067},[2947,4386,3059],{"class":3054,"style":3055}," route",[2947,4389,3068],{"class":3066,"style":3067},[2947,4391,4392],{"class":3077,"style":3078},"'\u002Ftest'",[2947,4394,3095],{"class":3054,"style":3055},[2947,4396,3098],{"class":3054,"style":3055},[2947,4398,3085,4399,4401,4251,4403,4405,4408,4410,4412,4414,4416,4418,4420],{"class":2949,"style":2950},[2947,4400,4248],{"class":2953,"style":2954},[2947,4402,3056],{"class":3054,"style":3055},[2947,4404,2863],{"class":3066,"style":3067},[2947,4406,4407],{"class":2953,"style":2954},"html",[2947,4409,3056],{"class":3054,"style":3055},[2947,4411,3098],{"class":3054,"style":3055},[2947,4413,3098],{"class":3054,"style":3055},[2947,4415,2863],{"class":3066,"style":3067},[2947,4417,4267],{"class":2953,"style":2954},[2947,4419,3056],{"class":3054,"style":3055},[2947,4421,4422],{"class":3077,"style":3078},"`",[2947,4424,4425],{"class":2949,"style":2950},[2947,4426,4427],{"class":3077,"style":3078},"      \"\u003Cdiv>This is an auto-imported component\u003C\u002Fdiv>",[2947,4429,4430],{"class":2949,"style":2950},[2947,4431,4432],{"class":3077,"style":3078},"      \u003Cdiv> I am a global component \u003C\u002Fdiv>",[2947,4434,4435],{"class":2949,"style":2950},[2947,4436,4437],{"class":3077,"style":3078},"      \u003Cdiv>\u002F\u003C\u002Fdiv>",[2947,4439,4440],{"class":2949,"style":2950},[2947,4441,4442],{"class":3077,"style":3078},"      \u003Ca href=\"\u002Ftest\"> Test link \u003C\u002Fa>\"",[2947,4444,4445,4448],{"class":2949,"style":2950},[2947,4446,4447],{"class":3077,"style":3078},"    `",[2947,4449,3098],{"class":3054,"style":3055},[2947,4451,4452,4454],{"class":2949,"style":2950},[2947,4453,3095],{"class":3054,"style":3055},[2947,4455,3098],{"class":3054,"style":3055},[2865,4457,4458,4459,4461],{},"The options object accepts ",[2869,4460,4076],{}," mount options and the following properties:",[2893,4463,4464],{},[2896,4465,4466,4469,4470,4472,4473,3892],{},[2869,4467,4468],{},"route",": the initial route, or ",[2869,4471,3922],{}," to skip the initial route change (default ",[2869,4474,4475],{},"\u002F",[3445,4477,4478],{"id":2789},[2869,4479,2790],{},[2865,4481,4482,4484,4485,4488],{},[2869,4483,2790],{}," allows you to render any Vue component within the Nuxt environment using ",[2869,4486,4487],{},"@testing-library\u002Fvue",", allowing async setup and access to injections from your Nuxt plugins.",[2865,4490,4491,4492,2902,4495,4498,4499,4502],{},"This should be used together with utilities from Testing Library, e.g. ",[2869,4493,4494],{},"screen",[2869,4496,4497],{},"fireEvent",". Install ",[2860,4500,4487],{"href":4501},"https:\u002F\u002Ftesting-library.com\u002Fdocs\u002Fvue-testing-library\u002Fintro\u002F"," in your project to use these.",[2865,4504,4505,4506,2863],{},"Additionally, Testing Library also relies on testing globals for cleanup. You should turn these on in your ",[2860,4507,4509],{"href":4508},"https:\u002F\u002Fvitest.dev\u002Fconfig\u002Fglobals","Vitest config",[2865,4511,4512,4513,2863],{},"The passed in component will be rendered inside a ",[2869,4514,4515],{},"\u003Cdiv id=\"test-wrapper\">\u003C\u002Fdiv>",[2865,4517,4518],{},"Examples:",[2938,4520,4521],{"language":3035,"meta":3036,"class":3037},[2869,4522,4523,3060,4527,3060,4541,3060,4557,3060,4559,3060,4567,3060,4579,3060,4583,3060,4587,3060,4591,3060,4604,3060,4618,3060,4632,3060,4634,3060,4655,3060,4667,3060,4696],{"class":3040},[2947,4524,4525],{"class":2949,"style":2950},[2947,4526,4094],{"class":3515,"style":3516},[2947,4528,4529,2965,4531,4101,4533,4104,4535,2965,4537,2965,4539],{"class":2949,"style":2950},[2947,4530,3116],{"class":2968,"style":2969},[2947,4532,3059],{"class":3054,"style":3055},[2947,4534,3082],{"class":3066,"style":3067},[2947,4536,3095],{"class":3054,"style":3055},[2947,4538,3124],{"class":2968,"style":2969},[2947,4540,3613],{"class":3077,"style":3078},[2947,4542,4543,2965,4545,2965,4547,2965,4549,2965,4551,2965,4553,2965,4555],{"class":2949,"style":2950},[2947,4544,3116],{"class":2968,"style":2969},[2947,4546,4117],{"class":2968,"style":2969},[2947,4548,3059],{"class":3054,"style":3055},[2947,4550,4124],{"class":4122,"style":4123},[2947,4552,3095],{"class":3054,"style":3055},[2947,4554,3124],{"class":2968,"style":2969},[2947,4556,4131],{"class":3077,"style":3078},[2947,4558],{"class":2949,"style":2950},[2947,4560,4561,4139,4563,2965,4565],{"class":2949,"style":2950},[2947,4562,4138],{"class":2968,"style":2969},[2947,4564,4142],{"class":3077,"style":3078},[2947,4566,3059],{"class":3054,"style":3055},[2947,4568,3085,4569,2965,4571,2965,4573,4575,2965,4577],{"class":2949,"style":2950},[2947,4570,3045],{"class":2968,"style":2969},[2947,4572,4151],{"class":2968,"style":2969},[2947,4574,4154],{"class":4122,"style":4123},[2947,4576,3068],{"class":3066,"style":3067},[2947,4578,4124],{"class":4122,"style":4123},[2947,4580,4581],{"class":2949,"style":2950},[2947,4582,3095],{"class":3054,"style":3055},[2947,4584,4585],{"class":2949,"style":2950},[2947,4586,4167],{"class":3515,"style":3516},[2947,4588,4589],{"class":2949,"style":2950},[2947,4590,4172],{"class":3515,"style":3516},[2947,4592,4593,2965,4595,4597,4598,2965,4600,2965,4602],{"class":2949,"style":2950},[2947,4594,3116],{"class":2968,"style":2969},[2947,4596,3059],{"class":3054,"style":3055}," renderSuspended ",[2947,4599,3095],{"class":3054,"style":3055},[2947,4601,3124],{"class":2968,"style":2969},[2947,4603,4186],{"class":3077,"style":3078},[2947,4605,4606,2965,4608,2965,4610,2965,4612,2965,4614,2965,4616],{"class":2949,"style":2950},[2947,4607,3116],{"class":2968,"style":2969},[2947,4609,3059],{"class":3054,"style":3055},[2947,4611,4154],{"class":4122,"style":4123},[2947,4613,3095],{"class":3054,"style":3055},[2947,4615,3124],{"class":2968,"style":2969},[2947,4617,4142],{"class":3077,"style":3078},[2947,4619,4620,2965,4622,4624,4625,2965,4627,2965,4629],{"class":2949,"style":2950},[2947,4621,3116],{"class":2968,"style":2969},[2947,4623,3059],{"class":3054,"style":3055}," screen ",[2947,4626,3095],{"class":3054,"style":3055},[2947,4628,3124],{"class":2968,"style":2969},[2947,4630,4631],{"class":3077,"style":3078},"'@testing-library\u002Fvue'",[2947,4633],{"class":2949,"style":2950},[2947,4635,4636,4638,4640,4643,2965,4645,2965,4647,4649,2965,4651,2965,4653],{"class":2949,"style":2950},[2947,4637,4207],{"class":2953,"style":2954},[2947,4639,3056],{"class":3054,"style":3055},[2947,4641,4642],{"class":3077,"style":3078},"'can render some component'",[2947,4644,3082],{"class":3066,"style":3067},[2947,4646,4217],{"class":2968,"style":2969},[2947,4648,3056],{"class":3054,"style":3055},[2947,4650,3098],{"class":3054,"style":3055},[2947,4652,3633],{"class":2968,"style":2969},[2947,4654,3059],{"class":3054,"style":3055},[2947,4656,3085,4657,2965,4659,4661,4663,4665],{"class":2949,"style":2950},[2947,4658,3286],{"class":2968,"style":2969},[2947,4660,2790],{"class":2953,"style":2954},[2947,4662,3056],{"class":3054,"style":3055},[2947,4664,4154],{"class":4122,"style":4123},[2947,4666,3098],{"class":3054,"style":3055},[2947,4668,3085,4669,4671,4494,4673,4675,4678,4680,4683,4685,4687,4689,4692,4694],{"class":2949,"style":2950},[2947,4670,4248],{"class":2953,"style":2954},[2947,4672,3056],{"class":3054,"style":3055},[2947,4674,2863],{"class":3066,"style":3067},[2947,4676,4677],{"class":2953,"style":2954},"getByText",[2947,4679,3056],{"class":3054,"style":3055},[2947,4681,4682],{"class":3077,"style":3078},"'This is an auto-imported component'",[2947,4684,3098],{"class":3054,"style":3055},[2947,4686,3098],{"class":3054,"style":3055},[2947,4688,2863],{"class":3066,"style":3067},[2947,4690,4691],{"class":2953,"style":2954},"toBeDefined",[2947,4693,3056],{"class":3054,"style":3055},[2947,4695,3098],{"class":3054,"style":3055},[2947,4697,4698,4700],{"class":2949,"style":2950},[2947,4699,3095],{"class":3054,"style":3055},[2947,4701,3098],{"class":3054,"style":3055},[2938,4703,4704],{"language":3035,"meta":3036,"class":3037},[2869,4705,4706,3060,4710,3060,4724,3060,4728,3060,4732,3060,4744,3060,4754,3060,4756,3060,4777,3060,4804,3060,4820,3060,4825,3060,4830,3060,4834,3060,4839,3060,4844,3060,4851],{"class":3040},[2947,4707,4708],{"class":2949,"style":2950},[2947,4709,4094],{"class":3515,"style":3516},[2947,4711,4712,2965,4714,4101,4716,4104,4718,2965,4720,2965,4722],{"class":2949,"style":2950},[2947,4713,3116],{"class":2968,"style":2969},[2947,4715,3059],{"class":3054,"style":3055},[2947,4717,3082],{"class":3066,"style":3067},[2947,4719,3095],{"class":3054,"style":3055},[2947,4721,3124],{"class":2968,"style":2969},[2947,4723,3613],{"class":3077,"style":3078},[2947,4725,4726],{"class":2949,"style":2950},[2947,4727,4167],{"class":3515,"style":3516},[2947,4729,4730],{"class":2949,"style":2950},[2947,4731,4347],{"class":3515,"style":3516},[2947,4733,4734,2965,4736,4597,4738,2965,4740,2965,4742],{"class":2949,"style":2950},[2947,4735,3116],{"class":2968,"style":2969},[2947,4737,3059],{"class":3054,"style":3055},[2947,4739,3095],{"class":3054,"style":3055},[2947,4741,3124],{"class":2968,"style":2969},[2947,4743,4186],{"class":3077,"style":3078},[2947,4745,4746,2965,4748,2965,4750,2965,4752],{"class":2949,"style":2950},[2947,4747,3116],{"class":2968,"style":2969},[2947,4749,4335],{"class":4122,"style":4123},[2947,4751,3124],{"class":2968,"style":2969},[2947,4753,4340],{"class":3077,"style":3078},[2947,4755],{"class":2949,"style":2950},[2947,4757,4758,4760,4762,4765,2965,4767,2965,4769,4771,2965,4773,2965,4775],{"class":2949,"style":2950},[2947,4759,4207],{"class":2953,"style":2954},[2947,4761,3056],{"class":3054,"style":3055},[2947,4763,4764],{"class":3077,"style":3078},"'can also render an app'",[2947,4766,3082],{"class":3066,"style":3067},[2947,4768,4217],{"class":2968,"style":2969},[2947,4770,3056],{"class":3054,"style":3055},[2947,4772,3098],{"class":3054,"style":3055},[2947,4774,3633],{"class":2968,"style":2969},[2947,4776,3059],{"class":3054,"style":3055},[2947,4778,3085,4779,4781,4782,2965,4784,2965,4786,4788,4790,4792,2965,4794,4387,4796,2965,4798,2965,4800,4802],{"class":2949,"style":2950},[2947,4780,4151],{"class":2968,"style":2969}," html ",[2947,4783,4233],{"class":3066,"style":3067},[2947,4785,3286],{"class":2968,"style":2969},[2947,4787,2790],{"class":2953,"style":2954},[2947,4789,3056],{"class":3054,"style":3055},[2947,4791,4335],{"class":4122,"style":4123},[2947,4793,3082],{"class":3066,"style":3067},[2947,4795,3059],{"class":3054,"style":3055},[2947,4797,3068],{"class":3066,"style":3067},[2947,4799,4392],{"class":3077,"style":3078},[2947,4801,3095],{"class":3054,"style":3055},[2947,4803,3098],{"class":3054,"style":3055},[2947,4805,3085,4806,4808,4407,4810,4812,4814,4816,4818],{"class":2949,"style":2950},[2947,4807,4248],{"class":2953,"style":2954},[2947,4809,3056],{"class":3054,"style":3055},[2947,4811,3098],{"class":3054,"style":3055},[2947,4813,2863],{"class":3066,"style":3067},[2947,4815,4267],{"class":2953,"style":2954},[2947,4817,3056],{"class":3054,"style":3055},[2947,4819,4422],{"class":3077,"style":3078},[2947,4821,4822],{"class":2949,"style":2950},[2947,4823,4824],{"class":3077,"style":3078},"    \"\u003Cdiv id=\"test-wrapper\">",[2947,4826,4827],{"class":2949,"style":2950},[2947,4828,4829],{"class":3077,"style":3078},"      \u003Cdiv>This is an auto-imported component\u003C\u002Fdiv>",[2947,4831,4832],{"class":2949,"style":2950},[2947,4833,4432],{"class":3077,"style":3078},[2947,4835,4836],{"class":2949,"style":2950},[2947,4837,4838],{"class":3077,"style":3078},"      \u003Cdiv>Index page\u003C\u002Fdiv>\u003Ca href=\"\u002Ftest\"> Test link \u003C\u002Fa>",[2947,4840,4841],{"class":2949,"style":2950},[2947,4842,4843],{"class":3077,"style":3078},"    \u003C\u002Fdiv>\"",[2947,4845,4846,4849],{"class":2949,"style":2950},[2947,4847,4848],{"class":3077,"style":3078},"  `",[2947,4850,3098],{"class":3054,"style":3055},[2947,4852,4853,4855],{"class":2949,"style":2950},[2947,4854,3095],{"class":3054,"style":3055},[2947,4856,3098],{"class":3054,"style":3055},[2865,4858,4458,4859,4861],{},[2869,4860,4487],{}," render options and the following properties:",[2893,4863,4864],{},[2896,4865,4866,4469,4868,4472,4870,3892],{},[2869,4867,4468],{},[2869,4869,3922],{},[2869,4871,4475],{},[3445,4873,4874],{"id":2792},[2869,4875,2793],{},[2865,4877,4878,4880,4881,4883],{},[2869,4879,2793],{}," allows you to mock Nuxt's auto import functionality. For example, to mock ",[2869,4882,691],{},", you can do so like this:",[2938,4885,4886],{"language":3035,"meta":3036,"class":3037},[2869,4887,4888,3060,4901,3060,4903,3060,4922,3060,4935,3060,4949,3060,4953,3060,4959,3060,4961],{"class":3040},[2947,4889,4890,2965,4892,4894,4895,2965,4897,2965,4899],{"class":2949,"style":2950},[2947,4891,3116],{"class":2968,"style":2969},[2947,4893,3059],{"class":3054,"style":3055}," mockNuxtImport ",[2947,4896,3095],{"class":3054,"style":3055},[2947,4898,3124],{"class":2968,"style":2969},[2947,4900,4186],{"class":3077,"style":3078},[2947,4902],{"class":2949,"style":2950},[2947,4904,4905,4907,4909,4912,2965,4914,4916,2965,4918,2965,4920],{"class":2949,"style":2950},[2947,4906,2793],{"class":2953,"style":2954},[2947,4908,3056],{"class":3054,"style":3055},[2947,4910,4911],{"class":3077,"style":3078},"'useState'",[2947,4913,3082],{"class":3066,"style":3067},[2947,4915,3056],{"class":3054,"style":3055},[2947,4917,3098],{"class":3054,"style":3055},[2947,4919,3633],{"class":2968,"style":2969},[2947,4921,3059],{"class":3054,"style":3055},[2947,4923,3085,4924,2965,4927,4929,2965,4931,2965,4933],{"class":2949,"style":2950},[2947,4925,4926],{"class":2968,"style":2969},"return",[2947,4928,3056],{"class":3054,"style":3055},[2947,4930,3098],{"class":3054,"style":3055},[2947,4932,3633],{"class":2968,"style":2969},[2947,4934,3059],{"class":3054,"style":3055},[2947,4936,3074,4937,2965,4939,4941,4942,2965,4944,2965,4947],{"class":2949,"style":2950},[2947,4938,4926],{"class":2968,"style":2969},[2947,4940,3059],{"class":3054,"style":3055}," value",[2947,4943,3068],{"class":3066,"style":3067},[2947,4945,4946],{"class":3077,"style":3078},"'mocked storage'",[2947,4948,3095],{"class":3054,"style":3055},[2947,4950,3085,4951],{"class":2949,"style":2950},[2947,4952,3095],{"class":3054,"style":3055},[2947,4954,4955,4957],{"class":2949,"style":2950},[2947,4956,3095],{"class":3054,"style":3055},[2947,4958,3098],{"class":3054,"style":3055},[2947,4960],{"class":2949,"style":2950},[2947,4962,4963],{"class":2949,"style":2950},[2947,4964,4965],{"class":3515,"style":3516},"\u002F\u002F your tests here",[2865,4967,4968],{},"You can explicitly type the mock for type safety, and use the original implementation passed to the factory function when mocking complex functionality.",[2938,4970,4972],{"language":3035,"meta":4971,"class":3037},"twoslash [test\u002Fnuxt\u002Fimport.test.ts]",[2869,4973,4974,3060,4986,3060,4988,3060,5015,3060,5031,3060,5057,3060,5061,3060,5067,3060,5069,3060,5074,3060,5090,3060,5104,3060,5128,3060,5132,3060,5138,3060,5140],{"class":3040},[2947,4975,4976,2965,4978,4894,4980,2965,4982,2965,4984],{"class":2949,"style":2950},[2947,4977,3116],{"class":2968,"style":2969},[2947,4979,3059],{"class":3054,"style":3055},[2947,4981,3095],{"class":3054,"style":3055},[2947,4983,3124],{"class":2968,"style":2969},[2947,4985,4186],{"class":3077,"style":3078},[2947,4987],{"class":2949,"style":2950},[2947,4989,2793,4990,4993,4996,4997,5000,5002,5004,2965,5006,5008,5009,2965,5011,2965,5013],{"class":2949,"style":2950},[2947,4991,4992],{"class":3066,"style":3067},"\u003C",[2947,4994,4995],{"class":2968,"style":2969},"typeof"," useState",[2947,4998,4999],{"class":3066,"style":3067},">",[2947,5001,3056],{"class":3054,"style":3055},[2947,5003,4911],{"class":3077,"style":3078},[2947,5005,3082],{"class":3066,"style":3067},[2947,5007,3056],{"class":3054,"style":3055},"original",[2947,5010,3098],{"class":3054,"style":3055},[2947,5012,3633],{"class":2968,"style":2969},[2947,5014,3059],{"class":3054,"style":3055},[2947,5016,3085,5017,2965,5019,5021,5024,5025,2965,5027,2965,5029],{"class":2949,"style":2950},[2947,5018,4926],{"class":2968,"style":2969},[2947,5020,3056],{"class":3054,"style":3055},[2947,5022,5023],{"class":3066,"style":3067},"...","args",[2947,5026,3098],{"class":3054,"style":3055},[2947,5028,3633],{"class":2968,"style":2969},[2947,5030,3059],{"class":3054,"style":3055},[2947,5032,3074,5033,2965,5035,2965,5037,5039,5041,5043,5046,5048,4941,5050,2965,5052,2965,5055],{"class":2949,"style":2950},[2947,5034,4926],{"class":2968,"style":2969},[2947,5036,3059],{"class":3054,"style":3055},[2947,5038,5023],{"class":3066,"style":3067},[2947,5040,5008],{"class":2953,"style":2954},[2947,5042,3056],{"class":3054,"style":3055},[2947,5044,5045],{"class":3077,"style":3078},"'some-key'",[2947,5047,3098],{"class":3054,"style":3055},[2947,5049,3082],{"class":3066,"style":3067},[2947,5051,3068],{"class":3066,"style":3067},[2947,5053,5054],{"class":3077,"style":3078},"'mocked state'",[2947,5056,3095],{"class":3054,"style":3055},[2947,5058,3085,5059],{"class":2949,"style":2950},[2947,5060,3095],{"class":3054,"style":3055},[2947,5062,5063,5065],{"class":2949,"style":2950},[2947,5064,3095],{"class":3054,"style":3055},[2947,5066,3098],{"class":3054,"style":3055},[2947,5068],{"class":2949,"style":2950},[2947,5070,5071],{"class":2949,"style":2950},[2947,5072,5073],{"class":3515,"style":3516},"\u002F\u002F or specify the target to mock",[2947,5075,5076,5078,691,5080,2965,5082,5008,5084,2965,5086,2965,5088],{"class":2949,"style":2950},[2947,5077,2793],{"class":2953,"style":2954},[2947,5079,3056],{"class":3054,"style":3055},[2947,5081,3082],{"class":3066,"style":3067},[2947,5083,3056],{"class":3054,"style":3055},[2947,5085,3098],{"class":3054,"style":3055},[2947,5087,3633],{"class":2968,"style":2969},[2947,5089,3059],{"class":3054,"style":3055},[2947,5091,3085,5092,2965,5094,5096,5024,5098,2965,5100,2965,5102],{"class":2949,"style":2950},[2947,5093,4926],{"class":2968,"style":2969},[2947,5095,3056],{"class":3054,"style":3055},[2947,5097,5023],{"class":3066,"style":3067},[2947,5099,3098],{"class":3054,"style":3055},[2947,5101,3633],{"class":2968,"style":2969},[2947,5103,3059],{"class":3054,"style":3055},[2947,5105,3074,5106,2965,5108,2965,5110,5112,5114,5116,5118,5120,4941,5122,2965,5124,2965,5126],{"class":2949,"style":2950},[2947,5107,4926],{"class":2968,"style":2969},[2947,5109,3059],{"class":3054,"style":3055},[2947,5111,5023],{"class":3066,"style":3067},[2947,5113,5008],{"class":2953,"style":2954},[2947,5115,3056],{"class":3054,"style":3055},[2947,5117,5045],{"class":3077,"style":3078},[2947,5119,3098],{"class":3054,"style":3055},[2947,5121,3082],{"class":3066,"style":3067},[2947,5123,3068],{"class":3066,"style":3067},[2947,5125,5054],{"class":3077,"style":3078},[2947,5127,3095],{"class":3054,"style":3055},[2947,5129,3085,5130],{"class":2949,"style":2950},[2947,5131,3095],{"class":3054,"style":3055},[2947,5133,5134,5136],{"class":2949,"style":2950},[2947,5135,3095],{"class":3054,"style":3055},[2947,5137,3098],{"class":3054,"style":3055},[2947,5139],{"class":2949,"style":2950},[2947,5141,5142],{"class":2949,"style":2950},[2947,5143,4965],{"class":3515,"style":3516},[3363,5145,5146,5148,5149,2902,5152,5154,5155,2863],{},[2869,5147,2793],{}," can only be used once per mocked import per test file. It is actually a macro that gets transformed to ",[2869,5150,5151],{},"vi.mock",[2869,5153,5151],{}," is hoisted, as described ",[2860,5156,5158],{"href":5157},"https:\u002F\u002Fvitest.dev\u002Fapi\u002Fvi#vi-mock","in the Vitest docs",[2865,5160,5161,5162,5168,5169,5171,5172,5176],{},"If you need to mock a Nuxt import and provide different implementations between tests, you can do it by creating and exposing your mocks using ",[2860,5163,5165],{"href":5164},"https:\u002F\u002Fvitest.dev\u002Fapi\u002Fvi#vi-hoisted",[2869,5166,5167],{},"vi.hoisted",", and then use those mocks in ",[2869,5170,2793],{},". You then have access to the mocked imports, and can change the implementation between tests. Be careful to ",[2860,5173,5175],{"href":5174},"https:\u002F\u002Fvitest.dev\u002Fapi\u002Fmock#mockrestore","restore mocks"," before or after each test to undo mock state changes between runs.",[2938,5178,5179],{"language":3035,"meta":3036,"class":3037},[2869,5180,5181,3060,5194,3060,5206,3060,5208,3060,5235,3060,5241,3060,5261,3060,5273,3060,5281,3060,5285,3060,5291,3060,5293,3060,5311,3060,5316,3060,5322,3060,5324,3060,5329,3060,5347,3060,5360],{"class":3040},[2947,5182,5183,2965,5185,5187,5188,2965,5190,2965,5192],{"class":2949,"style":2950},[2947,5184,3116],{"class":2968,"style":2969},[2947,5186,3059],{"class":3054,"style":3055}," vi ",[2947,5189,3095],{"class":3054,"style":3055},[2947,5191,3124],{"class":2968,"style":2969},[2947,5193,3613],{"class":3077,"style":3078},[2947,5195,5196,2965,5198,4894,5200,2965,5202,2965,5204],{"class":2949,"style":2950},[2947,5197,3116],{"class":2968,"style":2969},[2947,5199,3059],{"class":3054,"style":3055},[2947,5201,3095],{"class":3054,"style":3055},[2947,5203,3124],{"class":2968,"style":2969},[2947,5205,4186],{"class":3077,"style":3078},[2947,5207],{"class":2949,"style":2950},[2947,5209,5210,2965,5212,5214,5215,2965,5217,5219,5220,5222,5225,5227,5229,2965,5231,2965,5233],{"class":2949,"style":2950},[2947,5211,4151],{"class":2968,"style":2969},[2947,5213,3059],{"class":3054,"style":3055}," useStateMock ",[2947,5216,3095],{"class":3054,"style":3055},[2947,5218,4233],{"class":3066,"style":3067}," vi",[2947,5221,2863],{"class":3066,"style":3067},[2947,5223,5224],{"class":2953,"style":2954},"hoisted",[2947,5226,3056],{"class":3054,"style":3055},[2947,5228,3056],{"class":3054,"style":3055},[2947,5230,3098],{"class":3054,"style":3055},[2947,5232,3633],{"class":2968,"style":2969},[2947,5234,3059],{"class":3054,"style":3055},[2947,5236,3085,5237,2965,5239],{"class":2949,"style":2950},[2947,5238,4926],{"class":2968,"style":2969},[2947,5240,3059],{"class":3054,"style":3055},[2947,5242,5243,5244,5219,5246,5248,5251,5253,5255,2965,5257,2965,5259],{"class":2949,"style":2950},"    useStateMock",[2947,5245,3068],{"class":3066,"style":3067},[2947,5247,2863],{"class":3066,"style":3067},[2947,5249,5250],{"class":2953,"style":2954},"fn",[2947,5252,3056],{"class":3054,"style":3055},[2947,5254,3056],{"class":3054,"style":3055},[2947,5256,3098],{"class":3054,"style":3055},[2947,5258,3633],{"class":2968,"style":2969},[2947,5260,3059],{"class":3054,"style":3055},[2947,5262,3173,5263,2965,5265,4941,5267,2965,5269,2965,5271],{"class":2949,"style":2950},[2947,5264,4926],{"class":2968,"style":2969},[2947,5266,3059],{"class":3054,"style":3055},[2947,5268,3068],{"class":3066,"style":3067},[2947,5270,4946],{"class":3077,"style":3078},[2947,5272,3095],{"class":3054,"style":3055},[2947,5274,3074,5275,5277,5279],{"class":2949,"style":2950},[2947,5276,3095],{"class":3054,"style":3055},[2947,5278,3098],{"class":3054,"style":3055},[2947,5280,3082],{"class":3066,"style":3067},[2947,5282,3085,5283],{"class":2949,"style":2950},[2947,5284,3095],{"class":3054,"style":3055},[2947,5286,5287,5289],{"class":2949,"style":2950},[2947,5288,3095],{"class":3054,"style":3055},[2947,5290,3098],{"class":3054,"style":3055},[2947,5292],{"class":2949,"style":2950},[2947,5294,5295,5297,5299,5301,2965,5303,5305,2965,5307,2965,5309],{"class":2949,"style":2950},[2947,5296,2793],{"class":2953,"style":2954},[2947,5298,3056],{"class":3054,"style":3055},[2947,5300,4911],{"class":3077,"style":3078},[2947,5302,3082],{"class":3066,"style":3067},[2947,5304,3056],{"class":3054,"style":3055},[2947,5306,3098],{"class":3054,"style":3055},[2947,5308,3633],{"class":2968,"style":2969},[2947,5310,3059],{"class":3054,"style":3055},[2947,5312,3085,5313,5315],{"class":2949,"style":2950},[2947,5314,4926],{"class":2968,"style":2969}," useStateMock",[2947,5317,5318,5320],{"class":2949,"style":2950},[2947,5319,3095],{"class":3054,"style":3055},[2947,5321,3098],{"class":3054,"style":3055},[2947,5323],{"class":2949,"style":2950},[2947,5325,5326],{"class":2949,"style":2950},[2947,5327,5328],{"class":3515,"style":3516},"\u002F\u002F Then, inside a test",[2947,5330,5331,5332,5334,5337,5339,5341,2965,5343,2965,5345],{"class":2949,"style":2950},"useStateMock",[2947,5333,2863],{"class":3066,"style":3067},[2947,5335,5336],{"class":2953,"style":2954},"mockImplementation",[2947,5338,3056],{"class":3054,"style":3055},[2947,5340,3056],{"class":3054,"style":3055},[2947,5342,3098],{"class":3054,"style":3055},[2947,5344,3633],{"class":2968,"style":2969},[2947,5346,3059],{"class":3054,"style":3055},[2947,5348,3085,5349,2965,5351,4941,5353,2965,5355,2965,5358],{"class":2949,"style":2950},[2947,5350,4926],{"class":2968,"style":2969},[2947,5352,3059],{"class":3054,"style":3055},[2947,5354,3068],{"class":3066,"style":3067},[2947,5356,5357],{"class":3077,"style":3078},"'something else'",[2947,5359,3095],{"class":3054,"style":3055},[2947,5361,5362,5364],{"class":2949,"style":2950},[2947,5363,3095],{"class":3054,"style":3055},[2947,5365,3098],{"class":3054,"style":3055},[2865,5367,5368],{},"If you need to mock behavior only inside a test, you can also use the following approach.",[2938,5370,5371],{"language":3035,"meta":3036,"class":3037},[2869,5372,5373,3060,5388,3060,5400,3060,5402,3060,5423,3060,5425,3060,5440,3060,5452,3060,5458,3060,5460,3060,5464,3060,5492,3060,5509,3060,5548],{"class":3040},[2947,5374,5375,2965,5377,5379,5380,5187,5382,2965,5384,2965,5386],{"class":2949,"style":2950},[2947,5376,3116],{"class":2968,"style":2969},[2947,5378,3059],{"class":3054,"style":3055}," beforeEach",[2947,5381,3082],{"class":3066,"style":3067},[2947,5383,3095],{"class":3054,"style":3055},[2947,5385,3124],{"class":2968,"style":2969},[2947,5387,3613],{"class":3077,"style":3078},[2947,5389,5390,2965,5392,4894,5394,2965,5396,2965,5398],{"class":2949,"style":2950},[2947,5391,3116],{"class":2968,"style":2969},[2947,5393,3059],{"class":3054,"style":3055},[2947,5395,3095],{"class":3054,"style":3055},[2947,5397,3124],{"class":2968,"style":2969},[2947,5399,4186],{"class":3077,"style":3078},[2947,5401],{"class":2949,"style":2950},[2947,5403,5404,5406,656,5408,5410,5411,5219,5413,5415,5417,5008,5419,5421],{"class":2949,"style":2950},[2947,5405,2793],{"class":2953,"style":2954},[2947,5407,3056],{"class":3054,"style":3055},[2947,5409,3082],{"class":3066,"style":3067}," original ",[2947,5412,3633],{"class":2968,"style":2969},[2947,5414,2863],{"class":3066,"style":3067},[2947,5416,5250],{"class":2953,"style":2954},[2947,5418,3056],{"class":3054,"style":3055},[2947,5420,3098],{"class":3054,"style":3055},[2947,5422,3098],{"class":3054,"style":3055},[2947,5424],{"class":2949,"style":2950},[2947,5426,5427,5430,5432,5434,2965,5436,2965,5438],{"class":2949,"style":2950},[2947,5428,5429],{"class":2953,"style":2954},"beforeEach",[2947,5431,3056],{"class":3054,"style":3055},[2947,5433,3056],{"class":3054,"style":3055},[2947,5435,3098],{"class":3054,"style":3055},[2947,5437,3633],{"class":2968,"style":2969},[2947,5439,3059],{"class":3054,"style":3055},[2947,5441,5442,5443,5445,5448,5450],{"class":2949,"style":2950},"  vi",[2947,5444,2863],{"class":3066,"style":3067},[2947,5446,5447],{"class":2953,"style":2954},"resetAllMocks",[2947,5449,3056],{"class":3054,"style":3055},[2947,5451,3098],{"class":3054,"style":3055},[2947,5453,5454,5456],{"class":2949,"style":2950},[2947,5455,3095],{"class":3054,"style":3055},[2947,5457,3098],{"class":3054,"style":3055},[2947,5459],{"class":2949,"style":2950},[2947,5461,5462],{"class":2949,"style":2950},[2947,5463,5328],{"class":3515,"style":3516},[2947,5465,5466,5468,5469,5219,5471,5473,5476,656,5478,5480,5482,5485,5487,5489],{"class":2949,"style":2950},[2947,5467,4151],{"class":2968,"style":2969}," useRouteOriginal ",[2947,5470,4233],{"class":3066,"style":3067},[2947,5472,2863],{"class":3066,"style":3067},[2947,5474,5475],{"class":2953,"style":2954},"mocked",[2947,5477,3056],{"class":3054,"style":3055},[2947,5479,3098],{"class":3054,"style":3055},[2947,5481,2863],{"class":3066,"style":3067},[2947,5483,5484],{"class":2953,"style":2954},"getMockImplementation",[2947,5486,3056],{"class":3054,"style":3055},[2947,5488,3098],{"class":3054,"style":3055},[2947,5490,5491],{"class":3066,"style":3067},"!",[2947,5493,5494,5495,5497,5499,656,5501,5503,5505,5507],{"class":2949,"style":2950},"vi",[2947,5496,2863],{"class":3066,"style":3067},[2947,5498,5475],{"class":2953,"style":2954},[2947,5500,3056],{"class":3054,"style":3055},[2947,5502,3098],{"class":3054,"style":3055},[2947,5504,2863],{"class":3066,"style":3067},[2947,5506,5336],{"class":2953,"style":2954},[2947,5508,3056],{"class":3054,"style":3055},[2947,5510,3085,5511,5513,5024,5515,2965,5517,2965,5519,5521,2965,5523,5525,5528,5530,5024,5532,5534,5536,5537,2965,5539,2965,5542,5544,5546],{"class":2949,"style":2950},[2947,5512,3056],{"class":3054,"style":3055},[2947,5514,5023],{"class":3066,"style":3067},[2947,5516,3098],{"class":3054,"style":3055},[2947,5518,3633],{"class":2968,"style":2969},[2947,5520,3056],{"class":3054,"style":3055},[2947,5522,3059],{"class":3054,"style":3055},[2947,5524,5023],{"class":3066,"style":3067},[2947,5526,5527],{"class":2953,"style":2954},"useRouteOriginal",[2947,5529,3056],{"class":3054,"style":3055},[2947,5531,5023],{"class":3066,"style":3067},[2947,5533,3098],{"class":3054,"style":3055},[2947,5535,3082],{"class":3066,"style":3067}," path",[2947,5538,3068],{"class":3066,"style":3067},[2947,5540,5541],{"class":3077,"style":3078},"'\u002Fmocked'",[2947,5543,3095],{"class":3054,"style":3055},[2947,5545,3098],{"class":3054,"style":3055},[2947,5547,3082],{"class":3066,"style":3067},[2947,5549,5550],{"class":2949,"style":2950},[2947,5551,3098],{"class":3054,"style":3055},[3445,5553,5554],{"id":2795},[2869,5555,2796],{},[2865,5557,5558,5560],{},[2869,5559,2796],{}," allows you to mock Nuxt's component.\nThe first argument can be the component name in PascalCase, or the relative path of the component.\nThe second argument is a factory function that returns the mocked component.",[2865,5562,5563,5564,5567],{},"For example, to mock ",[2869,5565,5566],{},"MyComponent",", you can:",[2938,5569,5570],{"language":3035,"meta":3036,"class":3037},[2869,5571,5572,3060,5585,3060,5587,3060,5600,3060,5607,3060,5617,3060,5623,3060,5635,3060,5640,3060,5646,3060,5652,3060,5654,3060,5659,3060,5678,3060,5683,3060,5694,3060,5704,3060,5708,3060,5714,3060,5720,3060,5726,3060,5728,3060,5733,3060,5760,3060,5762],{"class":3040},[2947,5573,5574,2965,5576,5578,5579,2965,5581,2965,5583],{"class":2949,"style":2950},[2947,5575,3116],{"class":2968,"style":2969},[2947,5577,3059],{"class":3054,"style":3055}," mockComponent ",[2947,5580,3095],{"class":3054,"style":3055},[2947,5582,3124],{"class":2968,"style":2969},[2947,5584,4186],{"class":3077,"style":3078},[2947,5586],{"class":2949,"style":2950},[2947,5588,5589,5591,5593,5596,2965,5598],{"class":2949,"style":2950},[2947,5590,2796],{"class":2953,"style":2954},[2947,5592,3056],{"class":3054,"style":3055},[2947,5594,5595],{"class":3077,"style":3078},"'MyComponent'",[2947,5597,3082],{"class":3066,"style":3067},[2947,5599,3059],{"class":3054,"style":3055},[2947,5601,5602,5603,2965,5605],{"class":2949,"style":2950},"  props",[2947,5604,3068],{"class":3066,"style":3067},[2947,5606,3059],{"class":3054,"style":3055},[2947,5608,5609,5610,2965,5612,5615],{"class":2949,"style":2950},"    value",[2947,5611,3068],{"class":3066,"style":3067},[2947,5613,5614],{"class":4122,"style":4123},"String",[2947,5616,3082],{"class":3066,"style":3067},[2947,5618,3085,5619,5621],{"class":2949,"style":2950},[2947,5620,3095],{"class":3054,"style":3055},[2947,5622,3082],{"class":3066,"style":3067},[2947,5624,3085,5625,2965,5628,5630,5631,2965,5633],{"class":2949,"style":2950},[2947,5626,5627],{"class":2953,"style":2954},"setup",[2947,5629,3056],{"class":3054,"style":3055},"props",[2947,5632,3098],{"class":3054,"style":3055},[2947,5634,3059],{"class":3054,"style":3055},[2947,5636,3074,5637],{"class":2949,"style":2950},[2947,5638,5639],{"class":3515,"style":3516},"\u002F\u002F ...",[2947,5641,3085,5642,5644],{"class":2949,"style":2950},[2947,5643,3095],{"class":3054,"style":3055},[2947,5645,3082],{"class":3066,"style":3067},[2947,5647,5648,5650],{"class":2949,"style":2950},[2947,5649,3095],{"class":3054,"style":3055},[2947,5651,3098],{"class":3054,"style":3055},[2947,5653],{"class":2949,"style":2950},[2947,5655,5656],{"class":2949,"style":2950},[2947,5657,5658],{"class":3515,"style":3516},"\u002F\u002F relative path or alias also works",[2947,5660,5661,5663,5665,5668,2965,5670,5672,2965,5674,2965,5676],{"class":2949,"style":2950},[2947,5662,2796],{"class":2953,"style":2954},[2947,5664,3056],{"class":3054,"style":3055},[2947,5666,5667],{"class":3077,"style":3078},"'~\u002Fcomponents\u002Fmy-component.vue'",[2947,5669,3082],{"class":3066,"style":3067},[2947,5671,3056],{"class":3054,"style":3055},[2947,5673,3098],{"class":3054,"style":3055},[2947,5675,3633],{"class":2968,"style":2969},[2947,5677,3059],{"class":3054,"style":3055},[2947,5679,3085,5680],{"class":2949,"style":2950},[2947,5681,5682],{"class":3515,"style":3516},"\u002F\u002F or a factory function",[2947,5684,3085,5685,2965,5687,5690,5692],{"class":2949,"style":2950},[2947,5686,4926],{"class":2968,"style":2969},[2947,5688,5689],{"class":2953,"style":2954},"defineComponent",[2947,5691,3056],{"class":3054,"style":3055},[2947,5693,3059],{"class":3054,"style":3055},[2947,5695,3074,5696,2965,5698,5630,5700,2965,5702],{"class":2949,"style":2950},[2947,5697,5627],{"class":2953,"style":2954},[2947,5699,3056],{"class":3054,"style":3055},[2947,5701,3098],{"class":3054,"style":3055},[2947,5703,3059],{"class":3054,"style":3055},[2947,5705,3173,5706],{"class":2949,"style":2950},[2947,5707,5639],{"class":3515,"style":3516},[2947,5709,3074,5710,5712],{"class":2949,"style":2950},[2947,5711,3095],{"class":3054,"style":3055},[2947,5713,3082],{"class":3066,"style":3067},[2947,5715,3085,5716,5718],{"class":2949,"style":2950},[2947,5717,3095],{"class":3054,"style":3055},[2947,5719,3098],{"class":3054,"style":3055},[2947,5721,5722,5724],{"class":2949,"style":2950},[2947,5723,3095],{"class":3054,"style":3055},[2947,5725,3098],{"class":3054,"style":3055},[2947,5727],{"class":2949,"style":2950},[2947,5729,5730],{"class":2949,"style":2950},[2947,5731,5732],{"class":3515,"style":3516},"\u002F\u002F or you can use SFC for redirecting to a mock component",[2947,5734,5735,5737,5739,5741,2965,5743,5745,2965,5747,2965,5749,5751,5753,5756,5758],{"class":2949,"style":2950},[2947,5736,2796],{"class":2953,"style":2954},[2947,5738,3056],{"class":3054,"style":3055},[2947,5740,5595],{"class":3077,"style":3078},[2947,5742,3082],{"class":3066,"style":3067},[2947,5744,3056],{"class":3054,"style":3055},[2947,5746,3098],{"class":3054,"style":3055},[2947,5748,3633],{"class":2968,"style":2969},[2947,5750,3116],{"class":2968,"style":2969},[2947,5752,3056],{"class":3054,"style":3055},[2947,5754,5755],{"class":3077,"style":3078},"'.\u002FMockComponent.vue'",[2947,5757,3098],{"class":3054,"style":3055},[2947,5759,3098],{"class":3054,"style":3055},[2947,5761],{"class":2949,"style":2950},[2947,5763,5764],{"class":2949,"style":2950},[2947,5765,4965],{"class":3515,"style":3516},[3399,5767,5768,5771],{},[3427,5769,5770],{},"Note",": You can't reference local variables in the factory function since they are hoisted. If you need to access Vue APIs or other variables, you need to import them in your factory function.",[2938,5773,5774],{"language":3035,"meta":3036,"class":3037},[2869,5775,5776,3060,5788,3060,5790,3060,5810,3060,5834,3060,5836,3060,5846,3060,5856,3060,5875,3060,5906,3060,5912,3060,5918],{"class":3040},[2947,5777,5778,2965,5780,5578,5782,2965,5784,2965,5786],{"class":2949,"style":2950},[2947,5779,3116],{"class":2968,"style":2969},[2947,5781,3059],{"class":3054,"style":3055},[2947,5783,3095],{"class":3054,"style":3055},[2947,5785,3124],{"class":2968,"style":2969},[2947,5787,4186],{"class":3077,"style":3078},[2947,5789],{"class":2949,"style":2950},[2947,5791,5792,5794,5796,5798,2965,5800,2965,5802,5804,2965,5806,2965,5808],{"class":2949,"style":2950},[2947,5793,2796],{"class":2953,"style":2954},[2947,5795,3056],{"class":3054,"style":3055},[2947,5797,5595],{"class":3077,"style":3078},[2947,5799,3082],{"class":3066,"style":3067},[2947,5801,4217],{"class":2968,"style":2969},[2947,5803,3056],{"class":3054,"style":3055},[2947,5805,3098],{"class":3054,"style":3055},[2947,5807,3633],{"class":2968,"style":2969},[2947,5809,3059],{"class":3054,"style":3055},[2947,5811,3085,5812,2965,5814,5816,5817,5819,5820,2965,5822,2965,5824,2965,5826,5828,5830,5832],{"class":2949,"style":2950},[2947,5813,4151],{"class":2968,"style":2969},[2947,5815,3059],{"class":3054,"style":3055}," ref",[2947,5818,3082],{"class":3066,"style":3067}," h ",[2947,5821,3095],{"class":3054,"style":3055},[2947,5823,4233],{"class":3066,"style":3067},[2947,5825,3286],{"class":2968,"style":2969},[2947,5827,3116],{"class":2968,"style":2969},[2947,5829,3056],{"class":3054,"style":3055},[2947,5831,4131],{"class":3077,"style":3078},[2947,5833,3098],{"class":3054,"style":3055},[2947,5835],{"class":2949,"style":2950},[2947,5837,3085,5838,2965,5840,5842,5844],{"class":2949,"style":2950},[2947,5839,4926],{"class":2968,"style":2969},[2947,5841,5689],{"class":2953,"style":2954},[2947,5843,3056],{"class":3054,"style":3055},[2947,5845,3059],{"class":3054,"style":3055},[2947,5847,3074,5848,2965,5850,5630,5852,2965,5854],{"class":2949,"style":2950},[2947,5849,5627],{"class":2953,"style":2954},[2947,5851,3056],{"class":3054,"style":3055},[2947,5853,3098],{"class":3054,"style":3055},[2947,5855,3059],{"class":3054,"style":3055},[2947,5857,3173,5858,5860,5861,2965,5863,5866,5868,5873],{"class":2949,"style":2950},[2947,5859,4151],{"class":2968,"style":2969}," counter ",[2947,5862,4233],{"class":3066,"style":3067},[2947,5864,5865],{"class":2953,"style":2954},"ref",[2947,5867,3056],{"class":3054,"style":3055},[2947,5869,5872],{"class":5870,"style":5871},"shj-syn-num shj-num","color:#F76D47;--shiki-dark:#F78C6C","0",[2947,5874,3098],{"class":3054,"style":3055},[2947,5876,3173,5877,2965,5879,5881,2965,5883,2965,5885,5888,5890,5893,2965,5895,5898,5900,5901,5903,5904],{"class":2949,"style":2950},[2947,5878,4926],{"class":2968,"style":2969},[2947,5880,3056],{"class":3054,"style":3055},[2947,5882,3098],{"class":3054,"style":3055},[2947,5884,3633],{"class":2968,"style":2969},[2947,5886,5887],{"class":2953,"style":2954},"h",[2947,5889,3056],{"class":3054,"style":3055},[2947,5891,5892],{"class":3077,"style":3078},"'div'",[2947,5894,3082],{"class":3066,"style":3067},[2947,5896,5897],{"class":5870,"style":5871},"null",[2947,5899,3082],{"class":3066,"style":3067}," counter",[2947,5902,2863],{"class":3066,"style":3067},"value",[2947,5905,3098],{"class":3054,"style":3055},[2947,5907,3074,5908,5910],{"class":2949,"style":2950},[2947,5909,3095],{"class":3054,"style":3055},[2947,5911,3082],{"class":3066,"style":3067},[2947,5913,3085,5914,5916],{"class":2949,"style":2950},[2947,5915,3095],{"class":3054,"style":3055},[2947,5917,3098],{"class":3054,"style":3055},[2947,5919,5920,5922],{"class":2949,"style":2950},[2947,5921,3095],{"class":3054,"style":3055},[2947,5923,3098],{"class":3054,"style":3055},[3445,5925,5926],{"id":2798},[2869,5927,2799],{},[2865,5929,5930,5932],{},[2869,5931,2799],{}," allows you create Nitro endpoint that returns mocked data. It can come in handy if you want to test a component that makes requests to API to display some data.",[2865,5934,5935,5936,5939],{},"The first argument is the endpoint name (e.g. ",[2869,5937,5938],{},"\u002Ftest\u002F",").\nThe second argument is a factory function that returns the mocked data.",[2865,5941,5563,5942,5944],{},[2869,5943,5938],{}," endpoint, you can do:",[2938,5946,5947],{"language":3035,"meta":3036,"class":3037},[2869,5948,5949,3060,5962,3060,5964,3060,5985,3060,5994],{"class":3040},[2947,5950,5951,2965,5953,5955,5956,2965,5958,2965,5960],{"class":2949,"style":2950},[2947,5952,3116],{"class":2968,"style":2969},[2947,5954,3059],{"class":3054,"style":3055}," registerEndpoint ",[2947,5957,3095],{"class":3054,"style":3055},[2947,5959,3124],{"class":2968,"style":2969},[2947,5961,4186],{"class":3077,"style":3078},[2947,5963],{"class":2949,"style":2950},[2947,5965,5966,5968,5970,5973,2965,5975,5977,2965,5979,2965,5981,5983],{"class":2949,"style":2950},[2947,5967,2799],{"class":2953,"style":2954},[2947,5969,3056],{"class":3054,"style":3055},[2947,5971,5972],{"class":3077,"style":3078},"'\u002Ftest\u002F'",[2947,5974,3082],{"class":3066,"style":3067},[2947,5976,3056],{"class":3054,"style":3055},[2947,5978,3098],{"class":3054,"style":3055},[2947,5980,3633],{"class":2968,"style":2969},[2947,5982,3056],{"class":3054,"style":3055},[2947,5984,3059],{"class":3054,"style":3055},[2947,5986,3159,5987,2965,5989,5992],{"class":2949,"style":2950},[2947,5988,3068],{"class":3066,"style":3067},[2947,5990,5991],{"class":3077,"style":3078},"'test-field'",[2947,5993,3082],{"class":3066,"style":3067},[2947,5995,5996,5998,6000],{"class":2949,"style":2950},[2947,5997,3095],{"class":3054,"style":3055},[2947,5999,3098],{"class":3054,"style":3055},[2947,6001,3098],{"class":3054,"style":3055},[2865,6003,6004,6005,6008],{},"By default, your request will be made using the ",[2869,6006,6007],{},"GET"," method. You may use another method by setting an object as the second argument instead of a function.",[2938,6010,6011],{"language":3035,"meta":3036,"class":3037},[2869,6012,6013,3060,6025,3060,6027,3060,6039,3060,6049,3060,6075],{"class":3040},[2947,6014,6015,2965,6017,5955,6019,2965,6021,2965,6023],{"class":2949,"style":2950},[2947,6016,3116],{"class":2968,"style":2969},[2947,6018,3059],{"class":3054,"style":3055},[2947,6020,3095],{"class":3054,"style":3055},[2947,6022,3124],{"class":2968,"style":2969},[2947,6024,4186],{"class":3077,"style":3078},[2947,6026],{"class":2949,"style":2950},[2947,6028,6029,6031,6033,6035,2965,6037],{"class":2949,"style":2950},[2947,6030,2799],{"class":2953,"style":2954},[2947,6032,3056],{"class":3054,"style":3055},[2947,6034,5972],{"class":3077,"style":3078},[2947,6036,3082],{"class":3066,"style":3067},[2947,6038,3059],{"class":3054,"style":3055},[2947,6040,6041,6042,2965,6044,6047],{"class":2949,"style":2950},"  method",[2947,6043,3068],{"class":3066,"style":3067},[2947,6045,6046],{"class":3077,"style":3078},"'POST'",[2947,6048,3082],{"class":3066,"style":3067},[2947,6050,6051,6052,2965,6054,6056,2965,6058,2965,6060,6062,6064,6065,2965,6067,2965,6069,6071,6073],{"class":2949,"style":2950},"  handler",[2947,6053,3068],{"class":3066,"style":3067},[2947,6055,3056],{"class":3054,"style":3055},[2947,6057,3098],{"class":3054,"style":3055},[2947,6059,3633],{"class":2968,"style":2969},[2947,6061,3056],{"class":3054,"style":3055},[2947,6063,3059],{"class":3054,"style":3055}," test",[2947,6066,3068],{"class":3066,"style":3067},[2947,6068,5991],{"class":3077,"style":3078},[2947,6070,3095],{"class":3054,"style":3055},[2947,6072,3098],{"class":3054,"style":3055},[2947,6074,3082],{"class":3066,"style":3067},[2947,6076,6077,6079],{"class":2949,"style":2950},[2947,6078,3095],{"class":3054,"style":3055},[2947,6080,3098],{"class":3054,"style":3055},[2865,6082,6083],{},"This object accepts the following properties:",[2893,6085,6086,6092,6098],{},[2896,6087,6088,6091],{},[2869,6089,6090],{},"handler",": the event handler function",[2896,6093,6094,6097],{},[2869,6095,6096],{},"method",": (optional) HTTP method to match (e.g., 'GET', 'POST')",[2896,6099,6100,6103],{},[2869,6101,6102],{},"once",": (optional) if true, the handler will only be used for the first matching request and then automatically removed",[3399,6105,6106,6108,6109,6112,6113,6117,6118,6121],{},[3427,6107,5770],{},": If your requests in a component go to an external API, you can use ",[2869,6110,6111],{},"baseURL"," and then make it empty using ",[2860,6114,6116],{"href":6115},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Fconfiguration#environment-overrides","Nuxt Environment Override Config"," (",[2869,6119,6120],{},"$test",") so all your requests will go to Nitro server.",[3445,6123,2802],{"id":2801},[2865,6125,6126,2902,6129,6132],{},[2869,6127,6128],{},"@nuxt\u002Ftest-utils\u002Fruntime",[2869,6130,6131],{},"@nuxt\u002Ftest-utils\u002Fe2e"," need to run in different testing environments and so can't be used in the same file.",[2865,6134,6135,6136,6138,6139,6142,6143,6146],{},"If you would like to use both the end-to-end and unit testing functionality of ",[2869,6137,2871],{},", you can split your tests into separate files. You then either specify a test environment per-file with the special ",[2869,6140,6141],{},"\u002F\u002F @vitest-environment nuxt"," comment, or name your runtime unit test files with the ",[2869,6144,6145],{},".nuxt.spec.ts"," extension.",[2865,6148,6149],{},[2869,6150,6151],{},"app.nuxt.spec.ts",[2938,6153,6154],{"language":3035,"meta":3036,"class":3037},[2869,6155,6156,3060,6168,3060,6170,3060,6188,3060,6200,3060,6212,3060,6216],{"class":3040},[2947,6157,6158,2965,6160,4894,6162,2965,6164,2965,6166],{"class":2949,"style":2950},[2947,6159,3116],{"class":2968,"style":2969},[2947,6161,3059],{"class":3054,"style":3055},[2947,6163,3095],{"class":3054,"style":3055},[2947,6165,3124],{"class":2968,"style":2969},[2947,6167,4186],{"class":3077,"style":3078},[2947,6169],{"class":2949,"style":2950},[2947,6171,6172,6174,6176,6178,2965,6180,6182,2965,6184,2965,6186],{"class":2949,"style":2950},[2947,6173,2793],{"class":2953,"style":2954},[2947,6175,3056],{"class":3054,"style":3055},[2947,6177,4911],{"class":3077,"style":3078},[2947,6179,3082],{"class":3066,"style":3067},[2947,6181,3056],{"class":3054,"style":3055},[2947,6183,3098],{"class":3054,"style":3055},[2947,6185,3633],{"class":2968,"style":2969},[2947,6187,3059],{"class":3054,"style":3055},[2947,6189,3085,6190,2965,6192,6194,2965,6196,2965,6198],{"class":2949,"style":2950},[2947,6191,4926],{"class":2968,"style":2969},[2947,6193,3056],{"class":3054,"style":3055},[2947,6195,3098],{"class":3054,"style":3055},[2947,6197,3633],{"class":2968,"style":2969},[2947,6199,3059],{"class":3054,"style":3055},[2947,6201,3074,6202,2965,6204,4941,6206,2965,6208,2965,6210],{"class":2949,"style":2950},[2947,6203,4926],{"class":2968,"style":2969},[2947,6205,3059],{"class":3054,"style":3055},[2947,6207,3068],{"class":3066,"style":3067},[2947,6209,4946],{"class":3077,"style":3078},[2947,6211,3095],{"class":3054,"style":3055},[2947,6213,3085,6214],{"class":2949,"style":2950},[2947,6215,3095],{"class":3054,"style":3055},[2947,6217,6218,6220],{"class":2949,"style":2950},[2947,6219,3095],{"class":3054,"style":3055},[2947,6221,3098],{"class":3054,"style":3055},[2865,6223,6224],{},[2869,6225,6226],{},"app.e2e.spec.ts",[2938,6228,6229],{"language":3035,"meta":3036,"class":3037},[2869,6230,6231,3060,6248,3060,6250,3060,6260,3060,6270,3060,6276,3060,6278],{"class":3040},[2947,6232,6233,2965,6235,6237,6238,6240,6241,2965,6243,2965,6245],{"class":2949,"style":2950},[2947,6234,3116],{"class":2968,"style":2969},[2947,6236,3059],{"class":3054,"style":3055}," $fetch",[2947,6239,3082],{"class":3066,"style":3067}," setup ",[2947,6242,3095],{"class":3054,"style":3055},[2947,6244,3124],{"class":2968,"style":2969},[2947,6246,6247],{"class":3077,"style":3078},"'@nuxt\u002Ftest-utils\u002Fe2e'",[2947,6249],{"class":2949,"style":2950},[2947,6251,6252,2965,6254,6256,6258],{"class":2949,"style":2950},[2947,6253,3286],{"class":2968,"style":2969},[2947,6255,5627],{"class":2953,"style":2954},[2947,6257,3056],{"class":3054,"style":3055},[2947,6259,3059],{"class":3054,"style":3055},[2947,6261,6262,6263,2965,6265,6268],{"class":2949,"style":2950},"  setupTimeout",[2947,6264,3068],{"class":3066,"style":3067},[2947,6266,6267],{"class":5870,"style":5871},"10000",[2947,6269,3082],{"class":3066,"style":3067},[2947,6271,6272,6274],{"class":2949,"style":2950},[2947,6273,3095],{"class":3054,"style":3055},[2947,6275,3098],{"class":3054,"style":3055},[2947,6277],{"class":2949,"style":2950},[2947,6279,6280],{"class":2949,"style":2950},[2947,6281,5639],{"class":3515,"style":3516},[3015,6283,3416,6284],{"id":2804},[2869,6285,4076],{},[2865,6287,6288,6289,6291],{},"If you prefer to use ",[2869,6290,4076],{}," on its own for unit testing in Nuxt, and you are only testing components which do not rely on Nuxt composables, auto-imports or context, you can follow these steps to set it up.",[3018,6293,6294,6344,6435,6490,6540,6694],{},[2896,6295,6296,6299],{},[2865,6297,6298],{},"Install the needed dependencies",[2934,6300,6301,6310,6321,6334],{"sync":2936},[2938,6302,6303],{"language":2940,"filename":2941,"class":2942},[2869,6304,6305],{"class":2945},[2947,6306,6307,6309],{"class":2949,"style":2950},[2947,6308,2941],{"class":2953,"style":2954}," i --save-dev vitest @vue\u002Ftest-utils happy-dom @vitejs\u002Fplugin-vue",[2938,6311,6312],{"language":2940,"filename":2958,"class":2942},[2869,6313,6314],{"class":2945},[2947,6315,6316,2965,6318,6320],{"class":2949,"style":2950},[2947,6317,2958],{"class":2953,"style":2954},[2947,6319,860],{"class":2968,"style":2969}," --dev vitest @vue\u002Ftest-utils happy-dom @vitejs\u002Fplugin-vue",[2938,6322,6323],{"language":2940,"filename":2973,"class":2942},[2869,6324,6325],{"class":2945},[2947,6326,6327,2965,6329,6331,6333],{"class":2949,"style":2950},[2947,6328,2973],{"class":2953,"style":2954},[2947,6330,860],{"class":2968,"style":2969},[2947,6332,2984],{"class":2968,"style":2969}," vitest @vue\u002Ftest-utils happy-dom @vitejs\u002Fplugin-vue",[2938,6335,6336],{"language":2940,"filename":2988,"class":2942},[2869,6337,6338],{"class":2945},[2947,6339,6340,2965,6342,6320],{"class":2949,"style":2950},[2947,6341,2988],{"class":2953,"style":2954},[2947,6343,860],{"class":2968,"style":2969},[2896,6345,6346,6350],{},[2865,6347,3103,6348,3107],{},[2869,6349,3106],{},[2938,6351,6352],{"language":3035,"class":3037},[2869,6353,6354,3060,6366,3060,6376,3060,6378,3060,6390,3060,6408,3060,6414,3060,6423,3060,6429],{"class":3040},[2947,6355,6356,2965,6358,3119,6360,2965,6362,2965,6364],{"class":2949,"style":2950},[2947,6357,3116],{"class":2968,"style":2969},[2947,6359,3059],{"class":3054,"style":3055},[2947,6361,3095],{"class":3054,"style":3055},[2947,6363,3124],{"class":2968,"style":2969},[2947,6365,3127],{"class":3077,"style":3078},[2947,6367,6368,6370,6371,2965,6373],{"class":2949,"style":2950},[2947,6369,3116],{"class":2968,"style":2969}," vue ",[2947,6372,3124],{"class":2968,"style":2969},[2947,6374,6375],{"class":3077,"style":3078},"'@vitejs\u002Fplugin-vue'",[2947,6377],{"class":2949,"style":2950},[2947,6379,6380,2965,6382,2965,6384,6386,6388],{"class":2949,"style":2950},[2947,6381,3045],{"class":2968,"style":2969},[2947,6383,3048],{"class":2968,"style":2969},[2947,6385,3152],{"class":2953,"style":2954},[2947,6387,3056],{"class":3054,"style":3055},[2947,6389,3059],{"class":3054,"style":3055},[2947,6391,6392,6393,2965,6395,6397,6400,6402,6404,6406],{"class":2949,"style":2950},"  plugins",[2947,6394,3068],{"class":3066,"style":3067},[2947,6396,3071],{"class":3054,"style":3055},[2947,6398,6399],{"class":2953,"style":2954},"vue",[2947,6401,3056],{"class":3054,"style":3055},[2947,6403,3098],{"class":3054,"style":3055},[2947,6405,3088],{"class":3054,"style":3055},[2947,6407,3082],{"class":3066,"style":3067},[2947,6409,3159,6410,2965,6412],{"class":2949,"style":2950},[2947,6411,3068],{"class":3066,"style":3067},[2947,6413,3059],{"class":3054,"style":3055},[2947,6415,3504,6416,2965,6418,6421],{"class":2949,"style":2950},[2947,6417,3068],{"class":3066,"style":3067},[2947,6419,6420],{"class":3077,"style":3078},"'happy-dom'",[2947,6422,3082],{"class":3066,"style":3067},[2947,6424,3085,6425,6427],{"class":2949,"style":2950},[2947,6426,3095],{"class":3054,"style":3055},[2947,6428,3082],{"class":3066,"style":3067},[2947,6430,6431,6433],{"class":2949,"style":2950},[2947,6432,3095],{"class":3054,"style":3055},[2947,6434,3098],{"class":3054,"style":3055},[2896,6436,6437,6442],{},[2865,6438,6439,6440],{},"Add a new command for test in your ",[2869,6441,239],{},[2938,6443,6446],{"language":6444,"class":6445},"json","shj shiki shj-lang-json",[2869,6447,6449,3060,6459,3060,6467,3060,6475,3060,6478,3060,6486],{"class":6448},"language-json",[2947,6450,6451,6456,6457],{"class":2949,"style":2950},[2947,6452,6455],{"class":6453,"style":6454},"shj-syn-var shj-var","color:#E53935;--shiki-dark:#f07178","\"scripts\"",": ",[2947,6458,3059],{"class":3054,"style":3055},[2947,6460,3085,6461,6456,6464,3082],{"class":2949,"style":2950},[2947,6462,6463],{"class":6453,"style":6454},"\"build\"",[2947,6465,6466],{"class":3077,"style":3078},"\"nuxt build\"",[2947,6468,3085,6469,6456,6472,3082],{"class":2949,"style":2950},[2947,6470,6471],{"class":6453,"style":6454},"\"dev\"",[2947,6473,6474],{"class":3077,"style":3078},"\"nuxt dev\"",[2947,6476,6477],{"class":2949,"style":2950},"  ...",[2947,6479,3085,6480,6456,6483],{"class":2949,"style":2950},[2947,6481,6482],{"class":6453,"style":6454},"\"test\"",[2947,6484,6485],{"class":3077,"style":3078},"\"vitest\"",[2947,6487,6488,3082],{"class":2949,"style":2950},[2947,6489,3095],{"class":3054,"style":3055},[2896,6491,6492,6501],{},[2865,6493,6494,6495,4230,6498,3107],{},"Create a simple ",[2869,6496,6497],{},"\u003CHelloWorld>",[2869,6499,6500],{},"app\u002Fcomponents\u002FHelloWorld.vue",[2938,6502,6504],{"language":6399,"class":6503},"shj shiki shj-lang-vue",[2869,6505,6507,3060,6516,3060,6532],{"class":6506},"language-vue",[2947,6508,6509,6511,6514],{"class":2949,"style":2950},[2947,6510,4992],{"class":3066,"style":3067},[2947,6512,6513],{"class":6453,"style":6454},"template",[2947,6515,4999],{"class":3066,"style":3067},[2947,6517,3085,6518,6520,6522,6524,6525,6528,6530],{"class":2949,"style":2950},[2947,6519,4992],{"class":3066,"style":3067},[2947,6521,2865],{"class":6453,"style":6454},[2947,6523,4999],{"class":3066,"style":3067},"Hello world",[2947,6526,6527],{"class":3066,"style":3067},"\u003C\u002F",[2947,6529,2865],{"class":6453,"style":6454},[2947,6531,4999],{"class":3066,"style":3067},[2947,6533,6534,6536,6538],{"class":2949,"style":2950},[2947,6535,6527],{"class":3066,"style":3067},[2947,6537,6513],{"class":6453,"style":6454},[2947,6539,4999],{"class":3066,"style":3067},[2896,6541,6542,6548],{},[2865,6543,6544,6545],{},"Create a simple unit test for this newly created component ",[2869,6546,6547],{},"~\u002Fcomponents\u002FHelloWorld.spec.ts",[2938,6549,6550],{"language":3035,"meta":3036,"class":3037},[2869,6551,6552,3060,6569,3060,6583,3060,6585,3060,6597,3060,6599,3060,6619,3060,6638,3060,6653,3060,6682,3060,6688],{"class":3040},[2947,6553,6554,2965,6556,6558,6559,4101,6561,4104,6563,2965,6565,2965,6567],{"class":2949,"style":2950},[2947,6555,3116],{"class":2968,"style":2969},[2947,6557,3059],{"class":3054,"style":3055}," describe",[2947,6560,3082],{"class":3066,"style":3067},[2947,6562,3082],{"class":3066,"style":3067},[2947,6564,3095],{"class":3054,"style":3055},[2947,6566,3124],{"class":2968,"style":2969},[2947,6568,3613],{"class":3077,"style":3078},[2947,6570,6571,2965,6573,6575,6576,2965,6578,2965,6580],{"class":2949,"style":2950},[2947,6572,3116],{"class":2968,"style":2969},[2947,6574,3059],{"class":3054,"style":3055}," mount ",[2947,6577,3095],{"class":3054,"style":3055},[2947,6579,3124],{"class":2968,"style":2969},[2947,6581,6582],{"class":3077,"style":3078},"'@vue\u002Ftest-utils'",[2947,6584],{"class":2949,"style":2950},[2947,6586,6587,2965,6589,2965,6592,2965,6594],{"class":2949,"style":2950},[2947,6588,3116],{"class":2968,"style":2969},[2947,6590,6591],{"class":4122,"style":4123},"HelloWorld",[2947,6593,3124],{"class":2968,"style":2969},[2947,6595,6596],{"class":3077,"style":3078},"'.\u002FHelloWorld.vue'",[2947,6598],{"class":2949,"style":2950},[2947,6600,6601,6604,6606,6609,2965,6611,6613,2965,6615,2965,6617],{"class":2949,"style":2950},[2947,6602,6603],{"class":2953,"style":2954},"describe",[2947,6605,3056],{"class":3054,"style":3055},[2947,6607,6608],{"class":3077,"style":3078},"'HelloWorld'",[2947,6610,3082],{"class":3066,"style":3067},[2947,6612,3056],{"class":3054,"style":3055},[2947,6614,3098],{"class":3054,"style":3055},[2947,6616,3633],{"class":2968,"style":2969},[2947,6618,3059],{"class":3054,"style":3055},[2947,6620,3085,6621,6623,6625,6628,2965,6630,6632,2965,6634,2965,6636],{"class":2949,"style":2950},[2947,6622,4207],{"class":2953,"style":2954},[2947,6624,3056],{"class":3054,"style":3055},[2947,6626,6627],{"class":3077,"style":3078},"'component renders Hello world properly'",[2947,6629,3082],{"class":3066,"style":3067},[2947,6631,3056],{"class":3054,"style":3055},[2947,6633,3098],{"class":3054,"style":3055},[2947,6635,3633],{"class":2968,"style":2969},[2947,6637,3059],{"class":3054,"style":3055},[2947,6639,3074,6640,6642,6643,2965,6645,6647,6649,6651],{"class":2949,"style":2950},[2947,6641,4151],{"class":2968,"style":2969}," wrapper ",[2947,6644,4233],{"class":3066,"style":3067},[2947,6646,4072],{"class":2953,"style":2954},[2947,6648,3056],{"class":3054,"style":3055},[2947,6650,6591],{"class":4122,"style":4123},[2947,6652,3098],{"class":3054,"style":3055},[2947,6654,3074,6655,6657,6659,6660,6662,6664,6666,6668,6670,6672,6675,6677,6680],{"class":2949,"style":2950},[2947,6656,4248],{"class":2953,"style":2954},[2947,6658,3056],{"class":3054,"style":3055},"wrapper",[2947,6661,2863],{"class":3066,"style":3067},[2947,6663,4256],{"class":2953,"style":2954},[2947,6665,3056],{"class":3054,"style":3055},[2947,6667,3098],{"class":3054,"style":3055},[2947,6669,3098],{"class":3054,"style":3055},[2947,6671,2863],{"class":3066,"style":3067},[2947,6673,6674],{"class":2953,"style":2954},"toContain",[2947,6676,3056],{"class":3054,"style":3055},[2947,6678,6679],{"class":3077,"style":3078},"'Hello world'",[2947,6681,3098],{"class":3054,"style":3055},[2947,6683,3085,6684,6686],{"class":2949,"style":2950},[2947,6685,3095],{"class":3054,"style":3055},[2947,6687,3098],{"class":3054,"style":3055},[2947,6689,6690,6692],{"class":2949,"style":2950},[2947,6691,3095],{"class":3054,"style":3055},[2947,6693,3098],{"class":3054,"style":3055},[2896,6695,6696,6699],{},[2865,6697,6698],{},"Run vitest command",[2934,6700,6701,6710,6718,6726],{"sync":2936},[2938,6702,6703],{"language":2940,"filename":2941,"class":2942},[2869,6704,6705],{"class":2945},[2947,6706,6707,6709],{"class":2949,"style":2950},[2947,6708,2941],{"class":2953,"style":2954}," run test",[2938,6711,6712],{"language":2940,"filename":2958,"class":2942},[2869,6713,6714],{"class":2945},[2947,6715,6716,6064],{"class":2949,"style":2950},[2947,6717,2958],{"class":2953,"style":2954},[2938,6719,6720],{"language":2940,"filename":2973,"class":2942},[2869,6721,6722],{"class":2945},[2947,6723,6724,6709],{"class":2949,"style":2950},[2947,6725,2973],{"class":2953,"style":2954},[2938,6727,6728],{"language":2940,"filename":2988,"class":2942},[2869,6729,6730],{"class":2945},[2947,6731,6732,6709],{"class":2949,"style":2950},[2947,6733,2988],{"class":2953,"style":2954},[2865,6735,6736,6737,6739],{},"Congratulations, you're all set to start unit testing with ",[2869,6738,4076],{}," in Nuxt! Happy testing!",[2884,6741,2808],{"id":2807},[2865,6743,6744,6745,2912,6749,2912,6753,2902,6757,6761],{},"For end-to-end testing, we support ",[2860,6746,6748],{"href":6747},"https:\u002F\u002Fgithub.com\u002Fvitest-dev\u002Fvitest","Vitest",[2860,6750,6752],{"href":6751},"https:\u002F\u002Fjestjs.io","Jest",[2860,6754,6756],{"href":6755},"https:\u002F\u002Fcucumber.io\u002F","Cucumber",[2860,6758,6760],{"href":6759},"https:\u002F\u002Fplaywright.dev\u002F","Playwright"," as test runners.",[3015,6763,2752],{"id":2811},[2865,6765,6766,6767,6769,6770,6772],{},"In each ",[2869,6768,6603],{}," block where you are taking advantage of the ",[2869,6771,6131],{}," helper methods, you will need to set up the test context before beginning.",[2938,6774,6776],{"language":3035,"meta":6775,"class":3037},"twoslash [test\u002Fmy-test.spec.ts]",[2869,6777,6778,3060,6792,3060,6806,3060,6808,3060,6829,3060,6839,3060,6844,3060,6850,3060,6852,3060,6870,3060,6874,3060,6880],{"class":3040},[2947,6779,6780,2965,6782,6558,6784,3606,6786,2965,6788,2965,6790],{"class":2949,"style":2950},[2947,6781,3116],{"class":2968,"style":2969},[2947,6783,3059],{"class":3054,"style":3055},[2947,6785,3082],{"class":3066,"style":3067},[2947,6787,3095],{"class":3054,"style":3055},[2947,6789,3124],{"class":2968,"style":2969},[2947,6791,3613],{"class":3077,"style":3078},[2947,6793,6794,2965,6796,6237,6798,6240,6800,2965,6802,2965,6804],{"class":2949,"style":2950},[2947,6795,3116],{"class":2968,"style":2969},[2947,6797,3059],{"class":3054,"style":3055},[2947,6799,3082],{"class":3066,"style":3067},[2947,6801,3095],{"class":3054,"style":3055},[2947,6803,3124],{"class":2968,"style":2969},[2947,6805,6247],{"class":3077,"style":3078},[2947,6807],{"class":2949,"style":2950},[2947,6809,6810,6812,6814,6817,2965,6819,2965,6821,6823,2965,6825,2965,6827],{"class":2949,"style":2950},[2947,6811,6603],{"class":2953,"style":2954},[2947,6813,3056],{"class":3054,"style":3055},[2947,6815,6816],{"class":3077,"style":3078},"'My test'",[2947,6818,3082],{"class":3066,"style":3067},[2947,6820,4217],{"class":2968,"style":2969},[2947,6822,3056],{"class":3054,"style":3055},[2947,6824,3098],{"class":3054,"style":3055},[2947,6826,3633],{"class":2968,"style":2969},[2947,6828,3059],{"class":3054,"style":3055},[2947,6830,3085,6831,2965,6833,6835,6837],{"class":2949,"style":2950},[2947,6832,3286],{"class":2968,"style":2969},[2947,6834,5627],{"class":2953,"style":2954},[2947,6836,3056],{"class":3054,"style":3055},[2947,6838,3059],{"class":3054,"style":3055},[2947,6840,3074,6841],{"class":2949,"style":2950},[2947,6842,6843],{"class":3515,"style":3516},"\u002F\u002F test context options",[2947,6845,3085,6846,6848],{"class":2949,"style":2950},[2947,6847,3095],{"class":3054,"style":3055},[2947,6849,3098],{"class":3054,"style":3055},[2947,6851],{"class":2949,"style":2950},[2947,6853,3085,6854,6856,6858,6860,2965,6862,6864,2965,6866,2965,6868],{"class":2949,"style":2950},[2947,6855,930],{"class":2953,"style":2954},[2947,6857,3056],{"class":3054,"style":3055},[2947,6859,3624],{"class":3077,"style":3078},[2947,6861,3082],{"class":3066,"style":3067},[2947,6863,3056],{"class":3054,"style":3055},[2947,6865,3098],{"class":3054,"style":3055},[2947,6867,3633],{"class":2968,"style":2969},[2947,6869,3059],{"class":3054,"style":3055},[2947,6871,3074,6872],{"class":2949,"style":2950},[2947,6873,5639],{"class":3515,"style":3516},[2947,6875,3085,6876,6878],{"class":2949,"style":2950},[2947,6877,3095],{"class":3054,"style":3055},[2947,6879,3098],{"class":3054,"style":3055},[2947,6881,6882,6884],{"class":2949,"style":2950},[2947,6883,3095],{"class":3054,"style":3055},[2947,6885,3098],{"class":3054,"style":3055},[2865,6887,6888,6889,6891,6892,2912,6895,2912,6897,2902,6900,6903],{},"Behind the scenes, ",[2869,6890,5627],{}," performs a number of tasks in ",[2869,6893,6894],{},"beforeAll",[2869,6896,5429],{},[2869,6898,6899],{},"afterEach",[2869,6901,6902],{},"afterAll"," to set up the Nuxt test environment correctly.",[2865,6905,6906,6907,6909],{},"Please use the options below for the ",[2869,6908,5627],{}," method.",[3445,6911,2815],{"id":2814},[2893,6913,6914,6936],{},[2896,6915,6916,6922],{},[2865,6917,6918,6921],{},[2869,6919,6920],{},"rootDir",": Path to a directory with a Nuxt app to be put under test.",[2893,6923,6924,6930],{},[2896,6925,6926,6927],{},"Type: ",[2869,6928,6929],{},"string",[2896,6931,6932,6933],{},"Default: ",[2869,6934,6935],{},"'.'",[2896,6937,6938,6944],{},[2865,6939,6940,6943],{},[2869,6941,6942],{},"configFile",": Name of the configuration file.",[2893,6945,6946,6950],{},[2896,6947,6926,6948],{},[2869,6949,6929],{},[2896,6951,6932,6952],{},[2869,6953,6954],{},"'nuxt.config'",[3733,6956,6957],{},"\n- `config`: Object with configuration overrides.\n  - Type: `NuxtConfig`\n  - Default: `{}` ",[3445,6959,2818],{"id":2817},[2893,6961,6962,6990],{},[2896,6963,6964,6974],{},[2865,6965,6966,6969,6970,6973],{},[2869,6967,6968],{},"setupTimeout",": The amount of time (in milliseconds) to allow for ",[2869,6971,6972],{},"setupTest"," to complete its work (which could include building or generating files for a Nuxt application, depending on the options that are passed).",[2893,6975,6976,6981],{},[2896,6977,6926,6978],{},[2869,6979,6980],{},"number",[2896,6982,6932,6983,3883,6986,6989],{},[2869,6984,6985],{},"120000",[2869,6987,6988],{},"240000"," on windows",[2896,6991,6992,6998],{},[2865,6993,6994,6997],{},[2869,6995,6996],{},"teardownTimeout",": The amount of time (in milliseconds) to allow tearing down the test environment, such as closing the browser.",[2893,6999,7000,7004],{},[2896,7001,6926,7002],{},[2869,7003,6980],{},[2896,7005,6932,7006],{},[2869,7007,7008],{},"30000",[3445,7010,420],{"id":2820},[2893,7012,7013,7044,7066,7086,7107,7130,7175,7198,7217],{},[2896,7014,7015,7020],{},[2865,7016,7017,7019],{},[2869,7018,875],{},": Whether to run a separate build step.",[2893,7021,7022,7027],{},[2896,7023,6926,7024],{},[2869,7025,7026],{},"boolean",[2896,7028,6932,7029,6117,7031,7033,7034,3883,7037,7039,7040,7043],{},[2869,7030,3912],{},[2869,7032,3922],{}," if ",[2869,7035,7036],{},"browser",[2869,7038,184],{}," is disabled, or if a ",[2869,7041,7042],{},"host"," is provided)",[2896,7045,7046,7051],{},[2865,7047,7048,7050],{},[2869,7049,184],{},": Whether to launch a server to respond to requests in the test suite.",[2893,7052,7053,7057],{},[2896,7054,6926,7055],{},[2869,7056,7026],{},[2896,7058,6932,7059,6117,7061,7063,7064,7043],{},[2869,7060,3912],{},[2869,7062,3922],{}," if a ",[2869,7065,7042],{},[2896,7067,7068,7074],{},[2865,7069,7070,7073],{},[2869,7071,7072],{},"port",": If provided, set the launched test server port to the value.",[2893,7075,7076,7081],{},[2896,7077,6926,7078],{},[2869,7079,7080],{},"number | undefined",[2896,7082,6932,7083],{},[2869,7084,7085],{},"undefined",[2896,7087,7088,7097],{},[2865,7089,7090,7092,7093,2863],{},[2869,7091,7042],{},": If provided, a URL to use as the test target instead of building and running a new server. Useful for running \"real\" end-to-end tests against a deployed version of your application, or against an already running local server (which may provide a significant reduction in test execution timings). See the ",[2860,7094,7096],{"href":7095},"\u002Fdocs\u002F4.x\u002Fgetting-started\u002Ftesting#target-host-end-to-end-example","target host end-to-end example below",[2893,7098,7099,7103],{},[2896,7100,6926,7101],{},[2869,7102,6929],{},[2896,7104,6932,7105],{},[2869,7106,7085],{},[2896,7108,7109,7120],{},[2865,7110,7111,7113,7114,7119],{},[2869,7112,7036],{},": Under the hood, Nuxt test utils uses ",[2860,7115,7117],{"href":7116},"https:\u002F\u002Fplaywright.dev",[2869,7118,2921],{}," to carry out browser testing. If this option is set, a browser will be launched and can be controlled in the subsequent test suite.",[2893,7121,7122,7126],{},[2896,7123,6926,7124],{},[2869,7125,7026],{},[2896,7127,6932,7128],{},[2869,7129,3922],{},[2896,7131,7132,7137],{},[2865,7133,7134],{},[2869,7135,7136],{},"browserOptions",[2893,7138,7139],{},[2896,7140,7141,7147],{},[2865,7142,6926,7143,7146],{},[2869,7144,7145],{},"object"," with the following properties",[2893,7148,7149,7163],{},[2896,7150,7151,7153,7154,2912,7157,3883,7160],{},[2869,7152,4117],{},": The type of browser to launch - either ",[2869,7155,7156],{},"chromium",[2869,7158,7159],{},"firefox",[2869,7161,7162],{},"webkit",[2896,7164,7165,6456,7168,7170,7171,2863],{},[2869,7166,7167],{},"launch",[2869,7169,7145],{}," of options that will be passed to playwright when launching the browser. See ",[2860,7172,7174],{"href":7173},"https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Fapi\u002Fclass-browsertype#browser-type-launch","full API reference",[2896,7176,7177,7187],{},[2865,7178,7179,7182,7183,7186],{},[2869,7180,7181],{},"runner",": Specify the runner for the test suite. Currently, ",[2860,7184,6748],{"href":7185},"https:\u002F\u002Fvitest.dev"," is recommended.",[2893,7188,7189,7194],{},[2896,7190,6926,7191],{},[2869,7192,7193],{},"'vitest' | 'jest' | 'cucumber'",[2896,7195,6932,7196],{},[2869,7197,3613],{},[2896,7199,7200,7206],{},[2865,7201,7202,7205],{},[2869,7203,7204],{},"logLevel",": Overrides the consola log level for the server subprocess. (use NUXT_TEST_LOG_LEVEL environment variable to override)",[2893,7207,7208,7212],{},[2896,7209,6926,7210],{},[2869,7211,6980],{},[2896,7213,6932,7214],{},[2869,7215,7216],{},"1",[2896,7218,7219,7234],{},[2865,7220,7221,7224,7225,7227,7228,7230,7231,7233],{},[2869,7222,7223],{},"captureServerLogs",": Whether to capture server process output instead of inheriting stdio. When ",[2869,7226,3912],{}," (default), server stdout\u002Fstderr is suppressed from the console and accessible via ",[2869,7229,2836],{},". Set to ",[2869,7232,3922],{}," to restore the old inherit-stdio behaviour (useful when debugging a test locally).",[2893,7235,7236,7240],{},[2896,7237,6926,7238],{},[2869,7239,7026],{},[2896,7241,6932,7242],{},[2869,7243,3912],{},[3725,7245,7247,7248,7250],{"id":7246},"end-to-end-testing-setup-features-target-host-end-to-end-example","Target ",[2869,7249,7042],{}," end-to-end example",[2865,7252,7253],{},"A common use-case for end-to-end testing is running the tests against a deployed application running in the same environment typically used for Production.",[2865,7255,7256],{},"For local development or automated deploy pipelines, testing against a separate local server can be more efficient and is typically faster than allowing the test framework to rebuild between tests.",[2865,7258,7259,7260,7262,7263,7265],{},"To utilize a separate target host for end-to-end tests, simply provide the ",[2869,7261,7042],{}," property of the ",[2869,7264,5627],{}," function with the desired URL.",[2938,7267,7268],{"language":3035,"class":3037},[2869,7269,7270,3060,7285,3060,7301,3060,7303,3060,7324,3060,7334,3060,7344,3060,7350,3060,7352,3060,7373,3060,7392,3060,7435,3060,7474,3060,7480],{"class":3040},[2947,7271,7272,2965,7274,7276,7277,6240,7279,2965,7281,2965,7283],{"class":2949,"style":2950},[2947,7273,3116],{"class":2968,"style":2969},[2947,7275,3059],{"class":3054,"style":3055}," createPage",[2947,7278,3082],{"class":3066,"style":3067},[2947,7280,3095],{"class":3054,"style":3055},[2947,7282,3124],{"class":2968,"style":2969},[2947,7284,6247],{"class":3077,"style":3078},[2947,7286,7287,2965,7289,6558,7291,4101,7293,4104,7295,2965,7297,2965,7299],{"class":2949,"style":2950},[2947,7288,3116],{"class":2968,"style":2969},[2947,7290,3059],{"class":3054,"style":3055},[2947,7292,3082],{"class":3066,"style":3067},[2947,7294,3082],{"class":3066,"style":3067},[2947,7296,3095],{"class":3054,"style":3055},[2947,7298,3124],{"class":2968,"style":2969},[2947,7300,3613],{"class":3077,"style":3078},[2947,7302],{"class":2949,"style":2950},[2947,7304,7305,7307,7309,7312,2965,7314,2965,7316,7318,2965,7320,2965,7322],{"class":2949,"style":2950},[2947,7306,6603],{"class":2953,"style":2954},[2947,7308,3056],{"class":3054,"style":3055},[2947,7310,7311],{"class":3077,"style":3078},"'login page'",[2947,7313,3082],{"class":3066,"style":3067},[2947,7315,4217],{"class":2968,"style":2969},[2947,7317,3056],{"class":3054,"style":3055},[2947,7319,3098],{"class":3054,"style":3055},[2947,7321,3633],{"class":2968,"style":2969},[2947,7323,3059],{"class":3054,"style":3055},[2947,7325,3085,7326,2965,7328,7330,7332],{"class":2949,"style":2950},[2947,7327,3286],{"class":2968,"style":2969},[2947,7329,5627],{"class":2953,"style":2954},[2947,7331,3056],{"class":3054,"style":3055},[2947,7333,3059],{"class":3054,"style":3055},[2947,7335,7336,7337,2965,7339,7342],{"class":2949,"style":2950},"    host",[2947,7338,3068],{"class":3066,"style":3067},[2947,7340,7341],{"class":3077,"style":3078},"'http:\u002F\u002Flocalhost:8787'",[2947,7343,3082],{"class":3066,"style":3067},[2947,7345,3085,7346,7348],{"class":2949,"style":2950},[2947,7347,3095],{"class":3054,"style":3055},[2947,7349,3098],{"class":3054,"style":3055},[2947,7351],{"class":2949,"style":2950},[2947,7353,3085,7354,7356,7358,7361,2965,7363,2965,7365,7367,2965,7369,2965,7371],{"class":2949,"style":2950},[2947,7355,4207],{"class":2953,"style":2954},[2947,7357,3056],{"class":3054,"style":3055},[2947,7359,7360],{"class":3077,"style":3078},"'displays the email and password fields'",[2947,7362,3082],{"class":3066,"style":3067},[2947,7364,4217],{"class":2968,"style":2969},[2947,7366,3056],{"class":3054,"style":3055},[2947,7368,3098],{"class":3054,"style":3055},[2947,7370,3633],{"class":2968,"style":2969},[2947,7372,3059],{"class":3054,"style":3055},[2947,7374,3074,7375,7377,7378,2965,7380,2965,7382,7385,7387,7390],{"class":2949,"style":2950},[2947,7376,4151],{"class":2968,"style":2969}," page ",[2947,7379,4233],{"class":3066,"style":3067},[2947,7381,3286],{"class":2968,"style":2969},[2947,7383,7384],{"class":2953,"style":2954},"createPage",[2947,7386,3056],{"class":3054,"style":3055},[2947,7388,7389],{"class":3077,"style":3078},"'\u002Flogin'",[2947,7391,3098],{"class":3054,"style":3055},[2947,7393,3074,7394,7396,7398,7400,7401,7403,7406,7408,7411,7413,7415,7418,7420,7422,7424,7426,7429,7431,7433],{"class":2949,"style":2950},[2947,7395,4248],{"class":2953,"style":2954},[2947,7397,3056],{"class":3054,"style":3055},[2947,7399,3286],{"class":2968,"style":2969}," page",[2947,7402,2863],{"class":3066,"style":3067},[2947,7404,7405],{"class":2953,"style":2954},"getByTestId",[2947,7407,3056],{"class":3054,"style":3055},[2947,7409,7410],{"class":3077,"style":3078},"'email'",[2947,7412,3098],{"class":3054,"style":3055},[2947,7414,2863],{"class":3066,"style":3067},[2947,7416,7417],{"class":2953,"style":2954},"isVisible",[2947,7419,3056],{"class":3054,"style":3055},[2947,7421,3098],{"class":3054,"style":3055},[2947,7423,3098],{"class":3054,"style":3055},[2947,7425,2863],{"class":3066,"style":3067},[2947,7427,7428],{"class":2953,"style":2954},"toBe",[2947,7430,3056],{"class":3054,"style":3055},[2947,7432,3912],{"class":4005,"style":4006},[2947,7434,3098],{"class":3054,"style":3055},[2947,7436,3074,7437,7439,7441,7400,7443,7445,7447,7449,7452,7454,7456,7458,7460,7462,7464,7466,7468,7470,7472],{"class":2949,"style":2950},[2947,7438,4248],{"class":2953,"style":2954},[2947,7440,3056],{"class":3054,"style":3055},[2947,7442,3286],{"class":2968,"style":2969},[2947,7444,2863],{"class":3066,"style":3067},[2947,7446,7405],{"class":2953,"style":2954},[2947,7448,3056],{"class":3054,"style":3055},[2947,7450,7451],{"class":3077,"style":3078},"'password'",[2947,7453,3098],{"class":3054,"style":3055},[2947,7455,2863],{"class":3066,"style":3067},[2947,7457,7417],{"class":2953,"style":2954},[2947,7459,3056],{"class":3054,"style":3055},[2947,7461,3098],{"class":3054,"style":3055},[2947,7463,3098],{"class":3054,"style":3055},[2947,7465,2863],{"class":3066,"style":3067},[2947,7467,7428],{"class":2953,"style":2954},[2947,7469,3056],{"class":3054,"style":3055},[2947,7471,3912],{"class":4005,"style":4006},[2947,7473,3098],{"class":3054,"style":3055},[2947,7475,3085,7476,7478],{"class":2949,"style":2950},[2947,7477,3095],{"class":3054,"style":3055},[2947,7479,3098],{"class":3054,"style":3055},[2947,7481,7482,7484],{"class":2949,"style":2950},[2947,7483,3095],{"class":3054,"style":3055},[2947,7485,3098],{"class":3054,"style":3055},[3015,7487,2823],{"id":2822},[3445,7489,7490],{"id":2826},[2869,7491,2827],{},[2865,7493,7494],{},"Get the HTML of a server-rendered page.",[2938,7496,7497],{"language":3035,"meta":3036,"class":3037},[2869,7498,7499,3060,7512,3060,7514],{"class":3040},[2947,7500,7501,2965,7503,7505,7506,2965,7508,2965,7510],{"class":2949,"style":2950},[2947,7502,3116],{"class":2968,"style":2969},[2947,7504,3059],{"class":3054,"style":3055}," $fetch ",[2947,7507,3095],{"class":3054,"style":3055},[2947,7509,3124],{"class":2968,"style":2969},[2947,7511,6247],{"class":3077,"style":3078},[2947,7513],{"class":2949,"style":2950},[2947,7515,7516,4781,7518,2965,7520,2965,7522,7524,7526,7529],{"class":2949,"style":2950},[2947,7517,4151],{"class":2968,"style":2969},[2947,7519,4233],{"class":3066,"style":3067},[2947,7521,3286],{"class":2968,"style":2969},[2947,7523,702],{"class":2953,"style":2954},[2947,7525,3056],{"class":3054,"style":3055},[2947,7527,7528],{"class":3077,"style":3078},"'\u002F'",[2947,7530,3098],{"class":3054,"style":3055},[3445,7532,7533],{"id":2829},[2869,7534,2830],{},[2865,7536,7537],{},"Get the response of a server-rendered page.",[2938,7539,7540],{"language":3035,"meta":3036,"class":3037},[2869,7541,7542,3060,7555,3060,7557,3060,7575],{"class":3040},[2947,7543,7544,2965,7546,7548,7549,2965,7551,2965,7553],{"class":2949,"style":2950},[2947,7545,3116],{"class":2968,"style":2969},[2947,7547,3059],{"class":3054,"style":3055}," fetch ",[2947,7550,3095],{"class":3054,"style":3055},[2947,7552,3124],{"class":2968,"style":2969},[2947,7554,6247],{"class":3077,"style":3078},[2947,7556],{"class":2949,"style":2950},[2947,7558,7559,7561,7562,2965,7564,2965,7566,7569,7571,7573],{"class":2949,"style":2950},[2947,7560,4151],{"class":2968,"style":2969}," res ",[2947,7563,4233],{"class":3066,"style":3067},[2947,7565,3286],{"class":2968,"style":2969},[2947,7567,7568],{"class":2953,"style":2954},"fetch",[2947,7570,3056],{"class":3054,"style":3055},[2947,7572,7528],{"class":3077,"style":3078},[2947,7574,3098],{"class":3054,"style":3055},[2947,7576,7577,2965,7579,7581,7582,7584,7585,2965,7587,7589],{"class":2949,"style":2950},[2947,7578,4151],{"class":2968,"style":2969},[2947,7580,3059],{"class":3054,"style":3055}," body",[2947,7583,3082],{"class":3066,"style":3067}," headers ",[2947,7586,3095],{"class":3054,"style":3055},[2947,7588,4233],{"class":3066,"style":3067}," res",[3445,7591,7592],{"id":2832},[2869,7593,2833],{},[2865,7595,7596],{},"Get the full URL for a given page (including the port the test server is running on.)",[2938,7598,7599],{"language":3035,"meta":3036,"class":3037},[2869,7600,7601,3060,7614,3060,7616,3060,7633],{"class":3040},[2947,7602,7603,2965,7605,7607,7608,2965,7610,2965,7612],{"class":2949,"style":2950},[2947,7604,3116],{"class":2968,"style":2969},[2947,7606,3059],{"class":3054,"style":3055}," url ",[2947,7609,3095],{"class":3054,"style":3055},[2947,7611,3124],{"class":2968,"style":2969},[2947,7613,6247],{"class":3077,"style":3078},[2947,7615],{"class":2949,"style":2950},[2947,7617,7618,7620,7621,2965,7623,7626,7628,7631],{"class":2949,"style":2950},[2947,7619,4151],{"class":2968,"style":2969}," pageUrl ",[2947,7622,4233],{"class":3066,"style":3067},[2947,7624,7625],{"class":2953,"style":2954},"url",[2947,7627,3056],{"class":3054,"style":3055},[2947,7629,7630],{"class":3077,"style":3078},"'\u002Fpage'",[2947,7632,3098],{"class":3054,"style":3055},[2947,7634,7635],{"class":2949,"style":2950},[2947,7636,7637],{"class":3515,"style":3516},"\u002F\u002F 'http:\u002F\u002Flocalhost:6840\u002Fpage'",[3445,7639,7640],{"id":2835},[2869,7641,2836],{},[2865,7643,7644,7645,7648,7649,7651,7652,7654,7655,7657],{},"Returns the lines captured from the server subprocess's stdout\u002Fstderr since the last ",[2869,7646,7647],{},"startServer()"," call (or ",[2869,7650,2839],{},"). Only populated when ",[2869,7653,7223],{}," is ",[2869,7656,3912],{}," (the default).",[2938,7659,7660],{"language":3035,"meta":3036,"class":3037},[2869,7661,7662,3060,7679,3060,7697,3060,7699,3060,7720,3060,7729,3060,7742,3060,7761,3060,7811,3060,7817],{"class":3040},[2947,7663,7664,2965,7666,4101,7668,7670,7671,5187,7673,2965,7675,2965,7677],{"class":2949,"style":2950},[2947,7665,3116],{"class":2968,"style":2969},[2947,7667,3059],{"class":3054,"style":3055},[2947,7669,3082],{"class":3066,"style":3067}," it",[2947,7672,3082],{"class":3066,"style":3067},[2947,7674,3095],{"class":3054,"style":3055},[2947,7676,3124],{"class":2968,"style":2969},[2947,7678,3613],{"class":3077,"style":3078},[2947,7680,7681,2965,7683,6237,7685,7687,7688,7690,7691,2965,7693,2965,7695],{"class":2949,"style":2950},[2947,7682,3116],{"class":2968,"style":2969},[2947,7684,3059],{"class":3054,"style":3055},[2947,7686,3082],{"class":3066,"style":3067}," clearServerLogs",[2947,7689,3082],{"class":3066,"style":3067}," getServerLogs ",[2947,7692,3095],{"class":3054,"style":3055},[2947,7694,3124],{"class":2968,"style":2969},[2947,7696,6247],{"class":3077,"style":3078},[2947,7698],{"class":2949,"style":2950},[2947,7700,7701,7703,7705,7708,2965,7710,2965,7712,7714,2965,7716,2965,7718],{"class":2949,"style":2950},[2947,7702,4207],{"class":2953,"style":2954},[2947,7704,3056],{"class":3054,"style":3055},[2947,7706,7707],{"class":3077,"style":3078},"'captures console.log output from a server route'",[2947,7709,3082],{"class":3066,"style":3067},[2947,7711,4217],{"class":2968,"style":2969},[2947,7713,3056],{"class":3054,"style":3055},[2947,7715,3098],{"class":3054,"style":3055},[2947,7717,3633],{"class":2968,"style":2969},[2947,7719,3059],{"class":3054,"style":3055},[2947,7721,3085,7722,7725,7727],{"class":2949,"style":2950},[2947,7723,7724],{"class":2953,"style":2954},"clearServerLogs",[2947,7726,3056],{"class":3054,"style":3055},[2947,7728,3098],{"class":3054,"style":3055},[2947,7730,3085,7731,2965,7733,7735,7737,7740],{"class":2949,"style":2950},[2947,7732,3286],{"class":2968,"style":2969},[2947,7734,702],{"class":2953,"style":2954},[2947,7736,3056],{"class":3054,"style":3055},[2947,7738,7739],{"class":3077,"style":3078},"'\u002Fapi\u002Flog-test'",[2947,7741,3098],{"class":3054,"style":3055},[2947,7743,3085,7744,5219,7746,7748,7751,7753,7755,2965,7757,2965,7759],{"class":2949,"style":2950},[2947,7745,3286],{"class":2968,"style":2969},[2947,7747,2863],{"class":3066,"style":3067},[2947,7749,7750],{"class":2953,"style":2954},"waitFor",[2947,7752,3056],{"class":3054,"style":3055},[2947,7754,3056],{"class":3054,"style":3055},[2947,7756,3098],{"class":3054,"style":3055},[2947,7758,3633],{"class":2968,"style":2969},[2947,7760,3059],{"class":3054,"style":3055},[2947,7762,3074,7763,7765,7767,7770,7772,7774,7776,7779,7781,7782,7784,7785,7787,7790,7792,7795,7797,7799,7801,7803,7805,7807,7809],{"class":2949,"style":2950},[2947,7764,4248],{"class":2953,"style":2954},[2947,7766,3056],{"class":3054,"style":3055},[2947,7768,7769],{"class":2953,"style":2954},"getServerLogs",[2947,7771,3056],{"class":3054,"style":3055},[2947,7773,3098],{"class":3054,"style":3055},[2947,7775,2863],{"class":3066,"style":3067},[2947,7777,7778],{"class":2953,"style":2954},"some",[2947,7780,3056],{"class":3054,"style":3055},"line ",[2947,7783,3633],{"class":2968,"style":2969}," line",[2947,7786,2863],{"class":3066,"style":3067},[2947,7788,7789],{"class":2953,"style":2954},"includes",[2947,7791,3056],{"class":3054,"style":3055},[2947,7793,7794],{"class":3077,"style":3078},"'[test] server-log-marker'",[2947,7796,3098],{"class":3054,"style":3055},[2947,7798,3098],{"class":3054,"style":3055},[2947,7800,3098],{"class":3054,"style":3055},[2947,7802,2863],{"class":3066,"style":3067},[2947,7804,7428],{"class":2953,"style":2954},[2947,7806,3056],{"class":3054,"style":3055},[2947,7808,3912],{"class":4005,"style":4006},[2947,7810,3098],{"class":3054,"style":3055},[2947,7812,3085,7813,7815],{"class":2949,"style":2950},[2947,7814,3095],{"class":3054,"style":3055},[2947,7816,3098],{"class":3054,"style":3055},[2947,7818,7819,7821],{"class":2949,"style":2950},[2947,7820,3095],{"class":3054,"style":3055},[2947,7822,3098],{"class":3054,"style":3055},[3445,7824,7825],{"id":2838},[2869,7826,2839],{},[2865,7828,7829],{},"Clears the captured server log lines. Useful between requests when you want to assert only on the logs produced by a specific operation.",[3015,7831,2842],{"id":2841},[2865,7833,7834,7835,7837],{},"We provide built-in support using Playwright within ",[2869,7836,2871],{},", either programmatically or via the Playwright test runner.",[3445,7839,7840],{"id":2845},[2869,7841,2846],{},[2865,7843,7844,7845,2912,7847,3883,7849,7851,7852,7854,7855,2863],{},"Within ",[2869,7846,2911],{},[2869,7848,2918],{},[2869,7850,2915],{},", you can create a configured Playwright browser instance with ",[2869,7853,7384],{},", and (optionally) point it at a path from the running server. You can find out more about the API methods available in the ",[2860,7856,7858],{"href":7857},"https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Fapi\u002Fclass-page","Playwright documentation",[2938,7860,7861],{"language":3035,"meta":3036,"class":3037},[2869,7862,7863,3060,7876,3060,7878,3060,7894],{"class":3040},[2947,7864,7865,2965,7867,7869,7870,2965,7872,2965,7874],{"class":2949,"style":2950},[2947,7866,3116],{"class":2968,"style":2969},[2947,7868,3059],{"class":3054,"style":3055}," createPage ",[2947,7871,3095],{"class":3054,"style":3055},[2947,7873,3124],{"class":2968,"style":2969},[2947,7875,6247],{"class":3077,"style":3078},[2947,7877],{"class":2949,"style":2950},[2947,7879,7880,7377,7882,2965,7884,2965,7886,7888,7890,7892],{"class":2949,"style":2950},[2947,7881,4151],{"class":2968,"style":2969},[2947,7883,4233],{"class":3066,"style":3067},[2947,7885,3286],{"class":2968,"style":2969},[2947,7887,7384],{"class":2953,"style":2954},[2947,7889,3056],{"class":3054,"style":3055},[2947,7891,7630],{"class":3077,"style":3078},[2947,7893,3098],{"class":3054,"style":3055},[2947,7895,7896],{"class":2949,"style":2950},[2947,7897,7898],{"class":3515,"style":3516},"\u002F\u002F you can access all the Playwright APIs from the `page` variable",[3445,7900,2849],{"id":2848},[2865,7902,7903,7904,2863],{},"We also provide first-class support for testing Nuxt within ",[2860,7905,7907],{"href":7906},"https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Fintro","the Playwright test runner",[2934,7909,7910,7919,7930,7943,7953],{"sync":2936},[2938,7911,7912],{"language":2940,"filename":2941,"class":2942},[2869,7913,7914],{"class":2945},[2947,7915,7916,7918],{"class":2949,"style":2950},[2947,7917,2941],{"class":2953,"style":2954}," i --save-dev @playwright\u002Ftest @nuxt\u002Ftest-utils",[2938,7920,7921],{"language":2940,"filename":2958,"class":2942},[2869,7922,7923],{"class":2945},[2947,7924,7925,2965,7927,7929],{"class":2949,"style":2950},[2947,7926,2958],{"class":2953,"style":2954},[2947,7928,860],{"class":2968,"style":2969}," --dev @playwright\u002Ftest @nuxt\u002Ftest-utils",[2938,7931,7932],{"language":2940,"filename":2973,"class":2942},[2869,7933,7934],{"class":2945},[2947,7935,7936,2965,7938,7940,7942],{"class":2949,"style":2950},[2947,7937,2973],{"class":2953,"style":2954},[2947,7939,860],{"class":2968,"style":2969},[2947,7941,2984],{"class":2968,"style":2969}," @playwright\u002Ftest @nuxt\u002Ftest-utils",[2938,7944,7945],{"language":2940,"filename":2988,"class":2942},[2869,7946,7947],{"class":2945},[2947,7948,7949,2965,7951,7929],{"class":2949,"style":2950},[2947,7950,2988],{"class":2953,"style":2954},[2947,7952,860],{"class":2968,"style":2969},[2938,7954,7956],{"language":2940,"filename":7955,"class":2942},"deno",[2869,7957,7958],{"class":2945},[2947,7959,7960,2965,7962,7964],{"class":2949,"style":2950},[2947,7961,7955],{"class":2953,"style":2954},[2947,7963,860],{"class":2968,"style":2969}," --dev npm:@playwright\u002Ftest npm:@nuxt\u002Ftest-utils",[2865,7966,7967,7968,7971],{},"You can provide global Nuxt configuration, with the same configuration details as the ",[2869,7969,7970],{},"setup()"," function mentioned earlier in this section.",[2938,7973,7975],{"language":3035,"filename":7974,"class":3037},"playwright.config.ts",[2869,7976,7977,3060,7989,3060,8006,3060,8024,3060,8026,3060,8042,3060,8049,3060,8056,3060,8091,3060,8097,3060,8103,3060,8107],{"class":3040},[2947,7978,7979,2965,7981,3473,7983,2965,7985,2965,7987],{"class":2949,"style":2950},[2947,7980,3116],{"class":2968,"style":2969},[2947,7982,3059],{"class":3054,"style":3055},[2947,7984,3095],{"class":3054,"style":3055},[2947,7986,3124],{"class":2968,"style":2969},[2947,7988,3480],{"class":3077,"style":3078},[2947,7990,7991,2965,7993,7995,7996,7998,7999,2965,8001,2965,8003],{"class":2949,"style":2950},[2947,7992,3116],{"class":2968,"style":2969},[2947,7994,3059],{"class":3054,"style":3055}," defineConfig",[2947,7997,3082],{"class":3066,"style":3067}," devices ",[2947,8000,3095],{"class":3054,"style":3055},[2947,8002,3124],{"class":2968,"style":2969},[2947,8004,8005],{"class":3077,"style":3078},"'@playwright\u002Ftest'",[2947,8007,8008,2965,8010,2965,8012,2965,8014,2965,8017,2965,8019,2965,8021],{"class":2949,"style":2950},[2947,8009,3116],{"class":2968,"style":2969},[2947,8011,4117],{"class":2968,"style":2969},[2947,8013,3059],{"class":3054,"style":3055},[2947,8015,8016],{"class":4122,"style":4123},"ConfigOptions",[2947,8018,3095],{"class":3054,"style":3055},[2947,8020,3124],{"class":2968,"style":2969},[2947,8022,8023],{"class":3077,"style":3078},"'@nuxt\u002Ftest-utils\u002Fplaywright'",[2947,8025],{"class":2949,"style":2950},[2947,8027,8028,2965,8030,7995,8032,8034,8036,8038,8040],{"class":2949,"style":2950},[2947,8029,3045],{"class":2968,"style":2969},[2947,8031,3048],{"class":2968,"style":2969},[2947,8033,4992],{"class":3066,"style":3067},[2947,8035,8016],{"class":4122,"style":4123},[2947,8037,4999],{"class":3066,"style":3067},[2947,8039,3056],{"class":3054,"style":3055},[2947,8041,3059],{"class":3054,"style":3055},[2947,8043,8044,8045,2965,8047],{"class":2949,"style":2950},"  use",[2947,8046,3068],{"class":3066,"style":3067},[2947,8048,3059],{"class":3054,"style":3055},[2947,8050,8051,8052,2965,8054],{"class":2949,"style":2950},"    nuxt",[2947,8053,3068],{"class":3066,"style":3067},[2947,8055,3059],{"class":3054,"style":3055},[2947,8057,8058,8059,2965,8061,8064,8066,2965,8069,8072,8074,8076,2965,8078,8080,8082,8083,7625,8085,8087,8089],{"class":2949,"style":2950},"      rootDir",[2947,8060,3068],{"class":3066,"style":3067},[2947,8062,8063],{"class":2953,"style":2954},"fileURLToPath",[2947,8065,3056],{"class":3054,"style":3055},[2947,8067,8068],{"class":2968,"style":2969},"new",[2947,8070,8071],{"class":5870,"style":5871},"URL",[2947,8073,3056],{"class":3054,"style":3055},[2947,8075,6935],{"class":3077,"style":3078},[2947,8077,3082],{"class":3066,"style":3067},[2947,8079,3116],{"class":2968,"style":2969},[2947,8081,2863],{"class":3066,"style":3067},"meta",[2947,8084,2863],{"class":3066,"style":3067},[2947,8086,3098],{"class":3054,"style":3055},[2947,8088,3098],{"class":3054,"style":3055},[2947,8090,3082],{"class":3066,"style":3067},[2947,8092,3074,8093,8095],{"class":2949,"style":2950},[2947,8094,3095],{"class":3054,"style":3055},[2947,8096,3082],{"class":3066,"style":3067},[2947,8098,3085,8099,8101],{"class":2949,"style":2950},[2947,8100,3095],{"class":3054,"style":3055},[2947,8102,3082],{"class":3066,"style":3067},[2947,8104,3085,8105],{"class":2949,"style":2950},[2947,8106,5639],{"class":3515,"style":3516},[2947,8108,8109,8111],{"class":2949,"style":2950},[2947,8110,3095],{"class":3054,"style":3055},[2947,8112,3098],{"class":3054,"style":3055},[8114,8115],"read-more",{"title":8116,"to":8117,"target":8118},"See full example config","https:\u002F\u002Fgithub.com\u002Fnuxt\u002Ftest-utils\u002Fblob\u002Fmain\u002Fexamples\u002Fapp-playwright\u002Fplaywright.config.ts","_blank",[2865,8120,8121,8122,2902,8124,8126,8127,3068],{},"Your test file should then use ",[2869,8123,4248],{},[2869,8125,930],{}," directly from ",[2869,8128,8129],{},"@nuxt\u002Ftest-utils\u002Fplaywright",[2938,8131,8133],{"language":3035,"filename":8132,"class":3037},"tests\u002Fexample.test.ts",[2869,8134,8135,3060,8149,3060,8151,3060,8179,3060,8204,3060,8239],{"class":3040},[2947,8136,8137,2965,8139,4101,8141,3606,8143,2965,8145,2965,8147],{"class":2949,"style":2950},[2947,8138,3116],{"class":2968,"style":2969},[2947,8140,3059],{"class":3054,"style":3055},[2947,8142,3082],{"class":3066,"style":3067},[2947,8144,3095],{"class":3054,"style":3055},[2947,8146,3124],{"class":2968,"style":2969},[2947,8148,8023],{"class":3077,"style":3078},[2947,8150],{"class":2949,"style":2950},[2947,8152,8153,8155,8157,8160,2965,8162,2965,8164,8166,7400,8168,8170,8171,8173,2965,8175,2965,8177],{"class":2949,"style":2950},[2947,8154,930],{"class":2953,"style":2954},[2947,8156,3056],{"class":3054,"style":3055},[2947,8158,8159],{"class":3077,"style":3078},"'test'",[2947,8161,3082],{"class":3066,"style":3067},[2947,8163,4217],{"class":2968,"style":2969},[2947,8165,3056],{"class":3054,"style":3055},[2947,8167,3059],{"class":3054,"style":3055},[2947,8169,3082],{"class":3066,"style":3067}," goto ",[2947,8172,3095],{"class":3054,"style":3055},[2947,8174,3098],{"class":3054,"style":3055},[2947,8176,3633],{"class":2968,"style":2969},[2947,8178,3059],{"class":3054,"style":3055},[2947,8180,3085,8181,2965,8183,8186,8188,8190,2965,8192,8194,8195,2965,8197,2965,8200,8202],{"class":2949,"style":2950},[2947,8182,3286],{"class":2968,"style":2969},[2947,8184,8185],{"class":2953,"style":2954},"goto",[2947,8187,3056],{"class":3054,"style":3055},[2947,8189,7528],{"class":3077,"style":3078},[2947,8191,3082],{"class":3066,"style":3067},[2947,8193,3059],{"class":3054,"style":3055}," waitUntil",[2947,8196,3068],{"class":3066,"style":3067},[2947,8198,8199],{"class":3077,"style":3078},"'hydration'",[2947,8201,3095],{"class":3054,"style":3055},[2947,8203,3098],{"class":3054,"style":3055},[2947,8205,3085,8206,2965,8208,8210,8212,8213,8215,8218,8220,8223,8225,8227,8229,8232,8234,8237],{"class":2949,"style":2950},[2947,8207,3286],{"class":2968,"style":2969},[2947,8209,4248],{"class":2953,"style":2954},[2947,8211,3056],{"class":3054,"style":3055},"page",[2947,8214,2863],{"class":3066,"style":3067},[2947,8216,8217],{"class":2953,"style":2954},"getByRole",[2947,8219,3056],{"class":3054,"style":3055},[2947,8221,8222],{"class":3077,"style":3078},"'heading'",[2947,8224,3098],{"class":3054,"style":3055},[2947,8226,3098],{"class":3054,"style":3055},[2947,8228,2863],{"class":3066,"style":3067},[2947,8230,8231],{"class":2953,"style":2954},"toHaveText",[2947,8233,3056],{"class":3054,"style":3055},[2947,8235,8236],{"class":3077,"style":3078},"'Welcome to Playwright!'",[2947,8238,3098],{"class":3054,"style":3055},[2947,8240,8241,8243],{"class":2949,"style":2950},[2947,8242,3095],{"class":3054,"style":3055},[2947,8244,3098],{"class":3054,"style":3055},[2865,8246,8247],{},"You can alternatively configure your Nuxt server directly within your test file:",[2938,8249,8250],{"language":3035,"filename":8132,"class":3037},[2869,8251,8252,3060,8266,3060,8268,3060,8279,3060,8286,3060,8318,3060,8324,3060,8330,3060,8332,3060,8358,3060,8380,3060,8410],{"class":3040},[2947,8253,8254,2965,8256,4101,8258,3606,8260,2965,8262,2965,8264],{"class":2949,"style":2950},[2947,8255,3116],{"class":2968,"style":2969},[2947,8257,3059],{"class":3054,"style":3055},[2947,8259,3082],{"class":3066,"style":3067},[2947,8261,3095],{"class":3054,"style":3055},[2947,8263,3124],{"class":2968,"style":2969},[2947,8265,8023],{"class":3077,"style":3078},[2947,8267],{"class":2949,"style":2950},[2947,8269,930,8270,8272,8275,8277],{"class":2949,"style":2950},[2947,8271,2863],{"class":3066,"style":3067},[2947,8273,8274],{"class":2953,"style":2954},"use",[2947,8276,3056],{"class":3054,"style":3055},[2947,8278,3059],{"class":3054,"style":3055},[2947,8280,8281,8282,2965,8284],{"class":2949,"style":2950},"  nuxt",[2947,8283,3068],{"class":3066,"style":3067},[2947,8285,3059],{"class":3054,"style":3055},[2947,8287,8288,8289,2965,8291,8293,8295,2965,8297,8299,8301,8304,2965,8306,8308,8082,8310,7625,8312,8314,8316],{"class":2949,"style":2950},"    rootDir",[2947,8290,3068],{"class":3066,"style":3067},[2947,8292,8063],{"class":2953,"style":2954},[2947,8294,3056],{"class":3054,"style":3055},[2947,8296,8068],{"class":2968,"style":2969},[2947,8298,8071],{"class":5870,"style":5871},[2947,8300,3056],{"class":3054,"style":3055},[2947,8302,8303],{"class":3077,"style":3078},"'..'",[2947,8305,3082],{"class":3066,"style":3067},[2947,8307,3116],{"class":2968,"style":2969},[2947,8309,2863],{"class":3066,"style":3067},[2947,8311,2863],{"class":3066,"style":3067},[2947,8313,3098],{"class":3054,"style":3055},[2947,8315,3098],{"class":3054,"style":3055},[2947,8317,3082],{"class":3066,"style":3067},[2947,8319,3085,8320,8322],{"class":2949,"style":2950},[2947,8321,3095],{"class":3054,"style":3055},[2947,8323,3082],{"class":3066,"style":3067},[2947,8325,8326,8328],{"class":2949,"style":2950},[2947,8327,3095],{"class":3054,"style":3055},[2947,8329,3098],{"class":3054,"style":3055},[2947,8331],{"class":2949,"style":2950},[2947,8333,8334,8336,8338,8340,2965,8342,2965,8344,8346,7400,8348,8170,8350,8352,2965,8354,2965,8356],{"class":2949,"style":2950},[2947,8335,930],{"class":2953,"style":2954},[2947,8337,3056],{"class":3054,"style":3055},[2947,8339,8159],{"class":3077,"style":3078},[2947,8341,3082],{"class":3066,"style":3067},[2947,8343,4217],{"class":2968,"style":2969},[2947,8345,3056],{"class":3054,"style":3055},[2947,8347,3059],{"class":3054,"style":3055},[2947,8349,3082],{"class":3066,"style":3067},[2947,8351,3095],{"class":3054,"style":3055},[2947,8353,3098],{"class":3054,"style":3055},[2947,8355,3633],{"class":2968,"style":2969},[2947,8357,3059],{"class":3054,"style":3055},[2947,8359,3085,8360,2965,8362,8364,8366,8368,2965,8370,8194,8372,2965,8374,2965,8376,8378],{"class":2949,"style":2950},[2947,8361,3286],{"class":2968,"style":2969},[2947,8363,8185],{"class":2953,"style":2954},[2947,8365,3056],{"class":3054,"style":3055},[2947,8367,7528],{"class":3077,"style":3078},[2947,8369,3082],{"class":3066,"style":3067},[2947,8371,3059],{"class":3054,"style":3055},[2947,8373,3068],{"class":3066,"style":3067},[2947,8375,8199],{"class":3077,"style":3078},[2947,8377,3095],{"class":3054,"style":3055},[2947,8379,3098],{"class":3054,"style":3055},[2947,8381,3085,8382,2965,8384,8386,8212,8388,8390,8392,8394,8396,8398,8400,8402,8404,8406,8408],{"class":2949,"style":2950},[2947,8383,3286],{"class":2968,"style":2969},[2947,8385,4248],{"class":2953,"style":2954},[2947,8387,3056],{"class":3054,"style":3055},[2947,8389,2863],{"class":3066,"style":3067},[2947,8391,8217],{"class":2953,"style":2954},[2947,8393,3056],{"class":3054,"style":3055},[2947,8395,8222],{"class":3077,"style":3078},[2947,8397,3098],{"class":3054,"style":3055},[2947,8399,3098],{"class":3054,"style":3055},[2947,8401,2863],{"class":3066,"style":3067},[2947,8403,8231],{"class":2953,"style":2954},[2947,8405,3056],{"class":3054,"style":3055},[2947,8407,8236],{"class":3077,"style":3078},[2947,8409,3098],{"class":3054,"style":3055},[2947,8411,8412,8414],{"class":2949,"style":2950},[2947,8413,3095],{"class":3054,"style":3055},[2947,8415,3098],{"class":3054,"style":3055},{"v5":8417,"v4":8418,"v3":8419,"v2":8420},"5 (nightly)","4.5.2","3.21.11","2.18.1"]