0👍
✅
you can use $route.name :
<nav v-if="$route.name != 'login'"> </nav>
‘login’ : change it with the name of your login page.
here an example : https://github.com/vuejs/vue-router/issues/254
Source:stackexchange.com