\n\u003C/template>\n\u003Cscript setup>\nconst items = [\n { label: \"click for one\", onClick: () => alert(\"1\"), to: \"/one\" },\n { label: \"click for two\", onClick: () => alert(\"2\"), to: \"/two\" },\n]\n\u003C/script>\n```\n\nMy need is to have some secondary effects happening besides the navigation when the user clicks on a breadcrumb item.\n\n### Additional context\n\n_No response_",[2908,2909,2910],{"name":2894,"color":2895},{"name":2897,"color":2898},{"name":2871,"color":2872},3631,"closed","Support for `onClick` event on Breadcrumb items","2025-03-24T18:08:16Z","https://github.com/nuxt/ui/issues/3631",0.65952295,{"description":2918,"labels":2919,"number":2924,"owner":2874,"repository":2875,"state":2912,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### 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```",[2920,2923],{"name":2921,"color":2922},"question","d876e3",{"name":2897,"color":2898},2772,"@apply Tailwind CSS class in a component's `\u003Cstyle>` tag","2024-12-09T11:14:28Z","https://github.com/nuxt/ui/issues/2772",0.6601499,{"description":2930,"labels":2931,"number":2934,"owner":2874,"repository":2875,"state":2912,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### 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```",[2932,2933],{"name":2868,"color":2869},{"name":2897,"color":2898},3513,"Nuxt 3.16.0 - ships with @unhead2","2025-03-10T08:49:36Z","https://github.com/nuxt/ui/issues/3513",0.66360116,{"description":2940,"labels":2941,"number":2943,"owner":2874,"repository":2875,"state":2912,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### For what version of Nuxt UI are you asking this question?\n\nv2.x\n\n### Description\n\nThank you in advance for your help!\n\nWe’re using Nuxt UI Pro for styling in our application, which primarily uses a language other than English. When working with the `SelectMenu` component and enabling the `multiple` prop, the displayed value shows \"1 selected\" (or similar text like \"{x-number} selected\"). Instead, we’d like to display the actual selected value(s) of the SelectMenu, like when NOT using the `multiple` prop, if just one item is selected. And any more than that, we need to display the \"{x-number} selected\" it in our language, not English.\n\nDo I need to create a custom wrapper component for this, or is there a simpler way to customize the displayed text? I’m not that deep on frontend development and manipulating package classes in Nuxt 3, so I’d appreciate guidance on how to approach this issue.\n\nI’ve reviewed the source code here: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/SelectMenu.vue but couldn’t figure out how to achieve this.\n\nI see the code where the const for the label is generated, but whats the best approach to change that for us?\n\n```\n const label = computed(() => {\n if (!props.modelValue) return null\n\n if (Array.isArray(props.modelValue) && props.modelValue.length) {\n return `${props.modelValue.length} selected`\n } else if (['string', 'number'].includes(typeof props.modelValue)) {\n return props.valueAttribute ? accessor(selected.value, props.optionAttribute) : props.modelValue\n }\n\n return accessor(props.modelValue as Record\u003Cstring, any>, props.optionAttribute)\n })\n```\n\nAny advice or direction would be greatly appreciated!",[2942],{"name":2921,"color":2922},2867,"How can I change the \u003CUSelectMenu> to display the value of a selected item, instead of \"1 selected\" when adding the multiple prop","2024-12-09T11:50:53Z","https://github.com/nuxt/ui/issues/2867",0.66431016,{"description":2949,"labels":2950,"number":2953,"owner":2874,"repository":2875,"state":2912,"title":2954,"updated_at":2955,"url":2956,"score":2957},"### Description\n\nThe Nuxt UI v2 dropdown has the option to open on hover or click. In v3 the only option available is click. \n\n\n\n### Additional context\n\n_No response_",[2951,2952],{"name":2894,"color":2895},{"name":2897,"color":2898},3322,"[DropdownMenu] (v3) missing mode prop for hover/click","2025-03-08T12:22:25Z","https://github.com/nuxt/ui/issues/3322",0.68976516,{"description":2959,"labels":2960,"number":2963,"owner":2874,"repository":2875,"state":2912,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### Environment\n\nmodal.close() dont work,and cant get formref\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.10\n\n### Reproduction\n\nmodal.close() dont work\n\n### Description\n\nmodal.close() dont work,and cant get formref\n\n### Additional context\n\nmodal.close() dont work,and cant get formref\n\n### Logs\n\n```shell-script\nmodal.close() dont work,and cant get formref\n```",[2961,2962],{"name":2868,"color":2869},{"name":2897,"color":2898},2894,"modal.close() dont work,and cant get formref","2025-01-25T13:12:30Z","https://github.com/nuxt/ui/issues/2894",0.69043577,{"description":2969,"labels":2970,"number":2980,"owner":2874,"repository":2874,"state":2912,"title":2981,"updated_at":2982,"url":2983,"score":2984},"### Environment\r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v14.18.2`\r\n- Nuxt Version: `3.1.1`\r\n- Nitro Version: `2.1.0`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `vite`\r\n- User Config: `vite`, `components`, `modules`, `image`, `css`, `build`, `app`, `runtimeConfig`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.3.0`, `@nuxt/image-edge@1.0.0-27913696.5d122a3`, `@nuxtjs/robots@3.0.0`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n\r\n### Reproduction\r\n\r\nThe application runs okay locally and CSS is fine. \r\nAfter I run ```yarn build``` and the app is bundled for production, inline css in the template is not applied. \r\n\r\n**nuxt.config.js**\r\n```\r\n/* eslint-disable @typescript-eslint/ban-ts-comment */\r\nimport eslintPlugin from 'vite-plugin-eslint'\r\nimport { config } from './config'\r\n\r\nconst appEnv = process.env.ENV || 'development'\r\n\r\n// https://v3.nuxtjs.org/api/configuration/nuxt.config\r\nexport default {\r\n vite: {\r\n // @ts-ignore,\r\n plugins: [eslintPlugin()]\r\n },\r\n components: {\r\n global: true,\r\n dirs: ['~/components/atoms', '~/components/molecules', '~/components/organisms', '~/components/storyblok']\r\n },\r\n modules: ['@nuxtjs/tailwindcss', '@nuxt/image-edge', '@nuxtjs/robots'],\r\n image: {\r\n provider: 'storyblok',\r\n storyblok: { baseURL: 'https://a.storyblok.com' },\r\n screens: {\r\n xs: 375,\r\n sm: 576,\r\n md: 768,\r\n lg: 992,\r\n xl: 1201,\r\n xxl: 1401,\r\n hd: 1920\r\n }\r\n },\r\n css: ['~/assets/css/main.scss', '~/assets/fonts/redHatText.css', '~/assets/fonts/redHatDisplay.css'],\r\n build: {\r\n loaders: {\r\n scss: {\r\n implementation: require('sass')\r\n },\r\n postcss: {\r\n plugins: {\r\n tailwindcss: {},\r\n autoprefixer: {}\r\n }\r\n }\r\n }\r\n },\r\n app: {\r\n head: {\r\n title: 'BeeIT',\r\n meta: [{ name: 'viewport', content: 'width=device-width, initial-scale=1' }],\r\n link: [{ rel: 'shortcut icon', type: 'image/png', href: 'https://a.storyblok.com/f/155755/32x32/d6965832e1/favicon-32x32.png' }],\r\n htmlAttrs: {\r\n lang: 'en'\r\n }\r\n }\r\n },\r\n runtimeConfig: {\r\n server: config[appEnv].server,\r\n public: config[appEnv].client\r\n }\r\n}\r\n\r\n```\r\n\r\n\r\n**vite.config.js**\r\n\r\n```\r\nimport { defineConfig } from 'vite'\r\n\r\nexport default defineConfig({\r\n appType: 'custom',\r\n server: { middlewareMode: 'ssr' },\r\n build: {\r\n ssr: true,\r\n manifest: true,\r\n copyPublicDir: true,\r\n cssCodeSplit: true,\r\n sourcemap: true,\r\n minify: false\r\n }\r\n})\r\n\r\n```\r\n\r\n**nitro.config.js**\r\n```\r\nimport { defineNitroConfig } from 'nitropack'\r\n\r\nexport default defineNitroConfig({\r\n preset: 'aws-lambda',\r\n serveStatic: true\r\n})\r\n\r\n```\r\n\r\n\r\n**tailwind.config.js - content part**\r\n\r\n```\r\ncontent: ['./components/**/*.{js,vue,ts}', './layouts/**/*.vue', './pages/**/*.vue', './plugins/**/*.{js,ts}'],\r\n```\r\n\r\n### Describe the bug\r\n\r\nThe application runs okay locally and CSS is fine. \r\nAfter I run ```yarn build``` and the app is bundled for production, inline css in the template is not applied. \r\nCSS that is in .scss files and in \u003Cstyle> is applied.\r\n\r\n\r\n\r\nAlso this error is \r\n\r\ndisplayed in console.\r\n\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2971,2974,2977],{"name":2972,"color":2973},"3.x","29bc7f",{"name":2975,"color":2976},"pending triage","E99695",{"name":2978,"color":2979},"needs reproduction","FBCA04",18575,"Css inline classes in template are not applied","2023-02-01T17:43:29Z","https://github.com/nuxt/nuxt/issues/18575",0.69955415,["Reactive",2986],{},["Set"],["ShallowReactive",2989],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fx8HFiDtDovZ87tauwVt9_8PkRIoixYq-HnE0QIukwqw":-1},"/nuxt/ui/3370"]