0👍
The correct syntax is IN not of.
<li v-for="meal in filteredList">
Think of it like this, it’s a for loop. It loops through all of the items in the array. So, for each item IN the array.
You could look at it like this:
<li v-for="item in array">
If you need to access the index of these items you can also do this:
<li v-for="(item, index) in array" :key="index">
Source:stackexchange.com