[Vuejs]-Can't reload page again with router link

0👍

In your case Vue router does not change the route but only params.
It won’t cause re-creation of component.
You can force re-render of specific part of your template with :key prop.

For example

<some-component :key="$route.params.sortId">

Or use Watchers to handle route params change and do some stuff, for example fetch request with new sort param. Example with route params here.

Leave a comment