I have the code below.
<nuxt-link slot="title" to="/about" class="nav-link" role="button">
<i class="fas fa-portrait d-lg-none"></i>
<span class="nav-link-inner--text">About</span>
</nuxt-link>
But the problem is that when the link is clicked, the following takes place:
- The route/path in the browser changes
- The new page is loaded and displayed (without refreshing the page)
- The browser refreshes the page (this should not happen)
How do I prevent the page from reloading? You can see this behavior on this website Connex Cloud Switch (connexcs.com)
I have searched everywhere but I can’t find anything that has solved my problem.