[Vuejs]-$router.push doesn't respect route meta fields

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.

Leave a comment