TypeError: Cannot read properties of undefined (reading 'name') at Proxy.render #11894
Unanswered
clarence-simplex
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying out Vue under Razor pages as follow and get the above error.
What's missing for the v-for to work?
Without item.name, the variable message is displayed correctly, i.e. Vue library is loaded and working.
In addition, can Vue loop through a vanilla javascript array instead? i.e. const items=[{ id:1, name: 'orange', amount: 3 }, { id:2, name: 'apple', amount: 5}...]?
Beta Was this translation helpful? Give feedback.
All reactions