\n \u003C/template>\n\n \u003Ctemplate #panel>\n \u003Cdiv class=\"flex h-full content-center pt-[130px]\">\n \u003CUNavigationTree id=\"navtree\" :links=\"links\" default-open />\n \u003C/div>\n \u003C/template>\n \u003C/UHeader>\n\u003C/template>\n```\n\n### Workaround \nFor classes: split links in multiple UHeaderLinks with custom ui prop.\n\n\n\n```vue\n\u003Ctemplate #center>\n \u003Cdiv class=\"flex flex-row flex-nowrap gap-5\">\n \u003CUHeaderLinks\n :links=\"linksA\"\n :ui=\"{\n wrapper: 'hidden lg:flex flex-row flex-nowrap items-center gap-x-8',\n }\"\n />\n \u003CUHeaderLinks\n :links=\"linksB\"\n :ui=\"{\n wrapper: 'hidden lg:flex flex-row flex-nowrap items-center gap-x-8',\n inactive: 'hover:text-primary text-red-500 italic',\n default: {\n popover: {\n ui: {\n wrapper: 'text-red-500 italic',\n },\n },\n },\n }\"\n />\n \u003C/div>\n\u003C/template>\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2879,2882,2885],{"name":2880,"color":2881},"bug","d73a4a",{"name":2883,"color":2884},"pro","5BD3CB",{"name":2886,"color":2887},"triage","ffffff",2306,"ui","HeaderLinks: properties class and icon has no effects","2025-02-17T00:12:08Z","https://github.com/nuxt/ui/issues/2306",0.7688609,{"description":2895,"labels":2896,"number":2906,"owner":2869,"repository":2869,"state":2907,"title":2908,"updated_at":2909,"url":2910,"score":2911},"### Environment\r\n\r\nhttps://nuxt.com/docs/\r\n\r\n### Reproduction\r\n\r\nGo to https://nuxt.com/docs/getting-started/introduction for example, and perform a search from the top bar. Any result from the dropdown leads to a 404 page.\r\n\r\n### Describe the bug\r\n\r\nAlgolia searches from the top bar within https://nuxt.com/docs/ lead to 404 error pages.\r\n\r\nhttps://user-images.githubusercontent.com/463319/202392560-61b4c680-08bc-45c5-b5ed-c7c2881502c8.mov\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2897,2900,2903],{"name":2898,"color":2899},"documentation","5319e7",{"name":2901,"color":2902},"3.x","29bc7f",{"name":2904,"color":2905},"pending triage","E99695",15505,"closed","Algolia searches in the documentation lead to 404 error pages","2023-01-19T17:52:36Z","https://github.com/nuxt/nuxt/issues/15505",0.6840117,{"description":2913,"labels":2914,"number":2915,"owner":2869,"repository":2916,"state":2907,"title":2917,"updated_at":2918,"url":2919,"score":2920},"### Environment\r\n\r\nn/a\r\n\r\n### Reproduction\r\n\r\n1. Go to https://v3.nuxtjs.org/\r\n2. Type 'useerror' in the Algolia search input\r\n3. Select the following:\r\n\r\n4. Observe the 'useerror' phrase being present on the page only in the bottom navigation content.\r\n\r\n\r\n\r\n### Describe the bug\r\n\r\nBottom navigation content of the documentation is being indexed by Algolia (haven't checked any other content that might possibly be included as well).\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[],987,"nuxt.com","docs: bottom navigation content is included in Algolia search results","2022-12-07T06:18:56Z","https://github.com/nuxt/nuxt.com/issues/987",0.7194685,{"description":2922,"labels":2923,"number":2915,"owner":2869,"repository":2927,"state":2907,"title":2928,"updated_at":2929,"url":2930,"score":2920},"### Environment\n\nNuxt project info: 12:50:22 PM\n\n------------------------------\n- Operating System: Linux\n- Node Version: v20.18.0\n- Nuxt Version: 3.13.2\n- CLI Version: 3.14.0\n- Nitro Version: 2.9.7\n- Package Manager: npm@10.8.2\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n------------------------------\n\n\n### Reproduction\n\nTry to run the following spec with vitest\n\n```\n// the line with ; works:\nimport { describe, it, expect, vi } from 'vitest';\n\n// the line without ; breaks:\n// import { describe, it, expect, vi } from 'vitest' \n\nimport { mockNuxtImport } from '@nuxt/test-utils/runtime'\nimport { nextTick } from 'vue'\n\nconst { navigateToMock } = vi.hoisted(() => {\n return {\n navigateToMock: vi.fn(),\n }\n})\n\nmockNuxtImport('navigateTo', () => {\n return navigateToMock\n})\n\ndescribe('ConfirmView', () => {\n it('does not navigate to /', async () => {\n await nextTick()\n expect(navigateToMock).not.toHaveBeenCalled()\n })\n})\n```\n\n### Describe the bug\n\nRunning vitest requires `;` at the end of the import line, when importing `vi`, and using `mockNuxtImport`.\n\nexample: \n```bash\nimport { describe, it, expect, beforeEach, vi } from 'vitest'; // Works\nimport { describe, it, expect, beforeEach, vi } from 'vitest' // Does not work\n```\n\nIf I don't include `;`, I get the following error:\n```\nError: Expected ';', got 'vi'\n ❯ getRollupError node_modules/rollup/dist/es/shared/parseAst.js:395:41\n ❯ convertProgram node_modules/rollup/dist/es/shared/parseAst.js:1083:26\n ❯ parseAstAsync node_modules/rollup/dist/es/shared/parseAst.js:2069:106\n ❯ ssrTransformScript node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:52319:11\n```\n\nAll my other imports can stay without `;`. And this only happens when I import `vi`, importing `describe`, `it`, etc does not break.\n\nSimply adding `;` to the end of the line makes all tests go green.\n\nhttps://github.com/user-attachments/assets/b6c7f0d1-10a4-4e08-9b39-8f9a29241c44\n\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2924],{"name":2925,"color":2926},"needs reproduction","DE7793","test-utils","Importing vi from vitest requires ';' at the end of the line.","2024-10-25T09:22:50Z","https://github.com/nuxt/test-utils/issues/987",{"description":2932,"labels":2933,"number":2934,"owner":2869,"repository":2916,"state":2907,"title":2935,"updated_at":2936,"url":2937,"score":2938},"",[],995,"Move `nuxt.com-next` to `dev` branch","2023-06-06T12:14:21Z","https://github.com/nuxt/nuxt.com/issues/995",0.72423387,{"description":2940,"labels":2941,"number":2934,"owner":2869,"repository":2927,"state":2907,"title":2942,"updated_at":2943,"url":2944,"score":2938},"If you run `yarn run test:e2e` in the [following reproduction](https://codesandbox.io/p/devbox/long-browser-tv43ny), you'll get this error\n```\n TypeError: Cannot read properties of undefined (reading 'options')\n\n at startServer (/project/workspace/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs:119:27)\n at Object.setup2 (/project/workspace/node_modules/@nuxt/test-utils/dist/shared/test-utils.B9x0-cXO.mjs:179:7)\n at Object.test$1.extend._nuxtHooks.scope (/project/workspace/node_modules/@nuxt/test-utils/dist/playwright.mjs:22:7)\n```\n\nThe `nuxt` config from the [use](https://codesandbox.io/p/devbox/long-browser-tv43ny?file=%2Fplaywright.config.ts%3A30%2C4-41%2C7) property is not accessible using the current path `ctx.nuxt.options`: https://github.com/nuxt/test-utils/blob/df8f6c862f1f8d77097733f13b00f236778c9b56/src/core/server.ts#L62 but works using `ctx.options.nuxtConfig` instead.\n\nIt used to work with `ctx.nuxt.options` but I recently upgraded to the latest @nuxt/test-utils and I started seing this. The reproduction testifies of this new issue that I have. Maybe I am misusing the `use:{nuxt:{}` option?\n\n\n\n",[],"Issue when accessing the nuxt test options from context in startServer function","2024-12-05T14:26:41Z","https://github.com/nuxt/test-utils/issues/995",{"description":2946,"labels":2947,"number":2952,"owner":2869,"repository":2889,"state":2907,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### Environment\n\n- Operating System: `Darwin`\n- Node Version: `v20.10.0`\n- Nuxt Version: `3.14.159`\n- CLI Version: `3.15.0`\n- Nitro Version: `2.10.4`\n- Package Manager: `npm@10.9.0`\n- Builder: `-`\n- User Config: `default`\n- Runtime Modules: `@nuxt/ui@3.0.0-alpha.8`, `nuxt-svgo@4.0.9`\n- Build Modules: `-`\n\n### Version\n\nv3.0.0-alpha.8\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-ui-h9x1yj\n\n### Description\n\nWhen using the vertical NavigationMenu, `defaultOpen` doesn't work...\n\n\"When orientation is vertical, a [Collapsible](https://ui3.nuxt.dev/components/collapsible) component is used to display children. You can control the open state of each item using the `open` and `defaultOpen` properties.\" - [link here](https://ui3.nuxt.dev/components/navigation-menu#orientation).\n\nPS I tried `open` as well: same issue.\n\n### Additional context\n\n```vue\n\u003Cscript setup lang=\"ts\">\n/* Types */\nimport type { NavigationMenuItem } from '#ui/types';\n\nconst items = ref\u003CNavigationMenuItem[][]>([\n [\n {\n label: 'Menu 1',\n defaultOpen: true, // ! This doesn't work\n open: true, // ! This doesn't work\n children: [\n {\n label: 'Submenu 1',\n to: '/submenu-1',\n },\n {\n label: 'Submenu 2',\n to: '/submenu-2',\n },\n ],\n },\n {\n label: 'Menu 2',\n defaultOpen: true, // ! This doesn't work\n open: true, // ! This doesn't work\n children: [\n {\n label: 'Submenu 1',\n to: '/submenu-1',\n },\n {\n label: 'Submenu 2',\n to: '/submenu-2',\n },\n ],\n },\n ],\n]);\n\u003C/script>\n\n\u003Ctemplate>\n \u003Cdiv class=\"h-full\">\n \u003CUNavigationMenu orientation=\"vertical\" :items=\"items\" />\n \u003C/div>\n\u003C/template>\n```\n\n### Logs\n\n```shell-script\n\n```",[2948,2949],{"name":2880,"color":2881},{"name":2950,"color":2951},"v3","49DCB8",2755,"Veritcal NavigationMenu - `defaultOpen` doesn't work","2024-11-26T10:29:27Z","https://github.com/nuxt/ui/issues/2755",0.73380005,{"description":2958,"labels":2959,"number":2964,"owner":2869,"repository":2889,"state":2907,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Description\n\nIs there a way to prevent popovers from closing when clicking outside the popover?",[2960,2961,2963],{"name":2866,"color":2867},{"name":2962,"color":2887},"wontfix-v2",{"name":2950,"color":2951},2245,"Popover close-prevented","2024-11-10T09:20:02Z","https://github.com/nuxt/ui/issues/2245",0.7612139,{"description":2970,"labels":2971,"number":2975,"owner":2869,"repository":2889,"state":2907,"title":2976,"updated_at":2977,"url":2978,"score":2979},"### Environment\n\nThe website - https://ui.nuxt.com/getting-started\n\n### Version\n\nmain\n\n### Reproduction\n\nhttps://ui.nuxt.com/getting-started\n\n### Description\n\nNone of the children pages on the nuxt ui site have worked since updating to version 1.4.1 from the 1.3 edge version. \n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2972,2973],{"name":2880,"color":2881},{"name":2898,"color":2974},"0075ca",2237,"Couldn't resolve component \"default\" at \"/:slug\"","2024-10-02T14:22:51Z","https://github.com/nuxt/ui/issues/2237",0.7651608,["Reactive",2981],{},["Set"],["ShallowReactive",2984],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fVc5tvesp1sb4SoUuyNPevzwETqFu-SZBNs4K9jrxH2k":-1},"/nuxt/ui/2944"]