I have a sidebar with a list of vue router-links and I was hoping that if a active menu item is clicked it can reload that page since those components/pages the vue-router link goes to has some api calls pulling fresh data on mount. My current issue is if the current router link is already active it does nothing as the route is already achieved so the component is already loaded and will not be reloaded or remounted. Is this doable with just router-link?
<ul>
<li v-for="(item,i) in MainNavLinks"
:key="i"
:class="{'active-main-menu-item': i === activeIconIndex}"
v-on:click="selectIconItem(i,$event)">
<router-link v-if="item.link != '#'" :to="item.link"><i :class="item.icon"></i></router-link>
<v-btn v-if="item.link == '#'"
icon
color="white">
<i v-if="item.link == '#'" :class="item.icon"></i>
</v-btn>
</li>
<li>
<router-link v-if="sandboxPermission == true" to="/sandbox"><i class="fa-solid fa-file-code"></i></router-link>
</li>
</ul>