[Vuejs]-Getting type errors of cannot read property 'contacted' and 'name' of undefined

0đź‘Ť

âś…

Simple syntax error here:

<li vi-for="user in users">

Should be

<li v-for="user in users">

FWIW, I expect the error was along the lines of “can’t read the property contacted of undefined” which is a javascript error indicating that user is undefined. Then you just look at where user should be defined to find your error.

👤Bert

Leave a comment