\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3172],{"name":3173,"color":3174},"pending triage","E99695",32633,"nuxt","open","[v4] Lint error – Warnings on auto-imports in extended folders","2025-07-16T10:04:14Z","https://github.com/nuxt/nuxt/issues/32633",0.5977384,{"description":3183,"labels":3184,"number":3187,"owner":3176,"repository":3188,"state":3177,"title":3189,"updated_at":3190,"url":3191,"score":3192},"### Environment\n\n------------------------------\n- Operating System: Linux\n- Node Version: v24.0.1\n- Nuxt Version: 4.1.0\n- CLI Version: 3.28.0\n- Nitro Version: 2.12.5\n- Package Manager: npm@11.3.0\n- Builder: -\n- User Config: compatibilityDate, devtools, modules, css, colorMode, echarts, ssr, nitro, test\n- Runtime Modules: @nuxt/ui@3.3.3, nuxt-echarts@1.0.0, @nuxt/eslint@1.9.0, @nuxt/icon@2.0.0, @nuxt/test-utils/module@3.19.2\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-9plprupi?file=test%2Fapp.nuxt.spec.ts\n\n### Describe the bug\n\nFor a regular nuxt project, directories such as `server`, `app` and `shared` have differenct tsconfig, which make type inference correct for auto import (e.g. `ref`). However, the standalone `test` directory does not have it's own tsconfig, thus auto imported stuff will cause type issue.\n\nhttps://stackblitz.com/edit/github-9plprupi?file=test%2Fapp.nuxt.spec.ts\n\nTake this for example. Assume `components` directory is configured with tsconfig, `ref` is auto imported there and the type would be correct. However, `test` is not config with specific tsconfig, thus `useRef`'s return type would be incorrect - since `ref`'s type is not resolved properly.\n\nMy solution is to put tests in different directory. For example, put server tests under `server/__tests__`, app test under `app/__tests__`, ... etc. But I think this issue may fixed from the test-utils side - may test util modify tsconfig under .nuxt folder, inject `test` directory into the includes section, so the type issue could be handled properly?\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3185],{"name":3173,"color":3186},"5D08F5",1432,"test-utils","Type issue related to auto import","2025-10-03T12:32:33Z","https://github.com/nuxt/test-utils/issues/1432",0.6436485,{"description":3194,"labels":3195,"number":3197,"owner":3176,"repository":3176,"state":3177,"title":3198,"updated_at":3199,"url":3200,"score":3201},"### Environment\n\n- Operating System: Linux\n- Node Version: v20.19.1\n- Nuxt Version: 4.0.1\n- CLI Version: 3.26.4\n- Nitro Version: 2.12.3\n- Package Manager: npm@10.8.2\n- Builder: -\n- User Config: compatibilityDate, devtools\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-rql8bhyh?file=shared%2Futils%2Futil.ts\n\nRun `npm install && npm run typecheck`.\n\n### Describe the bug\n\nWith the new Typescript project references in `tsconfig.json`, utils in the shared directory seemingly don't know about shared utils according to the typecheck. There was no error with the `tsconfig.json` that just extended `./.nuxt/tsconfig.json`.\n\n### Additional context\n\nI found two similar issues that may report the same issue, but their descriptions don't allow me to fully confirm this as they're missing a link to a reproduction:\n- https://github.com/nuxt/nuxt/issues/32652\n- https://github.com/nuxt/nuxt/issues/32646\n\n### Logs\n\n\u003Cimg width=\"490\" height=\"94\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5c8a3058-32bc-4994-b02f-d9750566535d\" />",[3196],{"name":3173,"color":3174},32714,"fix(types): v4 auto-import in shared directory","2025-07-21T23:23:54Z","https://github.com/nuxt/nuxt/issues/32714",0.6442209,{"labels":3203,"number":3211,"owner":3176,"repository":3176,"state":3212,"title":3213,"updated_at":3214,"url":3215,"score":3216},[3204,3207,3208],{"name":3205,"color":3206},"3.x","29bc7f",{"name":3173,"color":3174},{"name":3209,"color":3210},"needs reproduction","FBCA04",13932,"closed","Take commented out code as import","2023-01-19T17:09:59Z","https://github.com/nuxt/nuxt/issues/13932",0.6000287,{"labels":3218,"number":3228,"owner":3176,"repository":3176,"state":3212,"title":3229,"updated_at":3230,"url":3231,"score":3232},[3219,3222,3223,3226],{"name":3220,"color":3221},"types","2875C3",{"name":3205,"color":3206},{"name":3224,"color":3225},"bug","d73a4a",{"name":3227,"color":3210},"🔨 p3-minor",13713,"`#imports` types don't include server auto-imports","2023-03-13T16:54:30Z","https://github.com/nuxt/nuxt/issues/13713",0.6142556,{"description":3234,"labels":3235,"number":3238,"owner":3176,"repository":3176,"state":3212,"title":3239,"updated_at":3240,"url":3241,"score":3242},"### Environment\n\n------------------------------\n- Operating System: Linux\n- Node Version: v18.20.5\n- Nuxt Version: 3.14.159\n- CLI Version: 3.15.0\n- Nitro Version: 2.10.4\n- Package Manager: bun@1.1.34\n- Builder: -\n- User Config: default\n- Runtime Modules: -\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nWhen defining `shared/types/test.ts` with:\n```ts\nexport type Test = string;\n```\nI have, from `app.vue`:\n\nAnd if I press `\u003Ctab>`, vscode inserts:\n```ts\nimport type { Test } from '~~/shared/types/test';\n```\nWhich defeats the point of autoimports.\n\n### Describe the bug\n\nAlso the behavior is not always the same, sometimes (although not often) I see the alias instead and it doesn't insert the extra line.\n\nWhat's wrong?\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3236,3237],{"name":3173,"color":3174},{"name":3209,"color":3210},29963,"Shared folder - Autoimports not working","2025-03-24T23:00:22Z","https://github.com/nuxt/nuxt/issues/29963",0.6254526,{"labels":3244,"number":3248,"owner":3176,"repository":3176,"state":3212,"title":3249,"updated_at":3250,"url":3251,"score":3252},[3245,3246,3247],{"name":3205,"color":3206},{"name":3173,"color":3174},{"name":3209,"color":3210},13573,"[Hard to reproduce] Issue with auto-import of composables in some components","2023-01-19T16:59:51Z","https://github.com/nuxt/nuxt/issues/13573",0.6304603,{"description":3254,"labels":3255,"number":3260,"owner":3176,"repository":3176,"state":3212,"title":3261,"updated_at":3262,"url":3263,"score":3264},"### Environment\n\n- Operating System: Linux\n- Node Version: v20.19.1\n- Nuxt Version: 4.0.3\n- CLI Version: 3.27.0\n- Nitro Version: 2.12.4\n- Package Manager: pnpm@8.15.6\n- Builder: -\n- User Config: compatibilityDate, devtools\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-4rmc3c3d-gztzh6ae?file=test.ts\n\n### Describe the bug\n\nThis should be an regression as they're available in `nuxt@3.17.5`.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3256,3257],{"name":3173,"color":3174},{"name":3258,"color":3259},"possible regression","B90A42",32971,"Auto imports is disabled outside `srcDir`","2025-08-18T11:55:27Z","https://github.com/nuxt/nuxt/issues/32971",0.6347777,{"description":3266,"labels":3267,"number":3270,"owner":3176,"repository":3176,"state":3212,"title":3271,"updated_at":3272,"url":3273,"score":3274},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v20.1.0`\r\n- Nuxt Version: `3.6.2`\r\n- Nitro Version: `2.5.2`\r\n- Package Manager: `npm@9.6.4`\r\n- Builder: `vite`\r\n- User Config: `imports`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-jp4xw2?file=components%2FHelloWorld.vue\n\n### Describe the bug\n\nI tested disabling the auto import feature, but the component still being imported\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3268,3269],{"name":3205,"color":3206},{"name":3173,"color":3174},22056," autoImport: false is not working","2023-07-10T07:30:44Z","https://github.com/nuxt/nuxt/issues/22056",0.6365702,{"labels":3276,"number":3280,"owner":3176,"repository":3176,"state":3212,"title":3281,"updated_at":3282,"url":3283,"score":3284},[3277,3278,3279],{"name":3205,"color":3206},{"name":3173,"color":3174},{"name":3209,"color":3210},14028,"Aborted?","2023-01-19T17:22:47Z","https://github.com/nuxt/nuxt/issues/14028",0.63790107,["Reactive",3286],{},["Set"],["ShallowReactive",3289],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fS952bzDTPpRAe07HRmjQK1KKvWV885k7jJb6azFrzUM":-1},"/nuxt/nuxt/14306"]