Home

Issue: 2285

How to recreate page on same link?

[issue link]

Hello,

I have a fixed navigation bar and I want to recreate (without reloading the whole App) the page, if the users clicks the same link again. I tried to work with the prop key on the nuxt tag, but this doesn’t work.

<div class="navigation-bar">
   <button v-on:click.native="$router.push('/news')">News</button>
</div>

<nuxt :key="$route.fullPath"></nuxt> 

See also here: Stackoverflow

This question is available on Nuxt.js community (#c2000)