\r\n \u003C/div>\r\n\u003C/template>\r\n\u003Cscript setup lang=\"ts\">\r\nwithDefaults(\r\n defineProps\u003C{\r\n variant: \"fill\" | \"ghost\";\r\n }>(),\r\n { variant: \"fill\" }\r\n);\r\n\u003C/script>\r\n```\r\n\r\n`~/.nuxt/components.d.ts`\r\n\r\n```TypeScript\r\ndeclare module 'vue' {\r\n export interface GlobalComponents {\r\n //...\r\n 'MyButton': typeof import(\"../../src/runtime/components/MyButton.vue\")['default']\r\n //...\r\n }\r\n}\r\n\r\nexport const MyButton: typeof import(\"../../src/runtime/components/MyButton.vue\")['default']\r\n\r\nexport const componentNames: string[]\r\n```\r\n\r\n\r\n### Correct Intellisense\r\n\r\nVsCode popopver hovering `'MyButton'` in `~/.nuxt/components.d.ts`\r\n\r\n```TypeScript\r\n(property) GlobalComponents['MyButton']: __VLS_WithTemplateSlots\u003CDefineComponent\u003C{\r\n variant: {\r\n type: PropType\u003C\"fill\" | \"ghost\">;\r\n required: true;\r\n default: string;\r\n };\r\n}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 5 more ..., {}>, {\r\n ...;\r\n}>\r\n````\r\n\r\n### Wrong Intellisense\r\n\r\nVsCode popopver hovering `\u003CMyButton />` in the template block of `~/app.vue` (or any other template)\r\n\r\n```TypeScript\r\n(property) 'MyButton': DefineComponent\u003C{}, {}, any>\r\n```\r\n\r\n### Additional context\r\n\r\nThe above example is the current state of the reproduction repo. But a different, but similar behavior happened in other reports (for example a yarn workspace repo). Strange enough, sometimes, it works fine...\r\n\r\n### Logs\r\n\r\n_No response_",[3091,3094,3097,3098],{"name":3092,"color":3093},"types","2875C3",{"name":3095,"color":3096},"3.x","29bc7f",{"name":3042,"color":3043},{"name":3099,"color":3100},"upstream","E8A36D",21933,"Component appears to be untyped in template block","2023-12-12T14:36:22Z","https://github.com/nuxt/nuxt/issues/21933",0.6853357,{"description":3107,"labels":3108,"number":3112,"owner":3028,"repository":3029,"state":3059,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### Environment\n\nWindows 11,\nNode v20.19.0\n\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.12\n\n### Reproduction\n\ntabs: {\n slots: {\n root: 'flex items-center gap-2',\n list: 'relative **flex-none** p-1 px-0 group',\n indicator: 'absolute transition-[translate,width] duration-200',\n trigger: [\n 'group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75',\n 'transition-colors'\n ],\n content: 'focus:outline-none w-full',\n leadingIcon: 'shrink-0',\n leadingAvatar: 'shrink-0',\n leadingAvatarSize: '',\n label: 'truncate'\n },\n\n### Description\n\nFor me it's working great with Nuxt UI to overwrite \"normal\" styles in the app.config.ts, but if I try to overwrite the component standard flex with flex-none it's not working, it is still flex. Any ideas how to solve or is it a bug?\n\nThanks\n\nChristoph \n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3109,3110,3111],{"name":3019,"color":3020},{"name":3022,"color":3023},{"name":3025,"color":3026},4156,"UTabs cannot overwrite flex to flex-none","2025-05-15T15:32:49Z","https://github.com/nuxt/ui/issues/4156",0.6862522,{"description":3118,"labels":3119,"number":3125,"owner":3028,"repository":3028,"state":3059,"title":3126,"updated_at":3127,"url":3128,"score":3129},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v18.11.0`\r\n- Nuxt Version: `3.3.1`\r\n- Nitro Version: `2.3.1`\r\n- Package Manager: `pnpm@7.13.6`\r\n- Builder: `vite`\r\n- User Config: `modules`, `srcDir`, `ssr`, `nitro`, `devServer`, `typescript`, `devtools`, `runtimeConfig`\r\n- Runtime Modules: `@unocss/nuxt@0.50.4`, `@vueuse/nuxt@9.13.0`, `@nuxt/devtools@0.2.5`, `nuxt-typed-router@3.0.6`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nI've recreated the [optimistic update example from the docs](https://nuxt.com/docs/api/composables/use-nuxt-data#optimistic-updates):\r\nhttps://stackblitz.com/edit/github-a2zxx3?file=requests/todos.ts\r\n1. Click add button\r\n2. Click add button again (every second add will fail)\r\n3. See that the data doesn't get overwritten.\n\n### Describe the bug\n\nWhen using `useNuxtData`, it is not possible to overwrite the data directly:\r\n\r\n```ts\r\n\r\nconst {data: todos} = useFetch('/api/todos', {key: 'todos'})\r\n\r\nconst {data: nuxtDataTodos} = useNuxtData\u003Cstring[]>('todos') // array of todo\r\nnuxtDataTodos.value = [\"replace all todos\"] // won't update todos from useFetch/useAsyncData\r\n```\r\n\r\nFrom looking at [useNuxtData docs](https://nuxt.com/docs/api/composables/use-nuxt-data#optimistic-updates), I'd expect this to work.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3120,3121,3122],{"name":3095,"color":3096},{"name":3019,"color":3020},{"name":3123,"color":3124},"🔨 p3-minor","FBCA04",19704,"useNuxtData setting overwriting data doesn't work","2024-03-15T16:40:02Z","https://github.com/nuxt/nuxt/issues/19704",0.68632495,{"description":3131,"labels":3132,"number":3136,"owner":3028,"repository":3028,"state":3059,"title":3137,"updated_at":3138,"url":3139,"score":3140},"I'm getting a similar error:\r\n\r\n `Property X does not exist on type 'CreateComponentPublicInstance\u003CReadonly\u003CExtractPropTypes\u003C{}>>, { Menu: typeof Menu; MenuButton: typeof MenuButton; MenuItem: typeof MenuItem; MenuItems: typeof MenuItems; Popover: typeof Popover; ... 10 more ...; handleLinkClick: typeof handleLinkClick; }, ... 17 more ..., {}>'.ts-plugin(2339)`\r\n\r\nWhere `X` is any function or variable in the utils folder. The app works fine on live and dev mode so nuxt is auto-importing correctly, but I think vscode's \"Vue - Official\" extension isn't understanding that this is auto-imported.\r\n\r\nThis only happens in the `\u003Ctemplate>` section, it doesn't error inside `\u003Cscript>`.\r\n\r\nThe error wasn't here when I had Nuxt 3.11.2, but I recently upgraded to 3.12.4 and it showed up. Is this happening for anyone else?\r\n\r\n_Originally posted by @jeffreytung7 in https://github.com/nuxt/nuxt/issues/28373#issuecomment-2272179792_",[3133,3134],{"name":3042,"color":3043},{"name":3135,"color":3124},"needs reproduction",28707,"Property X does not exist on type 'CreateComponentPublicInstance\u003CReadonly\u003CExtractPropTypes\u003C{}>>","2025-02-19T14:13:18Z","https://github.com/nuxt/nuxt/issues/28707",0.68966967,{"description":3142,"labels":3143,"number":3146,"owner":3028,"repository":3028,"state":3059,"title":3147,"updated_at":3148,"url":3149,"score":3150},"### Environment\n\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.11.0\r\n- Nuxt Version: 3.11.0\r\n- CLI Version: 3.10.1\r\n- Nitro Version: 2.9.4\r\n- Package Manager: npm@10.2.4\r\n- Builder: -\r\n- User Config: devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-xwmppm?file=pages%2Findex.vue\n\n### Describe the bug\n\n`\u003Cbutton :class=\"{ 'active': activeTab === 0 }\">Button 0\u003C/button>` - class active is working as expected with `npm run dev`, but `npm run generate` and `npm run preview` with `localhost:3000?active=0` its not working \n\n### Additional context\n\nCode like this:\r\n```\r\nconst route = useRoute()\r\nactiveTab.value = route.query?.active\r\n```\r\nClass change its not working with prerender static website \n\n### Logs\n\n_No response_",[3144,3145],{"name":3095,"color":3096},{"name":3042,"color":3043},26331,"Inconsistency in Nuxt's behavior with and without server: useRoute","2024-03-18T13:48:24Z","https://github.com/nuxt/nuxt/issues/26331",0.69279367,["Reactive",3152],{},["Set"],["ShallowReactive",3155],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fXnEMVlOnMsFybIzFCkq3EnxEtSlKamZ3MsTpQQ_9qRU":-1},"/nuxt/ui/4468"]