","2024-06-14T16:02:02Z","https://github.com/nuxt/nuxt/issues/10412",0.76104945,{"description":2971,"labels":2972,"number":2978,"owner":2877,"repository":2878,"state":2956,"title":2979,"updated_at":2980,"url":2981,"score":2982},"### Environment\n\n- Node version: `22.13`\n- Nuxt version: `3.15`\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.0.0-alpha.11\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/affectionate-sky-8vxn4g\n\n### Description\n\nWhen using `compatibilityVersion: 4`, the `dir` in `icon.customCollections` should be absolute path (`./app/assets/icons`):\n```\n✔ Nuxt Icon loaded local collection custom with 1 icons\n```\n\nOtherwise, when using `~/assets/icons`, it doesn't find any icon:\n```\n✔ Nuxt Icon loaded local collection custom with 0 icons\n```\n\n\n\n### Additional context\n\nnuxt.config.ts\n```js\nexport default defineNuxtConfig({\n modules: [\"@nuxt/ui\"],\n devtools: { enabled: true },\n compatibilityDate: \"2024-12-19\",\n future: {\n compatibilityVersion: 4,\n },\n icon: {\n customCollections: [\n {\n prefix: \"custom\",\n dir: \"~/assets/icons\", // not working\n // dir: \"./app/assets/icons\", // it works\n },\n ],\n },\n});\n```\n\n### Logs\n\n```shell-script\n\n```",[2973,2974,2975],{"name":2938,"color":2939},{"name":2871,"color":2872},{"name":2976,"color":2977},"upstream","78bddb",3133,"Custom icon collection path bug when using Nuxt v4 directory structure","2025-03-26T15:17:29Z","https://github.com/nuxt/ui/issues/3133",0.7777951,{"description":2984,"labels":2985,"number":2987,"owner":2877,"repository":2878,"state":2956,"title":2988,"updated_at":2989,"url":2990,"score":2991},"### Environment\r\n\r\n- Operating System: Darwin\r\n- Node Version: v20.15.1\r\n- Nuxt Version: 3.13.2\r\n- CLI Version: 3.13.2\r\n- Nitro Version: 2.9.7\r\n- Package Manager: pnpm@8.15.9\r\n- Builder: -\r\n- User Config: app, colorMode, compatibilityDate, css, devServer, devtools, i18n, modules, openFetch, runtimeConfig, ssr, tailwindcss\r\n- Runtime Modules: @nuxt/ui@2.18.0, @pinia/nuxt@0.5.1, nuxt-icons@3.2.1, @nuxtjs/i18n@8.5.3, nuxt-open-fetch@0.9.1\r\n- Build Modules: -\r\n\r\n### Version\r\n\r\nv.2.18.0\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt-ui-k1f28x?file=app.config.ts\r\n\r\n### Description\r\n\r\nSince updating the library to version 2.18.0, custom variants defined in the app.config.ts are no longer recognized by TypeScript, resulting in type errors when using these custom variants in the code.\r\n\r\nSteps to reproduce:\r\n\r\n1. Define a custom variant in app.config.ts\r\n2. Observe TypeScript type errors indicating the variant is not recognized when using it to custom another button ( in app.config.ts )\r\n\r\nExpected behavior: Custom variants should be properly recognized and validated by TypeScript, as they were in versions prior to 2.18.0.\r\n\r\nThank you for your help in resolving this issue!\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2986],{"name":2938,"color":2939},2221,"Custom variants not recognized by TypeScript in app.config.ts after updating to v2.18.0","2024-11-26T13:14:03Z","https://github.com/nuxt/ui/issues/2221",0.7794301,["Reactive",2993],{},["Set"],["ShallowReactive",2996],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRvPa2zMQq-nvphyRsKRg7X3lSK2RioPydtQNIukmYdY":-1},"/nuxt/ui/3089"]