\n\nWhere I use config then, it shows me typing error.\nWhen I switch to the legacy tsconfig, typing issue are gone.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nTypecheck summary: \n\n\n\napp/layouts/default.vue:35:33 - error TS2339: Property 'title' does not exist on type '{}'.\n\n35 title: appConfig.information?.title,\n ~~~~~\n\napp/layouts/default.vue:36:39 - error TS2339: Property 'description' does not exist on type '{}'.\n\n36 description: appConfig.information?.description,\n ~~~~~~~~~~~\n\napp/layouts/default.vue:39:36 - error TS2339: Property 'socials' does not exist on type '{}'.\n\n39 github: appConfig.information?.socials?.github,\n ~~~~~~~\n\napp/layouts/default.vue:40:38 - error TS2339: Property 'socials' does not exist on type '{}'.\n\n40 linkedin: appConfig.information?.socials?.linkedin,\n ~~~~~~~\n\napp/layouts/default.vue:41:40 - error TS2339: Property 'birthdate' does not exist on type '{}'.\n\n41 isBirthday: appConfig.information?.birthdate ? isBirthday(appConfig.information?.birthdate) : false,\n ~~~~~~~~~\n\napp/layouts/default.vue:41:86 - error TS2339: Property 'birthdate' does not exist on type '{}'.\n\n41 isBirthday: appConfig.information?.birthdate ? isBirthday(appConfig.information?.birthdate) : false,\n ~~~~~~~~~\n\napp/layouts/default.vue:44:27 - error TS2339: Property 'icons' does not exist on type '{}'.\n\n44 normal: appConfig.ui?.icons?.normal as string[] ?? [],\n ~~~~~\n\napp/layouts/default.vue:45:29 - error TS2339: Property 'icons' does not exist on type '{}'.\n\n45 birthday: appConfig.ui?.icons?.birthday as string[] ?? [],\n ~~~~~\n\napp/middleware/title.global.ts:5:28 - error TS2571: Object is of type 'unknown'.\n\n5 const appConfigTitle = useAppConfig().information.title;\n ~~~~~~~~~~~~~~~~~~~~~~~~~~\n\napp/pages/index.vue:14:62 - error TS2339: Property 'messages' does not exist on type '{}'.\n\n14 const messages = useState('randomIndex', () => appConfig.ui?.messages?.sort(() => Math.random() - 0.5))\n ~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n```",[3057,3060],{"name":3058,"color":3059},"pending triage","E99695",{"name":3061,"color":3062},"possible regression","B90A42",32768,"useAppConfig lose types from nuxt schema with new tsconfig","2025-07-25T22:51:01Z","https://github.com/nuxt/nuxt/issues/32768",0.63776827,{"description":3069,"labels":3070,"number":3082,"owner":3032,"repository":3032,"state":3083,"title":3084,"updated_at":3085,"url":3086,"score":3087},"### Environment\n\n------------------------------\r\n- Operating System: Darwin\r\n- Node Version: v18.16.0\r\n- Nuxt Version: 3.5.3\r\n- Nitro Version: 2.4.1\r\n- Package Manager: pnpm@8.6.1\r\n- Builder: vite\r\n- User Config: extends, imports, app, css, components, ignore\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nno need\n\n### Describe the bug\n\ni guess we are missing some vue types in `https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/imports/presets.ts`,\r\nreference: https://vuejs.org/api/utility-types.html#proptype-t\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3071,3074,3075,3078,3079],{"name":3072,"color":3073},"good first issue","fbca04",{"name":3020,"color":3021},{"name":3076,"color":3077},"3.x","29bc7f",{"name":3026,"color":3027},{"name":3080,"color":3081},"🔨 p3-minor","FBCA04",21430,"closed","Missing some vue type since vue3.3","2023-06-07T19:49:21Z","https://github.com/nuxt/nuxt/issues/21430",0.6042136,{"description":3089,"labels":3090,"number":3095,"owner":3032,"repository":3032,"state":3083,"title":3096,"updated_at":3097,"url":3098,"score":3099},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.3.3`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `npm@7.17.0`\r\n- Builder: `vite`\r\n- User Config: `runtimeConfig`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-2l517b\r\n\r\n```\r\n$ npm i\r\n$ npm run typecheck\r\n```\r\n\n\n### Describe the bug\n\n\r\nThe code below gives an error.\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Ch1>index\u003C/h1>\r\n \u003Cp>{{ $config.public.flag }}\u003C/p>\u003C!-- type error -->\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\n\r\n```vue\r\n\u003Cscript lang=\"ts\">\r\nexport default defineNuxtComponent({\r\n created() {\r\n console.log(this.$config.public.flag); // type error\r\n },\r\n});\r\n\u003C/script>\r\n```\r\n\r\nI paste the log when type checking at the bottom.\r\n\r\nThis is a problem that occurs from v3.3.3.\r\nIt did not occur with v3.2.3. (https://stackblitz.com/edit/github-2l517b-cwvb5p)\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n❯ npm run typecheck\r\n$ nuxt typecheck\r\nNuxi 3.3.3 16:52:14\r\npages/index.vue:4:11 - error TS2339: Property '$config' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial\u003C{}> & Omit\u003CReadonly\u003CExtractPropTypes\u003C{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch\u003CT extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => ...'.\r\n\r\n4 \u003Cp>{{ $config.public.flag }}\u003C/p>\r\n ~~~~~~~\r\n\r\npages/option.vue:4:22 - error TS2339: Property '$config' does not exist on type 'CreateComponentPublicInstance\u003C{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, {}, {}, false, {}, OptionTypesType\u003C{}, {}, {}, {}, {}, {}>, ... 5 more ..., {}>'.\r\n\r\n4 console.log(this.$config.public.flag);\r\n ~~~~~~~\r\n\r\npages/option.vue:12:11 - error TS2339: Property '$config' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial\u003C{}> & Omit\u003CReadonly\u003CExtractPropTypes\u003C{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch\u003CT extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => ...'.\r\n\r\n12 \u003Cp>{{ $config.public.flag }}\u003C/p>\r\n ~~~~~~~\r\n\r\n\r\nFound 3 errors in 2 files.\r\n\r\nErrors Files\r\n 1 pages/index.vue:4\r\n 2 pages/option.vue:4\r\n\r\n ERROR Command failed with exit code 2: vue-tsc --noEmit 16:52:17\r\n\r\n at makeError (file://node_modules/nuxi/dist/shared/nuxi.63bda57d.mjs:640:11)\r\n at handlePromise (file://node_modules/nuxi/dist/shared/nuxi.63bda57d.mjs:1129:26)\r\n at async Object.invoke (file://node_modules/nuxi/dist/chunks/typecheck.mjs:69:7)\r\n at async _main (file://node_modules/nuxi/dist/cli.mjs:64:20)\n```\n",[3091,3092,3093,3094],{"name":3020,"color":3021},{"name":3076,"color":3077},{"name":3026,"color":3027},{"name":3080,"color":3081},20069,"`$config` type error","2023-04-04T13:34:42Z","https://github.com/nuxt/nuxt/issues/20069",0.6067744,{"description":3101,"labels":3102,"number":3105,"owner":3032,"repository":3032,"state":3083,"title":3106,"updated_at":3107,"url":3108,"score":3109},"### Environment\n\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.20.3\r\n- Nuxt Version: 3.13.0-28726360.b1358220\r\n- CLI Version: 3.13.0-1719571044.bca75ab\r\n- Nitro Version: 2.10.0-28726471.af42c19d\r\n- Package Manager: npm@10.2.3\r\n- Builder: -\r\n- User Config: compatibilityDate, devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\n1. https://stackblitz.com/edit/github-dz3tm4?file=pages%2Findex.vue,nuxt.config.ts,app.vue\r\n2. after installation run `npm run typecheck`\r\n3. observer type error `pages/index.vue:5:17 - error TS18046: '__VLS_ctx.$config' is of type 'unknown'.`\n\n### Describe the bug\n\nThis is caused by the changes in https://github.com/nuxt/nuxt/pull/28446 (or more accurately https://github.com/vuejs/router/pull/2295) and actually demonstrates the issue its trying to solve, the mixing of module augmentation causes issues and will likely do the same for modules downstream.\n\n### Additional context\n\nIf we want to continue the route of https://github.com/nuxt/nuxt/pull/28446 then I have [a PR](https://github.com/nuxt/nuxt/pull/28559) that would fix the issue described here. \r\n\r\nI'm in favor to instead only augmenting `vue` to be in line with Vue's guidelines (which https://github.com/nuxt/nuxt/pull/28542 does) but I'm pretty sure this will also cause issues downstream.\n\n### Logs\n\n_No response_",[3103,3104],{"name":3020,"color":3021},{"name":3026,"color":3027},28561,"Module type augmentation conflict breaks types for `$config` property on `ComponentCustomProperties` on nightly release","2024-08-16T08:45:20Z","https://github.com/nuxt/nuxt/issues/28561",0.6239741,{"description":3111,"labels":3112,"number":3116,"owner":3032,"repository":3032,"state":3083,"title":3117,"updated_at":3118,"url":3119,"score":3120},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.1.1-rc.0-27910725.fdb31f4`\r\n- Nitro Version: `2.0.0-27909628.d73998e`\r\n- Package Manager: `npm@8.8.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-3rnspb?file=nuxt.config.ts\n\n### Describe the bug\n\n'tailwindcss' does not exist in type 'NuxtConfig'.ts(2345)\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3113,3114,3115],{"name":3020,"color":3021},{"name":3076,"color":3077},{"name":3080,"color":3081},18512,"nuxt config type mismatch when using edge versions","2023-02-13T22:42:23Z","https://github.com/nuxt/nuxt/issues/18512",0.6274836,{"description":3122,"labels":3123,"number":3129,"owner":3032,"repository":3049,"state":3083,"title":3130,"updated_at":3131,"url":3132,"score":3133},"### Environment\n\n- Operating System: Darwin\n- Node Version: v20.12.0\n- Nuxt Version: - (using vue@latest)\n- CLI Version: 3.15.0\n- Nitro Version: -\n- Package Manager: pnpm@9.0.4\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n\n### Version\n\nv3.0.0-alpha.8\n\n### Reproduction\n\nhttps://github.com/zugende/nuxt-ui-type-error-repro\n\n### Description\n\nWhen creating a fresh standalone Vue app using `pnpm create vue@latest` and then installing nuxt/ui by following the instructions here: https://ui3.nuxt.dev/getting-started/installation/vue one get type errors during the build process running `pnpm build`.\n\n👀 Update 15. Nov: Workaround is to disable type-check in your build command\n``` bash\n❌ \"build\": \"run-p type-check \\\"build-only {@}\\\" --\",\n✅ \"build-only\": \"vite build\",\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n// more than 160 errors (shortened)\n\nnode_modules/.pnpm/@nuxt+ui@3.0.0-alpha.8_@babel+parser@7.26.2_embla-carousel@8.3.1_rollup@4.24.4_typescript@5.6_yljlai3w6pxxgcxew5prmihdom/node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue:5:24 - error TS2307: Cannot find module '#build/app.config' or its corresponding type declarations.\n\n5 import _appConfig from '#build/app.config'\n ~~~~~~~~~~~~~~~~~~~\n\nnode_modules/.pnpm/@nuxt+ui@3.0.0-alpha.8_@babel+parser@7.26.2_embla-carousel@8.3.1_rollup@4.24.4_typescript@5.6_yljlai3w6pxxgcxew5prmihdom/node_modules/@nuxt/ui/dist/runtime/components/Textarea.vue:4:24 - error TS2307: Cannot find module '#build/app.config' or its corresponding type declarations.\n\n4 import _appConfig from '#build/app.config'\n ~~~~~~~~~~~~~~~~~~~\n\n[.....]\n\nFound 165 errors.",[3124,3125,3126],{"name":3026,"color":3027},{"name":3043,"color":3044},{"name":3127,"color":3128},"vue","42b883",2560,"Vue Vite plugin is causing type errors","2025-05-06T16:09:54Z","https://github.com/nuxt/ui/issues/2560",0.6301481,{"labels":3135,"number":3142,"owner":3032,"repository":3032,"state":3083,"title":3143,"updated_at":3144,"url":3145,"score":3146},[3136,3137,3138,3139],{"name":3076,"color":3077},{"name":3026,"color":3027},{"name":3080,"color":3081},{"name":3140,"color":3141},"schema","1d76db",13838,"nuxt config ts error","2023-01-19T17:13:13Z","https://github.com/nuxt/nuxt/issues/13838",0.63056576,{"description":3148,"labels":3149,"number":3156,"owner":3032,"repository":3032,"state":3083,"title":3157,"updated_at":3158,"url":3159,"score":3160},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v14.18.1`\r\n- Nuxt Version: `3.2.2`\r\n- Nitro Version: `2.2.2`\r\n- Package Manager: `yarn@1.22.17`\r\n- Builder: `vite`\r\n- User Config: `modules`, `build`, `runtimeConfig`, `vite`\r\n- Runtime Modules: `@nuxt/content@2.4.3`, `@pinia/nuxt@0.4.6`, `nuxt3-lazy-load@1.0.2`\r\n- Build Modules: `-`\r\n\r\n\n\n### Reproduction\n\nDocumentation issue.\n\n### Describe the bug\n\nWhen injecting helpers into the NuxtApp instance through a plugin, the documentation suggests adding a module declaration for `vue`. \r\n\r\nIt seems that this should be changed to `@vue/runtime-core` for IDEs to correctly detect the type within templates.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3150,3151,3152,3153],{"name":3020,"color":3021},{"name":3076,"color":3077},{"name":3029,"color":3030},{"name":3154,"color":3155},"upstream-bug","B60205",19399,"webstorm does not correctly display type of globally injected properties","2023-03-19T23:22:57Z","https://github.com/nuxt/nuxt/issues/19399",0.6320509,["Reactive",3162],{},["Set"],["ShallowReactive",3165],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRNMhxjFJKHGZVXcQKmW2mXuet7lavp4EjVXysCxmC6g":-1},"/nuxt/nuxt/14162"]