0👍
You can construct your router-view as such:
<router-view :key="$route.path"></router-view>
to reach the same result as page refreshing on page routing (for the contents of your router-view at least). I would expect that to do the trick, but let me know if it doesn’t.
- [Vuejs]-Search through array API JSON Vue
- [Vuejs]-Vue: setting up computed properties so that BOM is available
Source:stackexchange.com