<ul>
<li
v-for="(item, index) in menuList"
:key="index">
<a>{{item}}</a>
</li>
</ul>
<a :class="{active: item == currentlyActiveItem}">{{item}}</a>