\n\n### Workaround\nUsing `defineVitestConfig` and hoisting the configuration up to root works fine. Unfortunately I'd need to run three Vitest tasks and couldn't make use of the `projects` functionality.\n\nFor example:\n\n```\npnpm vitest --config vitest.browser.config.ts\npnpm vitest --config vitest.unit.config.ts\npnpm vitest --config vitest.e2e.config.ts\n# 😔\n```\n\n---\n\nSo, I can't figure out how to get it working. I've tried different combinations, singular projects, and using the deprecated `workspaces` key. The method `defineVitestProject` isn't documented and I've read through the code and I'm not really sure why I'm getting an error.\n\n### Nuxt Info\n\n```\n- Operating System: `Darwin`\n- Node Version: `v22.14.0`\n- Nuxt Version: `3.17.5`\n- CLI Version: `3.25.1`\n- Nitro Version: `2.11.12`\n- Package Manager: `pnpm@10.11.1`\n- Builder: `-`\n- User Config: `compatibilityDate`, `modules`\n- Runtime Modules: `@nuxt/test-utils/module@3.19.1`\n- Build Modules: `-`\n```\n\n### Additional information\n\n- [x] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [x] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [x] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[3185],{"name":3172,"color":3173},1322,"Support Vitest `projects` option for Browser Mode","2025-06-18T13:51:03Z","https://github.com/nuxt/test-utils/issues/1322",0.66555965,{"description":3192,"labels":3193,"number":3195,"owner":3175,"repository":3176,"state":3177,"title":3196,"updated_at":3197,"url":3198,"score":3199},"### Environment\n\n\n\"@nuxt/test-utils\": \"^3.19.2\",\n\"vitest\": \"^3.2.3\"\n\n--\n- Operating System: Windows_NT\n- Node Version: v22.16.0\n- Nuxt Version: 3.17.6\n- CLI Version: 3.25.1\n- Nitro Version: 2.11.13\n- Package Manager: npm@10.9.2\n- Builder: -\n- User Config: runtimeConfig, ssr, alias, compatibilityDate, devtools, css, vite, modules\n- Runtime Modules: @nuxt/test-utils/module@3.19.2, @pinia/nuxt@0.11.1\n- Build Modules: -\n\n### Reproduction\n\nSimilar to [here](https://stackoverflow.com/questions/79537445/not-all-components-impacted-by-coverage).\nIst about the nuxt environment.\nI changed it from `happy-dom` to `nuxt`. Since then it is not coverging pages.\nThe Stackoverflow user had a much simpler set up without projects.\n\n```ts\nimport {\n defineVitestConfig,\n defineVitestProject,\n} from \"@nuxt/test-utils/config\";\nimport vue from \"@vitejs/plugin-vue\";\nimport AutoImport from \"unplugin-auto-import/vite\";\nimport { configDefaults, defineConfig } from \"vitest/config\";\n\n// 1️⃣ Nuxt-specific setup via defineVitestConfig\nconst nuxtConfig = defineVitestConfig({\n test: {\n environment: \"nuxt\",\n globals: true,\n },\n});\n\n// 2️⃣ Full Vitest config using core defineConfig\nexport default defineConfig({\n ...nuxtConfig,\n test: {\n coverage: {\n provider: \"v8\",\n reporter: [\"text\", \"json\", \"html\"],\n reportsDirectory: \"./tests/coverage\",\n exclude: [\n ...(configDefaults.coverage?.exclude ?? []),\n \"**/*.cy.ts\",\n \"**/*.cy.tsx\",\n \"**/cypress/**\",\n \"nuxt.config.ts\",\n \"scripts/**\",\n ],\n thresholds: { statements: 90, branches: 90, functions: 0, lines: 90 },\n },\n\n projects: [\n {\n test: {\n name: \"Server (Node Environment)\",\n include: [\"tests/server/**/*.{test,spec}.ts\"],\n globals: true,\n environment: \"node\",\n },\n plugins: [vue(), AutoImport({ imports: [\"vue\"], dts: true })],\n },\n await defineVitestProject({\n test: {\n name: \"Happy NUXT Environment\",\n include: [\n \"tests/pages/**/*.{test,spec}.ts\",\n \"tests/components/**/*.{test,spec}.ts\",\n \"tests/composables/**/*.{test,spec}.ts\",\n \"tests/utils/**/*.{test,spec}.ts\",\n \"tests/plugins/**/*.{test,spec}.ts\",\n \"tests/layouts/**/*.{test,spec}.ts\",\n \"tests/directives/**/*.{test,spec}.ts\",\n \"tests/mixins/**/*.{test,spec}.ts\",\n \"tests/app.test.ts\",\n \"Tests/error.test.ts\",\n ],\n exclude: [\"tests/server/*.{test,spec}.ts\"],\n globals: true,\n environment: \"nuxt\",\n setupFiles: [\"./tests/setup.ts\"],\n },\n }),\n ],\n },\n});\n```\n\n### Describe the bug\n\nnuxt environment doesn't create coverage for pages\n\n\n\n\n### Additional context\n\nI tried additionally and explicitly adding pages to includes. But it doesn't work.\nPlease, tag me, if it requires to be opened up in a different repository, such as vitest.\n\n### Logs\n\n```shell-script\n\n```",[3194],{"name":3172,"color":3173},1352,"pages are not covered in nuxt environment","2025-07-07T13:56:40Z","https://github.com/nuxt/test-utils/issues/1352",0.6743779,{"description":3201,"labels":3202,"number":3205,"owner":3175,"repository":3175,"state":3177,"title":3206,"updated_at":3207,"url":3208,"score":3209},"### Environment\n\n- Operating System: Darwin\n- Node Version: v22.20.0\n- Nuxt Version: 4.1.2\n- CLI Version: 3.28.0\n- Nitro Version: 2.12.6\n- Package Manager: pnpm@10.13.1\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\n- Layer used in the monorepo: https://github.com/NicolaSpadari/nuxt-demo-layer\n- Monorepo: https://github.com/NicolaSpadari/nuxt-demo-monorepo-layer\n\n### Describe the bug\n\nI'm building a layer for the Nuxt UI with some customizations, so that i can extend the config as well as its dependencies from any nuxt 4 project.\nIn a normal Nuxt project works just fine, but when run in a pnpm workspace monorepo, the dependencies installation reaches the prepare step for the layer, which seems like to be detected as another package folder, and keeps triggering the prepare action, resulting in a postinstall loop.\nI already tried removing the `install: true` option for the layer, but that just breaks the project as its dependencies are not found inside by nuxt project.\nManually installing the dependencies would work, but that defies the reason i'm using the layer to encapsulate all the ui configurations and dependencies.\n\n### Additional context\n\nThis layer configuration works just fine if the project doesn't have a pnpm-workspace file, and the installation in treated as normal folder. The bug only occurs when running inside a workspace\n\n### Logs\n\n```shell-script\n➜ pnpm install \nScope: all 2 workspace projects\nLockfile is up to date, resolution step is skipped\nAlready up to date\napps/frontend postinstall$ nuxt prepare\n│ Scope: all 2 workspace projects\n│ ../../.. postinstall$ nuxt prepare\n│ ../../.. postinstall: Scope: all 2 workspace projects\n│ ../../.. postinstall: ../../.. postinstall$ nuxt prepare\n│ ../../.. postinstall: ../../.. postinstall: Scope: all 2 workspace projects\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall$ nuxt prepare\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Scope: all 2 workspace projects\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall$ nuxt prepare\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Scope: all 2 workspace projects\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall$ nuxt prepare\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Scope: all 2 workspace projects\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall$ nuxt prep…\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Scope: al…\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. …\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. …\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Done in 7…\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Failed\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Done in 2s using pnpm v10.13.1\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Failed\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Done in 3.4s using pnpm v10.13.1\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Failed\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Done in 4.7s using pnpm v10.13.1\n│ ../../.. postinstall: ../../.. postinstall: ../../.. postinstall: Failed\n│ ../../.. postinstall: ../../.. postinstall: Done in 6.1s using pnpm v10.13.1\n│ ../../.. postinstall: ../../.. postinstall: Failed\n│ ../../.. postinstall: Done in 7.5s using pnpm v10.13.1\n│ ../../.. postinstall: Failed\n│ Done in 8.9s using pnpm v10.13.1\n└─ Failed in 9.9s at /Users/administrator/Projects/nuxt-demo-monorepo-layer/apps/frontend\nDone in 10.3s using pnpm v10.13.1\n```",[3203],{"name":3172,"color":3204},"E99695",33382,"Layer with dependencies in monorepo goes in postinstall loop","2025-10-03T07:55:38Z","https://github.com/nuxt/nuxt/issues/33382",0.67602813,{"description":3211,"labels":3212,"number":3214,"owner":3175,"repository":3175,"state":3177,"title":3215,"updated_at":3216,"url":3217,"score":3218},"### Environment\r\n\r\nLatest pnpm\r\n\r\nWorking directory: /home/projects/nuxt-starter-qea1r5/packages/apps/my-app 5:21:21 PM\r\nNuxt project info: 5:21:21 PM\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.20.0\r\n- Nuxt Version: 3.7.1\r\n- CLI Version: 3.8.0\r\n- Nitro Version: 2.6.2\r\n- Package Manager: npm@9.4.2\r\n- Builder: -\r\n- User Config: extends\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n\r\n👉 Report an issue: https://github.com/nuxt/nuxt/issues/new 5:21:21 PM\r\n\r\n👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new\r\n\r\n👉 Read documentation: https://nuxt.com\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt-starter-qea1r5\r\n\r\n* Environment set to use `export npm_config_shared_workspace_lockfile=false`\r\n* `FORCE_COLOR=1 pnpm --stream --filter ./packages/apps/my-app dev` to run.\r\n\r\nHowever, if using shared lock-file (default setting), there is no dep issue:\r\n\r\nhttps://stackblitz.com/edit/nuxt-starter-jgqtiw\r\n\r\n### Describe the bug\r\n\r\nUsing a pnpm monorepo, layers and/or modules from filesystem workspace, which have dependencies, no longer build correctly after upgrading to 3.7.1, in both dev and production build.\r\n\r\nSince trying ^3.7.0, i get this error now:\r\n\r\n`[nuxt] Could not resolve id yup /workspace/packages/my-app/index.html`\r\n\r\n1) i have a module which includes a dependency (yup)\r\n2) And a component in the module uses this dependency (yup)\r\n3) module auto-imports the component.\r\n4) my-app uses the module from the pnpm workspace\r\n5) now getting this error on my-app startup (pnpm dev)\r\n\r\nThis worked fine in 3.6.5, and is a breaking change\r\n\r\ni moved from using a module to using a layer:\r\n\r\n1) Layer has dep for yup\r\n2) Layer Component imports yup\r\n3) App extends layer\r\n4) App uses layer component\r\n5) [nuxt] Could not resolve id yup /workspace/packages/my-app/index.html\r\n\r\nHappens both as \"dependency\" or \"devDependency\".\r\n\r\nHappens if using `\u003Cscript setup>` or just `\u003Cscript>`.\r\n\r\nOnly works if i install yup directly in my-app (which is unacceptable.)\r\n\r\n### Additional context\r\n\r\nDOES NOT work:\r\n\r\n\r\n\r\nWORKS:\r\n\r\n\r\n\r\n\r\n### Logs\r\n\r\n_No response_",[3213],{"name":3172,"color":3204},23077,"3.7.x: shared-workspace-lockfile=false now breaks monorepo deps (via layers/modules) (!!)","2024-06-30T11:07:43Z","https://github.com/nuxt/nuxt/issues/23077",0.67728925,{"description":3220,"labels":3221,"number":3226,"owner":3175,"repository":3175,"state":3227,"title":3228,"updated_at":3229,"url":3230,"score":3231},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v19.3.0`\r\n- Nuxt Version: `3.8.0`\r\n- CLI Version: `3.9.1`\r\n- Nitro Version: `2.7.2`\r\n- Package Manager: `npm@9.3.1`\r\n- Builder: `-`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/halilyuce/monorepo\r\n\r\n### Describe the bug\r\n\r\nHere is my monorepo structure:\r\n\r\n\u003Cimg width=\"297\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/29376592/7a1f6640-6b7b-4f63-aa0e-62adce755b01\">\r\n\r\nI created a monorepo with npm workspaces and extended apps in the portal(main app) thanks to nuxt layers. Everything works as expected in production mode but not in dev mode?\r\n\r\nWhen I run the project in dev mode, I do not receive any errors. It stays on the nuxt loading screen and the computer starts to heat up seriously and the fans become loud, probably a memory problem. \r\n\r\nI have a decent laptop, according to my research, this problem occurs because the node_modules location changes when using monorepo. I applied dozens of solutions for this, but none of them worked.\r\n\r\n\u003Cimg width=\"454\" alt=\"image\" src=\"https://github.com/nuxt/nuxt/assets/29376592/cd338d5c-9071-43a9-9006-3e25e82f2169\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3222,3225],{"name":3223,"color":3224},"3.x","29bc7f",{"name":3172,"color":3204},24049,"closed","Nuxt Layers + Npm Workspaces(Monorepo) Doesn't work only in Dev Mode","2023-10-31T21:23:22Z","https://github.com/nuxt/nuxt/issues/24049",0.629651,{"description":3233,"labels":3234,"number":3236,"owner":3175,"repository":3176,"state":3227,"title":3237,"updated_at":3238,"url":3239,"score":3240},"### Environment\n\n- Operating System: Darwin\n- Node Version: v22.14.0\n- Nuxt Version: -\n- CLI Version: 3.25.1\n- Nitro Version: -\n- Package Manager: pnpm@10.11.0\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\nhttps://github.com/daugvinasr/nuxt-repro\n\n### Describe the bug\n\nInside a monorepo `nuxt/test-utils` ignores provided runner (`jsdom`) and always defaults to `happy-dom`.\n\nvitest.config.ts\n```ts\nimport { defineVitestConfig } from '@nuxt/test-utils/config'\n\nexport default defineVitestConfig({\n test: {\n runner: 'jsdom',\n include: ['**\\/*.{test,spec}.?(c|m)[jt]s?(x)']\n }\n})\n```\n\n### Logs\n\n```shell-script\n➜ nuxt-repro git:(main) pnpm --filter iframe test\n\n> iframe@ test /Users/daugvinas/Projects/nuxt-repro/apps/iframe\n> vitest\n\n\n DEV v3.1.4 /Users/daugvinas/Projects/nuxt-repro/apps/iframe\n\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\n\nVitest caught 1 unhandled error during the test run.\nThis might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.\n\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTypeError: TestRunner is not a constructor\n ❯ resolveTestRunner ../../node_modules/.pnpm/vitest@3.1.4_@types+node@22.15.19_jiti@2.4.2_jsdom@26.1.0_terser@5.39.2_yaml@2.8.0/node_modules/vitest/dist/chunks/index.Cu2UlluP.js:38:21\n ❯ processTicksAndRejections node:internal/process/task_queues:105:5\n ❯ run ../../node_modules/.pnpm/vitest@3.1.4_@types+node@22.15.19_jiti@2.4.2_jsdom@26.1.0_terser@5.39.2_yaml@2.8.0/node_modules/vitest/dist/chunks/runBaseTests.BV8m0B-u.js:106:17\n ❯ runBaseTests ../../node_modules/.pnpm/vitest@3.1.4_@types+node@22.15.19_jiti@2.4.2_jsdom@26.1.0_terser@5.39.2_yaml@2.8.0/node_modules/vitest/dist/chunks/base.DslwPSCy.js:35:2\n ❯ ForksBaseWorker.executeTests ../../node_modules/.pnpm/vitest@3.1.4_@types+node@22.15.19_jiti@2.4.2_jsdom@26.1.0_terser@5.39.2_yaml@2.8.0/node_modules/vitest/dist/workers/forks.js:27:4\n ❯ execute ../../node_modules/.pnpm/vitest@3.1.4_@types+node@22.15.19_jiti@2.4.2_jsdom@26.1.0_terser@5.39.2_yaml@2.8.0/node_modules/vitest/dist/worker.js:113:3\n ❯ onMessage ../../node_modules/.pnpm/tinypool@1.0.2/node_modules/tinypool/dist/entry/process.js:55:20\n\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\n\n\n Test Files (1)\n Tests no tests\n Errors 1 error\n Start at 10:09:06\n Duration 331ms (transform 21ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms)\n\n FAIL Tests failed. Watching for file changes...\n press h to show help, press q to quit\n```",[3235],{"name":3172,"color":3173},1300,"Inside a monorepo `nuxt/test-utils` ignores provided runner","2025-05-20T17:36:03Z","https://github.com/nuxt/test-utils/issues/1300",0.65963566,{"labels":3242,"number":3244,"owner":3175,"repository":3175,"state":3227,"title":3245,"updated_at":3246,"url":3247,"score":3248},[3243],{"name":3172,"color":3204},28608,"type checking error for globally imported vitest globals","2024-08-20T10:23:47Z","https://github.com/nuxt/nuxt/issues/28608",0.66107684,{"labels":3250,"number":3259,"owner":3175,"repository":3175,"state":3227,"title":3260,"updated_at":3261,"url":3262,"score":3263},[3251,3252,3253,3256],{"name":3223,"color":3224},{"name":3172,"color":3204},{"name":3254,"color":3255},"needs reproduction","FBCA04",{"name":3257,"color":3258},"layers","006B75",25230,"Wrong tsconfig when operating in monorepo","2024-05-24T14:00:23Z","https://github.com/nuxt/nuxt/issues/25230",0.6611241,{"description":3265,"labels":3266,"number":3269,"owner":3175,"repository":3175,"state":3227,"title":3270,"updated_at":3271,"url":3272,"score":3273},"### Environment\r\n\r\n## Monorepo root\r\n```\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.15.0`\r\n- Nuxt Version: `3.3.2`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `pnpm@8.1.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n```\r\n\r\n## App and Layer\r\n```\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.15.0`\r\n- Nuxt Version: `3.3.2`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `pnpm@8.1.0`\r\n- Builder: `vite`\r\n- User Config: `extends`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n```\r\n\r\n### Reproduction\r\n\r\n1. clone this example https://github.com/kleinpetr/nuxt-layers\r\n2. run `pnpm i` in the root (it runs `nuxt prepare` at the end)\r\n3. open `layers/my-layer/nuxt.config.ts` (you should see the error as below)\r\n\r\n\r\n\r\n### Describe the bug\r\n\r\nI am playing with Nuxt Layers and facing some troubles, especially with auto imports inside layers \r\n\r\nwhen I run `pnpm build` or even `nuxi prepare` the error message disappears for a while but then returns back as you can see on the gif below\r\n\r\n\r\n\r\nI am using Volar TS Exntension with Takeover mode (I also tried enable builtin TS Language Extension and Disable Volar, but the result is still the same) \r\n\r\nDo you have any suggestion what should be the problem? (in the `/app` folder everything works fine, but inside `/layers` it is not)\r\n\r\nThanks for help :pray: \r\n\r\n### Additional context\r\nDiscussion: https://github.com/nuxt/nuxt/discussions/19963\r\nOS: Linux Fedora 37\r\nVSCode: version 1.76.2\r\n\r\n### Logs\r\n\r\n_No response_",[3267,3268],{"name":3223,"color":3224},{"name":3172,"color":3204},20155,"Nuxt Layers - VSCode auto-imports","2024-02-22T08:27:01Z","https://github.com/nuxt/nuxt/issues/20155",0.6629824,["Reactive",3275],{},["Set"],["ShallowReactive",3278],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJlItjraV5XMRKHhs8j1Q0uG14H28lqyIjcm9i2kF9mA":-1},"/nuxt/test-utils/1307"]