1👍
✅
<v-list-item
class="mr"
v-for="item in userItems"
:key="item.title"
link
@click="clickUserMenuItem(item.routeName)"
:icon="item.icon || null"
/>
you really do not need it with ‘item.icon || null’ < ‘item.icon’ would be enough..
see this answer:
VueJS conditionally add an attribute for an element
Source:stackexchange.com