2👍
try adding this :key="$route.fullPath"
in your <router-view></router-view>
like this:
<router-view :key="$route.fullPath"></router-view>
adding a key to your <router-view>
reloads the page if it has a different url but uses the same component.
- [Vuejs]-Vue Material. Disable button effect (md-button)?
- [Vuejs]-Vue.js computed value never run on startup
Source:stackexchange.com