[Vuejs]-Component that takes displays form data returns a warning. The warning is [Vue warn]: Component is missing template or render function

0πŸ‘

βœ…

In your AddInfo component template

<ul>
    <li v-for "info in information" :key="info.id"> {{ info.text }} </li>
</ul>

v-for is missing the β€˜=’ sign. Should be:

<ul>
    <li v-for="info in information" :key="info.id"> {{ info.text }} </li>
</ul>

Leave a comment