Answers for "Expected 'v-bind:key' directive to use the variables which are defined by the 'v-for' directive"

0

Expected 'v-bind:key' directive to use the variables which are defined by the 'v-for' directive

<li v-for="post in posts" v-bind:key="post.id">

<!-- OR USE SHORTCUT NOTATION -->
<li v-for="post in posts" :key="post.id">
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language