\n \u003Cdiv>\n \u003Cdiv\n id=\"test-wrapper\"\n >\n \u003Cp>\n Hello Vue 3\n \u003C/p>\n \u003C/div>\n \u003C/div>\n\u003C/body>\n```\n\nBut it looks like this:\n```vue\n\u003Cbody>\n \u003Cdiv\n data-v-app=\"\"\n id=\"__nuxt\"\n />\n \u003Cdiv>\n \u003Cdiv\n id=\"test-wrapper\"\n msg=\"Hello Vue 3\"\n >\n \u003Cp>\n Hello in component\n \u003C/p>\n \u003C/div>\n \u003C/div>\n\u003C/body>\n```\n\n### Additional context\n\nI tried solving the issue with no avail, I'm sorry I can not be of more help 😢 ",[3043],{"name":3033,"color":3044},"5D08F5",1014,"test-utils","Rerender from @testing-library/vue not working","2025-03-07T14:25:15Z","https://github.com/nuxt/test-utils/issues/1014",0.7302398,{"description":3052,"labels":3053,"number":3063,"owner":3022,"repository":3046,"state":3064,"title":3065,"updated_at":3066,"url":3067,"score":3068},"This happens on any test when I trigger a click. Not yet tying any other trigger events.\r\n\r\nError\r\n`TypeError: Cannot read properties of undefined (reading 'error')`\r\n\r\nVersion\r\n`\"nuxt-vitest\": \"0.10.5\",`\r\n\r\nConfig\r\n```\r\nimport { defineVitestConfig } from 'nuxt-vitest/config';\r\n\r\nexport default defineVitestConfig({\r\n test: {\r\n environment: 'nuxt',\r\n },\r\n});\r\n```\r\n\r\nTest\r\n```\r\nimport { describe, it, expect } from 'vitest';\r\nimport { mount, VueWrapper } from '@vue/test-utils';\r\n\r\nimport ApiTypeTabsDescription from '../components/ApiTypeTabsDescription.vue';\r\nlet wrapper: VueWrapper;\r\nwrapper = mount(ApiTypeTabsDescription);\r\n\r\ndescribe('ApiTypeTabsDescription', () => {\r\n it('More text is visible', async () => {\r\n const toggle = wrapper.find('.register-show-more-btn-text');\r\n await toggle.trigger('click');\r\n await wrapper.vm.$nextTick();\r\n expect(wrapper.find('.register-show-more-description').exists()).toBe(true);\r\n });\r\n});\r\n```\r\n\r\n```\r\nTypeError: Cannot read properties of undefined (reading 'error')\r\n ❯ HTMLScriptElement.dispatchEvent node_modules/.pnpm/happy-dom@12.1.2/node_modules/happy-dom/src/event/EventTarget.ts:102:54\r\n ❯ HTMLScriptElement.dispatchEvent node_modules/.pnpm/happy-dom@12.1.2/node_modules/happy-dom/src/nodes/element/Element.ts:920:29\r\n ❯ Function.dispatchError node_modules/.pnpm/happy-dom@12.1.2/node_modules/happy-dom/src/window/WindowErrorUtility.ts:60:32\r\n ❯ Function.loadExternalScript node_modules/.pnpm/happy-dom@12.1.2/node_modules/happy-dom/src/nodes/html-script-element/HTMLScriptElementUtility.ts:54:24\r\n```",[3054,3057,3060],{"name":3055,"color":3056},"vitest-environment","b60205",{"name":3058,"color":3059},"needs reproduction","DE7793",{"name":3061,"color":3062},"closed-by-bot","ededed",533,"closed","When using trigger('click') get this error & tests don't run TypeError: Cannot read properties of undefined (reading 'error')","2023-12-13T01:51:03Z","https://github.com/nuxt/test-utils/issues/533",0.46050817,{"description":3070,"labels":3071,"number":3072,"owner":3022,"repository":3073,"state":3064,"title":3074,"updated_at":3075,"url":3076,"score":3077},"This will allow us to iterate faster and speed up the build for both sites, we can see at a later stage for adding auth again to nuxt.com once we:\n- Have features for authenticated users outside studio\n- Hybrid rendering on Nuxt 3 with Session/Auth module compatible for it (will need a `@nuxtjs/strapi` update once ready), this means having a static page with the ability to check the user session with a script in header (like color-mode module for SSG) to redirect before pages render. And move the authenticated links/buttons/actions on client-side with placeholders on the server.\n- Nuxt Content Query builder with better performance on SSR\n\n`nuxt.com` will be deployed on Vercel with `nuxi generate`.\n\n`studio.nuxt.com` will have a landing page with the pricing in it + a register for beta button, deployed as an SSR app on Vercel.\nThe `modules/editor` will be renamed to `modules/studio` so it could share components for the project view to the same UI in development (`localhost:3000/_studio/`) with no login and creating route apis (`/api/_studio`) for editing the project locally (basically using Nitro storage to edit files `useStorage()`).\n\nBy separating them, on top of iterating faster in development, we can also launch studio.nuxt.com and nuxt.com at two different dates, as well as opening the beta access to nuxt.com (translators, partners, insiders) and studio.nuxt.com (partners, theme creators) at different times.\n\nHow much time would this take @benjamincanac ?",[],760,"nuxt.com","[Studio] Move Auth & Projects into `studio.nuxt.com`","2022-07-05T09:42:12Z","https://github.com/nuxt/nuxt.com/issues/760",0.69257104,{"description":3079,"labels":3080,"number":3084,"owner":3022,"repository":3073,"state":3064,"title":3085,"updated_at":3086,"url":3087,"score":3088},"- [ ] Remove landing\n- [ ] Branch deployment on domain\n- [ ] Update logo\n- [ ] Upgrade docus\n- [ ] Link to go back to nuxt.com\n",[3081],{"name":3082,"color":3083},"roadmap","ff7a1a",535,"`v3.nuxt.com`","2022-11-17T11:41:11Z","https://github.com/nuxt/nuxt.com/issues/535",0.694677,{"description":3090,"labels":3091,"number":3084,"owner":3022,"repository":3046,"state":3064,"title":3096,"updated_at":3097,"url":3098,"score":3088},"Hey,\r\n\r\nI just upgraded to the latest vitest 0.32.0 with nuxt-vitest 0.8.5 and have a error with the module import regarding:\r\nhttps://vitest.dev/guide/common-errors.html\r\n\r\n```shell\r\nError: Cannot find module 'virtual:nuxt:/project/.nuxt/nuxt.config.mjs'.\r\n\r\n- If you rely on tsconfig.json to resolve modules, please install \"vite-tsconfig-paths\" plugin to handle module resolution.\r\n - Make sure you don't have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors\r\n ❯ node_modules/nuxt/dist/app/composables/payload.js:6:31\r\n 4| import { getCurrentInstance } from \"vue\";\r\n 5| import { useNuxtApp, useRuntimeConfig } from \"../nuxt.js\";\r\n 6| import { renderJsonPayloads } from \"#build/nuxt.config.mjs\";\r\n | ^\r\n 7| export function loadPayload(url, opts = {}) {\r\n 8| if (process.server) {\r\n ❯ node_modules/nuxt/dist/app/composables/index.js:49:206\r\n\r\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\r\nSerialized Error: {\r\n \"code\": \"ERR_MODULE_NOT_FOUND\",\r\n}\r\n```\r\n\r\nExample of my minimum setup\r\n```js\r\nimport { defineVitestConfig } from 'nuxt-vitest/config';\r\nimport tsconfigPaths from \"vite-tsconfig-paths\";\r\n\r\nexport default defineVitestConfig({\r\n plugins: [tsconfigPaths()], // this is added regarding the link of vitest\r\n test: {\r\n globals: true,\r\n clearMocks: true,\r\n restoreMocks: true,\r\n threads: false,\r\n testTimeout: 300000,\r\n setupFiles: [\r\n new URL('tests/unit.i18n.setup.ts', import.meta.url).pathname,\r\n new URL('tests/unit.vuetify.setup.ts', import.meta.url).pathname,\r\n new URL('tests/unit.router.setup.ts', import.meta.url).pathname\r\n ],\r\n deps: {\r\n inline: ['element-plus', /@nuxt\\/test-utils/],\r\n },\r\n ssr: {\r\n noExternal: [/vue-i18n/, 'vuetify'],\r\n },\r\n },\r\n});\r\n```\r\n\r\nI can clarify that this config works with vitest 0.31.4 without any errors. Previously imports like `#build/nuxt.config.mjs` where no issue inside the `.nuxt` folder.\r\n\r\nHelp would be appreciated!",[3092,3095],{"name":3093,"color":3094},"bug","d73a4a",{"name":3055,"color":3056},"defineVitestConfig with vitest 0.32.0 Cannot find module paths","2023-12-02T23:07:42Z","https://github.com/nuxt/test-utils/issues/535",{"description":3100,"labels":3101,"number":3102,"owner":3022,"repository":3073,"state":3064,"title":3103,"updated_at":3104,"url":3105,"score":3106},"- [ ] Search\n- [ ] Subnavbar Links\n- [ ] Examples\n- [ ] Community / Open Source Guides\n- [ ] v2 migration nuxtjs.org",[],1306,"Documentation Update","2023-07-10T12:42:01Z","https://github.com/nuxt/nuxt.com/issues/1306",0.70834416,{"labels":3108,"number":3113,"owner":3022,"repository":3022,"state":3064,"title":3114,"updated_at":3115,"url":3116,"score":3117},[3109,3110],{"name":3019,"color":3020},{"name":3111,"color":3112},"3.x","29bc7f",13537,"docs: update migration guide to nuxt 3","2023-01-19T17:03:42Z","https://github.com/nuxt/nuxt/issues/13537",0.7089263,{"description":3119,"labels":3120,"number":3124,"owner":3022,"repository":3125,"state":3064,"title":3126,"updated_at":3127,"url":3128,"score":3129},"The development is ongoing on the default branch of this repository: https://github.com/nuxt/ui.\n\n---\n\nA lot has changed since `@nuxt/ui` was made open-source (May 2023), so the plan here is to rewrite every component from scratch alongside their config.\n\nI'll post regular updates on this issue and on https://twitter.com/benjamincanac.\n\n## Documentation\n\nhttps://ui3.nuxt.dev\n\n## Roadmap (Nov 20, 2024)\n\n- [x] Finish the migration to `reka-ui@alpha` on `@nuxt/ui` & `@nuxt/ui-pro` #2448\n- [x] Write the docs for implemented `@nuxt/ui-pro` components\n- [x] Finish `@nuxt/ui-pro` components\n- [x] Make Nuxt UI Pro v3 work with Vue like Nuxt UI https://github.com/nuxt/ui-pro/pull/742\n- [ ] Implement new components in `@nuxt/ui` like\n - [x] `Calendar` #2618\n - [ ] `InputDate` #2524\n - [x] `Tree` #3180\n - [x] `Stepper` #2733\n- [x] Migrate all the Nuxt UI Pro templates\n - [x] Starter\n - [x] Landing\n - [x] Docs\n - [x] SaaS https://github.com/nuxt-ui-pro/saas/pull/86\n - [x] Dashboard https://github.com/nuxt-ui-pro/dashboard/pull/86\n- [ ] Build the Nuxt UI docs marketing pages\n - [x] Landing\n - [x] Figma\n - [x] Pro -> Landing\n - [x] Pro -> Pricing\n - [x] Pro -> Templates\n - [x] Pro -> Activate\n - [ ] Releases\n- [x] Write migration guide https://ui3.nuxt.dev/getting-started/migration\n- [x] Release `@nuxt/ui` & `@nuxt/ui-pro` officially once `tailwindcss` and `reka-ui` are released\n- [x] Migrate all the Nuxt apps (nuxt.com, image.nuxt.com, eslint.nuxt.com, devtools.nuxt.com, fonts.nuxt.com, hub.nuxt.com, nuxt.studio, etc.)\n- [ ] Implement new `@nuxt/ui` & `@nuxt/ui-pro` components\n- [ ] Create new templates like Changelog, Portfolio, etc. \n\n## Breaking Changes\n\nThe biggest change is the switch to `tailwind-variants`, this will cause lots of breaking changes if you've used the `ui` prop or `app.config.ts` to override the config. I apologize in advance for this but I strongly believe this will be beneficial and will bring consistency across all components.\n\n> At the beginning the config was split in many keys for the same div to give more flexibility, but since then we introduced `tailwind-merge` which now allows us to group those keys together, this is a good opportunity to clean the whole thing. \n\nThe config will now have a `slots` amongst other keys that will specifically target dom nodes. The `ui` prop will only allow you to target those slots.\n\nThese changes alongside the refactor of all components will also improve the types, the `app.config.ts` and `ui` props are now perfectly typed, as well as all components `props`, `slots`, `emits` and `expose`.\n\n> Feel free to comment on this if you have any ideas for the next major.\n\n```[tasklist]\n### Components\n- [x] Accordion\n- [x] Alert\n- [x] Avatar\n- [x] AvatarGroup\n- [x] Badge\n- [x] Breadcrumb\n- [x] Button\n- [x] ButtonGroup\n- [x] Card\n- [x] Carousel\n- [x] Checkbox\n- [x] Chip\n- [x] Collapsible\n- [x] CommandPalette\n- [x] Container\n- [x] ContextMenu\n- [x] Drawer\n- [x] DropdownMenu (Dropdown)\n- [x] Form\n- [x] FormField (FormGroup)\n- [x] Icon\n- [x] Input\n- [x] InputMenu\n- [x] Kbd\n- [x] Link\n- [x] Modal\n- [x] NavigationMenu (HorizontalNavigation/VerticalNavigation)\n- [x] Pagination\n- [x] Popover\n- [x] Progress\n- [x] Provider\n- [x] RadioGroup\n- [x] Select\n- [x] SelectMenu\n- [x] Separator (Divider)\n- [x] Skeleton\n- [x] Slideover\n- [x] Slider (Range)\n- [x] Table\n- [x] Tabs\n- [x] Textarea\n- [x] Toast (Notification)\n- [x] Switch (Toggle)\n- [x] Tooltip\n```\n",[3121],{"name":3122,"color":3123},"release","49DCB8",1289,"ui","v3","2025-07-17T12:55:11Z","https://github.com/nuxt/ui/issues/1289",0.72009856,["Reactive",3131],{},["Set"],["ShallowReactive",3134],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f4AEL6d65Ou_N8ybT-NPtVmR1RY0EHQYoy-S3YV4jB7M":-1},"/nuxt/nuxt.com/533"]