\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_",[3224,3226,3227],{"name":3181,"color":3225},"a2eeef",{"name":3210,"color":3211},{"name":3213,"color":3214},3631,"Support for `onClick` event on Breadcrumb items","2025-03-24T18:08:16Z","https://github.com/nuxt/ui/issues/3631",0.7638781,{"description":3234,"labels":3235,"number":3242,"owner":3184,"repository":3184,"state":3186,"title":3243,"updated_at":3244,"url":3245,"score":3246},"### Version\n\n[2.7.1](https://github.com/nuxt.js/releases/tag/2.7.1)\n\n### Reproduction link\n\n[https://jsfiddle.net/n6sxhjt8/1/](https://jsfiddle.net/n6sxhjt8/1/)\n\n### Steps to reproduce\n\nCreate a component (in my case I'm using page component) with an empty space in script tag.\n\n\u003Cscript>\n//Error (notice the no space at the start of this line)\n\u003C/script>\n\n\u003Cscript>\n //all good\n\u003C/script>\n\n### What is expected ?\n\nNo error\n\n### What is actually happening?\n\nAn error\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This bug report is available on \u003Ca href=\"https://cmty.app/nuxt\">Nuxt\u003C/a> community (\u003Ca href=\"https://cmty.app/nuxt/nuxt.js/issues/c9267\">#c9267\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[3236,3239],{"name":3237,"color":3238},"pending triage","E99695",{"name":3240,"color":3241},"2.x","d4c5f9",5806,"Incorrect script tag reading","2023-01-22T15:33:07Z","https://github.com/nuxt/nuxt/issues/5806",0.7639152,{"description":3248,"labels":3249,"number":3252,"owner":3184,"repository":3185,"state":3186,"title":3253,"updated_at":3254,"url":3255,"score":3256},"\r\nhttps://user-images.githubusercontent.com/904724/163576803-cde48f01-7d00-4ed2-9245-3daa17fe9616.mp4\r\n\r\n",[3250],{"name":3207,"color":3251},"ff281a",345,"Scroll to top when changing file in editor","2023-02-15T12:32:10Z","https://github.com/nuxt/nuxt.com/issues/345",0.7721283,{"description":3258,"labels":3259,"number":3252,"owner":3184,"repository":3198,"state":3186,"title":3261,"updated_at":3262,"url":3263,"score":3256},"### 🆒 Your use case\n\nI decided to open this as a feature request because according to the docs, it is expected behavior and therefore not a bug.\n\nThere is already a way to configure the ad client of google adsense directly in nuxt.config, but it doesn't seem to pick it up:\n[Vue warn]: Missing required prop: \"dataAdClient\"\n\n### 🆕 The solution you'd like\n\nIt might be a good idea to read the client from the registry configuration, if it is already configurable. Otherwise, it may be worth removing the property from the nuxt.config configuration as it's quite misleading and largely unnecessary.\n\n### 🔍 Alternatives you've considered\n\n_No response_\n\n### ℹ️ Additional info\n\n_No response_",[3260],{"name":3181,"color":3225},"Use client from nuxt.config when loading google adsense","2025-02-07T06:18:44Z","https://github.com/nuxt/scripts/issues/345",{"description":3265,"labels":3266,"number":3271,"owner":3184,"repository":3184,"state":3186,"title":3272,"updated_at":3273,"url":3274,"score":3275},"### Versions\r\n\r\n- nuxt: v2.14.5\r\n\r\n### Reproduction\r\n[codesanbox](https://codesandbox.io/s/funny-poitras-njsiy?file=/pages/index.vue) and run `yarn start`.\r\n\r\n\u003Cdetails open>\r\n\u003Csummary>Additional Details\u003C/summary>\r\n\u003Cbr>\r\n\r\n```json\r\n// package.json\r\n{\r\n \"name\": \"my-nuxt-project\",\r\n \"scripts\": {\r\n \"start\": \"nuxt\",\r\n \"build\": \"nuxt build\",\r\n \"generate\": \"nuxt generate\"\r\n },\r\n \"dependencies\": {\r\n \"nuxt\": \"^2.14.5\"\r\n }\r\n}\r\n\r\n```\r\n\u003C/details>\r\n\r\n### Steps to reproduce\r\n- Open this [codesanbox](https://codesandbox.io/s/funny-poitras-njsiy?file=/pages/index.vue) and run `yarn start`.\r\n- Inspect the `\u003Cpicture>` tag.\r\n- Inspect the first `\u003Csource>` tag\r\n- Observe that comma separated query params are forcefully spaced\r\n\r\n### What is Expected?\r\nPicture's `\u003Csource>` tags that have commas, `,`, in the parameters are not separated by spaces\r\n\r\n### What is actually happening?\r\nThe following html\r\n\r\n```html\r\n \u003Cpicture class=\"h-auto w-full\">\r\n \u003Csource\r\n media=\"(min-width: 2100px)\"\r\n srcset=\"https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?...&auto=format,compress\"\r\n />\r\n...\r\n```\r\n\r\nGets rendered as\r\n\r\n```html\r\n \u003Cpicture class=\"h-auto w-full\">\r\n \u003Csource\r\n media=\"(min-width: 2100px)\"\r\n srcset=\"\r\n https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?...&auto=format, compress\r\n \"\r\n />\r\n...\r\n```\r\n### Comments\r\n\r\nNot entirely sure what's happening here. The `\u003Cimage>` tag doesn't exhibit this behavior. Only `\u003Csource>` tags. Is this expected? Am I missing something re: how `\u003Csource>` tags work with Nuxt?\r\n\r\nInteresting to note that `%2C` is respected, ie no spaces are inserted.\r\n\r\nThanks for the help!",[3267,3269,3270],{"name":3268,"color":3214},"stale",{"name":3237,"color":3238},{"name":3240,"color":3241},9422,"Comma separated query params are forcefully separated by space characters in \u003Csource> tags","2023-01-22T15:44:58Z","https://github.com/nuxt/nuxt/issues/9422",0.7723162,{"description":3277,"labels":3278,"number":3281,"owner":3184,"repository":3282,"state":3186,"title":3283,"updated_at":3284,"url":3285,"score":3286},"### Describe the feature\n\nRight now custom directives are not available when running tests. For example I have a custom uppercase directive and when testing the text field component I get:\r\n```\r\n[Vue warn]: Failed to resolve directive: uppercase\r\n at \u003CMountSuspendedComponent >\r\n at \u003CMountSuspendedHelper>\r\n at \u003CAnonymous ref=\"VTU_COMPONENT\" >\r\n at \u003CVTUROOT>\r\n``` \n\n### Additional information\n\n- [X] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[3279],{"name":3237,"color":3280},"5D08F5",959,"test-utils","MountSuspended should consider any directives added to the vue app","2024-10-03T18:02:07Z","https://github.com/nuxt/test-utils/issues/959",0.77233493,{"description":3288,"labels":3289,"number":3294,"owner":3184,"repository":3184,"state":3186,"title":3295,"updated_at":3296,"url":3297,"score":3298},"### Environment\n\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.15.0`\r\n- Nuxt Version: `3.3.3`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `pnpm@8.1.0`\r\n- Builder: `vite`\r\n- User Config: `modules`, `extends`\r\n- Runtime Modules: `@unocss/nuxt`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-starter-tgszn4?file=app.vue\n\n### Describe the bug\n\ndiv style space problem\r\n\r\n```\r\nstyle=\"position: fixed; z-index: 9999; inset: 16px; pointer-events: none;\"\r\n```\r\n\r\nIt should be like this, but it doesn't happen with the data entered with :style.\r\n\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3290,3293],{"name":3291,"color":3292},"3.x","29bc7f",{"name":3237,"color":3238},20292,"dynamic style space problem","2023-04-15T10:27:37Z","https://github.com/nuxt/nuxt/issues/20292",0.7762327,["Reactive",3300],{},["Set"],["ShallowReactive",3303],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fZJ32vtXQ91XCiC2uSHrS_KQENWUcVKPvT-J8yJ3u76I":-1},"/nuxt/nuxt.com/1065"]