Skip to content

Getting errors while using components that render template with v-for  #89

Description

@geminigeek

i am getting the following error on page load, i am using nuxt with primevue ui, i am also mentioning a reproduction,

just look for errors in console, the example in reproduction is a menu component taken from this page

https://primevue.org/menubar/

here is the reproduction https://stackblitz.com/edit/nuxt-starter-8p9dxd?file=app.vue

app.vue:25 Uncaught (in promise) TypeError: Cannot destructure property 'item' of 'undefined' as it is undefined.
    at app.vue:25:30
    at Object.renderFnWithContext [as item] (chunk-RAKT47ZN.js?v=49241719:2175:13)
    at vue3-lazy-hydration.js?v=49241719:92:51
    at Array.forEach (<anonymous>)
    at traverseChildren (vue3-lazy-hydration.js?v=49241719:88:33)
    at waitForAsyncComponents (vue3-lazy-hydration.js?v=49241719:109:3)
    at vue3-lazy-hydration.js?v=49241719:157:67

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions