\r\n \u003Cnuxt :authed=\"authed\"/>\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript>\r\n import AppNav from '~components/Nav.vue'\r\n\r\n export default {\r\n data: function () {\r\n return {\r\n authed: false\r\n }\r\n },\r\n\r\n components: {\r\n AppNav\r\n },\r\n\r\n created: () => {\r\n this.authed = localStorage.getItem('token') !== null\r\n }\r\n}\r\n\u003C/script>\r\n```\r\n\r\nThis example would generate an error ```localStorage is not defined```\r\n\r\nHow can I accomplish this?\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This question is available on \u003Ca href=\"https://nuxtjs.cmty.io\">Nuxt.js\u003C/a> community (\u003Ca href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c157\">#c157\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2016,2019],{"name":2017,"color":2018},"question","cc317c",{"name":2020,"color":2021},"2.x","d4c5f9",185,"read local storage on default layout?","2023-01-18T15:38:32Z","https://github.com/nuxt/nuxt/issues/185",0.66204137,{"description":2028,"labels":2029,"number":2036,"owner":1994,"repository":2007,"state":2008,"title":2037,"updated_at":2038,"url":2039,"score":2040},"",[2030,2033],{"name":2031,"color":2032},"enhancement","1ad6ff",{"name":2034,"color":2035},"responsive","1cd1c6",807,"[Docs] Framework V3 improvements (mobile/tablet)","2023-02-15T12:30:59Z","https://github.com/nuxt/nuxt.com/issues/807",0.6706779,{"description":2042,"labels":2043,"number":2036,"owner":1994,"repository":2044,"state":2008,"title":2045,"updated_at":2046,"url":2047,"score":2040},"Hey, \r\nToday I used [patch-package](https://github.com/ds300/patch-package) to patch `@nuxt/test-utils@3.12.0` for the project I'm working on.\r\n\r\nMain branch already has these changes and it fixes issue where I am not able to import from `@nuxt/test-utils/playwright` due to missing types. \r\n```\r\nimport { expect, test } from '@nuxt/test-utils/playwright'\r\n```\r\n\r\nHere is the diff that solved my problem:\r\n```diff\r\ndiff --git a/node_modules/@nuxt/test-utils/package.json b/node_modules/@nuxt/test-utils/package.json\r\nindex 2bc5c2e..e0d7b15 100644\r\n--- a/node_modules/@nuxt/test-utils/package.json\r\n+++ b/node_modules/@nuxt/test-utils/package.json\r\n@@ -23,6 +23,7 @@\r\n \"dist\",\r\n \"config.d.ts\",\r\n \"e2e.d.ts\",\r\n+ \"playwright.d.ts\",\r\n \"experimental.d.ts\",\r\n \"module.d.ts\",\r\n \"runtime.d.ts\",\r\ndiff --git a/node_modules/@nuxt/test-utils/playwright.d.ts b/node_modules/@nuxt/test-utils/playwright.d.ts\r\nnew file mode 100644\r\nindex 0000000..1b71747\r\n--- /dev/null\r\n+++ b/node_modules/@nuxt/test-utils/playwright.d.ts\r\n@@ -0,0 +1 @@\r\n+export * from './dist/playwright'\r\n```\r\n\r\nBut as I can see these changes are already on main branch. Is it possible to create minor release / tag in order to fix it?\r\nAs you can see both playwright.d.ts and `files` in`package.json` are missing from 3.12.0 release.\r\n\r\n\u003Cimg width=\"965\" alt=\"Screenshot 2024-04-05 at 09 16 25\" src=\"https://github.com/nuxt/test-utils/assets/34317830/698aa01f-d67e-498f-9c0e-b2347031995f\">\r\n\r\n",[],"test-utils","Missing types for @nuxt/test-utils/playwright","2024-04-17T10:00:28Z","https://github.com/nuxt/test-utils/issues/807",{"description":2049,"labels":2050,"number":2051,"owner":1994,"repository":2007,"state":2008,"title":2052,"updated_at":2053,"url":2054,"score":2055},"- [ ] Community profiles (doc & code contributors)\n- [ ] Login GitHub & Socials\n- [ ] Edit on Studio\n",[],1307,"Main features improvements","2023-07-10T12:41:54Z","https://github.com/nuxt/nuxt.com/issues/1307",0.68957806,{"description":2057,"labels":2058,"number":2061,"owner":1994,"repository":1995,"state":2008,"title":2062,"updated_at":2063,"url":2064,"score":2065},"### Environment\n\n- Operating System: Darwin\n- Node Version: v22.14.0\n- Nuxt Version: 3.16.0\n- CLI Version: 3.23.1\n- Nitro Version: 2.11.7\n- Package Manager: pnpm@10.6.3\n- Builder: -\n- User Config: compatibilityDate, devtools, future, experimental, modules, vite, css, typescript\n- Runtime Modules: @nuxt/eslint@1.2.0, @nuxt/test-utils@3.17.2, @nuxt/icon@1.11.0, @nuxt/ui@3.0.0\n- Build Modules: -\n\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.0.0\n\n### Reproduction\n\nhttps://ui.nuxt.com/components/input-menu\n\n### Description\n\nThe InputMenu component only shows filtered items when opening it with a selected item. This is confusing, and differs from expected behavior. In its current state, the InputMenu would only be usable, if the user deletes the text in the field, which is not clear nor expected.\n\nExpected behavior: If one opens the select menu by clicking on the button, it shows all available values, with the currently selected value highlighted. Only when changing the text of the input field, it filters for the value entered.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2059,2060],{"name":1985,"color":1986},{"name":1988,"color":1989},3620,"InputMenu shows only selected item when opening","2025-03-27T15:27:51Z","https://github.com/nuxt/ui/issues/3620",0.691028,{"description":2028,"labels":2067,"number":2072,"owner":1994,"repository":2007,"state":2008,"title":2073,"updated_at":2074,"url":2075,"score":2076},[2068,2069],{"name":2031,"color":2032},{"name":2070,"color":2071},"documentation","9DE2BA",1504,"Docs: Replace `Callout` and `Readme` with undocs components","2024-02-21T17:07:40Z","https://github.com/nuxt/nuxt.com/issues/1504",0.6911236,{"description":2078,"labels":2079,"number":2081,"owner":1994,"repository":2007,"state":2008,"title":2082,"updated_at":2083,"url":2084,"score":2085},"- [x] `/modules`\n- [x] `/community/repositories`\n- [x] `/community/partners`\n- [x] `/resources/showcases`",[2080],{"name":2031,"color":2032},597,"[Responsive] Display aside filters on list pages","2023-02-15T12:32:35Z","https://github.com/nuxt/nuxt.com/issues/597",0.69582987,{"description":2087,"labels":2088,"number":2089,"owner":1994,"repository":2090,"state":2008,"title":2091,"updated_at":2092,"url":2093,"score":2094},"Hello everyone!\r\n\r\nI've stumbled upon an error while writing tests for my components that use nuxt/icon, specifically:\r\n\r\n```\r\n[Vue warn]: Component \u003CNuxtIcon>: setup function returned a promise, but no \u003CSuspense> boundary was found in the parent component tree. A component with async setup() must be nested in a \u003CSuspense> in order to be rendered. \r\n```\r\n\r\nI've found in the docs of the [testutils](https://test-utils.vuejs.org/guide/advanced/async-suspense#Testing-asynchronous-setup) that you have to somehow wrap either `NuxtIcon` or `MyComponent` with `\u003CSuspense/>` and it is also unclear how to import `NuxtIcon` into the test file since we use `\u003CIcon/>` in the markup. Can you please show me how to write tests when using nuxt/icon ?\r\n\r\nI've created a reproduction setup, after installing all deps it will auto start the test and you will see the error.\r\n\r\n\r\nhttps://stackblitz.com/edit/nuxt-vitest-iocqwn\r\n\r\nBest regards",[],197,"icon","[QUESTION] How to write tests for components that use @nuxt/icon","2024-08-20T13:54:55Z","https://github.com/nuxt/icon/issues/197",0.69973534,["Reactive",2096],{},["Set"],["ShallowReactive",2099],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"rvlawS3pn0b_CPZgPm-obJp1O53CxmTcv3z042IrYKA":-1},"/nuxt/test-utils/552"]