2👍
✅
You can use the v-for
directive to loop through the list items and just leave the “Add new Item” in there at the end.
<ul class="list-group">
<li v-for="item in items">
<a class="list-group-item" v-text="item.itemtext"></a>
</li>
<li>
<a class="list-group-item list-group-item-info" @click="$root.charactersView.addCharacter">Add new Item</a>
</li>
</ul>
👤nils
Source:stackexchange.com