Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh page on when clicking same page router link. #372

Closed
alanaasmaa opened this issue Jan 2, 2019 · 1 comment
Closed

Refresh page on when clicking same page router link. #372

alanaasmaa opened this issue Jan 2, 2019 · 1 comment

Comments

@alanaasmaa
Copy link

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)
@ghost ghost added the cmty:feature-request label Jan 2, 2019
@alanaasmaa
Copy link
Author

My issue got created to wrong repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant