Static GitHub Issues

[2285] How to recreate page on same link?

prev: want to hook on page component js import error
next: Nuxt.js + Vuetify.js component injection problem

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

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2000">#c2000</a>)</em></sub></div>