\u003C/svg>\n```\n\n\n\nnuxt.config.ts\n```ts\n// https://nuxt.com/docs/api/configuration/nuxt-config\nexport default defineNuxtConfig({\n compatibilityDate: '2024-04-03',\n devtools: { enabled: true },\n modules: ['@nuxt/ui', '@nuxtjs/html-validator'],\n css: ['~/assets/css/main.css'],\n icon: {\n customCollections: [{\n prefix: 'custom',\n dir: './assets/icons'\n }]\n },\n\n // modules\n htmlValidator: {\n usePrettier: false,\n },\n})\n```\n\nin my component SFooter.vue:\n\n```vue\n\u003Cnav aria-label=\"Social Media Links\" class=\"mb-4 flex space-x-6 md:mb-0\">\n \u003Cnuxt-link\n v-for=\"social in socialLinks\"\n :key=\"social.name\"\n :href=\"social.link\"\n :aria-label=\"social.name\"\n class=\"hover:text-gray-700\">\n \u003CUIcon :name=\"social.icon\" class=\"size-5\" aria-hidden=\"true\" />\n \u003Cspan class=\"sr-only\">Visit our {{ social.name }} page\u003C/span>\n \u003C/nuxt-link>\n \u003C/nav>\n\n\n\u003Cscript setup lang=ts>\nconst socialLinks = [\n {\n name: 'SoundCloud',\n link: '#',\n icon: 'i-custom-soundcloud',\n },\n...\n\n```\n\n\n\n\n### Description\n\nI get the warning in console: `WARN [Icon] failed to load icon custom:soundcloud`\n\nand nothing displaying on front end\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2946,2947,2948,2949],{"name":2866,"color":2867},{"name":2899,"color":2900},{"name":2902,"color":2903},{"name":2950,"color":2951},"upstream","78bddb",2609,"custom icons not working","2024-11-15T00:46:19Z","https://github.com/nuxt/ui/issues/2609",0.6909919,{"description":2958,"labels":2959,"number":2962,"owner":2872,"repository":2889,"state":2905,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### For what version of Nuxt UI are you asking this question?\n\nv3.0.0-alpha.x\n\n### Description\n\nIn my Nuxt 3 project (that uses Nuxt UI `v3.0.0-alpha9`), I have a Vue component like this:\n\n```vue\n\u003Cscript setup lang=\"ts\">\n...\n\u003C/script>\n\n\u003Ctemplate>\n \u003CUContainer class=\"section\">\n ...\n \u003C/UContainer>\n\u003C/template>\n\n\u003Cstyle scoped lang=\"scss\">\n@use \"tailwindcss\";\n\n.section + .section {\n @apply mt-8 lg:mt-12;\n}\n\u003C/style>\n```\n\nThe problem is that `@apply mt-8 lg:mt-12;` doesn't work unless I add this to my `nuxt.config.ts`:\n```\npostcss: {\n plugins: {\n \"@tailwindcss/postcss\": {}, // https://tailwindcss.com/docs/v4-beta#using-post-css\n },\n},\n```\n\nHowever, when I do this, the Nuxt UI components stop working properly (e.g., Slideover renders at the bottom of the page and with wrong styling). How can I make the `@apply ...` work without breaking the Nuxt UI components?\n\nThis is my `package.json`:\n```json\n{\n \"name\": \"frontend\",\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"postinstall\": \"husky install && nuxt prepare\",\n \"dev\": \"nuxt dev\",\n \"build\": \"nuxt build\",\n \"preview\": \"nuxt preview\"\n },\n \"dependencies\": {\n \"@nuxt/ui\": \"^3.0.0-alpha.9\",\n \"nuxt\": \"latest\",\n \"nuxt-svgo\": \"latest\",\n \"vue\": \"latest\",\n \"vue-router\": \"latest\"\n },\n \"devDependencies\": {\n \"@commitlint/cli\": \"latest\",\n \"@commitlint/config-conventional\": \"latest\",\n \"husky\": \"latest\",\n \"sass\": \"latest\"\n }\n}\n```\n\nThis is my `nuxt.config.ts`:\n```ts\n// https://nuxt.com/docs/api/configuration/nuxt-config\nexport default defineNuxtConfig({\n compatibilityDate: \"2024-04-03\",\n devtools: { enabled: false },\n modules: [\"@nuxt/ui\", \"nuxt-svgo\"],\n css: [\"@/assets/css/main.css\"],\n // postcss: {\n // plugins: {\n // \"@tailwindcss/postcss\": {}, // https://tailwindcss.com/docs/v4-beta#using-post-css\n // },\n // },\n appConfig: {\n // https://ui3.nuxt.dev/getting-started/theme#colors\n ui: {\n colors: {\n primary: \"primary\", // Defined in `assets/css/theme.css`\n secondary: \"secondary\", // Defined in `assets/css/theme.css`\n },\n },\n },\n});\n```\n\nThis is my `assets/main.css`:\n```css\n/* https://ui3.nuxt.dev/getting-started/installation/nuxt#import-tailwind-css-and-nuxt-ui-in-your-css */\n@import \"tailwindcss\";\n@import \"@nuxt/ui\";\n```",[2960,2961],{"name":2936,"color":2937},{"name":2902,"color":2903},2772,"@apply Tailwind CSS class in a component's `\u003Cstyle>` tag","2024-12-09T11:14:28Z","https://github.com/nuxt/ui/issues/2772",0.6911752,{"description":2968,"labels":2969,"number":2984,"owner":2872,"repository":2872,"state":2905,"title":2985,"updated_at":2986,"url":2987,"score":2988},"### Environment\n\nhttps://codesandbox.io/s/amazing-minsky-nwzxcr?file=/nuxt.config.js\n\n### Reproduction\n\nIn the \"nuxt.config.js\" define the build transpile like:\r\n\r\nimport { defineNuxtConfig } from \"nuxt\";\r\n\r\nexport default defineNuxtConfig({\r\n build: {\r\n transpile: [({ isDev }) => isDev && \"lodash\"]\r\n }\r\n});\r\n\r\nThen execute \"npm run build\"\n\n### Describe the bug\n\nThe nuxt build is returns the error in logs section. And lodash is not transpiled.\r\n\r\n\n\n### Additional context\n\nThe functionality work properly when the nuxt.config is done in typescript (\"nuxt.config.ts\").\r\n\r\nConfig from nuxt documentation.\r\nhttps://nuxtjs.org/docs/configuration-glossary/configuration-build/#transpile\n\n### Logs\n\n```shell\nWARN [SSR] Error transforming /sandbox/node_modules/nuxt/dist/app/entry: filename.split is not a function\r\n\r\n at normalizePath (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:11471:21)\r\n at getMatcherString (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:11476:16)\r\n at Object.test (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:11495:33)\r\n at result (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:11511:25)\r\n at node_modules/vite/dist/node/chunks/dep-0fc8e132.js:38123:38\r\n at node_modules/vite/dist/node/chunks/dep-0fc8e132.js:38139:41\r\n at shouldExternalizeForSSR (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:38066:12)\r\n at TransformContext.transform (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:40368:34)\r\n at async Object.transform (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35579:30)\r\n at async loadAndTransform (node_modules/vite/dist/node/chunks/dep-0fc8e132.js:39888:29)\n```\n",[2970,2972,2975,2978,2981],{"name":2883,"color":2971},"8DEF37",{"name":2973,"color":2974},"good first issue","fbca04",{"name":2976,"color":2977},"3.x","29bc7f",{"name":2979,"color":2980},"vite","3574D1",{"name":2982,"color":2983},"🍰 p2-nice-to-have","0E8A16",14729,"add support for functional `build.transpile` with vite builder","2023-01-19T17:39:28Z","https://github.com/nuxt/nuxt/issues/14729",0.69242805,{"description":2990,"labels":2991,"number":2994,"owner":2872,"repository":2889,"state":2905,"title":2995,"updated_at":2996,"url":2997,"score":2998},"### Environment\n\n-\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.16.0\n\n### Reproduction\n\n- \n\n### Description\n\nUpgraded all deps to the latest and bam Nuxt 3.16.0 is added. We get errors now as Nuxt UI 3 still ships with\n\n`'@unhead/vue': 1.11.20(vue@3.5.13(typescript@5.8.2))\n`\n\nAs of Nuxt 3.16.0 ships with @unhead2:\nhttps://nuxt.com/blog/v3-16#unhead-v2\n\nActual error:\n`[@nuxt/scripts 9:42:20 PM] ERROR Nuxt Scripts requires Unhead >= 2, you are using v1.11.20. Please run nuxi upgrade --clean to upgrade...`\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2992,2993],{"name":2866,"color":2867},{"name":2902,"color":2903},3513,"Nuxt 3.16.0 - ships with @unhead2","2025-03-10T08:49:36Z","https://github.com/nuxt/ui/issues/3513",0.69890904,["Reactive",3000],{},["Set"],["ShallowReactive",3003],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRcVrUSmYCzbBTM5FSHnHmSXrNGFv4jEOIOkWc_bDRkY":-1},"/nuxt/nuxt.com/1114"]