clarkdo / hare

🐇 Application boilerplate based on Vue.js 2.x, Koa 2.x, Element-UI and Nuxt.js

Home Page:https://nuxt-hare.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refresh page on when clicking same page router link.

alanaasmaa opened this issue · comments

What problem does this feature solve?

Hello,

I have tried to fight with this issue couple of times for now.

I have a page running on default layout.
The page contains a form that will switch form with success page after filling.

Sometimes users would like to refresh the page by clicking the logo/router-link.

But when current page is active the router wont refresh the page.
How could i do that?

I have tried to add :key to everywhere.
I found this but not working => nuxt/nuxt#2285

What does the proposed changes look like?

I think it would be good to have a option for template. That by default wont allow refreshing/reloading and when re clicking it reloads.

This feature request is available on Nuxt community (#c119)

My issue got created to wrong repo.